/* ============================================
   WESTFIELD INDOOR TENNIS CLUB - Main Stylesheet
   Design system matching Tennis Together patterns
   with distinct WITC color palette
   ============================================ */

/* ---------- CUSTOM FONTS ---------- */
@font-face {
    font-family: 'Aminute';
    src: url('../../public/fonts/Aminute.woff2') format('woff2'),
         url('../../public/fonts/Aminute.woff') format('woff'),
         url('../../public/fonts/Aminute.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

/* ---------- CSS VARIABLES ---------- */
:root {
    --primary: #1B5E20;
    --primary-light: #2E7D32;
    --primary-dark: #0D2818;
    --accent: #FFD54F;
    --accent-light: #FFE082;
    --accent-dark: #FFC107;
    --dark: #0D2818;
    --light-bg: #F5F7F2;
    --text: #2D3436;
    --text-light: #636e72;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
}

h1, h2 {
    font-family: 'Aminute', sans-serif;
    line-height: 1.2;
    font-weight: normal;
}

h3, h4, h5 {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.3;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-light);
}

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

/* ---------- LAYOUT ---------- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ---------- TOP BAR ---------- */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 8px 0;
    text-align: center;
}

.top-bar a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.top-bar a:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

/* ---------- HEADER ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.logo-main {
    font-family: 'Aminute', sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 1px;
}

/* ---------- NAVIGATION ---------- */
nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

nav a {
    padding: 8px 14px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

nav a:hover {
    color: var(--primary);
    background: var(--light-bg);
}

nav a.active {
    color: var(--primary);
    font-weight: 600;
}

/* ---------- MOBILE TOGGLE ---------- */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    display: block;
}

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

.mobile-toggle.open span:nth-child(2) {
    opacity: 0;
}

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

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-family: 'DM Sans', sans-serif;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
    color: var(--white);
}

.btn-accent {
    background: var(--accent);
    color: var(--dark);
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 213, 79, 0.4);
    color: var(--dark);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,255,255,0.3);
    color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* ---------- HERO SECTION ---------- */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg, rgba(13,40,24,0.92) 0%, rgba(27,94,32,0.8) 50%, rgba(13,40,24,0.85) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-content {
    max-width: 820px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255,213,79,0.15);
    border: 1px solid rgba(255,213,79,0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.hero h1 em {
    color: var(--accent);
    font-style: italic;
}

.hero p {
    font-size: 19px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 640px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- HERO STATS ---------- */
.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: 'DM Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-stat + .hero-stat {
    padding-left: 48px;
    border-left: 1px solid rgba(255,255,255,0.2);
}

/* ---------- SECTIONS ---------- */
section {
    padding: 100px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-dark {
    background: var(--dark);
    color: var(--white);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.section-dark .section-label {
    color: var(--accent);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--gray-900);
    margin-bottom: 20px;
}

.section-dark .section-title {
    color: var(--white);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
}

.section-dark .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

/* ---------- CARDS ---------- */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

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

.card-icon {
    width: 56px;
    height: 56px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary);
}

.card-link:hover {
    gap: 10px;
}

.card-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.card-link:hover svg {
    transform: translateX(4px);
}

/* ---------- GRID LAYOUTS ---------- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

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

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ---------- PROGRAM CARDS ---------- */
.program-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

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

.program-card-header {
    padding: 24px;
    background: var(--primary);
    color: var(--white);
}

.program-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.program-card-header .age-range {
    font-size: 14px;
    opacity: 0.85;
}

.program-card-body {
    padding: 24px;
}

.program-card-body p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ---------- PRICING TABLES ---------- */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 15px;
}

.pricing-table th {
    background: var(--primary);
    color: var(--white);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-table th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

.pricing-table th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

.pricing-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tbody tr:nth-child(even) {
    background: var(--light-bg);
}

.pricing-table .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 18px;
}

/* ---------- SCHEDULE TABLES ---------- */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 15px;
}

.schedule-table th {
    background: var(--light-bg);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    border-bottom: 2px solid var(--gray-200);
}

.schedule-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text);
}

.schedule-table tbody tr:hover {
    background: var(--light-bg);
}

/* ---------- FILTER TABS ---------- */
.filter-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 24px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'DM Sans', sans-serif;
}

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

.filter-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* ---------- LEVEL DESCRIPTIONS ---------- */
.level-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.level-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--gray-200);
    border-left: 4px solid var(--primary);
}

.level-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.level-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ---------- SCHEDULE GROUP ---------- */
.schedule-group {
    margin-bottom: 40px;
}

.schedule-group h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

/* ---------- PRICING INFO ---------- */
.pricing-info {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 40px;
    border: 1px solid var(--gray-200);
}

.pricing-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--gray-900);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.pricing-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--gray-200);
}

.pricing-item .price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.pricing-item .price-label {
    font-size: 14px;
    color: var(--text-light);
}

