/*
Theme Name: Sophie Luxury Spa
Theme URI: http://localhost/wordpress/
Description: Ultra-luxury Spa & Wellness Theme with Cormorant Garamond & DM Sans typography, full-width edge-to-edge layouts, bespoke interactive reservation engine, animated gallery, and full Elementor drag-and-drop customization.
Author: Antigravity & AICHAT
Version: 2.0.0
Text Domain: sophie-luxury-spa
*/

:root {
    --gold: #c6a66b;
    --gold-light: #e4cca0;
    --black: #11110f;
    --white: #ffffff;
    --cream: #f8f6f1;
    --gray: #77746e;
    --border-light: #eee9df;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* FULL-WIDTH ZERO-PADDING CONTAINER RESET FOR ELEMENTOR */
.elementor-section.elementor-section-boxed > .elementor-container,
.elementor-section.elementor-section-full_width > .elementor-container,
.elementor-container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.elementor-column-gap-default > .elementor-column > .elementor-element-populated {
    padding: 0 !important;
}

.elementor-widget-shortcode,
.elementor-widget-html {
    margin-bottom: 0 !important;
}

/* NAVBAR */
.navbar {
    height: 90px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
    width: 100%;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1;
}

.logo span {
    color: var(--gold);
}

.logo small {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 9px;
    letter-spacing: 5px;
    text-align: center;
    margin-top: 4px;
    color: var(--gray);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-btn {
    background: var(--black);
    color: white;
    padding: 14px 26px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    transition: .3s;
}

.nav-btn:hover {
    background: var(--gold);
    color: #111;
}

.menu-toggle {
    display: none;
    font-size: 27px;
    cursor: pointer;
}

/* BUTTONS */
.gold-btn {
    display: inline-block;
    background: var(--gold);
    color: #111;
    padding: 18px 36px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: .3s;
    border: none;
    cursor: pointer;
}

.gold-btn:hover {
    background: white;
    color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.gold-btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 1px solid var(--gold);
    padding: 16px 32px;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: .3s;
    cursor: pointer;
}

.gold-btn-outline:hover {
    background: var(--gold);
    color: #111;
}

/* SECTION HEADINGS */
.section-label {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 600;
}

.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(38px, 5.5vw, 62px);
    font-weight: 400;
    line-height: 1.1;
}

.section-title span {
    color: var(--gold);
}

/* FULL-WIDTH HERO */
.hero {
    min-height: 720px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    align-items: center;
    padding: 0 8%;
    background:
        linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.2)),
        url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=2200&q=85') center/cover no-repeat;
    color: white;
}

.hero-content {
    max-width: 680px;
}

.hero .eyebrow {
    color: var(--gold-light);
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 25px;
    font-weight: 600;
}

.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 7.5vw, 96px);
    line-height: .98;
    font-weight: 400;
    margin-bottom: 28px;
}

.hero h1 span {
    color: var(--gold-light);
}

.hero p {
    color: #e2e0dc;
    font-size: 15px;
    line-height: 2;
    max-width: 480px;
    margin-bottom: 38px;
}

/* FULL-WIDTH INTRO */
.intro {
    padding: 120px 8%;
    text-align: center;
    background: var(--cream);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.intro p {
    max-width: 720px;
    margin: 25px auto 0;
    color: var(--gray);
    font-size: 14px;
    line-height: 2.2;
}

/* FULL-WIDTH SERVICES SECTION */
.services {
    padding: 120px 6%;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fff;
}

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1440px;
    margin: 0 auto;
}

.service-card {
    position: relative;
    height: 480px;
    overflow: hidden;
    background: #111;
    display: block;
}

.service-card img {
    transition: transform .8s cubic-bezier(0.25, 1, 0.5, 1);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 40%, rgba(0,0,0,0.92) 100%);
}

.service-info {
    position: absolute;
    bottom: 32px;
    left: 32px;
    right: 32px;
    z-index: 2;
    color: white;
}

.service-info span.service-code {
    color: var(--gold-light);
    font-size: 10px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.service-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    font-weight: 500;
    margin: 6px 0 10px;
    color: #fff;
}

.service-info .service-price-pill {
    display: inline-block;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.service-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.15);
}

.service-link-details {
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #eee;
    font-weight: 500;
}

.service-link-details:hover {
    color: var(--gold-light);
}

.service-btn-book {
    background: var(--gold);
    color: #111;
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 700;
    padding: 9px 18px;
    display: inline-block;
    transition: 0.3s;
}

.service-btn-book:hover {
    background: #fff;
    color: #111;
}

/* FULL-WIDTH ABOUT */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 680px;
    background: var(--black);
    color: white;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.about-image {
    min-height: 550px;
}

.about-content {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 25px;
}

.about-content h2 span {
    color: var(--gold);
}

.about-content p {
    font-size: 14px;
    color: #b5b5b5;
    line-height: 2.1;
    margin-bottom: 20px;
}

.about-content .gold-btn {
    align-self: flex-start;
    margin-top: 15px;
}

/* FULL-WIDTH EXPERIENCE */
.experience {
    padding: 120px 8%;
    background: var(--cream);
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.experience-item {
    padding: 25px;
}

.experience-item .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 64px;
    color: var(--gold);
}

.experience-item h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    margin: 10px 0;
}

.experience-item p {
    font-size: 13px;
    line-height: 2;
    color: var(--gray);
}

/* ANIMATED GALLERY SECTION (FULL-WIDTH INFINITE MARQUEE) */
.spa-gallery-section {
    padding: 110px 0 120px;
    background: #0d0d0c;
    color: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    overflow: hidden;
}

