/* GOLDEN EDITORIAL LAYOUT */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
    --bg-void: #030303;
    --bg-card: #0a0a0a;

    --gold-primary: #D4AF37;
    --gold-metallic: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);

    --text-light: #f0f0f0;
    --text-dim: #888888;

    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Jost', sans-serif;

    --border-thin: 1px solid rgba(212, 175, 55, 0.15);
}

body[data-theme="light"] {
    --bg-void: #f5f0e4;
    --bg-card: #fffaf0;
    --text-light: #1d1a14;
    --text-dim: #6f6658;
    --border-thin: 1px solid rgba(120, 97, 51, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-void);
    color: var(--text-light);
    font-family: var(--font-sans);
    font-weight: 300;
    overflow-x: hidden;
    transition: background-color 0.35s ease, color 0.35s ease;
}

/* Typography Overhauls */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 300;
    letter-spacing: -0.02em;
}

.mega-title {
    font-size: clamp(4rem, 12vw, 10rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    transition: 0.5s;
}

.mega-title.filled {
    color: #fff;
    -webkit-text-stroke: 0;
}

.gold-text {
    background: var(--gold-metallic);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
}

/* Layout Structure: The "Line" System */
.page-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar-nav {
    width: 80px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg-void);
    border-right: var(--border-thin);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 40px 0;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    color: var(--gold-primary);
}

.main-content {
    margin-left: 80px;
    /* Offset for sidebar */
    width: calc(100% - 80px);
}

/* Navigation Overlay */
.nav-trigger {
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gold-primary);
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.5);
    background: transparent;
    color: var(--gold-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background-color 0.25s ease;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    background: rgba(212, 175, 55, 0.12);
}

.theme-toggle i {
    font-size: 1rem;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: #000;
    z-index: 999;
    overflow: hidden;
    transition: 0.6s cubic-bezier(0.7, 0, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-overlay.active {
    height: 100%;
}

.nav-links-huge {
    text-align: center;
}

.nav-links-huge a {
    display: block;
    font-family: var(--font-serif);
    font-size: 4rem;
    color: #333;
    text-decoration: none;
    transition: 0.3s;
    line-height: 1.2;
}

.nav-links-huge a:hover {
    color: var(--gold-primary);
    transform: skewX(-10deg);
}

/* Sections */
.fullscreen-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: var(--border-thin);
    padding: 0 5vw;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    width: 100%;
    align-items: center;
}

.hero-text {
    position: relative;
    z-index: 5;
}

.hero-desc {
    margin-top: 40px;
    max-width: 400px;
    line-height: 1.8;
    color: #aaa;
}

.hero-btns {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.hero-img-wrap {
    position: relative;
    height: 70vh;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-img-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: sepia(30%) contrast(1.1);
    transform: scale(1.1);
    transition: transform 10s ease;
}

.hero-img-wrap:hover img {
    transform: scale(1);
}

/* Overlapping Text Effect */
.hero-text-overlay {
    position: absolute;
    left: 45%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 10;
    mix-blend-mode: difference;
    /* Cool inversion effect */
}

/* Marquee Line */
.marquee-line {
    border-bottom: var(--border-thin);
    padding: 10px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    animation: scroll 20s linear infinite;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
}

/* Service Menu Layout */
.menu-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    width: 100%;
    min-height: 80vh;
}

.menu-sticky-side {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    border-right: var(--border-thin);
    padding-right: 40px;
}

.menu-list-side {
    padding: 100px 0 100px 60px;
}

.menu-item-new {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #222;
    padding: 30px 0;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-item-new:hover {
    border-color: var(--gold-primary);
    padding-left: 20px;
}

.menu-item-new h3 {
    font-size: 2rem;
    color: #fff;
}

.menu-item-new p {
    color: #666;
    font-size: 1rem;
    margin-top: 5px;
}

/* Gallery Scroll */
.gallery-scroll-container {
    display: flex;
    overflow-x: auto;
    gap: 40px;
    padding: 0 5vw;
    scrollbar-width: none;
    /* Hide scrollbar */
}

.gallery-card {
    min-width: 300px;
    height: 500px;
    position: relative;
}

.gallery-card img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: grayscale(80%);
    transition: 0.5s;
}

.gallery-card:hover img {
    filter: grayscale(0%);
}

.gallery-card-content {
    position: absolute;
    bottom: 20px;
    left: -20px;
    background: #000;
    padding: 15px 30px;
    border: 1px solid var(--gold-primary);
}

/* Contact Split */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 80vh;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 5vw;
    background: #080808;
}

body[data-theme="light"] .sidebar-nav,
body[data-theme="light"] .service-card,
body[data-theme="light"] .contact-info,
body[data-theme="light"] .modal-inner,
body[data-theme="light"] .gallery-card-content,
body[data-theme="light"] .form-input,
body[data-theme="light"] .form-field {
    background: var(--bg-card);
}

body[data-theme="light"] .nav-overlay,
body[data-theme="light"] .modal {
    background: rgba(245, 240, 228, 0.96);
}

