/* Genel Başlık Düzenlemeleri */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

/* Logo ve Metin */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    max-width: 60px;
    height: auto;
}

.logo-text {
    display: none;
}
/* Hero Bölümü, Mobil Menü ve Logo Düzenlemesi, Mobil Görselleri */
@media (max-width: 768px) {
    /* Hero Bölümü Arka Plan Resmi (Mobil İçin) */
    .hero-section {
        background-image: url('images/hero-mobile.jpg'); /* Mobil için farklı görsel */
        height: 40vh; /* Mobilde daha küçük bir boyut */
        background-size: cover;
        background-position: center center;
        padding: 40px 0;
    flex-direction: column;
        text-align: center;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-description {
        font-size: 1.2rem;
    }
    .main-header {
        padding: 10px 15px;
    }
    /* Logo ve Metin */
    .main-header .logo img,
    .logo img {
        width: 50px;
        max-width: 50px;
        height: auto;
}
    .logo-text {
        display: block;
        margin-left: 10px;
        font-size: 16px;
        text-align: left;
    }
    .main-header .header-container {
    display: flex;
        justify-content: space-between;
    align-items: center;
    }
    /* Mobil Menü */
    .main-nav {
    display: none !important;
}
.mobile-menu-toggle {
        display: block !important;
}
.mobile-menu {
        display: none;
    position: fixed;
    top: 0;
        left: 0;
        width: 100vw;
    height: 100vh;
        background: #fff;
        z-index: 9999;
    overflow-y: auto;
        transition: all 0.3s;
}
.mobile-menu.active {
        display: block;
}
    .mobile-menu ul {
        list-style: none;
        padding: 0;
}
.mobile-nav-item {
        padding: 10px;
        text-align: center;
}
.mobile-nav-link {
        display: block;
        color: #333;
        font-size: 18px;
        text-decoration: none;
}
    .mobile-nav-link:hover {
        background-color: #f0f0f0;
}
    /* Mobil Görselleri */
    .campaign-card:nth-child(1) {
        background-image: url('images/mduyuru1.jpg');
}
    .campaign-card:nth-child(2) {
        background-image: url('images/mduyuru2.jpg');
}
    .campaign-card:nth-child(3) {
        background-image: url('images/mduyuru3.jpg');
}
    .campaign-card:nth-child(4) {
        background-image: url('images/mduyuru4.jpg');
    }
    .campaign-card:nth-child(5) {
        background-image: url('images/mduyuuru5.jpg');
    }
}

/* Banner yazılarının stillerini kaldırıyorum */
.program-header,
.new-registration-banner,
.program-tags,
.program-tag {
        display: none;
    }
    
/* Hero Bölümü Arka Plan Resmi */
.hero-section {
    position: relative;
    background-image: url('images/hero.jpg'); /* Arka plan görseli */
    background-size: cover;
    background-position: center center;
    height: 50vh; /* Hero boyutunu %50 küçültüyoruz */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    width: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(2, 12, 77, 0.8), rgba(2, 12, 77, 0.6));
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.5rem;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobil Görünüm İçin Ayar */
@media (max-width: 768px) {
    .hero-section {
        height: 40vh; /* Mobilde daha küçük bir boyut */
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 350px;
        height: 60vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

.why-us-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.why-us-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.why-us-list li {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.why-us-list li:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.why-us-list li strong {
    display: flex;
    align-items: center;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(2, 12, 77, 0.1);
    position: relative;
}

.why-us-list li strong:before {
    content: counter(item);
    counter-increment: item;
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.why-us-list li:hover strong:before {
    opacity: 1;
    transform: scale(1.2);
}

.why-us-list li:hover strong {
    color: var(--secondary-color);
}

.why-us-list li:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.why-us-list li:hover:after {
    transform: scaleX(1);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
    font-size: 2.5rem;
    color: var(--primary-color);
}

.section-title:before {
    content: '🌟';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.why-us-summary {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 60px;
    box-shadow: 0 15px 40px rgba(2, 12, 77, 0.15);
    transform: translateY(0);
    transition: all 0.4s ease;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.why-us-summary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(2, 12, 77, 0.2);
}

.why-us-list {
    counter-reset: item;
}

@media (max-width: 992px) {
    .why-us-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .why-us-section {
        padding: 40px 0;
    }

    .why-us-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-us-list li {
        padding: 25px;
    }
    
    .why-us-list li strong {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }

    .why-us-summary {
        padding: 30px;
        margin: 40px 15px 0;
    }
}

.announcement-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    overflow: hidden;
    margin-top: -40px;
}

.announcement-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.slides-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.announcement-slide {
    display: none;
    width: 100%;
    grid-template-columns: 1.2fr 1fr;
    background: #fff;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.announcement-slide.active {
    display: grid;
    opacity: 1;
    position: relative;
}

.announcement-content {
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.announcement-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(2, 12, 77, 0.2);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.announcement-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.announcement-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.countdown-expired {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(231, 56, 41, 0.1);
    color: var(--secondary-color);
    border-radius: 8px;
    font-weight: 600;
    margin-bottom: 25px;
}

.announcement-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 56, 41, 0.3);
}

.announcement-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(231, 56, 41, 0.4);
    background: var(--secondary-dark);
}

.announcement-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.announcement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-slide:hover .announcement-image img {
    transform: scale(1.05);
}

.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.slider-prev, .slider-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-prev:hover, .slider-next:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    width: 25px;
    border-radius: 10px;
    background: var(--secondary-color);
}

@media (max-width: 992px) {
    .announcement-slide {
        grid-template-columns: 1fr;
    }
    
    .announcement-content {
        padding: 40px;
        text-align: center;
    }
    
    .announcement-title {
        font-size: 1.8rem;
    }
    
    .announcement-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .announcement-section {
        padding: 40px 0;
    }
    
    .announcement-content {
        padding: 30px 20px;
    }
    
    .announcement-title {
        font-size: 1.5rem;
    }
    
    .announcement-description {
        font-size: 1rem;
    }
    
    .announcement-button {
        width: 100%;
        justify-content: center;
    }

    .slider-prev, .slider-next {
        width: 40px;
        height: 40px;
    }
    
    .announcement-image {
        min-height: 250px;
    }
}

.programs-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    margin-top: -40px;
    }
    
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 15px;
    }
    
