/* =========================================
   1. CSS Variables & Reset
   ========================================= */
:root {
    --color-gold: #D4AF37;
    --color-gold-dark: #B59020;
    --color-white: #FFFFFF;
    --color-cream: #F9F7F2;
    --color-text: #2C2C2C;
    --color-text-light: #666666;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =========================================
   2. Utility Classes
   ========================================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.full-width { width: 100%; }

.bg-cream { background-color: var(--color-cream); }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================
   3. Typography & Buttons
   ========================================= */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
    h2 { font-size: 2.5rem; }
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-gold-dark);
}

.btn-secondary {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #000;
}

.btn-outline {
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn-outline:hover {
    background-color: var(--color-white);
    color: var(--color-text);
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.8rem;
}

.link-gold {
    color: var(--color-gold);
    font-weight: 700;
}

.link-gold:hover {
    color: var(--color-gold-dark);
}

/* =========================================
   4. Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-list {
    display: none;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-toggle, .nav-close {
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
}

.nav-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: block;
}

/* Mobile Menu Active State */
.nav.show-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 4rem 2rem;
    display: block;
    z-index: 1001;
    animation: slideIn 0.3s ease;
}

.nav.show-menu .nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@media (min-width: 768px) {
    .nav-toggle, .nav-close { display: none; }
    .nav {
        display: flex !important;
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        box-shadow: none;
        padding: 0;
    }
    .nav-list {
        display: flex;
        gap: 2rem;
    }
}

/* =========================================
   5. Hero Section
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1540555700478-4be289fbecef?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    z-index: -1;
}

.hero-content h1 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   6. Sections & Components
   ========================================= */
.section {
    padding: 4rem 0;
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* Service Cards */
.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Feature Boxes */
.feature-box {
    padding: 1.5rem;
    text-align: center;
}

.feature-box h4, .feature-box h3 {
    color: var(--color-gold-dark);
    margin-bottom: 0.5rem;
}

/* Gallery Grid */
.gallery-grid, .gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.gallery-grid img, .gallery-grid-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: var(--transition);
}

.gallery-grid img:hover, .gallery-grid-large img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow);
}

@media (min-width: 768px) {
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .gallery-grid-large { grid-template-columns: repeat(3, 1fr); }
}

/* Reviews */
.review-card {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 8px;
    font-style: italic;
    position: relative;
}

.review-card cite {
    display: block;
    margin-top: 1rem;
    font-weight: 700;
    font-style: normal;
    color: var(--color-gold-dark);
}

.stars {
    color: var(--color-gold);
    margin-top: 0.5rem;
}

/* FAQ */
.faq-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-item summary {
    padding: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    position: relative;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    font-size: 1.5rem;
    color: var(--color-gold);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--color-text-light);
}

/* Contact Form */
.spa-form .form-group {
    margin-bottom: 1.5rem;
}

.spa-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.spa-form input, .spa-form select, .spa-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.spa-form input:focus, .spa-form select:focus, .spa-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.contact-details li {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.contact-details a {
    color: var(--color-gold-dark);
    font-weight: 600;
}

/* Page Hero (Subpages) */
.page-hero {
    background-color: var(--color-cream);
    padding: 8rem 0 4rem;
    text-align: center;
    border-bottom: 1px solid #eee;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 4rem 0 2rem;
}

.footer h3, .footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

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

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
}

/* Floating Buttons */
.float-btn {
    position: fixed;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 999;
    transition: var(--transition);
}

.float-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    right: 2rem;
    background-color: #25D366;
    color: white;
}

.call-btn {
    right: 6rem;
    background-color: var(--color-gold);
    color: white;
}

@media (max-width: 768px) {
    .call-btn { right: 1rem; bottom: 6rem; }
    .whatsapp-btn { right: 1rem; bottom: 1rem; }
}

/* =========================================
   7. Animations
   ========================================= */
.fade-in, .fade-in-up, .fade-in-left, .fade-in-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in { opacity: 1; } /* Fallback */

.fade-in-up { transform: translateY(30px); }
.fade-in-left { transform: translateX(-30px); }
.fade-in-right { transform: translateX(30px); }

.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    text-align: center;
}