/* EDEP - Ziyaretçi Arayüzü Ana Stil Dosyası */

:root {
    --primary-color: #F7941D;
    --dark-blue: #1E2A5D;
    --text-color: #333;
    --text-light: #6c757d;
    --bg-light: #f9fafb;
    --font-family: 'Poppins', sans-serif;
    --border-color: #e5e7eb;
}
html { 
    scroll-behavior: smooth; 
}
body { 
    font-family: var(--font-family); 
    margin: 0; 
    color: var(--text-color); 
    line-height: 1.7; 
    display: flex; 
    flex-direction: column; 
    min-height: 100vh; 
}
.main-wrapper { 
    flex-grow: 1; 
}
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 1rem; 
}

/* ================================= 
   Header ve Navigasyon
================================= */
.main-header { 
    background: #fff; 
    box-shadow: 0 2px 10px rgba(0,0,0,0.07); 
    padding: 1rem 0; 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}
.main-header .container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo { 
    max-height: 110px; 
}
.main-nav ul { 
    list-style: none; 
    margin: 0; 
    padding: 0; 
    display: flex; 
    gap: 2rem; 
}
.main-nav a { 
    text-decoration: none; 
    color: var(--dark-blue); 
    font-weight: 500; 
    transition: color 0.2s; 
}
.main-nav a:hover { 
    color: var(--primary-color); 
}

/* Masaüstü Hover Menü */
.dropdown { 
    position: relative; 
}
.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 0.5rem 0;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    min-width: 220px;
    z-index: 101;
    border: 1px solid var(--border-color);
    transform: translateY(10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu a { 
    display: block; 
    padding: 0.5rem 1.5rem; 
}

/* Header Butonları */
.header-actions { /* Masaüstü için */ }
.btn { 
    text-decoration: none; 
    padding: 0.6rem 1.5rem; 
    border-radius: 6px; 
    font-weight: 500; 
    transition: all 0.2s; 
}
.btn-primary { 
    background-color: var(--primary-color); 
    color: #fff; 
}
.btn-primary:hover { 
    background-color: #e0851a; 
    transform: translateY(-2px); 
}


/* --- HERO ALANI DÜZENLEMESİ --- */
.hero-section { 
    position: relative;
    background-color: #ffffff; /* DÜZELTME: Arkaplan rengini lacivert yerine beyaz yap */
    color: #fff; 
    text-align: center; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75vh;
    min-height: 450px;
    padding: 0; /* Dış boşlukları kaldır */
}
.hero-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: contain; /* DÜZELTME: Videonun tamamını göster, kenarlarda boşluk bırak */
}
.hero-video-background::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(30, 42, 93, 0.3);
}
.hero-content {
    position: relative;
    z-index: 2;
}
/* YENİ EKLENEN METİN EFEKTLERİ */
.hero-section h1 { 
    font-size: 3.8rem; /* Daha büyük başlık */
    margin-bottom: 1rem;
    font-weight: 800; /* Daha kalın font */
    color: transparent; /* Metin içini şeffaf yap */
    -webkit-text-stroke: 1.5px #fff; /* Webkit tabanlı tarayıcılar için dış çizgi */
    text-stroke: 1.5px #fff; /* Diğer tarayıcılar için dış çizgi */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5); /* Hafif gölge ile derinlik kat */
    letter-spacing: 2px; /* Harfler arası boşluk */
    text-transform: uppercase; /* Tüm harfleri büyük yap */
}
.hero-section p { 
    font-size: 1.2rem; /* Alt başlığı biraz büyüt */
    max-width: 600px; 
    margin: 0 auto 1.5rem auto; /* Buton ile arasına boşluk bırak */
    opacity: 0.9; 
    font-weight: 500;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5); /* Alt başlığa da gölge */
}



