/**
 * NH Retreat Main Stylesheet - COMPLETE VERSION
 */

/* ==========================================
   CSS VARIABLES
========================================== */
:root {
    --primary-color: #8B7355;
    --secondary-color: #C4A574;
    --accent-color: #D4C5B0;
    --text-dark: #2C2C2C;
    --text-light: #6B6B6B;
    --bg-cream: #FFF8F0;
    --bg-white: #FFFFFF;
    --border-color: #E8E8E8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;
    --section-padding: 100px;
    --container-width: 1200px;
    --transition-base: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --z-header: 1000;
    --z-overlay: 100;
    --z-content: 10;
    --z-decoration: 1;
}

/* ==========================================
   RESET & BASE STYLES
========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul, ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
}

/* ==========================================
   TYPOGRAPHY
========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 600;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* ==========================================
   LAYOUT UTILITIES
========================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   BUTTONS
========================================== */
.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    font-weight: 500;
    border-radius: 50px;
    transition: var(--transition-base);
    text-align: center;
    font-size: 1rem;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-large {
    padding: 20px 50px;
    font-size: 1.2rem;
}

/* ==========================================
   BACKGROUND DECORATIONS
========================================== */
.bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-decoration);
    pointer-events: none;
    overflow: hidden;
}

.decoration {
    position: absolute;
    opacity: 0.08;
    will-change: transform;
}

/* ==========================================
   HEADER
========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-header);
    transition: var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header.header-hidden {
    transform: translateY(-100%);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.site-logo a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
}

.site-logo img {
    max-height: 60px;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition-base);
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition-base);
}

/* ==========================================
   HERO SECTION
========================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.7), rgba(212, 197, 176, 0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: var(--z-content);
    text-align: center;
    color: var(--bg-white);
    max-width: 800px;
}

.hero-title {
    color: var(--bg-white);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-content);
}

.scroll-indicator span {
    display: block;
    width: 30px;
    height: 50px;
    border: 2px solid var(--bg-white);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--bg-white);
    border-radius: 50%;
    animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
    0%, 100% { top: 10px; opacity: 1; }
    50% { top: 30px; opacity: 0; }
}

.deco-hero-1 {
    top: -100px;
    right: -50px;
    width: 500px;
    transform: rotate(-15deg);
}

.deco-hero-2 {
    bottom: -80px;
    left: -60px;
    width: 400px;
    transform: rotate(25deg);
}

/* ==========================================
   PACKAGES SECTION
========================================== */
.packages-section {
    position: relative;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-cream) 0%, var(--bg-white) 100%);
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.package-card {
    background-color: var(--bg-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.package-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.package-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

.package-card:hover .package-image img {
    transform: scale(1.1);
}

.package-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.package-content {
    padding: 30px;
}

.package-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.package-description {
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.package-credit {
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.access-code {
    background-color: var(--bg-cream);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.code-label {
    color: var(--text-light);
    margin-right: 5px;
}

.code-value {
    font-weight: 700;
    color: var(--primary-color);
}

.package-cta {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-base);
}

.package-cta:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.package-cta::after {
    content: ' →';
}

.deco-packages-1 {
    top: -60px;
    right: -40px;
    width: 350px;
    transform: rotate(10deg);
}

/* ==========================================
   OVERNIGHT SECTION
========================================== */
.overnight-section {
    position: relative;
    padding: var(--section-padding) 0;
    background-color: var(--primary-color);
    color: var(--bg-white);
    overflow: hidden;
}

.overnight-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.overnight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 115, 85, 0.9), rgba(196, 165, 116, 0.8));
}

.overnight-content {
    position: relative;
    z-index: var(--z-content);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overnight-content .section-title {
    color: var(--bg-white);
}

.overnight-content .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.overnight-slider {
    border-radius: 15px;
    overflow: hidden;
}

.overnight-slider img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

/* ==========================================
   THERAPIES SECTION
========================================== */
.therapies-section {
    position: relative;
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

.therapies-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.therapy-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.therapy-card.image-right {
    direction: rtl;
}

.therapy-card.image-right > * {
    direction: ltr;
}

.therapy-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.therapy-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.therapy-card:hover .therapy-image img {
    transform: scale(1.05);
}

.therapy-category {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.therapy-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.therapy-description {
    margin-bottom: 30px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.therapy-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition-base);
}

.therapy-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.deco-therapy-1 {
    bottom: -70px;
    left: -50px;
    width: 380px;
    transform: rotate(-20deg);
}

/* ==========================================
   FEATURES SECTION
========================================== */
.features-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-white);
    border-radius: 15px;
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-link {
    color: var(--secondary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ==========================================
   EXCLUSIVE SECTION
========================================== */
.exclusive-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
}

.exclusive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.exclusive-card {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    height: 400px;
}

.exclusive-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.exclusive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.exclusive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 115, 85, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: var(--transition-base);
}

.exclusive-overlay h3 {
    color: var(--bg-white);
    font-size: 1.8rem;
}

.exclusive-card:hover .exclusive-image img {
    transform: scale(1.1);
}

.exclusive-card:hover .exclusive-overlay {
    background: linear-gradient(180deg, transparent 0%, rgba(139, 115, 85, 0.95) 100%);
}

/* ==========================================
   GALLERY SECTION
========================================== */
.gallery-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-cream);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(139, 115, 85, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.view-icon {
    font-size: 3rem;
    color: var(--bg-white);
}

.gallery-cta {
    text-align: center;
}

/* ==========================================
   TESTIMONIALS SECTION
========================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-cream) 100%);
}

.testimonials-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-white);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.quote-icon {
    font-size: 5rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 20px;
    font-family: var(--font-heading);
}

.testimonial-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.review-date {
    font-size: 0.9rem;
    color: var(--text-light);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    transition: var(--transition-base);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
}

.swiper-pagination-bullet {
    background-color: var(--primary-color);
    opacity: 0.3;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* ==========================================
   CONTACT SECTION
========================================== */
.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-white);
    position: relative;
}