body[data-theme="light"] .mega-title {
    -webkit-text-stroke: 1px rgba(24, 19, 12, 0.3);
}

body[data-theme="light"] .mega-title.filled,
body[data-theme="light"] .menu-item-new h3,
body[data-theme="light"] .service-card h3,
body[data-theme="light"] .nav-links-huge a,
body[data-theme="light"] .form-input,
body[data-theme="light"] .form-field,
body[data-theme="light"] .modal-inner,
body[data-theme="light"] .form-label {
    color: #1d1a14;
}

body[data-theme="light"] .hero-img-wrap,
body[data-theme="light"] .about-img-frame,
body[data-theme="light"] .service-card,
body[data-theme="light"] .form-input,
body[data-theme="light"] .form-field,
body[data-theme="light"] .book-btn-sm,
body[data-theme="light"] .menu-item-new {
    border-color: rgba(120, 97, 51, 0.3);
}

body[data-theme="light"] .hero-desc,
body[data-theme="light"] .menu-item-new p,
body[data-theme="light"] .service-card p,
body[data-theme="light"] .book-btn-sm {
    color: var(--text-dim);
}

body[data-theme="light"] .book-btn-sm:hover {
    color: #201b13;
}

body[data-theme="light"] input[type="date"],
body[data-theme="light"] input[type="time"],
body[data-theme="light"] select {
    color-scheme: light;
}

body[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
body[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator {
    filter: none;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
}

.modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-inner {
    width: 90%;
    max-width: 500px;
    background: #000;
    border: 1px solid var(--gold-primary);
    padding: 40px;
    position: relative;
}

.form-field {
    background: transparent;
    border: none;
    border-bottom: 1px solid #333;
    padding: 15px 0;
    width: 100%;
    color: #fff;
    font-family: var(--font-sans);
    margin-bottom: 20px;
}

.form-field:focus {
    outline: none;
    border-color: var(--gold-primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Services Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.service-card {
    background: #0a0a0a;
    border: 1px solid #222;
    padding: 30px;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.service-card p {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.service-price {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-top: auto;
}

.book-btn-sm {
    background: transparent;
    border: 1px solid #333;
    color: #ccc;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    width: 100%;
}

.book-btn-sm:hover {
    background: var(--gold-primary);
    color: #000;
    border-color: var(--gold-primary);
}

/* Gallery Grid Layout (Responsive) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.gallery-grid-item {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
    filter: grayscale(30%);
}

.gallery-grid-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* Form Styles Improvements */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--gold-primary);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.form-input,
.form-field {
    width: 100%;
    background: #111;
    border: 1px solid #333;
    padding: 15px;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.form-input:focus,
.form-field:focus {
    border-color: var(--gold-primary);
    background: #161616;
}

/* Specific styling for Select and Date to look good */
input[type="date"],
input[type="time"],
select {
    color-scheme: dark;
    /* Force browser dark theme for calendar picker */
    cursor: pointer;
}

/* Fix for date placeholder color issues */
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(100);
    cursor: pointer;
    opacity: 1;
}

/* WhatsApp Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
}

/* Mobile Responsiveness Updates */
@media(max-width: 900px) {
    .sidebar-nav {
        width: 100%;
        height: 60px;
        flex-direction: row;
        padding: 0 20px;
        border-right: 0;
        border-bottom: var(--border-thin);
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .main-content {
        margin-left: 0;
        margin-top: 60px;
        width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
        /* Allow auto height */
    }

    .fullscreen-section {
        min-height: auto;
        /* Remove strict constraints on mobile */
        padding: 60px 5vw;
        flex-direction: column;
        display: block;
        /* Stack content naturally */
    }

    .hero-img-wrap {
        height: 50vh;
        /* Smaller hero image on mobile */
        margin-top: 20px;
    }

    .hero-text {
        text-align: center;
        padding-bottom: 40px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-desc {
        max-width: 100%;
        margin-top: 20px;
    }

    .hero-btns {
        justify-content: center;
        margin-top: 30px;
    }

    .hero-text .mega-title {
        width: 100%;
    }

    .hero-text-overlay {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        padding: 20px 0;
        text-align: center;
    }

    .mega-title {
        font-size: 3.5rem;
        line-height: 1.1;
    }

    .menu-layout {
        display: flex;
        flex-direction: column;
    }

    .menu-sticky-side {
        height: auto;
        position: relative;
        margin-bottom: 40px;
        border: 0;
        padding-right: 0;
        text-align: center;
        /* Center menu header */
    }

    .menu-list-side {
        padding: 0;
        width: 100%;
    }

    .contact-split {
        grid-template-columns: 1fr;
        height: auto;
    }

    .contact-split>div {
        height: 400px;
        /* Fixed height for map and padding for info */
    }

    .contact-info {
        height: auto;
        padding: 60px 5vw;
    }

    /* Modal Mobile */
    .modal-inner {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        /* Full width on mobile */
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 20px;
    }

    .nav-links-huge a {
        font-size: 2.5rem;
        /* Smaller nav links */
    }
}
