/* ========================================
   Elevate Health and Lounge - Styles
   Burgundy & Blush Color Palette
======================================== */

/* CSS Custom Properties */
:root {
    --burgundy: #781F2E;
    --burgundy-dark: #5A1520;
    --burgundy-light: #9B2D42;
    --blush: #F4C2C2;
    --blush-light: #FDF0F0;
    --blush-lighter: #FFF8F8;
    --cream: #FDF8F5;
    --white: #FFFFFF;
    --text-dark: #2D1F1F;
    --text-medium: #5A4545;
    --text-light: #8A7575;
    --shadow-sm: 0 2px 8px rgba(120, 31, 46, 0.08);
    --shadow-md: 0 4px 20px rgba(120, 31, 46, 0.12);
    --shadow-lg: 0 8px 40px rgba(120, 31, 46, 0.16);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-dark);
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(244, 194, 194, 0.3);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.25rem;
    color: var(--burgundy);
}

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

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-medium);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--burgundy);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Quicksand', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: var(--burgundy);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(120, 31, 46, 0.3);
}

.btn-primary:hover {
    background: var(--burgundy-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(120, 31, 46, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn-secondary:hover {
    background: var(--burgundy);
    color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--cream);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--burgundy);
    padding: 8px;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-nav-menu a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.mobile-nav-menu a:hover {
    color: var(--burgundy);
}

/* ========================================
   Hero Section
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(90, 21, 32, 0.85) 0%,
        rgba(120, 31, 46, 0.75) 50%,
        rgba(155, 45, 66, 0.65) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 120px 24px 80px;
    color: var(--white);
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(244, 194, 194, 0.2);
    border: 1px solid rgba(244, 194, 194, 0.4);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blush);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background: var(--blush);
    color: var(--burgundy);
    box-shadow: 0 4px 15px rgba(244, 194, 194, 0.4);
}

.hero-actions .btn-primary:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(244, 194, 194, 0.5);
}

.hero-actions .btn-secondary {
    border-color: var(--white);
    color: var(--white);
    background: transparent;
}

.hero-actions .btn-secondary:hover {
    background: var(--white);
    color: var(--burgundy);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   Section Styles
======================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--burgundy);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   About Section
======================================== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.about-img-main:hover img {
    transform: scale(1.03);
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

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

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--burgundy);
    color: var(--white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.experience-number {
    display: block;
    font-family: 'DM Serif Display', serif;
    font-size: 0.9rem;
    color: var(--blush);
}

.experience-text {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
}

.about-content {
    padding: 20px 0;
}

.about-content .section-description {
    margin-bottom: 20px;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-text h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.feature-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   Offerings Section
======================================== */
.offerings {
    background: var(--cream);
}

.offerings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.offering-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.offering-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.offering-image {
    height: 220px;
    overflow: hidden;
}

.offering-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.offering-card:hover .offering-image img {
    transform: scale(1.08);
}

.offering-content {
    padding: 30px;
}

.offering-icon {
    width: 56px;
    height: 56px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.offering-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.offering-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ========================================
   Gallery Section
======================================== */
.gallery {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.gallery-item.large {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    min-height: 200px;
}

.gallery-item.large img {
    min-height: 320px;
}

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

/* ========================================
   Visit Section
======================================== */
.visit {
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.visit-info {
    padding: 20px 0;
}

.visit-info .section-description {
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--blush-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-text p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-text a {
    color: var(--burgundy);
    font-weight: 600;
}

.contact-text a:hover {
    text-decoration: underline;
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 400px;
}

/* ========================================
   Footer
======================================== */
.footer {
    background: var(--burgundy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-text {
    font-family: 'DM Serif Display', serif;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--blush);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   Scroll Reveal Animations
======================================== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .about-grid {
        gap: 40px;
    }
    
    .offerings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-content {
        padding: 100px 24px 80px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .about-images {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .about-img-secondary {
        right: -10px;
        bottom: -30px;
        width: 160px;
    }
    
    .offerings-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 2;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        min-height: 300px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    section {
        padding: 70px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .about-img-secondary {
        width: 130px;
    }
    
    .about-img-secondary img {
        height: 130px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