.program-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    display: flex;
        flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.program-icon {
    width: 60px;
    height: 60px;
    background: rgba(2, 12, 77, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.program-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.program-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
    flex: 1;
}

.program-link {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    justify-content: center;
}

.program-link:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(2, 12, 77, 0.2);
}

.program-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.program-link:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 768px) {
    .programs-section {
        padding: 60px 0;
    }

    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
}

    .program-content {
        padding: 25px;
}

    .program-title {
        font-size: 1.3rem;
    }

    .program-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
}
}

.branches-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 15px;
}

.branch-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
.branch-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.branch-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.branch-image img {
        width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.branch-card:hover .branch-image img {
    transform: scale(1.1);
    }
    
.branch-content {
    padding: 25px;
}

.branch-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.branch-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: width 0.3s ease;
}

.branch-card:hover .branch-title::after {
    width: 100px;
}

.branch-info {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.branch-info i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 12, 77, 0.1);
    border-radius: 50%;
    padding: 15px;
    transition: all 0.3s ease;
}

.branch-card:hover .branch-info i {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

.branch-info-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

.branch-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.branch-info a:hover {
    color: var(--primary-color);
}

.branch-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.branch-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.branch-button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(2, 12, 77, 0.2);
}

.branch-button i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.branch-button:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .branches-section {
        padding: 60px 0;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .branch-content {
        padding: 20px;
    }
    
    .branch-title {
        font-size: 1.3rem;
    }
    
    .branch-info {
        gap: 10px;
    }

    .branch-info i {
        font-size: 1.1rem;
        padding: 12px;
    }
    
    .branch-actions {
        flex-direction: column;
    }
    
    .branch-button {
        width: 100%;
        justify-content: center;
    }
}

