/* ============================================================
   Ashoka Boys Hostel & PG — Main Stylesheet
   Features: Dark/Light Mode, Responsive, Animations, Skeleton Loaders
   ============================================================ */

/* ----- CSS Custom Properties (Light Mode - Default) ----- */
:root {
    /* Brand Colors */
    --primary-color: #D28268;
    --primary-light: #F7EAE3;
    --primary-dark: #BA6C53;
    --primary-glow: rgba(210, 130, 104, 0.4);

    /* Surfaces */
    --bg-color: #FDFBF7;
    --bg-secondary: #F4EFEA;
    --bg-card: #FFFFFF;
    --bg-nav: rgba(255, 255, 255, 0.9);
    --bg-nav-border: rgba(0, 0, 0, 0.05);
    --bg-input: #FFFFFF;
    --bg-overlay: rgba(44, 53, 57, 0.6);

    /* Text */
    --text-main: #2C3539;
    --text-muted: #5A636A;
    --text-inverse: #FDFBF7;
    --text-on-primary: #FFFFFF;

    /* Footer */
    --footer-bg: #1A2125;
    --footer-text: #FDFBF7;
    --footer-muted: #A3A9AE;
    --footer-border: rgba(253, 251, 247, 0.1);

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(44, 53, 57, 0.06);
    --shadow-hover: 0 10px 30px rgba(44, 53, 57, 0.1);
    --shadow-card: 0 2px 12px rgba(44, 53, 57, 0.04);
    --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.03);

    /* Borders */
    --border-color: rgba(0, 0, 0, 0.06);
    --border-color-light: rgba(0, 0, 0, 0.03);

    /* Typography */
    --font-heading: 'Lora', serif;
    --font-main: 'Inter', sans-serif;

    /* Radii */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 50%;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.25, 1, 0.5, 1);

    /* Skeleton */
    --skeleton-base: #E8E5E0;
    --skeleton-shine: #F4F1EC;

    /* Scrollbar */
    --scrollbar-thumb: #C5BFB5;
    --scrollbar-track: transparent;

    /* Focus */
    --focus-ring: 0 0 0 3px rgba(210, 130, 104, 0.35);
}

/* ----- Dark Mode ----- */
[data-theme="dark"] {
    --primary-color: #E8967A;
    --primary-light: #3A2520;
    --primary-dark: #D28268;
    --primary-glow: rgba(232, 150, 122, 0.35);

    --bg-color: #1A1D20;
    --bg-secondary: #22262A;
    --bg-card: #2A2E33;
    --bg-nav: rgba(26, 29, 32, 0.92);
    --bg-nav-border: rgba(255, 255, 255, 0.06);
    --bg-input: #2A2E33;
    --bg-overlay: rgba(0, 0, 0, 0.7);

    --text-main: #E8E4DF;
    --text-muted: #9DA4AB;
    --text-inverse: #1A1D20;
    --text-on-primary: #FFFFFF;

    --footer-bg: #141619;
    --footer-text: #E8E4DF;
    --footer-muted: #7A8188;
    --footer-border: rgba(255, 255, 255, 0.08);

    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-card: 0 2px 12px rgba(0, 0, 0, 0.2);
    --shadow-nav: 0 4px 30px rgba(0, 0, 0, 0.2);

    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-light: rgba(255, 255, 255, 0.04);

    --skeleton-base: #2E3238;
    --skeleton-shine: #383D44;

    --scrollbar-thumb: #4A4F55;
    --scrollbar-track: transparent;

    --focus-ring: 0 0 0 3px rgba(232, 150, 122, 0.4);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
}

/* ----- Selection ----- */
::selection {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
}

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

::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
}

::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ----- Focus Styles ----- */
:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

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

/* ----- Typography Improvements ----- */
p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 400;
}

/* Enhance section spacing */
section {
    scroll-margin-top: 80px;
}

/* Better heading spacing */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

h2.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    border-radius: 2px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.text-left::after {
    left: 0;
    transform: none;
}

.text-left {
    text-align: left !important;
}

/* Improved container spacing */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Better list styling */
ul, ol {
    margin-left: 1.5rem;
    line-height: 1.8;
}

li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-main);
    letter-spacing: 0.02em;
    flex-wrap: nowrap;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

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

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-on-primary);
    box-shadow: 0 4px 15px var(--primary-glow);
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--primary-glow);
}

