/* =========================
   CSS VARIABLES (BRAND)
   ========================= */
:root {
    --brand-dark: #020617;
    --brand-accent: #6366f1;
    --brand-accent-strong: #4f46e5;
    --brand-accent-soft: rgba(99, 102, 241, 0.16);
    /* default to dark tokens */
    --bg-main: #0b1120;
    --bg-elevated: #020617;
    --bg-section: #020617;
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-light: rgba(148, 163, 184, 0.35);
    --success: #22c55e;
}

body.light-theme {
    --bg-main: #f9fafb;
    --bg-elevated: #ffffff;
    --bg-section: #f9fafb;
    --text-main: #0f172a;
    --text-muted: #6b7280;
    --border-light: #e5e7eb;
}

/* =========================
   RESET & BASE
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    background:
        radial-gradient(circle at 0% 0%, rgba(94, 234, 212, 0.12), transparent 55%),
        radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.15), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.1), transparent 55%),
        var(--bg-main);
    min-height: 100vh;
    transition: background 0.4s ease, color 0.4s ease;
}

body.dark-theme {
    /* dark is the default token set above; class kept for JS toggle */
}

img {
    max-width: 100%;
    height: auto;
}

/* =========================
   HEADER
   ========================= */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.9));
    backdrop-filter: blur(18px);
    padding: 0.9rem 2rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.65);
}

body.light-theme header {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
}

.logo-wrap img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
}

.brand-text {
    text-align: left;
}

.brand-text h1 {
    font-size: 1.45rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #e5e7eb;
}

body.light-theme .brand-text h1 {
    color: #111827;
}

.brand-text .eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #9ca3af;
}

/* =========================
   NAVIGATION
   ========================= */
nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

nav a {
    text-decoration: none;
    color: #e5e7eb;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: var(--brand-accent-soft);
    color: #fff;
}

body.light-theme nav a {
    color: #0f172a;
}

body.light-theme nav a:hover,
body.light-theme nav a.active {
    color: #fff;
}

.icon-btn {
    border: none;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--brand-dark);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.icon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.25);
}

.theme-toggle {
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

body.light-theme .theme-toggle {
    background: #ffffff;
    color: #0f172a;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.theme-toggle::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.45);
    pointer-events: none;
}

body.light-theme .theme-toggle::after {
    border-color: rgba(99, 102, 241, 0.55);
}

/* Make mobile menu button visually match theme toggle */
.nav-toggle {
    border: 1px solid rgba(148, 163, 184, 0.7);
    color: #e5e7eb;
}

body.light-theme .nav-toggle {
    background: #ffffff;
    color: #0f172a;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.nav-toggle::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: inherit;
    border: 1px solid rgba(148, 163, 184, 0.45);
    pointer-events: none;
}

body.light-theme .nav-toggle::after {
    border-color: rgba(99, 102, 241, 0.55);
}

.nav-toggle {
    display: none;
}

nav a.active {
    background: var(--brand-accent-soft);
    color: #fff;
}

/* =========================
   MAIN LAYOUT
   ========================= */
main {
    max-width: 1200px;
    margin: 2.5rem auto;
    padding: 1.5rem;
    position: relative;
}

section {
    background: var(--bg-section);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.45);
    transition: transform 0.3s ease;
}

/* Stronger separation between dark and light sections/cards */
body.dark-theme section {
    border: 1px solid rgba(148, 163, 184, 0.4);
}

body.light-theme section {
    border: 1px solid #e5e7eb;
}

section:hover {
    transform: translateY(-4px);
}

section h2 {
    color: var(--text-main);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--brand-accent);
    padding-bottom: 0.5rem;
}

section p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.section-intro {
    max-width: 720px;
    font-size: 0.98rem;
}

/* =========================
   BUTTONS
   ========================= */