.contact-wrapper {
    position: relative;
}

.circular-text {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

.contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-cream);
    padding: 60px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background-color: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(139, 115, 85, 0.1);
}

.submit-button {
    margin-top: 20px;
    width: 100%;
}

/* ==========================================
   FOOTER
========================================== */
.footer-info {
    background-color: var(--bg-cream);
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.info-card p {
    margin-bottom: 15px;
}

.site-footer {
    background-color: var(--primary-color);
    color: var(--bg-white);
}

.footer-bottom {
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: var(--bg-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.footer-column a:hover {
    color: var(--bg-white);
    padding-left: 5px;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-copyright p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition-base);
}

.social-links a:hover {
    background-color: var(--bg-white);
    color: var(--primary-color);
}

/* ==========================================
   DRAG INDICATOR
========================================== */
.drag-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background-color: rgba(139, 115, 85, 0.9);
    color: var(--bg-white);
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    pointer-events: none;
    animation: dragPulse 2s infinite;
}

@keyframes dragPulse {
    0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.7; transform: translateX(-50%) scale(1.05); }
}

/* ==========================================
   SWIPER CUSTOMIZATION
========================================== */
.swiper {
    cursor: grab;
}

.swiper:active {
    cursor: grabbing;
}

/* ==========================================
   LIGHTBOX
========================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 50px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    z-index: 10001;
    transition: var(--transition-base);
    background: none;
    border: none;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    transform: rotate(90deg);
    color: var(--accent-color);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: white;
    cursor: pointer;
    background-color: rgba(139, 115, 85, 0.8);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 10001;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* ==========================================
   STICKY CTA & SCROLL TO TOP
========================================== */
.sticky-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sticky-cta .cta-button {
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(139, 115, 85, 0.7); }
    50% { box-shadow: 0 0 0 20px rgba(139, 115, 85, 0); }
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

/* ==========================================
   PAGE LOADER
========================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid var(--accent-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==========================================
   FORM VALIDATION
========================================== */
.form-error {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 5px;
    display: block;
}

.form-success {
    background-color: #2ecc71;
    color: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   ZOOM ON HOVER
========================================== */
.zoom-on-hover {
    overflow: hidden;
    border-radius: 15px;
}

.zoom-on-hover img {
    transition: transform 0.5s ease;
}

.zoom-on-hover:hover img {
    transform: scale(1.1);
}

/* ==========================================
   FADE IN ANIMATION
========================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

/* ==========================================
   ACCESSIBILITY
========================================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

/* ==========================================
   DEFAULT PAGE STYLES
========================================== */
.default-page {
    padding: 150px 0 100px;
    min-height: 60vh;
}

.no-content {
    text-align: center;
    padding: 80px 20px;
}

/* ==========================================
   RESPONSIVE DESIGN
========================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .overnight-content,
    .therapy-card,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .therapy-card.image-right {
        direction: ltr;
    }

    .packages-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .main-navigation.active {
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 30px;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-section {
        height: 80vh;
        margin-top: 60px;
    }

    .packages-grid,
    .features-grid,
    .exclusive-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 40px 30px;
    }

    .therapy-image img,
    .overnight-slider img {
        height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .decoration {
        display: none;
    }

    .circular-text {
        display: none;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        font-size: 35px;
    }

    .drag-indicator {
        font-size: 0.8rem;
        padding: 8px 16px;
    }

    .sticky-cta,
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
    }

    .scroll-to-top {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .section-header {
        margin-bottom: 40px;
    }

    .package-content,
    .testimonial-card {
        padding: 30px 20px;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .therapy-title {
        font-size: 2rem;
    }
}

/* ==========================================
   PRINT STYLES
========================================== */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .scroll-indicator,
    .bg-decorations,
    .site-footer,
    .sticky-cta,
    .scroll-to-top {
        display: none;
    }

    .hero-section {
        margin-top: 0;
    }
}