.btn-primary:active {
    transform: translateY(0px) scale(0.98);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-light);
    font-weight: 600;
}

.btn-outline:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(210, 130, 104, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    font-weight: 600;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-map {
    margin-top: 0.5rem;
}

/* ----- Dark Mode Toggle Button ----- */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.theme-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: rotate(15deg);
}

.theme-toggle i {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Light mode: show moon, hide sun */
.theme-toggle .icon-sun { opacity: 0; transform: scale(0.5) rotate(-90deg); }
.theme-toggle .icon-moon { opacity: 1; transform: scale(1) rotate(0deg); }

/* Dark mode: show sun, hide moon */
[data-theme="dark"] .theme-toggle .icon-sun { opacity: 1; transform: scale(1) rotate(0deg); }
[data-theme="dark"] .theme-toggle .icon-moon { opacity: 0; transform: scale(0.5) rotate(90deg); }

/* ----- Navigation ----- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--bg-nav-border);
    transition: var(--transition);
}

nav.scrolled {
    box-shadow: 0 4px 30px rgba(44, 53, 57, 0.1);
    padding: 0.75rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.nav-logo a:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}

.nav-links a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius);
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 80%;
}

.nav-links a i {
    width: 18px;
    height: 18px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
}

.nav-contact:hover {
    color: var(--primary-color);
    background: var(--primary-light);
}

.nav-contact i {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

/* ----- Hamburger Menu ----- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-card);
    cursor: pointer;
    gap: 5px;
    transition: var(--transition);
    z-index: 1001;
}

.hamburger:hover {
    border-color: var(--primary-color);
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

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

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

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

/* ----- Mobile Menu Overlay ----- */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* ----- Hero Section ----- */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    background-image: url('interior/e5f25073-da06-4f77-ab38-9b121bf6c34c.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

@supports (-webkit-touch-callout: none) {
    .hero {
        background-attachment: scroll;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 53, 57, 0.5) 0%, rgba(44, 53, 57, 0.3) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(210, 130, 104, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
    position: relative;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    font-weight: 400;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.hero-content .btn {
    animation: slideInUp 1s ease-out 0.3s both;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2.5s infinite;
    cursor: pointer;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-scroll-indicator i {
    width: 24px;
    height: 24px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-12px); }
    60% { transform: translateX(-50%) translateY(-6px); }
}

/* ----- Interior Carousel ----- */
.interior {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.carousel-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 40px rgba(44, 53, 57, 0.12);
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-slow);
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 70vh;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.8s ease;
}

.carousel-slide:hover img {
    transform: scale(1.02);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    color: var(--text-main);
    z-index: 5;
    font-weight: 600;
}

.carousel-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 30px rgba(210, 130, 104, 0.25);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 32px;
    border-radius: 5px;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.carousel-dot:hover {
    background: var(--primary-light);
    transform: scale(1.2);
}

/* ----- Facilities ----- */
.facilities {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.facility-card {
    background: var(--bg-card);
    padding: 3rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    text-align: center;
    border: 1px solid var(--border-color-light);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.facility-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.facility-card:hover::before {
    transform: scaleX(1);
}

.facility-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(210, 130, 104, 0.15);
    border-color: var(--primary-light);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(210, 130, 104, 0.1) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(210, 130, 104, 0.15);
    border: 1px solid rgba(210, 130, 104, 0.2);
}

.facility-card:hover .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(210, 130, 104, 0.3);
}

.icon-wrapper i {
    width: 32px;
    height: 32px;
    transition: transform 0.4s ease;
}

.facility-card:hover .icon-wrapper i {
    transform: scale(1.1);
}

.facility-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ----- Pricing ----- */
.pricing {
    padding: 8rem 0;
    background-color: var(--bg-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    padding: 3rem 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-color-light);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(210, 130, 104, 0.05) 0%, transparent 100%);
    transition: top 0.5s ease;
    pointer-events: none;
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(210, 130, 104, 0.15);
    border-color: var(--primary-light);
}

.pricing-card:hover::before {
    top: 0;
}

.pricing-card.popular {
    background-color: var(--bg-secondary);
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
    z-index: 1;
    position: relative;
}

.pricing-card.popular::before {
    background: linear-gradient(135deg, rgba(210, 130, 104, 0.1) 0%, transparent 100%);
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-12px);
    box-shadow: 0 15px 50px rgba(210, 130, 104, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--primary-glow);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.plan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.plan-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.sharing-badge {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(210, 130, 104, 0.15) 100%);
    color: var(--primary-dark);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid rgba(210, 130, 104, 0.2);
}

