/* static/css/home.css */

/* Hero Section */
.hero-section {
    position: relative;
    height: 80vh;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    background-size: cover;
    background-position: center top;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0; /* solid header so no pull up */
    padding: 0 !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65); /* Darkened from 0.4 for better natural contrast */
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Soft ambient shadow instead of outline */
}

.hero-subtitle {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #f8f8f8;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-btn {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}

.hero-btn:hover {
    background: #ffffff;
    color: var(--primary-color);
}

/* About Grid */
.about-grid-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 6rem 5vw !important;
    margin: 0 !important;
}

.about-text h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666666;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Clean AI Section */
.ai-clean-section {
    background-color: #fcfcfc;
    padding: 6rem 5vw !important;
    margin: 0 !important;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ai-clean-content {
    max-width: 600px;
    margin: 0 auto;
}

.ai-clean-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.ai-clean-text p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-outline-dark {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s;
}

.btn-outline-dark:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: #ffffff;
}


/* Carousel Section */
.simple-carousel {
    padding: 3rem 5vw !important;
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 400px;
    margin: 2rem 0;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.carousel-item.active {
    opacity: 1;
}

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

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem;
}

.carousel-controls {
    position: absolute;
    bottom: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
}

.carousel-controls button {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Events Section */
.events-section {
    padding: 4rem 5vw !important;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.event-card {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    background: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.event-date {
    background-color: #f9f9f9;
    color: var(--accent-color);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 90px;
    border-right: 1px solid var(--border-color);
}

.event-date .day {
    font-size: 1.8rem;
    font-weight: 600;
}

.event-date .month {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--primary-color);
}

.event-details {
    padding: 1.5rem;
}

.event-details p {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
}

.event-details h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
}

.event-location {
    color: #8c8c8c !important;
    font-style: italic;
    margin-top: 0.5rem;
    font-size: 0.85rem !important;
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
}