/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Honeycomb Pattern Arka Plan */
.honeycomb-bg {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 193, 7, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    background-size: 100px 100px;
    position: relative;
}

.honeycomb-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(60deg, transparent, transparent 35px, rgba(255, 193, 7, 0.02) 35px, rgba(255, 193, 7, 0.02) 70px);
    pointer-events: none;
}

/* Logo Pattern Arka Plan */
.logo-pattern-bg {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
}

.logo-pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/logo.png');
    background-size: 80px 80px;
    background-repeat: repeat;
    background-position: 0 0;
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
    animation: logoPatternMove 20s linear infinite;
}

@keyframes logoPatternMove {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* Logo yoksa alternatif pattern - sadece logo yüklenmediğinde görünür */
.logo-pattern-bg.no-logo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 120, 187, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 193, 7, 0.05) 0%, transparent 50%);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 0;
}

.logo-pattern-bg > * {
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 50%, #f8f9fa 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.05);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* İstatistik Kartları */
.stats-section {
    padding: 60px 0;
    background: #f8f9fa;
    position: relative;
}

.stat-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    border: 2px solid transparent;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-color: #ffc107;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ffc107;
    margin-bottom: 8px;
    text-shadow: 2px 2px 4px rgba(255, 193, 7, 0.2);
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

.stat-icon-wrapper {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Modern Kartlar */
.modern-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.modern-card .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.modern-card:hover .card-img-top {
    transform: scale(1.05);
}

.modern-card .card-body {
    padding: 25px;
}

/* Butonlar */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border: none;
    color: #1a1a1a;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
    color: #1a1a1a;
}

.btn-outline-warning {
    border: 2px solid #ffc107;
    color: #ffc107;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    background: #ffc107;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    background: #fff !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffc107 !important;
    letter-spacing: 0.5px;
}

.navbar-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.navbar-logo[src*="logo.png"]:not([src=""]) ~ .navbar-logo-fallback {
    display: none !important;
}

.navbar-logo:not([src]) ~ .navbar-logo-fallback,
.navbar-logo[src=""] ~ .navbar-logo-fallback {
    display: inline-block !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333 !important;
    margin: 0 10px;
    padding: 8px 15px !important;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: #fff9e6;
    color: #ffc107 !important;
}

.navbar-nav .dropdown-menu {
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-radius: 10px;
    padding: 10px;
}

.navbar-nav .dropdown-item {
    border-radius: 5px;
    padding: 8px 15px;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background: #fff9e6;
    color: #ffc107;
}

/* Section Başlıkları */
.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 18px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ffc107, #ff9800);
    border-radius: 2px;
}

/* Haber/Duyuru Kartları */
.news-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 25px;
    background: #fff;
}

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

.news-card .card-body {
    padding: 25px;
}

.news-card .card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.news-card .card-text {
    color: #666;
    line-height: 1.7;
}

.news-date {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Kompakt Haber/Duyuru Kartları (Ana Sayfa) */
.news-card-compact {
    border-radius: 12px;
    border: none;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 15px;
    background: #fff;
}

.news-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.news-card-compact .card-body {
    padding: 15px 18px;
}

.news-card-compact .card-title-compact {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card-compact .card-text-compact {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.news-date-compact {
    color: #999;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Info Kartları */
.info-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    border-color: #ffc107;
}

.info-card h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.info-card-icon {
    font-size: 3rem;
    color: #ffc107;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    padding: 50px 0 20px;
}

footer h5 {
    color: #ffc107;
    margin-bottom: 20px;
    font-weight: 600;
}

footer a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ffc107;
}

/* Animasyonlar */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive - Mobil Optimizasyonları */
@media (max-width: 991.98px) {
    /* Hero Section - Tablet */
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    /* Hero Section - Mobil */
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }
    
    /* Butonlar - Mobil */
    .btn-lg {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
    
    .d-flex.flex-wrap.gap-3 {
        gap: 0.5rem !important;
    }
    
    /* İstatistik Kartları - Mobil */
    .stats-section {
        padding: 50px 0;
    }
    
    .stat-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 8px;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    .stat-icon-wrapper {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    /* Section Başlıkları - Mobil */
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding-bottom: 15px;
    }
    
    /* Navbar - Mobil */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-logo {
        max-height: 40px;
    }
    
    .navbar-nav .nav-link {
        margin: 5px 0;
        padding: 10px 15px !important;
    }
    
    /* Kartlar - Mobil */
    .modern-card .card-body {
        padding: 20px;
    }
    
    .modern-card .card-img-top {
        height: 180px;
    }
    
    .news-card {
        margin-bottom: 20px;
    }
    
    .news-card .card-body {
        padding: 20px;
    }
    
    .news-card .card-title {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .news-card .card-text {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Info Kartları - Mobil */
    .info-card {
        padding: 25px 20px;
        margin-bottom: 20px;
    }
    
    .info-card h5 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .info-card-icon {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    /* Footer - Mobil */
    footer {
        padding: 40px 0 20px;
    }
    
    footer h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    footer .col-md-4 {
        margin-bottom: 30px;
    }
    
    /* Container Padding - Mobil */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Pagination - Mobil */
    .pagination .page-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        margin: 0 2px;
    }
    
    /* Calendar Card - Mobil */
    .calendar-card {
        padding: 20px;
    }
    
    /* Partner Logoları - Mobil */
    .partner-logo {
        width: 100px;
        height: 100px;
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    /* Çok Küçük Ekranlar */
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .info-card {
        padding: 20px 15px;
    }
    
    .btn-lg {
        padding: 8px 16px;
        font-size: 0.9rem;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
    }
    
    .d-flex.flex-wrap.gap-3 .btn {
        width: 100%;
    }
}

/* Loading Animation */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 193, 7, 0.3);
    border-radius: 50%;
    border-top-color: #ffc107;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Arıcılık Takvimi Kartı */
.calendar-card {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 2px solid #ffc107;
    position: relative;
}

.calendar-card::before {
    content: '🐝';
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.2;
}

/* Partner Logoları */
.partner-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.partner-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Gradient Arka Planlar */
.bg-gradient-primary {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.bg-gradient-light {
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
}

.bg-gradient-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

/* Scroll Animasyonları */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Pagination */
.pagination .page-link {
    color: #ffc107;
    border-color: #ffc107;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: #ffc107;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: #ffc107;
    border-color: #ffc107;
    color: #1a1a1a;
    font-weight: 600;
}