/* ---------- CALLOUT / BANNER ---------- */
.callout {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
}

.callout h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.callout p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.callout-accent {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: var(--dark);
}

.callout-light {
    background: var(--light-bg);
    color: var(--text);
    border: 2px solid var(--gray-200);
}

/* ---------- CROSS-LINK BANNER ---------- */
.cross-link {
    background: linear-gradient(135deg, #2d5a4a 0%, #3d7a64 100%);
    color: var(--white);
    border-radius: var(--radius-md);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.cross-link h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cross-link p {
    opacity: 0.85;
    font-size: 15px;
}

/* ---------- FEATURE SECTION ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 32px 24px;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.feature-item p {
    color: var(--text-light);
    font-size: 15px;
}

/* ---------- STAFF CARDS ---------- */
.staff-feature {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: 280px 1fr;
    margin-bottom: 40px;
}

.staff-photo {
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    font-size: 80px;
    color: var(--gray-300);
}

.staff-info {
    padding: 40px;
}

.staff-info h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.staff-info .staff-title {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
}

.staff-info p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.staff-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
}

.staff-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.staff-card-avatar {
    width: 64px;
    height: 64px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 24px;
    color: var(--primary);
}

.staff-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
}

.staff-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* ---------- PHOTO GALLERY ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
    border: 1px solid var(--gray-200);
    transition: transform 0.3s ease;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- CONTACT INFO ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

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

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.contact-item p,
.contact-item a {
    font-size: 15px;
    color: var(--text-light);
}

.contact-item a:hover {
    color: var(--primary);
}

/* Map embed */
.map-embed {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    height: 400px;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Hours table */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.hours-table td {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--gray-900);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text-light);
}

/* ---------- POLICIES ---------- */
.policy-list {
    list-style: none;
    padding: 0;
}

.policy-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
}

.policy-list li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 8px;
}

/* ---------- BIRTHDAY SECTION ---------- */
.birthday-section {
    background: linear-gradient(135deg, var(--accent) 0%, #FFE082 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    color: var(--dark);
}

.birthday-section h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.birthday-section .price-tag {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 24px;
}

.birthday-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.birthday-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

/* ---------- PRO SHOP ---------- */
.pro-shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

/* ---------- SOCIAL LINKS ---------- */
.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-light);
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 80px 0 40px;
}

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

.footer-brand .logo-main {
    color: var(--white);
    font-size: 24px;
}

.footer-brand .logo-sub {
    color: var(--gray-400);
}

.footer-brand p {
    color: var(--gray-400);
    margin-top: 16px;
    line-height: 1.7;
    font-size: 15px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-light);
}

.footer-social svg {
    width: 18px;
    height: 18px;
    color: var(--white);
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--gray-400);
    font-size: 15px;
    transition: color 0.2s ease;
    text-decoration: none;
}

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

.footer-family {
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-sm);
    padding: 20px 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-family p {
    color: var(--gray-400);
    font-size: 14px;
}

.footer-family a {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.footer-family a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--gray-500);
}

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
    background: var(--dark);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    justify-content: center;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.7);
}

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

/* ---------- PDF DOWNLOAD LINKS ---------- */
.pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--light-bg);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    border: 1px solid var(--gray-200);
    transition: all 0.2s ease;
}

.pdf-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pdf-link svg {
    width: 18px;
    height: 18px;
}

.pdf-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 24px 0;
}

/* ---------- INFO BOX ---------- */
.info-box {
    background: var(--light-bg);
    border-radius: var(--radius-md);
    padding: 24px;
    border-left: 4px solid var(--accent);
    margin: 24px 0;
}

.info-box h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.info-box p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .staff-feature {
        grid-template-columns: 220px 1fr;
    }

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

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

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cross-link {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--gray-200);
        box-shadow: var(--shadow-lg);
    }

    nav.open {
        display: flex;
    }

    nav a {
        width: 100%;
        padding: 12px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        min-height: 60vh;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .hero-stat + .hero-stat {
        padding-left: 0;
        border-left: none;
        padding-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }

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

    .staff-feature {
        grid-template-columns: 1fr;
    }

    .staff-photo {
        min-height: 200px;
    }

    .staff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .footer-family {
        flex-direction: column;
        text-align: center;
    }

    .pricing-table {
        font-size: 14px;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 10px 12px;
    }

    .filter-tabs {
        justify-content: center;
    }

    .birthday-section {
        padding: 32px 24px;
    }

    .birthday-details {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .page-header {
        padding: 40px 0;
    }

    .map-embed { height: 280px; }
    .hero p { font-size: 16px; }
}

@media (max-width: 480px) {
    .staff-grid {
        grid-template-columns: 1fr;
    }

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

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

    section { padding: 40px 0; }
    .footer-social a { width: 44px; height: 44px; }
}