.plan-desc {
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    color: var(--text-muted);
    font-size: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color-light);
    position: relative;
    z-index: 1;
}

.pricing-card .btn {
    width: 100%;
    position: relative;
    z-index: 1;
}

.pricing-note {
    text-align: center;
    margin-top: 2.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

/* ----- Quick Links / Feature Cards ----- */
.quick-links {
    padding: 6rem 0;
    background-color: var(--bg-color);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 350px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 30px rgba(44, 53, 57, 0.12);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 45px rgba(210, 130, 104, 0.15);
}

.feature-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    transition: var(--transition);
}

.feature-card:hover .feature-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

.feature-card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    color: white;
    width: 100%;
    animation: slideInUp 0.6s ease-out;
}

.feature-card-content h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 600;
}

.feature-card-content p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.5;
}

.feature-card-content .btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
}

/* ----- Location ----- */
.location {
    padding: 8rem 0;
    background-color: var(--bg-secondary);
}

.location-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(44, 53, 57, 0.12);
    border: 1px solid var(--border-color-light);
}

.location-image {
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.location-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(210, 130, 104, 0) 0%, rgba(210, 130, 104, 0.1) 100%);
    z-index: 2;
    pointer-events: none;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.location-wrapper:hover .location-image img {
    transform: scale(1.05);
}

.location-info {
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-info .section-title {
    margin-bottom: 2rem;
}

.address {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    line-height: 1.7;
}

.address-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 0.35rem;
    width: 24px;
    height: 24px;
}

/* ----- Footer ----- */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--footer-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--footer-text);
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--footer-muted);
    font-weight: 400;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(210, 130, 104, 0.15) 0%, rgba(210, 130, 104, 0.05) 100%);
    color: var(--footer-text);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    border: 1px solid rgba(253, 251, 247, 0.1);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(210, 130, 104, 0.25);
}

.footer-social a i {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--footer-border);
    color: var(--footer-muted);
    font-size: 0.95rem;
}

/* ----- Back Button ----- */
.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background-color: var(--bg-secondary);
    color: var(--text-main);
    transition: var(--transition);
    text-decoration: none;
}

.back-btn:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateX(-3px);
}

/* ----- Animations ----- */
.section-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.3s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Skeleton Loaders ----- */
.skeleton {
    background: linear-gradient(90deg, var(--skeleton-base) 25%, var(--skeleton-shine) 50%, var(--skeleton-base) 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

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

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-sm);
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-heading {
    height: 2rem;
    width: 40%;
    margin-bottom: 1.5rem;
    border-radius: var(--radius-sm);
}

.skeleton-card {
    height: 300px;
    border-radius: var(--radius);
}

.skeleton-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
}

.skeleton-avatar {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-full);
}

/* ----- Mobile Bottom Bar ----- */
.mobile-bottom-bar {
    display: none !important;
}

/* ----- Page Header (for sub-pages) ----- */
.page-header {
    padding-top: 10rem;
    padding-bottom: 4rem;
    text-align: center;
    background-color: var(--bg-color);
}

.page-header h1 {
    color: var(--text-main);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

/* ----- Enhanced Hover Effects & Animations ----- */
.btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring), 0 0 0 2px var(--bg-color);
}

/* Smooth transitions for all interactive elements */
button, a, input, select, textarea {
    transition: var(--transition-fast);
}

