/* ========================================
   LITTLE ORCHARD NURSERY - PREMIUM STYLES
   ======================================== */

/* CSS Custom Properties for theming */
:root {
    --theme-primary-50: 250 246 245;
    --theme-primary-100: 245 235 232;
    --theme-primary-200: 235 213 206;
    --theme-primary-300: 222 184 171;
    --theme-primary-400: 207 150 130;
    --theme-primary-500: 199 121 95;
    --theme-primary-600: 186 97 78;
    --theme-primary-700: 155 77 64;
    --theme-primary-800: 127 65 57;
    --theme-primary-900: 102 55 49;
    --theme-secondary-50: 244 247 244;
    --theme-secondary-100: 227 235 227;
    --theme-secondary-200: 197 216 197;
    --theme-secondary-300: 155 191 155;
    --theme-secondary-400: 114 159 114;
    --theme-secondary-500: 82 129 82;
    --theme-secondary-600: 61 102 61;
    --theme-surface: #fffaf7;
    --theme-footer-bg: #1f1a19;
    --theme-footer-text: #d8cbc6;
    --theme-footer-muted: #b99d94;
    --theme-hero-glow: #f8e3da;
    --font-heading: "DM Serif Display";
    --font-body: "DM Sans";
    --theme-button-radius: 999px;
    --theme-section-space: 6rem;
    --theme-section-space-lg: 8rem;
    --color-terracotta-50: rgb(var(--theme-primary-50));
    --color-terracotta-100: rgb(var(--theme-primary-100));
    --color-terracotta-200: rgb(var(--theme-primary-200));
    --color-terracotta-300: rgb(var(--theme-primary-300));
    --color-terracotta-400: rgb(var(--theme-primary-400));
    --color-terracotta-500: rgb(var(--theme-primary-500));
    --color-terracotta-600: rgb(var(--theme-primary-600));
    --color-terracotta-700: rgb(var(--theme-primary-700));
    --color-terracotta-800: rgb(var(--theme-primary-800));
    --color-terracotta-900: rgb(var(--theme-primary-900));
    --color-sage-50: rgb(var(--theme-secondary-50));
    --color-sage-100: rgb(var(--theme-secondary-100));
    --color-sage-200: rgb(var(--theme-secondary-200));
    --color-sage-300: rgb(var(--theme-secondary-300));
    --color-sage-400: rgb(var(--theme-secondary-400));
    --color-sage-500: rgb(var(--theme-secondary-500));
    --color-sage-600: rgb(var(--theme-secondary-600));
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-sine: cubic-bezier(0.37, 0, 0.63, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ========================================
   BASE & RESET ENHANCEMENTS
   ======================================== */

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    background: var(--theme-surface);
    font-family: var(--font-body), sans-serif;
}

body .font-serif {
    font-family: var(--font-heading), serif;
}

body .font-sans,
body input,
body button,
body textarea,
body select {
    font-family: var(--font-body), sans-serif;
}

.themed-section {
    padding-top: var(--theme-section-space);
    padding-bottom: var(--theme-section-space);
}

@media (min-width: 1024px) {
    .themed-section {
        padding-top: var(--theme-section-space-lg);
        padding-bottom: var(--theme-section-space-lg);
    }
}

.theme-btn {
    border-radius: var(--theme-button-radius) !important;
}

.theme-btn--light {
    color: var(--color-terracotta-600);
}

.theme-btn--whatsapp {
    background: #25D366;
}

.brand-mark {
    background: linear-gradient(135deg, var(--color-terracotta-500), var(--color-terracotta-700));
    overflow: hidden;
}

.brand-mark__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-mark__initial {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.site-footer {
    background: var(--theme-footer-bg);
    color: var(--theme-footer-text);
}

.site-footer .text-terracotta-400,
.site-footer .text-terracotta-500 {
    color: var(--theme-footer-muted);
}

.site-footer .border-white\/10 {
    border-color: color-mix(in srgb, var(--theme-footer-text) 12%, transparent);
}

.site-contact {
    background: linear-gradient(
        135deg,
        rgb(var(--theme-primary-900)) 0%,
        rgb(var(--theme-primary-800)) 48%,
        rgb(var(--theme-secondary-600)) 100%
    );
}

.site-contact__orb {
    filter: blur(100px);
}

.site-contact__orb--one {
    background: rgb(var(--theme-primary-700));
    transform: translate(30%, -30%);
}

.site-contact__orb--two {
    background: rgb(var(--theme-secondary-500));
    transform: translate(-30%, 30%);
}

.site-contact__badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.site-contact__accent {
    color: rgba(255, 255, 255, 0.84);
    font-style: italic;
}

.site-contact__description {
    color: rgba(255, 255, 255, 0.72);
}

.site-contact__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.site-contact__icon {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.site-contact__copy {
    color: rgba(255, 255, 255, 0.8);
}

.site-contact__link {
    color: rgba(255, 255, 255, 0.88);
}

.site-contact__meta {
    color: rgba(255, 255, 255, 0.62);
}

.site-contact__map {
    background: rgb(var(--theme-primary-800));
}

.site-contact__pin {
    background: color-mix(in srgb, var(--color-terracotta-50) 92%, white);
    color: var(--color-terracotta-600);
}

.site-hero__background {
    background-image: linear-gradient(
        135deg,
        rgb(var(--theme-primary-50)) 0%,
        #ffffff 48%,
        rgb(var(--theme-secondary-50)) 100%
    );
}

.site-hero__orb--tertiary {
    background: var(--theme-hero-glow);
}

.site-form-shell {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.08);
    height: auto;
    overflow: visible;
}

.theme-hero-framed .site-hero__image-shell {
    border-radius: 2rem;
    border: 12px solid rgba(255, 255, 255, 0.75);
}

.theme-hero-framed .site-hero__highlight-card,
.theme-hero-framed .site-hero__experience-card {
    border-radius: 1.5rem;
}

.theme-hero-spotlight .site-hero__background {
    background-image:
        radial-gradient(circle at 20% 20%, rgb(var(--theme-primary-200) / 0.55) 0%, transparent 34%),
        radial-gradient(circle at 78% 18%, rgb(var(--theme-secondary-200) / 0.6) 0%, transparent 32%),
        linear-gradient(135deg, rgb(var(--theme-primary-50)) 0%, #ffffff 50%, rgb(var(--theme-secondary-50)) 100%);
}

.theme-hero-spotlight .site-hero__image-shell {
    border-radius: 44% 56% 48% 52% / 55% 43% 57% 45%;
    box-shadow: 0 30px 70px rgb(var(--theme-primary-900) / 0.18);
}

.theme-hero-spotlight .site-hero__highlight-card {
    transform: translateY(8px);
}

.theme-buttons-soft .theme-btn {
    box-shadow: 0 18px 34px rgb(var(--theme-primary-600) / 0.12);
}

.theme-buttons-sharp .theme-btn {
    letter-spacing: 0.01em;
}
}

/* Text selection styling */
::selection {
    background: var(--color-terracotta-200);
    color: var(--color-terracotta-900);
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid var(--color-terracotta-500);
    outline-offset: 2px;
}

/* ========================================
   NOISE TEXTURE OVERLAY
   ======================================== */

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ========================================
   BLOB SHAPES
   ======================================== */

.blob-shape {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transition: all 0.8s var(--ease-out-expo);
}

.blob-shape:hover {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

/* Reveal animations - DISABLED for stability */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Staggered reveal delays */
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* Reveal animations - DISABLED */
/* All reveal classes now show content immediately without animation */

/* ========================================
   TEXT REVEAL ANIMATION
   ======================================== */

.text-reveal {
    overflow: hidden;
}

.text-reveal span {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.8s var(--ease-out-expo), opacity 0.8s var(--ease-out-expo);
}

.text-reveal.active span {
    transform: translateY(0);
    opacity: 1;
}

/* Word by word reveal */
.text-reveal-words .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s var(--ease-out-expo);
}

.text-reveal-words.active .word {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FLOATING ANIMATIONS
   ======================================== */

.float-animation {
    animation: float 6s var(--ease-in-out-sine) infinite;
}

.float-animation-slow {
    animation: float 8s var(--ease-in-out-sine) infinite;
}

.float-animation-fast {
    animation: float 4s var(--ease-in-out-sine) infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

/* Gentle rotate animation */
.rotate-gentle {
    animation: rotateGentle 20s linear infinite;
}

@keyframes rotateGentle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ========================================
   PULSE ANIMATIONS
   ======================================== */

.whatsapp-pulse {
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% {
        box-shadow: 0 0 0 0 rgba(199, 121, 95, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(199, 121, 95, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(199, 121, 95, 0);
    }
}

.pulse-soft {
    animation: pulseSoft 3s ease-in-out infinite;
}

@keyframes pulseSoft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ========================================
   MAGNETIC BUTTON EFFECT
   ======================================== */

.magnetic-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s var(--ease-out-expo);
}

.magnetic-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.magnetic-btn:hover::before {
    opacity: 1;
}

/* ========================================
   SHIMMER/GLOW EFFECTS
   ======================================== */

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* Glow effect on hover */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(199, 121, 95, 0.3);
}

/* ========================================
   GRADIENT TEXT
   ======================================== */

.gradient-text {
    background: linear-gradient(135deg, var(--color-terracotta-600) 0%, var(--color-terracotta-400) 50%, var(--color-sage-500) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   GLASS MORPHISM
   ======================================== */

.glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   NAVBAR STYLES
   ======================================== */

.navbar-hidden {
    transform: translateY(-100%);
}

.navbar-visible {
    transform: translateY(0);
}

/* Nav link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta-500);
    transition: width 0.3s var(--ease-out-expo);
}

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

/* ========================================
   HERO SECTION ENHANCEMENTS
   ======================================== */

.hero-badge {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Parallax layers */
.parallax-slow {
    will-change: transform;
}

.parallax-fast {
    will-change: transform;
}

/* ========================================
   CARD HOVER EFFECTS
   ======================================== */

.card-lift {
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.card-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-glow {
    position: relative;
}

.card-glow::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-terracotta-400), var(--color-sage-400));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ========================================
   FEATURE CARDS
   ======================================== */

.feature-card {
    transition: all 0.5s var(--ease-out-expo);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon {
    transition: transform 0.4s var(--ease-elastic);
}

/* ========================================
   GALLERY SLIDER
   ======================================== */

.slider-container {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.slider-item {
    scroll-snap-align: start;
    flex-shrink: 0;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Gallery card hover */
.gallery-card {
    position: relative;
    overflow: hidden;
}

.gallery-card img {
    transition: transform 0.7s var(--ease-out-expo);
}

.gallery-card:hover img {
    transform: scale(1.1);
}

.gallery-card .gallery-overlay {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

/* Dots navigation */
.dots .dot {
    transition: all 0.3s var(--ease-out-expo);
}

.dots .dot.active {
    background-color: var(--color-terracotta-600);
    width: 32px;
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.4s var(--ease-out-expo);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* ========================================
   FORM STYLES - FLOATING LABELS
   ======================================== */

.form-group {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 24px 0 8px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid #e5e7eb;
    font-size: 16px;
    transition: border-color 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-terracotta-500);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 24px;
    font-size: 16px;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s var(--ease-out-expo);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group select.has-value + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 12px;
    color: var(--color-terracotta-600);
    font-weight: 500;
}

/* Select element specific styling */
.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%239ca3af' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
}

.form-group select:invalid {
    color: #9ca3af;
}

.form-group select option {
    color: #111827;
    background: white;
    padding: 8px;
}

/* Form validation states */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-group input.success,
.form-group select.success,
.form-group textarea.success {
    border-color: #22c55e;
}

/* ========================================
   TESTIMONIALS CAROUSEL
   ======================================== */

.testimonial-card {
    transition: all 0.5s var(--ease-out-expo);
}

.testimonial-card.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card.inactive {
    opacity: 0.5;
    transform: scale(0.9);
}

/* Quote icon animation */
.quote-icon {
    animation: quoteFloat 4s ease-in-out infinite;
}

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ========================================
   STATS COUNTER
   ======================================== */

.stat-number {
    font-variant-numeric: tabular-nums;
}

/* ========================================
   TOAST NOTIFICATIONS
   ======================================== */

.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    pointer-events: all;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.5s var(--ease-out-expo);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast.success {
    border-left: 4px solid #22c55e;
}

.toast.error {
    border-left: 4px solid #ef4444;
}

.toast.info {
    border-left: 4px solid var(--color-terracotta-500);
}

.toast-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    background: #dcfce7;
    color: #22c55e;
}

.toast.error .toast-icon {
    background: #fee2e2;
    color: #ef4444;
}

.toast.info .toast-icon {
    background: var(--color-terracotta-100);
    color: var(--color-terracotta-600);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-terracotta-600);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s var(--ease-out-expo);
    z-index: 50;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    color: var(--color-terracotta-700);
}

/* Progress ring */
.back-to-top svg {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.back-to-top circle {
    fill: none;
    stroke-width: 2;
}

.back-to-top .bg {
    stroke: #e5e7eb;
}

.back-to-top .progress {
    stroke: var(--color-terracotta-500);
    stroke-dasharray: 138.23;
    stroke-dashoffset: 138.23;
    transition: stroke-dashoffset 0.1s ease;
}

/* ========================================
   READING PROGRESS BAR
   ======================================== */

.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-terracotta-500), var(--color-sage-500));
    z-index: 100;
    width: 0%;
    transition: width 0.1s ease;
}

/* ========================================
   SUCCESS MODAL ENHANCEMENTS
   ======================================== */

.modal-overlay {
    backdrop-filter: blur(8px);
}

.modal-content {
    animation: modalIn 0.5s var(--ease-out-expo);
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.success-checkmark {
    animation: checkmarkScale 0.5s var(--ease-elastic) 0.2s both;
}

@keyframes checkmarkScale {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

/* ========================================
   FOOTER ENHANCEMENTS
   ======================================== */

.footer-link {
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s var(--ease-out-expo);
}

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

/* Social icon hover */
.social-icon {
    transition: all 0.3s var(--ease-out-expo);
}

.social-icon:hover {
    transform: translateY(-4px);
}

/* ========================================
   IMAGE LOADING STATES
   ======================================== */

.img-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer-loading 1.5s infinite;
}

@keyframes shimmer-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.img-loaded {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ========================================
   SCROLL OFFSET FOR ANCHORS
   ======================================== */

#about,
#team,
#spaces,
#events,
#downloads,
#visit,
#faqs,
#find-us,
#testimonials,
#stats {
    scroll-margin-top: 100px;
}

/* ========================================
   POLICY PAGE STYLES
   ======================================== */

.policy-body h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.75rem;
    color: #111827;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.policy-body h3 {
    font-weight: 600;
    font-size: 1.25rem;
    color: #374151;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.policy-body p {
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.policy-body ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.policy-body li {
    margin-bottom: 0.5rem;
    position: relative;
}

.policy-body li::marker {
    color: var(--color-terracotta-500);
}

/* ========================================
   MOBILE MENU ENHANCEMENTS
   ======================================== */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 40;
}

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

/* Hamburger animation */
.hamburger {
    width: 24px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
    transition: all 0.3s var(--ease-out-expo);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.active span:nth-child(1) {
    top: 9px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 9px;
    transform: rotate(-45deg);
}

/* ========================================
   REDUCED MOTION
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal, .reveal.animate, .reveal.active,
    .reveal-left, .reveal-left.animate, .reveal-left.active,
    .reveal-right, .reveal-right.animate, .reveal-right.active,
    .reveal-scale, .reveal-scale.animate, .reveal-scale.active {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

@media (max-width: 768px) {
    .toast-container {
        left: 20px;
        right: 20px;
        top: auto;
        bottom: 100px;
    }
    
    .toast {
        min-width: auto;
        max-width: none;
    }
    
    .back-to-top {
        bottom: 90px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}
