/* ==========================================================
   WYKO INTERNATIONAL – CORPORATE THEME
   ========================================================== */

/* ---------- Base ---------- */

:root {
    --bg: #f4f7fe;
    --bg-footer: #07111f;
    --card-bg: #ffffff;
    --accent: #00b8d9;
    --accent-soft: #c8f5ff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --radius-card: 18px;
    --shadow-soft: 0 8px 24px rgba(15, 23, 42, 0.10);
    --shadow-strong: 0 16px 40px rgba(15, 23, 42, 0.18);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================
   Header
   ========================================================== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.wyko-logo {
    height: 52px;
    width: auto;
}

/* Navigation */

.main-nav {
    position: relative;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    position: relative;
    padding-bottom: 2px;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 20px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

/* Dropdown */

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: "▾";
    font-size: 10px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    min-width: 230px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 8px 0;
    display: none;
}

.dropdown-menu a {
    display: block;
    padding: 9px 16px;
    color: var(--text-main);
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: var(--accent-soft);
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Mobile nav button */

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #111827;
}

/* ==========================================================
   Sections
   ========================================================== */

main {
    padding-top: 16px;
}

.section {
    padding: 42px 0;
}

.section-header {
    margin-bottom: 18px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 720px;
}

/* ==========================================================
   HERO (with optional background image)
   ========================================================== */

.hero {
    padding: 56px 0 28px;
    color: #e5efff;

    /* If hero image exists, it will show under this dark gradient.
       Upload image as: assets/images/hero-plant.jpg */
    background:
        linear-gradient(135deg, rgba(7, 17, 31, 0.80), rgba(20, 58, 99, 0.92)),
        url("assets/images/hero-plant.jpg") center/cover no-repeat;

    /* Even if image is missing, gradient still renders and looks good */
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
}

.hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.12);
    margin-bottom: 10px;
}

.hero-title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.hero-text {
    font-size: 15px;
    color: #d3dffc;
    max-width: 520px;
}

/* Buttons */

.btn-row {
    margin-top: 18px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn-primary {
    background: var(--accent);
    color: #03101b;
    box-shadow: 0 10px 18px rgba(0, 184, 217, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(0, 184, 217, 0.4);
}

.btn-ghost {
    background: transparent;
    color: #e5efff;
    border: 1px solid rgba(229, 239, 255, 0.5);
}

.btn-ghost:hover {
    background: rgba(229, 239, 255, 0.08);
}

/* ==========================================================
   Key Verticals – card grid
   ========================================================== */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 24px;
    margin-top: 22px;
}

.card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 22px 22px 24px;
    box-shadow: var(--shadow-soft);
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-text {
    font-size: 14px;
    color: var(--text-muted);
}

/* ==========================================================
   OEM highlight
   ========================================================== */

.oem-section {
    padding: 14px 0 50px;
}

.oem-highlight {
    background: linear-gradient(135deg, #ffffff, #e6f9ff);
    border-radius: 26px;
    padding: 26px 26px 28px;
    box-shadow: var(--shadow-strong);
    border-left: 4px solid var(--accent);
    margin-top: 30px;
}

.oem-title {
    font-size: 20px;
    font-weight: 650;
    margin-bottom: 10px;
}

.oem-text {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.oem-link {
    font-size: 14px;
    text-decoration: none;
    color: #0369a1;
    font-weight: 500;
}

.oem-link:hover {
    text-decoration: underline;
}

/* ==========================================================
   Footer
   ========================================================== */

.site-footer {
    background: var(--bg-footer);
    color: #e5efff;
    padding: 42px 0 26px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 32px;
}

.footer-title {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-text {
    font-size: 14px;
    margin-bottom: 6px;
}

.footer-small {
    font-size: 13px;
    color: #9ca3af;
}

.footer-links {
    list-style: none;
}

.footer-links a {
    color: #d1e5ff;
    text-decoration: none;
    font-size: 14px;
    display: block;
    margin-bottom: 6px;
}

.footer-links a:hover {
    color: var(--accent);
}

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 900px) {

    .hero-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {

    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: absolute;
        right: 0;
        top: 120%;
        flex-direction: column;
        align-items: flex-start;
        background: #ffffff;
        padding: 14px 18px;
        border-radius: 16px;
        box-shadow: var(--shadow-soft);
        gap: 10px;
        display: none;
        min-width: 190px;
    }

    .nav-list.nav-open {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 4px 0 0;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 32px 0 18px;
    }
}


/* =========================
   CONTACT PAGE LAYOUT
   ========================= */

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: flex-start;
}

/* Left column: form */
.contact-form-wrapper {
    flex: 1 1 420px;
    max-width: 700px;
}

/* Right column: contact info cards */
.contact-info-wrapper {
    flex: 0 0 320px;
    max-width: 420px;
}

/* Keep content from touching edges */
.contact-form-wrapper,
.contact-info-wrapper {
    padding: 1rem 0;
}

/* Form rows: two fields side by side on desktop */
.contact-form .form-row {
    display: flex;
    gap: 1rem;
}

/* Make each field share the row */
.contact-form .form-row .form-group {
    flex: 1;
}

/* Labels + inputs */
.contact-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: #1a2433;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border-radius: 8px;
    border: 1px solid #d0d7e2;
    font: inherit;
    background-color: #f9fbff;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0d6efd;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.12);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

/* Submit button on contact page */
.contact-form .btn-primary {
    margin-top: 0.75rem;
}

/* Status message above the form */
.form-status {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.form-status-success {
    background: #e6f7ee;
    color: #11643a;
    border: 1px solid #b8e2c9;
}

.form-status-error {
    background: #ffecec;
    color: #b02020;
    border: 1px solid #f4b4b4;
}


/* =========================
   RESPONSIVE: CONTACT PAGE
   ========================= */

@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-form .form-row {
        flex-direction: column;
    }
}

/* Right column on contact page */
.contact-info-wrapper {
    flex: 0 0 340px;          /* fixed-ish width on desktop */
    max-width: 360px;
    align-self: flex-start;   /* so it starts at top, not middle */
}

/* Generic card style (used here and elsewhere) */
.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    margin-bottom: 1.2rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
}

/* Make sure right-side cards are full width and consistent */
.contact-info-wrapper .card {
    width: 100%;
    box-sizing: border-box;
}

.card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #111827;
}

.card-text {
    font-size: 0.92rem;
    line-height: 1.5;
    color: #4b5563;
    margin: 0;
}

@media (max-width: 900px) {
    .contact-layout {
        flex-direction: column;
    }

    .contact-form .form-row {
        flex-direction: column;
    }

    .contact-info-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3.5rem;   /* was 3rem – small visual improvement */
    align-items: flex-start;
}

/* Right column on contact page */
.contact-info-wrapper {
    flex: 0 0 340px;
    max-width: 360px;
    align-self: flex-start;

    /* NEW: stack cards with a gap */
    display: flex;
    flex-direction: column;
    gap: 1.5rem;          /* space between tiles */
    padding-top: 0.3rem;  /* tiny offset so it doesn't touch the heading */
}

.card {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.18);

    /* IMPORTANT: let .contact-info-wrapper gap control spacing */
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.contact-info-wrapper .card {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .contact-info-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