/* --- DERS PAKETLERİ BÖLÜMÜ --- */
.packages-section {
    padding: 0.2rem 0;
    background-color: var(--bg-light);
}
.packages-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
}
.packages-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}
.packages-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid */
}
.packages-grid.cols-1 { grid-template-columns: repeat(1, 1fr); }
.packages-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.packages-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.packages-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.package-card-link {
    text-decoration: none;
    color: inherit;
}
.package-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Kartların eşit yükseklikte olmasını sağlar */
}
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}
.package-card-image {
    width: 100%;
    height: 180px; /* Sabit bir yükseklik ver */
    overflow: hidden;
    background-color: #f0f0f0; /* Resim yüklenene kadar veya boşluklar için */
    display: flex; /* İçindeki resmi ortalamak için */
    align-items: center; /* Dikeyde ortala */
    justify-content: center; /* Yatayda ortala */
}
.package-card-image img {
    width: 100%; /* Resmin genişliğini kart kutusunun tamamı yap */
    height: 100%; /* Resmin yüksekliğini kart kutusunun tamamı yap */
    object-fit: contain; /* DÜZELTME: Resmi orantılı şekilde sığdır, gerekirse boşluk bırak */
    display: block;
}
.package-card-content {
    padding: 1.2rem;
    flex-grow: 1; /* İçerik kısmının esnemesini sağlar */
}
.package-card-content h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-top: 0;
    margin-bottom: 0.7rem;
}
.package-card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 0;
}
.package-card-footer {
    padding: 1.2rem;
    border-top: 1px solid var(--border-color);
    text-align: right;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
}
.package-card-footer:hover {
    text-decoration: underline;
}

/* ================================= 
   Program Detay Sayfası
================================= */
.page-container { padding-top: 4rem; padding-bottom: 4rem; }
.page-header { text-align: center; border-bottom: 2px solid var(--primary-color); margin-bottom: 2rem; padding-bottom: 1rem; }
.page-header h1 { color: var(--dark-blue); font-size: 2.8rem; }
.page-content { max-width: 800px; margin: 0 auto; }
.page-content h2, .page-content h3 { color: var(--dark-blue); }
.page-content p { margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 20px; }
.page-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* ================================= 
   Footer
================================= */
.main-footer { 
    background: var(--dark-blue); 
    color: #fff; 
    text-align: center; 
    padding: 2rem 0; 
    margin-top: auto; 
}


.page-content img { max-width: 100%; height: auto; border-radius: 8px; }

/* --- YENİ EKLENEN STİLLER --- */
/* İletişim Formu */
.contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.contact-form .form-group {
    flex: 1 1 48%; /* Esnek ve duyarlı yapı */
    margin-bottom: 0;
}
.contact-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.contact-form .form-control {
    width: 100%;
    padding: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family);
    font-size: 1rem;
}
/* Geniş form elemanları için */
.contact-form .form-group.full-width {
    flex-basis: 100%;
}
.message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; }
.message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; padding: 1rem; border-radius: 6px; margin-bottom: 1.5rem; }


/* Footer */
.main-footer { 
    /* ... */
}



/* ================================= 
   Mobil Menü Stilleri
================================= */
.submenu-toggle { display: none; }
.mobile-menu-toggle { display: none; }

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        background-color: var(--dark-blue);
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 6rem;
        z-index: 1000;
    }
    .main-nav.is-open {
        transform: translateX(0);
        box-shadow: 5px 0 15px rgba(0,0,0,0.2);
    }
    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }
    .main-nav a {
        color: #fff;
        padding: 1rem 1.5rem;
        display: block;
    }
    .header-actions {
        display: visible;
    }
    .dropdown {
        position: relative;
        overflow: hidden;
    }
    .dropdown > a {
        display: inline-block;
        width: 75%;
    }
    .submenu-toggle {
        display: inline-block;
        color: #fff;
        position: absolute;
        right: 0;
        top: 0;
        padding: 1rem;
        cursor: pointer;
        font-size: 1.5rem;
        line-height: 1.2;
    }
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: 100%;
        margin-top: 0;
        padding: 0;
        background-color: rgba(0,0,0,0.2);
        max-height: 0;
        transition: max-height 0.3s ease-in-out;
    }
    .dropdown.open .dropdown-menu {
        max-height: 500px;
    }
    .dropdown-menu a {
        padding-left: 2.5rem;
    }
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px;
        height: 25px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        z-index: 1001;
    }
    .mobile-menu-toggle span {
        width: 30px;
        height: 3px;
        background: var(--dark-blue);
        border-radius: 10px;
        transition: all 0.3s linear;
        position: relative;
        transform-origin: 1px;
    }
    .mobile-menu-toggle.is-active span:nth-child(1) { transform: rotate(45deg); }
    .mobile-menu-toggle.is-active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .mobile-menu-toggle.is-active span:nth-child(3) { transform: rotate(-45deg); }
}



