* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* Header Styles */
.header {
    background: white;
    color: #333;
    padding: 0;
    position: relative;
    border-bottom: 5px solid #2d5a5a;
}

.header-top {
    background: #2d5a5a;
    padding: 8px 0;
    text-align: center;
    font-size: 14px;
    font-style: italic;
    color: white;
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    max-width: 100%;
    margin: 0 auto;
}

/* Header öğelerini sıralama: CTA sola, logo sağa */
.cta-button { order: 0; }
nav { order: 1; }
.logo { order: 2; }
.hamburger-menu { order: 3; }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 220px;
    height: 78.1px;
    object-fit: contain;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #2d5a5a;
}

.nav {
    display: flex;
    list-style: none;
    gap: 30px;
    flex-wrap: nowrap;
}

.nav > li { position: relative; }

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 12px 0;
    margin: 0;
    min-width: 220px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-radius: 8px;
    display: none;
    z-index: 1000;
}

.submenu li { padding: 0; }
.submenu a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    white-space: nowrap;
}

.has-submenu:hover > .submenu { display: block; }

.nav a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.nav a:hover {
    opacity: 0.8;
}

/* Dropdown indicator */
.has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dropdown-icon {
    font-size: 10px;
    color: #666;
    transition: transform 0.2s ease;
}

.has-submenu:hover > a .dropdown-icon {
    transform: rotate(180deg);
}

/* Desktop'ta mobil CTA'yı gizle */
.mobile-cta {
    display: none;
}

.cta-button {
    background: #f4c430;
    color: #333;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.cta-button:hover {
    background: #e6b82a;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(45, 90, 90, 0.8), rgba(26, 61, 61, 0.8)), url('img/hero-img.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 5% 100px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.breadcrumb {
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    font-weight: 900;
    font-size: 16px;
}
.siyer-sınavı-text{
    font-weight: 900;
    font-size: 16px;
    color: #fbd45a;
}

.hero h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 40px;
    font-weight: 900;
    margin: 0px 0px 6px;
}

/* Cards Section */
.cards-section {
    padding: 80px 5%;
    background: #f8f9fa;
}

.cards-container {
    max-width: 1200px;
    margin: 0 auto;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}

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

.card-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Kart görseli üzerine merkezde logo overlay */
.card-image::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 55%;
    height: 55%;
    background: url('img/Beyaz-Logo.png') no-repeat center center;
    background-size: contain;
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

.card-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f4c430;
    color: #333;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.card-content {
    padding: 25px;
}