/* Banner Section */
.page-banner {
    position: relative;
    background: #4169E1;
    padding: 120px 0;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 0;
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.banner-description {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.6;
    color: #ffffff;
    opacity: 0.9;
}

.banner-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.banner-badges .badge {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
    transition: all 0.3s ease;
}

.banner-badges .badge:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .banner-title {
        font-size: 2.5rem;
}

    .banner-description {
        font-size: 1.2rem;
}

    .banner-badges .badge {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
/* YKS Tarzı Bölüm */
.page-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-banner p {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Gölgeleme */
    z-index: 1;
}

.page-banner > div {
    z-index: 2;
    position: relative;
}

/* Mobil İçin Boyutlandırma */
@media (max-width: 768px) {
    .page-banner {
        height: 350px;
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 2rem;
}

    .page-banner p {
        font-size: 1rem;
    }
}
/* Mobil görünümde hero açıklamasını gizlemek */
@media (max-width: 768px) {
    .hero-description {
        display: none !important;
}
}

/* Responsive Temel Düzeltmeler */
html {
  box-sizing: border-box;
    font-size: 16px;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body, html {
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
    display: block;
}
.container, .content, .main {
    width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}
@media (max-width: 1200px) {
  .container, .content, .main {
    max-width: 960px;
  }
}
@media (max-width: 992px) {
  .container, .content, .main {
    max-width: 720px;
}
}
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
  .container, .content, .main {
    max-width: 540px;
    padding: 0 10px;
  }
}
@media (max-width: 576px) {
  .container, .content, .main {
    max-width: 100%;
    padding: 0 5px;
}
}

/* Header ve Menü Responsive Sorun Düzeltmesi */
.main-header, .header-container {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
    display: flex;
    justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  min-width: 0;
  padding: 0 16px;
}

.logo {
  flex-shrink: 0;
  min-width: 0;
}

.main-nav, .nav-menu {
    display: flex;
  flex-wrap: wrap;
  min-width: 0;
  gap: 20px;
  justify-content: flex-end;
    align-items: center;
}

@media (max-width: 992px) {
  .main-nav, .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}
}

/* --- GENEL RESPONSIVE VE TAŞMA DÜZELTMELERİ --- */
html, body {
  overflow-x: hidden;
}
img, video {
  max-width: 100%;
  height: auto;
  display: block;
}
[class*="container"], [class*="content"], [class*="main"] {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}
@media (max-width: 992px) {
  [class*="container"], [class*="content"], [class*="main"] {
    max-width: 720px;
    }
    }
@media (max-width: 768px) {
  [class*="container"], [class*="content"], [class*="main"] {
    max-width: 540px;
    padding: 0 5px;
    }
  .hide-on-mobile { display: none !important; }
  .show-on-mobile { display: block !important; }
}
@media (max-width: 576px) {
  [class*="container"], [class*="content"], [class*="main"] {
    max-width: 100%;
    padding: 0 2px;
    }
}
/* Flex ve grid kapsayıcılar için taşma önlemleri */
.flex, .d-flex, [class*="flex"], .grid, [class*="grid"] {
  min-width: 0;
  flex-wrap: wrap;
    }
    
/* Masaüstünde 2x2 grid, mobilde tek sütun duyuru kutuları */
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
    }

.campaign-card {
  aspect-ratio: 16/9;
  min-height: 220px;
  max-height: 420px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
        flex-direction: column;
  justify-content: flex-end;
    }
    
.campaign-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  border-radius: 12px 12px 0 0;
    }
    
@media (max-width: 768px) {
  .campaigns-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    }
  .campaign-card {
    min-height: 38vw;
    aspect-ratio: 16/10;
  }
}