/* =========================================
   Reset & Variables
   ========================================= */
:root {
    --color-primary: #663883;
    --color-primary-dark: #3b1652;
    --color-secondary: #f4f4f4;
    --color-dark: #0f0f0f;
    --color-light: #ffffff;
    --color-text: #333333;
    --color-text-light: #dddddd;
    
    --font-heading: 'PT Sans Narrow', Arial, sans-serif;
    --font-body: 'Inter', Helvetica, sans-serif;
    --font-hero: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a:hover {
    color: var(--color-primary-dark);
}

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

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

.text-center { text-align: center; }
.text-white { color: var(--color-light); }
.bg-light { background-color: var(--color-secondary); }
.bg-dark { background-color: var(--color-dark); color: var(--color-light); }
.mt-4 { margin-top: 1.5rem; }

/* Accessible hidden text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--color-primary);
}

.text-center h2.section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

/* Buttons */
.btn-primary, .btn-book {
    display: inline-block;
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid var(--color-primary);
    transition: var(--transition);
}

.btn-primary:hover, .btn-book:hover {
    background-color: transparent;
    color: var(--color-primary);
}

/* =========================================
   Header & Navigation
   ========================================= */
.main-header {
    background-color: rgba(15, 15, 15, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    min-height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    max-height: 60px;
    width: auto;
}

/* Navigation List */
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--color-text-light);
    font-size: 1rem;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}

.hamburger, .hamburger::before, .hamburger::after {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--color-light);
    transition: var(--transition);
    position: relative;
}

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* Mobile menu active state */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* =========================================
   Sections General
   ========================================= */
.section {
    padding: 5rem 0;
}

.section-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.section-content.reverse {
    flex-direction: row-reverse;
}

.section-image {
    flex: 1;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
    max-height: 500px;
}

.text-content {
    flex: 1;
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-light);
    margin-top: 0; /* Nav is fixed, so hero sits under it */
    overflow: hidden; /* For Ken Burns effect */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transform-origin: center;
    animation: kenBurns 25s linear infinite alternate;
}

@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1.5s ease-out 0.5s forwards;
}

@keyframes fadeSlideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.hero-content h2 {
    font-family: var(--font-hero);
    font-size: 4.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    text-transform: capitalize;
    text-shadow: 2px 4px 8px rgba(0,0,0,0.6);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

/* =========================================
   About Section
   ========================================= */
.feature-list {
    list-style: none;
    margin-top: 1.5rem;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list li span {
    color: var(--color-primary);
    font-weight: bold;
}

/* =========================================
   Services Section
   ========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-details {
    padding: 1.5rem;
}

.service-details h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.price-tier {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.price-tier strong {
    color: var(--color-dark);
}

/* =========================================
   Specials Section
   ========================================= */
.specials-list {
    list-style: none;
}

.specials-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.specials-list li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-dark);
}

/* =========================================
   Contact Section
   ========================================= */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.contact-info-card h3 {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-info-card address {
    font-style: normal;
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

.contact-info-card p, .contact-info-card a {
    color: var(--color-text-light);
}

.contact-info-card .hours {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin: 0.5rem 0;
}

.contact-info-card .note {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* =========================================
   Footer
   ========================================= */
.main-footer {
    background-color: #000;
    color: var(--color-text-light);
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

/* =========================================
   Scroll Animations
   ========================================= */
.scroll-anim {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Stagger service cards and contact cards */
.service-card.scroll-anim:nth-child(2), .contact-info-card.scroll-anim:nth-child(2) { transition-delay: 0.1s; }
.service-card.scroll-anim:nth-child(3), .contact-info-card.scroll-anim:nth-child(3) { transition-delay: 0.2s; }
.service-card.scroll-anim:nth-child(4) { transition-delay: 0.3s; }
.service-card.scroll-anim:nth-child(5) { transition-delay: 0.4s; }
.service-card.scroll-anim:nth-child(6) { transition-delay: 0.5s; }

.scroll-anim.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Media Queries (Mobile Responsiveness)
   ========================================= */
@media (max-width: 992px) {
    .section-content, .section-content.reverse {
        flex-direction: column;
    }
    
    .section-image {
        width: 100%;
        max-height: 400px;
    }
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }
    
    .primary-navigation {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-dark);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .primary-navigation.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .nav-link {
        font-size: 1.2rem;
        display: block;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .btn-book {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
}