/* ========================================
   Massage Heights – The Landings
   Custom Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #f0f4f8;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0f1d2e;
}

::-webkit-scrollbar-thumb {
    background: #334e68;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a853;
}

/* Navigation */
.nav-fixed {
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.nav-scrolled {
    background-color: rgba(15, 29, 46, 0.97) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #d4a853;
    transition: width 0.3s ease;
}

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

/* Mobile Menu */
.mobile-menu {
    transition: opacity 0.5s ease, pointer-events 0.5s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s ease;
}

.mobile-menu.active .mobile-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .mobile-link:nth-child(5) { transition-delay: 0.3s; }

/* Hero */
.hero {
    position: relative;
}

.hero-content {
    opacity: 1;
    transform: none;
}

.hero-image {
    opacity: 1;
    transform: none;
}

/* Section */
.section {
    position: relative;
}

.section-header {
    position: relative;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a853, transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-4px);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

/* Scroll Reveal (below fold only) */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    .service-card:hover {
        transform: none;
    }
    
    .mobile-link {
        opacity: 1;
        transform: none;
        transition-delay: 0s;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 300px !important;
    }
    
    .section {
        padding: 4rem 1.5rem;
    }
}

/* Large desktop */
@media (min-width: 1280px) {
    .hero h1 {
        font-size: 5.5rem;
    }
}
