/* Styles extracted from Home/Index.cshtml and fixed for proper media query syntax */

.get-involved {
    padding: 60px 0;
    background-color: #f0f8f5;
}

.get-involved .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.get-involved .section-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.get-involved .section-header p {
    font-size: 1rem;
    color: #555;
}

/* Grid layout */
.involvement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Card styles */
.involvement-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 25px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.involvement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Card header */
.card-header h4 {
    color: #28a745;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* Paragraphs inside card */
.involvement-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Details/summary styles */
details summary {
    cursor: pointer;
    font-weight: bold;
    color: #1b2a49;
    margin-top: 10px;
    list-style: none;
    outline: none;
}

details[open] summary::after {
    content: "?";
    float: right;
}

details summary::after {
    content: "?";
    float: right;
}

.details-content {
    padding-top: 10px;
}

.details-content ul {
    margin: 10px 0;
    padding-left: 20px;
    color: #444;
}

.details-content li {
    margin-bottom: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .involvement-grid {
        grid-template-columns: 1fr;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.accommodation {
    padding: 60px 0;
    background-color: #f9fafb;
}

.accommodation .section-header {
    text-align: center;
    margin-bottom: 40px;
}

.accommodation .section-header h2 {
    font-size: 2rem;
    font-weight: 700;
}

.accommodation .section-header p {
    color: #444;
    font-size: 1rem;
    margin: 5px 0;
}

.hotel-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.hotel-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-5px);
}

.hotel-card h4 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hotel-card h4 a {
    text-decoration: none;
    color: inherit;
}

.hotel-card h4 a:hover {
    color: #28a745;
}

.hotel-card p {
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.accommodation-contact {
    display: flex;
    justify-content: center;
    gap: 40px;
    font-size: 1rem;
    color: #444;
    flex-wrap: wrap;
}

.accommodation-contact p { margin: 0; }

.why-attend { text-align: center; padding: 60px 20px; }

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.theme-item {
    background: #f9f9f9;
    border-radius: 12px;
    padding: 25px 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.theme-item:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,0.15); }

.theme-item h4 { color: #1b4332; margin-bottom: 15px; }

.view-btn {
    background-color: #2d6a4f;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
}

.view-btn:hover { background-color: #1b4332; }

.modal { display: none; position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); }

.modal-content { background-color: #fff; margin: 100px auto; padding: 25px 30px; border-radius: 10px; width: 90%; max-width: 700px; position: relative; text-align: left; }

.modal-content h4 { color: #2d6a4f; margin-bottom: 10px; }

.close { position: absolute; top: 10px; right: 15px; font-size: 26px; color: #555; cursor: pointer; }

.close:hover { color: #000; }

/* Modal Buttons variant */
.modal.modal-centered { display:flex; justify-content:center; align-items:center; }

.modal-centered .modal-content { max-width: 400px; }

.modal-buttons { margin-top: 20px; display: flex; justify-content: space-around; }

.btn { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }

.btn-success { background: #28a745; color: white; }
.btn-danger { background: #dc3545; color: white; }

/* Base Responsive Styles */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.action-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; }

.contact-info-box { background: #f0f8f0; padding: 20px; border-radius: 10px; margin: 20px 0; }
.contact-info-box h4 { color: #2E8B57; margin-bottom: 15px; }

.contact-grid-info { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }

.maps-section { margin-top: 50px; }
.maps-section h3 { text-align: center; color: #2E8B57; margin-bottom: 30px; }

.map-container { border-radius: 20px; overflow: hidden; box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); margin-bottom: 20px; }

.map-link { text-align: center; }
.map-link a { color: #2E8B57; text-decoration: none; font-weight: 600; font-size: 1.1rem; }

.transportation-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 30px; }

.transport-card { background: #e8f5e8; padding: 20px; border-radius: 15px; text-align: center; }
.transport-card i { color: #2E8B57; font-size: 2rem; margin-bottom: 10px; }
.transport-card h4 { color: #2E8B57; margin-bottom: 10px; }

.venue-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.venue-image-container { width: 100%; }
.venue-image { width: 100%; height: auto; border-radius: 10px; }

.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
.contact-image-container { width: 100%; }
.contact-image { width: 100%; height: auto; border-radius: 10px; }

/* Responsive Design */
/* === HERO SECTION POLISH & ALIGNMENT FIX === */


/* === MOBILE FIXES === */

/* Tablet / small laptop */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }

    .venue-content, .contact-content {
        gap: 1.5rem;
    }

    .hero-content {
        padding: 0 15px;
    }
}

/* Mobile landscape and portrait */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 60vh; /* ensures hero image shows */
        padding: 60px 15px;
        position: relative;
    }

    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 20px 10px;
    }

    .hero-text h2 {
        font-size: 1.8rem;
    }

    .hero-theme .theme-text {
        font-size: 1rem;
    }

    .countdown-container {
        order: -1;
    }

    .countdown-timer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .countdown-item {
        min-width: 100px;
        padding: 10px;
    }

    .hero-quick-links {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 25px;
    }

        .hero-quick-links .quick-link {
            width: 100%;
        }
}

/* Small mobile portrait */
@media (max-width: 480px) {
    .hero-text h2 {
        font-size: 1.5rem;
    }

    .hero-subtitle-main {
        font-size: 1.2rem;
    }

    .hero-theme .theme-text {
        font-size: 0.9rem;
    }

    .countdown-timer {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.5rem;
    }
}

/* Extra small mobile */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.8rem !important;
    }

    .countdown-item {
        padding: 0.5rem;
    }
}

/* Landscape mobile with low height */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .hero-content {
        gap: 1rem;
    }

    .countdown-timer {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.5rem;
    }
}

/* Print styling */
@media print {
    .hero-buttons, .action-buttons, .btn, .map-container, .contact-form {
        display: none !important;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .agenda-content {
        margin-bottom: -11px;
    }

    * {
        background: white !important;
        color: black !important;
    }
}