button,
.btn {
    background: var(--brand-accent);
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

button:hover,
.btn:hover {
    background: var(--brand-accent-strong);
    transform: translateY(-2px);
}

.btn.ghost {
    background: var(--brand-accent);
    color: #fff;
    border: 1px solid var(--brand-accent);
}

.btn.ghost:hover {
    background: var(--brand-accent);
    color: #fff;
}

/* =========================
   GRID & CARDS
   ========================= */
.cards,
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.card,
.catalog-item {
    background: var(--bg-elevated);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover,
.catalog-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.card h3,
.catalog-item h3 {
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

body.dark-theme .card,
body.dark-theme .catalog-item {
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.18), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.18), transparent 55%),
        rgba(15, 23, 42, 1);
}

body.light-theme .card,
body.light-theme .catalog-item {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* =========================
   ABOUT SECTION GRID
   ========================= */
.grid.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.highlight ul {
    margin: 0;
    padding-left: 1.25rem;
}

.highlight li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

#about p {
    margin-bottom: 0.75rem;
}

/* =========================
   GALLERY
   ========================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    aspect-ratio: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.04);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================
   MODAL
   ========================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin-top: 5%;
    border-radius: 10px;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================
   WHATSAPP FLOAT
   ========================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    transition: transform 0.3s ease;
    z-index: 999;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* =========================
   FOOTER
   ========================= */
footer {
    background: radial-gradient(circle at top, rgba(15,23,42,0.9), rgba(15,23,42,1));
    text-align: center;
    padding: 1.5rem;
    color: var(--text-muted);
}

/* =========================
   HERO
   ========================= */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

#home {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.hero-text h2 {
    font-size: 2.4rem;
    margin-bottom: 0.75rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.hero-badges {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.badge {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: var(--brand-accent-soft);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(109, 79, 211, 0.25);
    backdrop-filter: blur(6px);
}

.eyebrow {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brand-accent);
    margin-bottom: 0.35rem;
}

/* =========================
   CHIPS & FILTERS
   ========================= */

.hero-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-frame {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3), transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(244, 114, 182, 0.25), transparent 55%),
        #020617;
}

.hero-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

body.light-theme .hero-video-frame {
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
    border-color: rgba(148, 163, 184, 0.35);
    background: #0f172a;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0 1.5rem;
}

.chip {
    border-radius: 999px;
    border: 1px solid var(--border-light);
    padding: 0.4rem 0.9rem;
    font-size: 0.85rem;
    background: transparent;
    cursor: pointer;
    color: var(--text-muted);
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.chip-active {
    background: var(--brand-accent-soft);
    color: #fff;
    border-color: var(--brand-accent);
}

/* =========================
   CONTACT GRID
   ========================= */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2.5rem;
    align-items: center;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
}

.enquiry-form {
    background: var(--bg-elevated);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.9);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.form-field label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.form-field input,
.form-field select,
.form-field textarea {
    background: var(--bg-main);
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.55);
    padding: 0.6rem 0.75rem;
    color: var(--text-main);
    font: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 1px var(--brand-accent-soft);
}

.form-field textarea {
    resize: vertical;
    min-height: 120px;
}

.enquiry-status {
    margin-top: 0.75rem;
    font-size: 0.9rem;
}

.enquiry-status--success {
    color: #4ade80;
}

.enquiry-status--error {
    color: #fca5a5;
}

/* =========================
   RESPONSIVE MEDIA QUERIES
   ========================= */
@media (max-width: 1024px) {
    .grid.two {
        grid-template-columns: 1fr; /* stack columns on tablets */
    }

    .hero,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        position: absolute;
        right: 1rem;
        top: 64px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        background: rgba(255,255,255,0.98);
        padding: 0.75rem 1rem;
        border-radius: 12px;
        box-shadow: 0 18px 40px rgba(15,23,42,0.25);
        min-width: 180px;
        display: none;
    }

    nav ul.open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    header {
        padding: 0.6rem 1rem;
    }

    .header-inner {
        gap: 0.75rem;
    }

    .logo-wrap img {
        width: 52px;
        height: 52px;
    }

    .brand-text h1 {
        font-size: 1rem;
    }

    main {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
    }

    .hero-text {
        text-align: left;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    .hero-media {
        justify-content: flex-start;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    section h2 {
        font-size: 1.2rem;
    }

    p, li {
        font-size: 0.95rem;
    }

    .btn, button {
        font-size: 0.95rem;
        padding: 0.65rem 1.2rem;
    }
}
