/* Temel Ayarlar ve Değişkenler */
:root {
    --bg-dark: #101216; 
    --bg-darker: #0b0d10;
    --accent-bronze: #9c7b5a; 
    --text-light: #ffffff;
    --text-muted: #9ba4b5;
    --font-heading: 'Ovo', serif; 
    --font-body: 'Lato', sans-serif; 
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
}

/* Navigasyon */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 5%; 
    background: linear-gradient(to bottom, rgba(16, 18, 22, 0.9) 0%, rgba(16, 18, 22, 0) 100%);
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-img {
    height: 75px; 
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.98rem; 
    font-weight: 700;
    letter-spacing: 1.5px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-bronze);
}

.social-icons a {
    color: var(--accent-bronze);
    margin-left: 20px;
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Butonlar */
.btn {
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
    text-transform: uppercase;
    border-radius: 3px; 
}

.btn-solid {
    background-color: var(--accent-bronze);
    color: #ffffff;
    border: 1px solid var(--accent-bronze);
}

.btn-solid:hover {
    background-color: transparent;
    color: var(--accent-bronze);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    border-color: var(--accent-bronze);
    color: var(--accent-bronze);
}

.btn-full {
    width: 100%;
    text-align: center;
}

/* Tipografi */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 400;
    letter-spacing: 1px;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
}