.card-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.location-icon {
    width: 16px;
    height: 16px;
    background: #2d5a5a;
    border-radius: 50%;
    display: inline-block;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

/* Footer */
.footer {
    background: linear-gradient(rgba(39, 54, 51, 0.95), rgba(39, 54, 51, 0.95)), url('img/footer-img.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 60px 5% 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.footer-accordion .footer-section h3 {
    color: #f4c430;
    margin-bottom: 12px;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-accordion .footer-section .chev { font-size: 14px; opacity: 0.8; }
/* Desktop'ta listeler açık, ikon gizli */
.footer-accordion .footer-section ul { display: block; }
.footer-accordion .footer-section .chev { display: none; }
.footer-accordion .footer-section ul li { margin: 8px 0; }
.footer-accordion .footer-section { padding: 6px 0; }
.footer-accordion .footer-section a { color: #fff; text-decoration: none; }
.footer-accordion .footer-section a:hover { color: #f4c430; }
.footer-accordion .footer-section.open h3 .chev { transform: rotate(180deg); }
.footer-accordion .footer-section h3 .chev { transition: transform 0.2s ease; }

@media (max-width: 768px) {
    .footer-content { grid-template-columns: 1fr; gap: 20px; }
    .footer-accordion .footer-section ul { display: none; }
    .footer-accordion .footer-section.open ul { display: block; }
    .footer-accordion .footer-section .chev { display: inline-block; }
    .footer-logo { text-align: center; }
    .footer-logo img { max-width: 220px; height: auto; }
    .footer { padding: 40px 5% 20px; }
    .footer-accordion .footer-section h3 { font-size: 18px; }
    /* Sol hizalama istekleri */
    .footer-accordion .footer-section,
    .footer-accordion .footer-section h3,
    .footer-accordion .footer-section ul,
    .footer-accordion .footer-section ul li,
    .footer-contact,
    .footer-contact .contact-info { text-align: left; }
    .footer-accordion .footer-section ul { padding-left: 0; }
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    width: 275.98px;
    height: 346.14px;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-brand {
    font-size: 24px;
    font-weight: bold;
    color: #f4c430;
    margin-bottom: 10px;
}

.footer-contact h3,
.footer-corporate h3 {
    color: #f4c430;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #f4c430;
}

.contact-info {
    margin-bottom: 15px;
    line-height: 1.6;
}

.contact-info strong {
    display: block;
    margin-bottom: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #2d5a5a;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 16px;
}

.social-links a:hover {
    background: #f4c430;
    color: #333;
    transform: translateY(-2px);
}

.social-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #2d5a5a;
    font-size: 14px;
    opacity: 0.8;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #f4c430;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top:hover {
    background: #e6b82a;
    transform: translateY(-2px);
}

/* Mobil Menü Stilleri */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #2d5a5a;
    cursor: pointer;
    padding: 8px;
    margin-left: 10px;
    z-index: 1001;
    transition: color 0.3s ease;
}

.hamburger-menu:hover {
    color: #f4c430;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Mobil Header */
    .header-main {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 15px 5%;
        position: relative;
    }
    
    .logo {
        flex: 1;
    }
    
    .logo img {
        max-width: 180px;
        height: auto;
    }
    
    /* Mobil Menü */
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        flex-direction: column;
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav li {
        margin: 10px 0;
        text-align: center;
    }
    
    .nav a {
        padding: 15px 20px;
        display: block;
        border-bottom: 1px solid #eee;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.3s ease;
    }
    
    .nav a:hover {
        background: #f8f9fa;
        color: #2d5a5a;
    }
    
    /* Mobil alt menüler */
    .submenu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        display: block;
        padding: 0;
        margin-top: 6px;
    }
    .submenu a { padding: 10px 12px; font-size: 14px; }
    
    /* Mobilde CTA butonunu menüye ekle */
    .cta-button {
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
        padding: 15px 20px;
        font-size: 16px;
    }
    
    /* Mobilde mobil CTA'yı göster */
    .mobile-cta {
        display: block;
        margin-bottom: 0;
    }
    
    /* Mobilde header'daki CTA'yı gizle */
    .header-main > .cta-button {
        display: none;
    }
    
    /* Mobilde hamburger menüyü göster */
    .hamburger-menu {
        display: block !important;
    }

    .hero h1 {
        font-size: 36px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        flex-direction: column;
        gap: 10px;
    }

    .hero {
        padding: 60px 5% 80px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .cards-section {
        padding: 60px 5%;
    }

    .card-content {
        padding: 20px;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5vh auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

/* Ödül modalı için geniş düzen */
.odul-modal {
    width: fit-content !important;
    max-width: 90vw !important;
    max-height: 100vh !important;
    overflow: auto !important;
    padding: 25px !important;
    margin: 0 auto !important;
}
.odul-modal h2 { 
    margin: 0 0 5px 0; 
    font-size: 20px;
    text-align: center;
}
.odul-modal img { 
    display: block; 
    margin: 0 auto; 
    max-width: 100%; 
    height: auto; 
    max-height: calc(90vh - 50px); 
    object-fit: contain; 
    border-radius: 8px;
}

.rotate-hint {
    display: none;
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .odul-modal { 
        padding: 5px !important;
        max-width: 95vw !important;
        max-height: 100vh !important;
    }
    .odul-modal h2 { 
        font-size: 16px; 
        margin: 0 0 5px 0;
    }
    .odul-modal img { 
        max-height: calc(100vh - 50px);
        max-width: 100%;
    }
    .rotate-hint { display: none !important; }
}

/* Sesli Kitap modalı (audioBookModal) için özel margin */
#audioBookModal .modal-content {
    margin: 15% auto;
}

@media (max-width: 768px) {
    #audioBookModal .modal-content {
        margin: 70% auto;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: #2d5a5a;
}

.modal-content h2 {
    color: #2d5a5a;
    text-align: center;
    margin-bottom: 30px;
    font-family: 'Nunito', sans-serif;
    font-size: 24px;
    font-weight: 700;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-btn {
    background: linear-gradient(135deg, #2d5a5a, #1a3d3d);
    color: white;
    border: none;
    padding: 20px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(45, 90, 90, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 90, 0.4);
    background: linear-gradient(135deg, #1a3d3d, #2d5a5a);
}

.modal-btn i {
    font-size: 18px;
    color: #f4c430;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        margin: 20% auto;
        padding: 30px 20px;
        width: 95%;
    }
    
    .modal-content h2 {
        font-size: 20px;
    }
    
    .modal-btn {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* Support Modal Styles */
.support-modal {
    max-width: 1200px !important;
    width: 95% !important;
    padding: 30px !important;
    max-height: 90vh !important;
    margin: 5vh auto !important;
    display: flex;
    flex-direction: column;
}

.turkey-map-container {
    margin-top: 20px;
    flex: 1;
    display: flex;
}

.turkey-map {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e9ecef;
    height: 500px;
    flex: 1;
    overflow: hidden;
}

.turkey-map .leaflet-container {
    border-radius: 8px;
    overflow: hidden;
}

/* Leaflet attribution'u tamamen gizle */
.leaflet-control-attribution {
    display: none !important;
}

.leaflet-control-attribution.leaflet-control {
    display: none !important;
}

.turkey-svg {
    width: 100%;
    height: 400px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.province {
    fill: #2d5a5a;
    stroke: #fff;
    stroke-width: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.province:hover {
    fill: #f4c430;
    transform: scale(1.05);
}

.province-label {
    font-size: 8px;
    font-weight: bold;
    fill: #fff;
    pointer-events: none;
    font-family: 'Manrope', sans-serif;
}

.custom-popup .leaflet-popup-content-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.custom-popup .leaflet-popup-content {
    margin: 15px;
    font-size: 12px;
    line-height: 1.4;
    color: #333;
}

.custom-popup .leaflet-popup-content h4 {
    color: #2d5a5a;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.custom-popup .leaflet-popup-content p {
    margin: 4px 0;
    color: #333;
}

.custom-popup .leaflet-popup-content strong {
    color: #2d5a5a;
}

.custom-popup .leaflet-popup-content a {
    color: #f4c430;
    text-decoration: none;
    font-weight: 600;
}

.custom-popup .leaflet-popup-content a:hover {
    text-decoration: underline;
}



/* Responsive Support Modal */
@media (max-width: 768px) {
    .turkey-map-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .turkey-svg {
        height: 300px;
    }
    
    .support-details {
        max-height: 300px;
    }
} 