﻿/* Genel ve Resetleme Stilleri - AÇIK TEMA */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Manrope', 'Noto Sans', sans-serif;
    background-color: #f4f7f9; /* Açık gri arka plan */
    color: #212529; /* Koyu metin rengi */
}

.main-container {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 960px;
    padding: 1.25rem 1rem;
}

main {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Hero Bölümü */
.hero-section {
    min-height: 480px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.5rem;
    
    
    background-size: cover;
    
   
    background-position: center center;    
    
    background-repeat: no-repeat;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

/* Hero bölümündeki metinler resim üzerinde kalacağı için beyaz olmalı */
.hero-content h1,
.hero-content h2, 
.hero-content h3 {
    color: #ffffff;
}

.hero-content h1 {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.033em;
    margin: 0;
}

.hero-content h2 {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

.hero-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.033em;
    margin: 0;
}

/* Buton Stilleri */
.btn {
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    border: none;
    height: 2.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.015em;
}

.btn-primary {
    background-color: #0d80f2;
    color: #ffffff;
}

.btn span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-large {
    height: 3rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 1rem;
}

/* Bölüm Stilleri */
.section {
    padding-top: 1.25rem;
}

.section-title {
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    padding: 0 1rem 0.75rem 1rem;
    margin: 0;
    color: #212529; /* Koyu başlık */
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 0.25rem 1rem 0.75rem 1rem;
    text-align: center;
    margin: 0;
    color: #6c757d; /* Gri alt başlık */
}

/* Grid ve Kart Stilleri */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
}

.card {
    display: flex;
    flex-grow: 1;
    gap: 0.75rem;
    align-items: center;
    padding: 1rem;
    background-color: #ffffff; /* Beyaz kart arka planı */
    border: 1px solid #dee2e6; /* Açık gri border */
    border-radius: 0.5rem;
    min-height: 40px;
}

.card .icon {
    color: #212529; /* Koyu ikon rengi */
    flex-shrink: 0;
}

.card .icon svg {
    display: block;
}

.card .card-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: #212529; /* Koyu kart başlığı */
}

/* Zaman Çizelgesi (Schedule) Stilleri */
.schedule-grid {
    display: flex;
    flex-direction: column;
    padding: 0 1rem;
}

.timeline-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0 0.5rem;
}

.timeline-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-item:first-of-type .timeline-connector {
    padding-top: 0.75rem;
}

.timeline-item:last-of-type .timeline-connector {
    padding-bottom: 0.75rem;
}

.timeline-icon {
    color: #212529; /* Koyu ikon rengi */
    padding: 0.25rem 0;
}

.timeline-line {
    width: 1.5px;
    background-color: #dee2e6; /* Açık gri çizgi */
    flex-grow: 1;
}

.timeline-item:last-of-type .timeline-line {
    display: none;
}

.timeline-content {
    padding: 0.75rem 0;
}

.timeline-title {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
    color: #212529; /* Koyu metin */
}

.timeline-date {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #6c757d; /* Gri tarih metni */
    margin: 0;
}


/* Başvuru Bölümü */
.apply-section {
    padding-bottom: 2rem;
}

.apply-button-container {
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem;
}

/* SSS (FAQ) Bölümü */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1rem;
}