.section-subtitle {
    color: var(--accent-bronze);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.desc-text {
    color: var(--text-muted);
    max-width: 900px;
    margin: 0 auto 35px auto;
    font-size: 0.95rem;
}

.center-text {
    text-align: center;
    margin-bottom: 60px;
}

/* Sections Global */
section {
    padding: 100px 8%;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    border-bottom: 3px solid var(--accent-bronze);
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(12, 14, 18, 0.35); 
}

/* YAZILAR TAM İSTEDİĞİN GİBİ BİRAZ DAHA YUKARI ÇEKİLDİ */
.hero-content {
    position: relative;
    z-index: 1;
    margin-top: -110px; 
}

/* ANA BAŞLIK 2.75rem YAPILDI */
.hero h1 {
    font-size: 2.75rem; 
    margin-bottom: 15px;
}

.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.divider .line {
    height: 1px;
    width: 60px;
    background-color: var(--accent-bronze);
}

/* SARI ALT BAŞLIK 0.85rem YAPILDI */
.divider p {
    font-family: var(--font-body);
    font-weight: 400; 
    letter-spacing: 5px; 
    color: var(--accent-bronze);
    font-size: 0.85rem;
}

.btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-group-left {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

/* Biz Kimiz (About) */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.about-mockup {
    width: 100%;
    border-radius: 5px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

/* Eğitimlerimiz - VİTRİN */
.education-section {
    background-color: var(--bg-darker);
    overflow: hidden;
    padding-bottom: 120px;
}

.carousel-container {
    width: 100vw;
    margin-left: -8%; 
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    gap: 35px;
    width: max-content;
    animation: scrollVitrin 40s linear infinite; 
}

.carousel-track:hover {
    animation-play-state: paused;
}

.course-wrapper {
    width: 285px; 
    height: 215px; 
    border-radius: 30px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.course-wrapper img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    object-position: center; 
    transition: transform 0.4s ease;
}

.course-wrapper:hover img {
    transform: scale(1.05); 
}

@keyframes scrollVitrin {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* Hizmetlerimiz */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5; 
    border-radius: 10px; 
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}

.service-wrapper img {
    width: 100%;
    height: 100%; 
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.service-wrapper:hover img {
    transform: scale(1.04);
}

.center-action {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Topluluk */
.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.comm-card {
    background-color: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.05); 
    overflow: hidden;
}

.comm-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.comm-content {
    padding: 40px;
}

.comm-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.comm-content p {
    color: var(--text-muted);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.comm-content ul {
    list-style: none;
    margin-bottom: 35px;
}

.comm-content ul li {
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    font-size: 0.9rem;
}

.comm-content ul li::before {
    content: '■'; 
    color: var(--accent-bronze);
    position: absolute;
    left: 0;
    font-size: 0.6rem;
    top: 4px;
}

/* İletişim Formu */
.contact-section {
    background-size: cover;
    background-position: center;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text p {
    color: #e0e0e0;
    margin-bottom: 20px;
}

.contact-form {
    background-color: #ffffff;
    padding: 50px;
    border-radius: 3px;
    color: #000000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: var(--font-body);
}

.input-group input, .input-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 2px;
    font-family: var(--font-body);
    font-size: 0.9rem;
}

.captcha-placeholder {
    padding: 20px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    font-size: 0.9rem;
    font-family: var(--font-body);
}

/* Footer */
footer {
    padding: 80px 8% 30px 8%;
    background-color: var(--bg-darker);
    border-top: 1px solid rgba(156, 123, 90, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    margin-bottom: 60px;
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.85rem;
    line-height: 2.8;
}

.footer-links a:hover {
    color: var(--accent-bronze);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 30px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Kaydırma Efektleri */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.9s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
/* =========================================================
   MOBİL GÖRÜNÜM V7 (Kusursuz Oranlar ve Yeni Mail Konumu)
   ========================================================= */
@media only screen and (max-width: 768px) {
    html, body { overflow-x: hidden !important; width: 100% !important; }

    /* 1. HEADER */
    .navbar {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 35px 20px 10px 20px !important;
    }
    .logo-area { display: block !important; }
    .logo-img { max-width: 55px !important; height: auto !important; }
    .nav-right {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
        margin-top: 0 !important;
    }
    .nav-link { font-size: 0.75rem !important; }
    .nav-right .social-icons { display: flex !important; gap: 10px !important; }

    /* 2. HERO */
    .hero-content h1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    .hero-content .divider p { font-size: 0.75rem !important; }
    .btn-group { display: flex !important; flex-direction: column !important; gap: 15px !important; align-items: center !important; }
    .btn { width: 100% !important; max-width: 280px !important; }

    /* 3. EĞİTİMLERİMİZ (Kutu şekli/boyutu korundu) */
    .carousel-container { overflow-x: auto !important; padding-bottom: 15px !important; }
    .carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 15px !important;
        width: max-content !important;
    }
    .course-wrapper {
        flex: 0 0 175px !important;
        width: 175px !important;
    }

    /* 4. %6 HAFİF ZOOM (Siyahlık yok, tam bilgisayar orantısı) */
    .course-wrapper, .service-wrapper {
        border-radius: 12px !important;
        overflow: hidden !important; 
        background: transparent !important; 
        margin: 0 !important;
        padding: 0 !important;
        font-size: 0 !important; 
        line-height: 0 !important;
        display: block !important;
    }
    .course-wrapper img, .service-wrapper img {
        width: 100% !important;
        height: 100% !important;
        display: block !important;
        object-fit: cover !important;
        transform: scale(1.01) !important; /* Zoom tam kararında küçültüldü */
        transform-origin: center center !important;
        border-radius: 12px !important;
        margin: 0 !important;
    }

    /* 5. TOPLULUK VE YARIŞMA */
    .comm-card {
        border-radius: 12px !important;
        overflow: hidden !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .comm-img {
        width: 100% !important;
        height: auto !important;
        max-height: 220px !important;
        display: block !important;
        object-fit: cover !important;
        transform: scale(1.10) !important; 
        transform-origin: center center !important;
        margin: 0 0 15px 0 !important;
    }

    /* 6. GRIDLER VE HİZALAMA */
    .services-grid, .community-grid, .about-grid, .contact-grid { display: flex !important; flex-direction: column !important; gap: 30px !important; padding: 15px !important; }
    .contact-form { width: 100% !important; max-width: 100% !important; padding: 15px !important; box-sizing: border-box !important; }
    h2 { font-size: 1.5rem !important; text-align: center !important; }
    .about-text, .contact-text, .comm-content, .section-subtitle, .desc-text { text-align: center !important; }
    .comm-content ul { display: inline-block !important; text-align: left !important; margin-top: 15px !important; }

    /* 7. FOOTER (Mail tam kırmızı çizgiye oturtuldu) */
    footer {
        position: relative !important;
        padding-bottom: 0 !important; 
    }
    .footer-grid {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        align-items: center !important; 
        text-align: center !important;
        padding: 20px 15px 50px 15px !important; /* Alt tarafa mail için estetik boşluk açıldı */
    }
    .footer-logo {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }
    .footer-logo img {
        max-width: 65px !important; 
        height: auto !important; 
        transform: none !important; 
        margin-bottom: 0 !important; 
    }
    .footer-links { text-align: center !important; width: 100% !important; }
    
    /* GMAIL YENİ KONUMU */
    .footer-logo p {
        position: absolute !important;
        bottom: 10px !important; /* İletişim yazısının altı, çizginin üstü */
        left: 0 !important;
        right: 0 !important;
        text-align: center !important;
        margin: 0 auto !important;
        font-size: 1.05rem !important; /* Boyutu estetik olarak artırıldı */
    }

    /* EN ALT SATIR */
    .footer-bottom {
        display: flex !important;
        flex-direction: row !important; 
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px !important;
        margin-bottom: 0 !important; 
    }
    .footer-bottom p { margin: 0 !important; font-size: 0.8rem !important; }
    .footer-bottom .social-icons { display: flex !important; gap: 15px !important; }
}
