/* ===== CSS Variables ===== */
:root {
    --navy: #0a1628;
    --navy-light: #1a2d4a;
    --red: #c8102e;
    --red-dark: #a00d24;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Typography ===== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--red);
    margin-bottom: 8px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    color: var(--navy);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.btn-secondary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-weight: 600;
    color: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-menu a {
    color: var(--navy);
}

.nav-menu a:hover {
    color: var(--red);
}

.nav-btn {
    padding: 10px 24px;
    background: var(--red);
    color: var(--white) !important;
    border-radius: 4px;
}

.nav-btn:hover {
    background: var(--red-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
    background: var(--navy);
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(10,22,40,0.8), transparent);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 24px;
    animation: fadeInUp 1s ease;
}

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

.hero-logo {
    max-width: 400px;
    margin: 0 auto 24px;
}

.hero h1 {
    color: var(--white);
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--gray-300);
    margin-bottom: 40px;
}

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

.hero-buttons .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.hero-buttons .btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-300);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

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

.scroll-arrow {
    width: 20px;
    height: 20px;
    margin: 8px auto 0;
    border-right: 2px solid var(--gray-300);
    border-bottom: 2px solid var(--gray-300);
    transform: rotate(45deg);
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
}

.image-accent {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 4px solid var(--red);
    border-radius: 8px;
    z-index: -1;
}

.about-content h2 {
    color: var(--navy);
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 16px;
    color: var(--gray-600);
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--red);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ===== Facility Section ===== */
.facility {
    padding: 120px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--white);
}

.feature-card h3 {
    color: var(--navy);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* ===== Pricing Section ===== */
.pricing {
    padding: 120px 0;
    background: var(--navy);
}

.pricing .section-label {
    color: var(--gray-300);
}

.pricing .section-header h2 {
    color: var(--white);
}

.pricing .section-header p {
    color: var(--gray-300);
}

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

.pricing-card {
    background: var(--white);
    border-radius: 12px;
    padding: 40px 32px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 20px;
}

.pricing-card h3 {
    color: var(--navy);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.pricing-dates {
    color: var(--gray-600);
    font-size: 0.9375rem;
    margin-bottom: 32px;
}

.pricing-rates {
    margin-bottom: 32px;
}

.rate {
    padding: 16px 0;
}

.rate-amount {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--navy);
}

.rate-period {
    font-size: 1rem;
    color: var(--gray-600);
}

.rate-type {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-top: 4px;
}

.rate-note {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-600);
    margin-top: 4px;
}

.rate-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 16px 0;
}

.pricing-card .btn {
    width: 100%;
}

/* ===== Requirements Section ===== */
.requirements {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
}

.requirements-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.requirements h2 {
    color: var(--white);
    margin-bottom: 16px;
}

.requirements > .container > .requirements-content > p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
    margin-bottom: 48px;
}

.requirements-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
    text-align: left;
}

.requirement-item {
    display: flex;
    gap: 16px;
    background: rgba(255,255,255,0.1);
    padding: 24px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.requirement-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--red);
    font-family: var(--font-display);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.requirement-item h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 4px;
}

.requirement-item p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9375rem;
}

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

.requirements .btn-primary:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 120px 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,22,40,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* ===== Location Section ===== */
.location {
    padding: 120px 0;
    background: var(--gray-50);
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.location-info h2 {
    color: var(--navy);
    margin-bottom: 32px;
}

.location-details {
    margin-bottom: 32px;
}

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

.location-item svg {
    flex-shrink: 0;
    color: var(--red);
}

.location-item h4 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.location-item p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.location-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.location-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== Footer ===== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logos {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.footer-logos img {
    height: 60px;
    width: auto;
}

.footer-brand p {
    color: var(--gray-300);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer h4 {
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--gray-300);
    transition: var(--transition);
}

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

.footer-contact p,
.footer-location p {
    color: var(--gray-300);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.footer-contact strong,
.footer-location strong {
    color: var(--white);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-300);
    font-size: 0.875rem;
}

/* ===== Calendar Page ===== */
.calendar-page {
    padding-top: 100px;
}

.calendar-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 80px 0;
    text-align: center;
}

.calendar-hero h1 {
    color: var(--white);
    margin-bottom: 16px;
}

.calendar-hero p {
    color: var(--gray-300);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

.calendar-content {
    padding: 60px 0 120px;
    background: var(--gray-50);
}

.calendar-wrapper {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.calendar-embed {
    width: 100%;
    min-height: 600px;
    border: none;
    border-radius: 8px;
}

.calendar-desktop {
    display: block;
}

.calendar-mobile {
    display: none;
}

.calendar-external-link {
    margin-top: 16px;
    width: 100%;
}

.calendar-placeholder {
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    padding: 80px 40px;
    text-align: center;
}

.calendar-placeholder h3 {
    color: var(--navy);
    margin-bottom: 16px;
}

.calendar-placeholder p {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.calendar-info {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.calendar-info-card {
    background: var(--white);
    padding: 32px;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.calendar-info-card h4 {
    color: var(--navy);
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 8px;
}

.calendar-info-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ===== Payment Section ===== */
.payment-section {
    padding: 60px 0;
    background: var(--white);
}

.payment-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--gray-50);
    border-radius: 12px;
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.payment-card h3 {
    color: var(--navy);
    margin-bottom: 16px;
}

.payment-card p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.payment-card .btn {
    width: 100%;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-image {
        order: -1;
    }
    
    .features-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 200px);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-logos {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--navy);
        flex-direction: column;
        padding: 100px 32px 32px;
        transition: right 0.3s ease;
        gap: 24px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        color: var(--white);
        font-size: 1.125rem;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .features-grid,
    .pricing-grid,
    .requirements-list,
    .calendar-info {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item,
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
        height: 200px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
        padding: 18px 32px;
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn-primary {
        font-size: 1.15rem;
        font-weight: 700;
    }
    
    .location-cta {
        flex-direction: column;
    }
    
    .location-cta .btn {
        width: 100%;
    }
    
    /* Mobile calendar - show agenda view */
    .calendar-desktop {
        display: none;
    }
    
    .calendar-mobile {
        display: block;
    }
    
    .calendar-mobile .calendar-embed {
        min-height: 450px;
    }
}

/* ===== Home Of Section ===== */
.home-of {
    background: var(--white);
    padding: 60px 0;
    text-align: center;
}

.home-of h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-600);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.home-of-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.home-of-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.home-of-logo img {
    height: 100px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    background: var(--white);
    padding: 10px;
    border-radius: 8px;
}

.home-of-logo span {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 600;
}

/* Updated Footer Logo */
.footer-main-logo {
    height: 80px;
    width: auto;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .home-of {
        padding: 40px 0;
    }
    
    .home-of-logos {
        gap: 40px;
    }
    
    .home-of-logo img {
        height: 80px;
    }
    
    .footer-main-logo {
        height: 60px;
    }
}
