@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #1a5f7a;    /* Deep Blue */
    --secondary: #159895;  /* Teal */
    --accent: #eb455f;     /* Soft Red */
    --light: #f8f9fa;      /* Background */
    --dark: #2c3333;       /* Text */
    --white: #ffffff;
    --gray: #6c757d;
    --sidebar-width: 280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    background-color: var(--light);
    color: var(--dark);
    display: flex;
    flex-direction: column;
}

/* --- 1. THE SIDEBAR ENGINE (Same as Neptune) --- */
.theater-sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background: var(--white);
    border-right: 1px solid rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    padding: 40px 25px;
    z-index: 1000;
}

.sidebar-logo img {
    width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 40px;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin-bottom: 12px;
}

.sidebar-nav a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
}

.sidebar-nav a:hover {
    background: rgba(26, 95, 122, 0.05);
    color: var(--primary);
}

.sidebar-nav a.active {
    background: var(--primary);
    color: var(--white);
}

.sidebar-image {
    margin-top: auto;
    padding: 20px 0;
}

.sidebar-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.1);
}

.sidebar-footer {
    font-size: 0.8rem;
    color: var(--gray);
    border-top: 1px solid #eee;
    padding-top: 20px;
}

/* --- 2. MAIN CONTENT WRAPPER --- */
.main-wrapper {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* --- 3. COMPONENTS (Hero, Cards, Grids) --- */
.hero {
    height: 450px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 40px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: white;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    margin:10px;
    text-decoration: none;
    display: inline-block;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: -50px; /* Overlaps hero slightly for style */
}

.feature-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card {
    padding: 25px;
}

.card h2 {
    color: var(--primary);
    margin-bottom: 15px;
}

/* News/Blog Feed - Magazine Style */
.blog-feed {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
}

.post-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 300px 1fr;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

.post-content {
    padding: 30px;
}

.post-date {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* --- 4. MOBILE ADAPTABILITY (The "Neptune" Flex) --- */
@media (max-width: 992px) {
    .theater-sidebar {
        width: 100%;
        height: auto;
        position: relative;
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .main-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .sidebar-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .sidebar-image, .sidebar-logo img {
        display: none; /* Hide logo/banner on mobile header to save space */
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .post-card {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 200px;
    }
}
/* style.css */

/* Hidden on desktop because info is in the sidebar */
.mobile-footer-reveal {
    display: none; 
    background: var(--dark);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

/* Only show the bottom footer on mobile/tablets */
@media (max-width: 992px) {
    .mobile-footer-reveal {
        display: block;
    }
}

/* --- CONTACT FORM STYLES --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    outline: none;
}

input:focus, textarea:focus {
    border-color: var(--secondary);
}

button[type="submit"] {
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

button[type="submit"]:hover {
    background: var(--secondary);
}

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

/* --- STRICT MOBILE SIDEBAR FIX --- */
@media (max-width: 992px) {
    /* 1. Make sure the logo shows up, but smaller */
    .sidebar-logo img {
        display: block !important;
        max-height: 60px; /* Smaller for mobile top-nav */
        margin: 0 auto 15px auto; /* Centered */
    }

    /* 2. ONLY hide the footer and image banner inside the sidebar */
    aside.theater-sidebar .sidebar-footer,
    aside.theater-sidebar .sidebar-image {
        display: none !important;
    }

    /* ... Keep your other mobile styles here ... */
}

/* --- ACTIVITY CARDS --- */
.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.activity-card {
    display: block; /* Crucial for <a> tags to behave like cards */
    text-decoration: none;
    color: inherit;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(26, 95, 122, 0.15); /* Soft blue shadow */
}

.activity-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

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

.activity-card:hover .activity-image img {
    transform: scale(1.05); /* Slight zoom on image when card is hovered */
}

.activity-content {
    padding: 25px;
}

/* --- CAROUSEL STYLES --- */
.carousel-container {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 1; /* Keeps images beautifully proportioned */
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    background: #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s ease-in-out;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(26, 95, 122, 0.8);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.carousel-btn:hover { background: var(--secondary); }
.carousel-btn.prev { left: 15px; }
.carousel-btn.next { right: 15px; }

.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transition: background 0.3s;
}

.dot.active { background: white; }