/* ----- Scroll Reveal Animation ----- */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInWithGlow {
    from {
        opacity: 0;
        box-shadow: 0 0 20px var(--primary-glow);
    }
    to {
        opacity: 1;
        box-shadow: var(--shadow-soft);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* ----- Modern Card Hover Effect ----- */
.facility-card,
.pricing-card,
.feature-card {
    position: relative;
}

.facility-card::after,
.pricing-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(210, 130, 104, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    border-radius: var(--radius);
}

.facility-card:hover::after,
.pricing-card:hover::after {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* ----- Tablet (≤992px) ----- */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    h1 {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }

    h2.section-title {
        font-size: clamp(1.5rem, 3.5vw, 2.5rem);
        margin-bottom: 2.5rem;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-contact {
        font-size: 0.95rem;
    }

    .hero {
        min-height: 500px;
    }

    .interior {
        padding: 6rem 0;
    }

    .carousel-container {
        border-radius: var(--radius);
    }

    .carousel-slide {
        aspect-ratio: 16 / 9;
        max-height: 50vh;
    }

    .carousel-btn {
        width: 48px;
        height: 48px;
    }

    .prev-btn { left: 15px; }
    .next-btn { right: 15px; }

    .facilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .facility-card {
        padding: 2rem 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }

    .pricing-card {
        padding: 2.5rem 1.75rem;
    }

    .pricing-card.popular {
        transform: scale(1.01);
    }

    .pricing-card.popular:hover {
        transform: scale(1.01) translateY(-5px);
    }

    .location-wrapper {
        grid-template-columns: 1fr;
    }

    .location-image {
        min-height: 300px;
    }

    .location-info {
        padding: 2.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        min-height: 300px;
    }

    .feature-card-content {
        padding: 2rem;
    }

    .feature-card-content h3 {
        font-size: 1.5rem;
    }
}

/* ----- Mobile (≤768px) ----- */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: clamp(2rem, 4.5vw, 2.75rem);
    }

    h2.section-title {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        margin-bottom: 2rem;
    }

    p {
        font-size: 1rem;
    }

    /* Navigation */
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .nav-logo a {
        font-size: 1.25rem;
    }

    .nav-contact {
        display: none;
    }

    .mobile-bottom-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        background: var(--bg-nav);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--bg-nav-border);
        z-index: 999;
        gap: 0;
    }

    .mobile-btn-call,
    .mobile-btn-whatsapp {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        font-size: 0.75rem;
        color: var(--text-muted);
        text-decoration: none;
        transition: var(--transition);
        border-radius: 0;
    }

    .mobile-btn-call:active,
    .mobile-btn-whatsapp:active {
        background-color: var(--bg-secondary);
    }

    .mobile-btn-call:active {
        color: var(--text-main);
    }

    .mobile-btn-whatsapp:active {
        color: #25D366;
    }

    .mobile-btn-call i,
    .mobile-btn-whatsapp i {
        width: 20px;
        height: 20px;
    }

    /* Add padding to body to account for mobile bottom bar */
    body {
        padding-bottom: 70px;
    }

    /* Hero Section */
    .hero {
        min-height: 400px;
        margin-top: 60px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    h1 {
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
    }

    /* Interior Carousel */
    .interior {
        padding: 4rem 0;
    }

    .carousel-container {
        border-radius: var(--radius);
    }

    .carousel-slide {
        aspect-ratio: 4 / 5;
        max-height: 60vh;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .prev-btn { left: 10px; }
    .next-btn { right: 10px; }

    /* Quick Links */
    .quick-links {
        padding: 4rem 0;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: 280px;
    }

    .feature-card-content {
        padding: 1.75rem;
    }

    .feature-card-content h3 {
        font-size: 1.25rem;
    }

    .feature-card-content p {
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }

    /* Facilities */
    .facilities {
        padding: 4rem 0;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .facility-card {
        padding: 1.75rem 1.25rem;
    }

    .facility-card h3 {
        font-size: 1.25rem;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .icon-wrapper i {
        width: 28px;
        height: 28px;
    }

    /* Pricing */
    .pricing {
        padding: 4rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-card.popular {
        transform: scale(1);
    }

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

    .plan-header h3 {
        font-size: 1.25rem;
    }

    .price {
        font-size: 1.25rem;
    }

    /* Location */
    .location {
        padding: 4rem 0;
    }

    .location-wrapper {
        grid-template-columns: 1fr;
        border-radius: var(--radius);
    }

    .location-image {
        min-height: 250px;
    }

    .location-info {
        padding: 2rem;
    }

    .address {
        font-size: 1rem;
        gap: 0.75rem;
    }

    /* Footer */
    footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.5rem;
    }

    .footer-brand h3 {
        font-size: 1.25rem;
    }

    .footer-social {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-bottom {
        font-size: 0.9rem;
    }
}
