/**
 * Home Page Styles
 * HGC Logo Renkleri: Altın (#D4AF37), Koyu Gri (#2C2C2C), Kırmızı (#C41E3A), Yeşil (#4A7C39)
 */

/* President Message Section */
.president-message-section {
    background: linear-gradient(135deg, #FFFEF8 0%, #F5F5F5 100%);
}

.president-image-wrapper {
    position: relative;
    text-align: center;
}

.president-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.president-placeholder {
    width: 300px;
    height: 350px;
    margin: 0 auto;
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.president-info-card {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 250px;
    border-bottom: 3px solid #D4AF37;
}

.president-info-card h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2C2C2C;
}

.president-info-card p {
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
    color: #666;
}

.president-content {
    padding-left: 2rem;
}

.president-message {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #444;
    margin-top: 1.5rem;
}

.president-message p {
    margin-bottom: 1rem;
}

.president-signature {
    margin-top: 1.5rem;
}

.president-signature img {
    max-height: 60px;
    filter: grayscale(100%);
    opacity: 0.8;
}

@media (max-width: 991px) {
    .president-image-wrapper {
        margin-bottom: 4rem;
    }

    .president-content {
        padding-left: 0;
        text-align: center;
    }

    .president-message {
        text-align: left;
    }
}

/* Newspapers Section on Home */
.newspapers-section {
    background: #fff;
}

/* Stats Section */
.stats-section {
    padding: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C2C2C;
    line-height: 1;
}

.stat-label {
    font-size: 0.9375rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Hero Slider Adjustments */
.hero-slider-section .carousel-item {
    min-height: 500px;
}

.hero-slide {
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-slide.has-bg-image {
    position: relative;
}
 

/* Section Headers */
.section-header {
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(184, 150, 12, 0.15) 100%);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #B8960C;
    margin-bottom: 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2C2C2C;
}

.section-description {
    font-size: 1.0625rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Features */
.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-features .feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFEF8;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.about-features .feature-item i {
    color: #D4AF37;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    padding: 4rem 0;
    color: white;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-description {
    font-size: 1.0625rem;
    opacity: 0.9;
}

/* Board Members Section */
.board-section .board-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.board-section .board-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.board-section .board-card .card-body {
    border-top: 3px solid #D4AF37;
}

/* Projects/Newspapers Section */
.projects-section .project-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.projects-section .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.projects-section .project-category {
    color: #D4AF37;
    font-weight: 500;
}

/* News Section */
.news-section {
    background: #FFFEF8;
}

.news-section .news-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.news-section .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Buttons Override for Home */
.btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #B8960C 0%, #9A7F0A 100%);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, #C41E3A 0%, #9E1830 100%);
    border: none;
    color: white;
}

.btn-accent:hover {
    background: linear-gradient(135deg, #9E1830 0%, #7D1326 100%);
    color: white;
}

.btn-outline-dark {
    border-color: #2C2C2C;
    color: #2C2C2C;
}

.btn-outline-dark:hover {
    background: #2C2C2C;
    color: white;
}

/* ============================================
   News Slides in Hero Slider
   ============================================ */
.hero-slide.news-slide {
    position: relative;
}

.hero-slide.news-slide .slide-overlay {
    background: rgba(0, 0, 0, 0.6) !important;
}

.hero-slide.news-slide.has-bg-image .slide-overlay {
    background: rgba(0, 0, 0, 0.65) !important;
}

.news-slide-content {
    position: relative;
    z-index: 2;
}

.news-slide-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.news-slide-category {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-slide-date,
.news-slide-reading {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    color: #ffffff;
}

.news-slide-date i,
.news-slide-reading i {
    color: #D4AF37;
    margin-right: 0.25rem;
}

.news-slide-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.25rem;
    color: #ffffff !important;
}

.news-slide-excerpt {
    font-size: 1.125rem;
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 600px;
    opacity: 0.95;
}

.news-slide-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.news-slide-buttons .btn-primary {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    border: none;
    color: #1A1A1A;
    font-weight: 600;
}

.news-slide-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #E8C84A 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.news-slide-buttons .btn-outline-light {
    border-color: #ffffff;
    color: #ffffff;
}

.news-slide-buttons .btn-outline-light:hover {
    background: #ffffff;
    color: #1A1A1A;
}

.news-slide-icon {
    text-align: center;
    color: rgba(212, 175, 55, 0.15);
    font-size: 15rem;
    line-height: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .news-slide-title {
        font-size: 1.75rem;
    }

    .news-slide-excerpt {
        font-size: 1rem;
    }

    .news-slide-buttons {
        flex-direction: column;
    }

    .news-slide-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .news-slide-meta {
        gap: 0.5rem;
    }

    .news-slide-category {
        padding: 0.375rem 1rem;
        font-size: 0.75rem;
    }

    .news-slide-date,
    .news-slide-reading {
        font-size: 0.8125rem;
    }
}