/* ==========================================================================
   HOME.CSS - ACM Collective Intelligence 2026
   Specific styles for the index.html landing page layout.
   ========================================================================== */

/* Hero Cover Section */
.cover-hero {
    position: relative;
    background-color: #1c1d21; 
    color: var(--vt-white);
    padding: 12rem 2rem 10rem 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.cover-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
                    rgba(134, 31, 65, 0.85) 0%, 
                    rgba(134, 31, 65, 0.5) 45%, 
                    rgba(0, 0, 0, 0) 75%), 
                url('../images/ab1aerial.jpg') no-repeat center 15% / cover;
    z-index: 1;
}

.cover-wrapper {
    position: relative;
    z-index: 2;
}

.cover-content-left {
    max-width: 580px;
    text-align: left;
}

.cover-content-left h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--vt-white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.cover-sub {
    font-size: 1.5rem;
    color: var(--vt-burnt-orange);
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    line-height: 1.3;
}

.cover-details {
    font-size: 1.3rem;
    font-weight: 500;
    border-left: 4px solid var(--vt-burnt-orange);
    padding-left: 1.25rem;
    display: inline-block;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

/* Home Layout Override (2-Column Grid) */
.home-layout {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Sidebar & Dates Card */
.sidebar {
    position: sticky;
    top: 6rem;
}

.dates-card {
    background-color: var(--vt-smoke);
    border-top: 4px solid var(--vt-maroon);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dates-card h3 {
    color: var(--vt-maroon);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--vt-grey);
    padding-bottom: 0.5rem;
}

.date-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.date-item {
    margin-bottom: 1.25rem;
}

.date-item:last-child {
    margin-bottom: 0;
}

.date-value {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111111;
}

.date-label {
    display: block;
    font-size: 0.95rem;
    color: #4a4a4a;
}

/* Home Responsive Overrides */
@media (max-width: 960px) {
    .cover-hero::before {
        background: linear-gradient(to bottom, 
                        rgba(134, 31, 65, 0.85) 0%, 
                        rgba(22, 23, 25, 0.75) 100%), 
                    url('../images/ab1aerial.jpg') no-repeat center center / cover;
    }
    .cover-content-left {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .home-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .sidebar {
        position: static;
    }
    .cover-hero {
        padding: 8rem 1.5rem 5rem 1.5rem;
    }
    .cover-content-left h1 {
        font-size: 2.5rem;
    }
    .cover-sub {
        font-size: 1.25rem;
        margin-bottom: 2rem;
    }
    .cover-details {
        font-size: 1.1rem;
    }
}

/* Hero Image Credit */
.hero-credit {
    position: absolute;
    bottom: 1rem;
    right: 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.45);
    z-index: 10; /* Ensures it stays visible on top of the background image overlay */
    font-weight: 400;
    letter-spacing: 0.3px;
}

.hero-credit a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-bottom-color 0.2s ease;
}

.hero-credit a:hover {
    color: var(--vt-burnt-orange);
    border-bottom-color: var(--vt-burnt-orange);
}

/* Homepage Introduction Typography */
.lead {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.65;
    color: #111111; /* Darker than standard body text for clean contrast */
}

/* Ensure spacing looks clean on smaller mobile views */
@media (max-width: 768px) {
    .hero-credit {
        right: 1.5rem;
        bottom: 0.75rem;
    }
}