.faq-item {
    border: 1px solid #dee2e6; /* Açık gri border */
    border-radius: 0.5rem;
    background-color: #ffffff; /* Beyaz arka plan */
    padding: 7px 15px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    cursor: pointer;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    color: #212529; /* Koyu metin */
}
.faq-question p {
    margin: 0;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-icon {
    color: #212529; /* Koyu ikon */
    transition: transform 0.3s ease-in-out;
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding-bottom: 0.5rem;
    color: #6c757d; /* Gri cevap metni */
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding-top: 0.25rem;
}


/* Duyarlı (Responsive) Tasarım */
@media (min-width: 480px) {
    .hero-section {
        gap: 2rem;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content h2 {
        font-size: 1rem;
    }
    .btn {
        height: 3rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        font-size: 1rem;
    }
}

@media (min-width: 960px) {
    .content-wrapper {
        padding: 1.25rem 2.5rem;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title, .section-subtitle {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    .grid-container, .schedule-grid, .faq-container {
        padding-left: 0;
        padding-right: 0;
    }
    .apply-section .section-subtitle {
        text-align: center;
    }
    /* Faydalar (Benefits) Kartı için ek stiller */
.card.benefit-card {
    align-items: flex-start; /* İkonu içeriğin üstüne hizala */
    gap: 1rem; /* İkon ve içerik arası boşluk */
}

.card-content {
    display: flex;
    flex-direction: column;
}

.card-description {
    font-size: 0.875rem; /* 14px */
    color: #6c757d;      /* Gri, ikincil metin rengi */
    margin: 0.25rem 0 0 0; /* Başlığın altında hafif boşluk */
    line-height: 1.5;
}
/* --- SparkHub Başvuru Formu Stilleri --- */

/* Formun genel kapsayıcısı */
.new-contact-form {
    background-color: #ffffff; /* Beyaz form arka planı */
    border: 1px solid #dee2e6;  /* Açık gri çerçeve */
    border-radius: 0.75rem;     /* Köşeleri yuvarlatma */
    padding: 2rem;
    margin-top: 2rem;
}

/* Form içi bölüm başlıkları (BÖLÜM 1, BÖLÜM 2 vs.) */
.new-contact-form h5 {
    color: #0d80f2; /* Ana Mavi Renk */
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Her bir form elemanını (etiket + input) saran grup */
.form-group {
    margin-bottom: 1.25rem;
}

/* Form etiketleri (Adınız Soyadınız, E-posta vs.) */
.form-group label, .form-check-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057; /* Koyu gri metin */
    font-size: 0.9rem;
}

/* Tüm input, select ve textarea alanları için ortak stil */
.form-control {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: #5baffc; /* Odaklanıldığında mavi çerçeve */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Hata durumundaki alanlar için stil (Validation'dan dönerse) */
.form-control.error {
    border-color: #dc3545; /* Kırmızı çerçeve */
}

.form-control.error:focus {
     box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}


/* Onay kutuları (Checkbox) için düzenleme */
.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-input {
    width: 1.25em;
    height: 1.25em;
    margin-right: 0.75rem;
}

.form-check-label {
    margin-bottom: 0; /* Dikey hizalama için */
}

/* Gönder butonu için ek ayar */
.text-right {
    text-align: right;
}

/* Başarı ve Hata mesaj kutuları */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-danger ul {
    margin: 0;
    padding-left: 1.25rem;
}

/* --- Statik Hackathon Formu Stilleri --- */

/* Formu saran ana konteyner */
.form-container {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 2rem;
    margin-top: 2rem;
}

/* Formun genel başlığı */
.form-container h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

/* Formun bölüm başlıkları (BÖLÜM 1, BÖLÜM 2 vb.) */
.form-container h2 {
    font-size: 1.2rem;
    color: #0d80f2; /* Ana Mavi Renk */
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Her bir form elemanını (etiket + input) saran grup */
.form-group {
    margin-bottom: 1.25rem;
}

/* Form etiketleri (Adınız Soyadınız, E-posta vb.) */
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #495057; /* Koyu gri metin */
}

/* Tüm input, select ve textarea alanları için ortak stil */
.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="url"],
.form-container select,
.form-container textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-sizing: border-box;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

/* Bir alana tıklandığında (focus) oluşacak stil */
.form-container input:focus,
.form-container select:focus,
.form-container textarea:focus {
    color: #212529;
    background-color: #fff;
    border-color: #5baffc; /* Odaklanıldığında mavi çerçeve */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Onay kutuları (Checkbox) için düzenleme */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
}

.checkbox-group input {
    margin-top: 0.3rem;
    width: 1em;
    height: 1em;
}

.checkbox-group label a {
    color: #0d80f2;
    text-decoration: none;
}
.checkbox-group label a:hover {
    text-decoration: underline;
}

/* Gönder Butonu */
.submit-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    color: #ffffff;
    background-color: #0d80f2;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.submit-btn:hover {
    background-color: #0b63c1; /* Hover rengi */
}

/* JavaScript ile dinamik alanları gizlemek için yardımcı class */
.hidden {
    display: none !important;
}
}