.spa-gallery-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 5%;
}

.spa-gallery-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    position: relative;
    width: 100%;
}

.spa-gallery-track {
    display: flex;
    gap: 25px;
    animation: marqueeScroll 35s linear infinite;
    will-change: transform;
}

.spa-gallery-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.spa-gallery-item {
    flex: 0 0 380px;
    height: 380px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.spa-gallery-item img {
    transition: transform .7s ease;
}

.spa-gallery-item:hover img {
    transform: scale(1.1);
}

.spa-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity .4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spa-gallery-item:hover .spa-gallery-overlay {
    opacity: 1;
}

.spa-gallery-overlay span {
    color: #fff;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid var(--gold);
    padding: 10px 20px;
    background: rgba(0,0,0,0.6);
}

/* FULL-WIDTH FEATURE BANNER */
.feature {
    min-height: 520px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 5%;
    color: white;
    background:
        linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
        url('https://images.unsplash.com/photo-1519823551278-64ac92734fb1?auto=format&fit=crop&w=2000&q=85') center/cover;
}

.feature-content {
    max-width: 680px;
}

.feature h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(43px, 6vw, 72px);
    font-weight: 400;
    margin: 20px 0;
}

.feature p {
    font-size: 14px;
    line-height: 2;
    color: #ddd;
    margin-bottom: 30px;
}

/* TESTIMONIALS */
.testimonials {
    padding: 120px 8%;
    text-align: center;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: #fff;
}

.testimonial-box {
    max-width: 820px;
    margin: 45px auto 0;
    padding: 50px;
    border: 1px solid #e9e2d6;
    background: #fff;
}

.stars {
    color: var(--gold);
    letter-spacing: 5px;
    font-size: 18px;
}

.testimonial-box p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    line-height: 1.6;
    margin: 25px 0;
}

.testimonial-box h4 {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gray);
}

/* RESERVATION SECTION (PAGE & EMBED) */
.reservation-section {
    padding: 120px 6%;
    background: var(--cream);
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.reservation-container {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #e6ded3;
    padding: 55px 50px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.04);
}

.reservation-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 35px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-field-label {
    display: block;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #444;
    font-weight: 600;
}

.form-control-input,
.form-control-select,
.form-control-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #dcd5c8;
    background: #faf8f5;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #111;
    border-radius: 0;
    outline: none;
    transition: border-color .3s;
}

.form-control-input:focus,
.form-control-select:focus,
.form-control-textarea:focus {
    border-color: var(--gold);
    background: #fff;
}

/* LIVE PRICE CALCULATION BOX */
.live-price-calculator-card {
    background: #111;
    color: #fff;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid var(--gold);
    margin-top: 10px;
}

.live-price-calculator-card .calc-label {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
}

.live-price-calculator-card .calc-math {
    font-size: 13px;
    color: var(--gold-light);
    margin-top: 4px;
}

.live-price-calculator-card .calc-total {
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-weight: 600;
    color: var(--gold);
}

.res-alert-box {
    padding: 18px 24px;
    margin-bottom: 25px;
    font-size: 14px;
    line-height: 1.6;
}

.res-alert-success {
    background: #f1f8f3;
    border: 1px solid #82b992;
    color: #1e5a2e;
}

/* CONTACT & GOOGLE MAP SECTION (FULL-WIDTH) */
.contact-map-section {
    padding: 110px 0 0;
    background: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.contact-map-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 6% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-info-list {
    margin-top: 30px;
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.contact-info-item strong {
    color: #111;
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.contact-info-icon {
    font-size: 20px;
    color: var(--gold);
    line-height: 1;
}

.map-wrapper {
    width: 100%;
    height: 480px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* FOOTER */
footer {
    background: #10100e;
    color: white;
    padding: 75px 6% 30px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 55px;
    max-width: 1300px;
    margin: 0 auto;
}

.footer-brand p {
    max-width: 350px;
    color: #999;
    font-size: 13px;
    line-height: 2;
    margin-top: 20px;
}

footer h4 {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

footer ul {
    list-style: none;
}

footer li {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 14px;
}

footer li a:hover {
    color: var(--gold);
}

.copyright {
    border-top: 1px solid #292929;
    padding-top: 25px;
    text-align: center;
    color: #777;
    font-size: 11px;
    letter-spacing: 1px;
}

/* SINGLE SERVICE PAGE STYLES */
.service-details-section {
    padding: 100px 8%;
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.service-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.service-gallery-item {
    height: 240px;
    overflow: hidden;
}

.service-booking-sidebar {
    background: var(--cream);
    padding: 45px 40px;
    border: 1px solid #e8e2d7;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .navbar { padding: 0 5%; }
    .nav-links {
        display: none;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 30px;
        gap: 25px;
        border-bottom: 1px solid #eee;
    }
    .nav-links.active { display: flex; }
    .menu-toggle { display: block; }
    .nav-btn { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .about { grid-template-columns: 1fr; }
    .about-image { height: 450px; }
    .contact-map-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .reservation-form-grid { grid-template-columns: 1fr; }
    .service-details-section { grid-template-columns: 1fr; }
}

@media(max-width: 650px) {
    .hero { min-height: 600px; padding: 0 7%; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { height: 440px; }
    .experience-grid { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .about-content { padding: 70px 8%; }
    .testimonial-box { padding: 25px; }
    .reservation-container { padding: 35px 20px; }
    .spa-gallery-item { flex: 0 0 280px; height: 280px; }
    .live-price-calculator-card { flex-direction: column; align-items: flex-start; gap: 15px; }
}
