/* ==========================================
   SUADİYESPOR KULÜBÜ - BİRLEŞTİRİLMİŞ CSS
   (Ana Sayfa ve Tüm Alt Sayfalar İçin)
   ========================================== */

/* ------------------------------------------
   1. DEĞİŞKENLER VE TEMEL AYARLAR (ORTAK)
   ------------------------------------------ */
:root {
    --brand-green: #0a4f2f;
    --dark-green: #063821;
    --accent-green: #a3e635;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
}

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section { padding: 80px 0; }
.pt-0 { padding-top: 0 !important; }
.bg-light { background-color: var(--bg-light); }

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-green);
    margin-bottom: 50px;
    position: relative;
}
.section-title::after {
    content: ''; display: block; width: 60px; height: 4px;
    background: var(--accent-green); margin: 10px auto 0; border-radius: 2px;
}
.text-white { color: var(--white) !important; }
.text-center { text-align: center; }

/* ------------------------------------------
   2. NAVBAR & FOOTER (ORTAK)
   ------------------------------------------ */
.navbar {
    background-color: var(--brand-green);
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-area { display: flex; align-items: center; gap: 15px; }
.nav-logo { width: 55px; height: auto; }
.logo-text { display: flex; flex-direction: column; }
.club-name { color: var(--white); font-size: 1.3rem; font-weight: 800; letter-spacing: 1px; line-height: 1; }
.est { color: var(--accent-green); font-size: 0.75rem; font-weight: 600; margin-top: 4px; }

.nav-links { display: flex; list-style: none; gap: 25px; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.3s; }
.nav-links a:hover, .nav-links a.active { color: var(--accent-green); }

footer { background: #0f172a; color: #94a3b8; padding: 40px 0; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; }
.social-links { display: flex; gap: 15px; }
.social-links a { color: var(--white); background: rgba(255,255,255,0.1); width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; }
.social-links a:hover { background: var(--accent-green); color: var(--brand-green); }


/* ------------------------------------------
   3. ANA SAYFA ÖZEL (INDEX.PHP)
   ------------------------------------------ */
/* Vitrin (Hero) */
.hero {
    background: linear-gradient(rgba(10, 79, 47, 0.8), rgba(6, 56, 33, 0.9)), url('img/altyapi.jpeg') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0 160px;
    text-align: center;
}
.hero .badge { background: var(--accent-green); color: var(--dark-green); padding: 5px 15px; border-radius: 20px; font-weight: 700; font-size: 0.9rem; display: inline-block; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; font-weight: 800; margin-bottom: 20px; text-transform: uppercase; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; }

.hero-buttons { display: flex; justify-content: center; gap: 15px; }
.btn { padding: 12px 25px; border-radius: 8px; font-weight: 700; text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; justify-content: center; }
.btn-primary { background-color: var(--accent-green); color: var(--dark-green); }
.btn-primary:hover { background-color: #8cc72a; }
.btn-outline { border: 2px solid var(--accent-green); color: var(--accent-green); }
.btn-outline:hover { background-color: var(--accent-green); color: var(--dark-green); }

/* Maç Kartları */
.match-banner { margin-top: -80px; position: relative; z-index: 10; margin-bottom: 40px; }
.match-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.match-card { background: var(--white); padding: 25px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-top: 5px solid var(--brand-green); }
.card-tag { font-size: 0.85rem; font-weight: 700; text-align: center; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); margin-bottom: 20px; }
.tag-done { color: var(--brand-green); }
.tag-next { color: #f59e0b; }
.teams-versus { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.team { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 33%; text-align: center; font-weight: 700; font-size: 0.95rem; }
.team-icon { font-size: 2rem; color: var(--text-muted); }
.score-box { display: flex; align-items: center; gap: 10px; background: var(--bg-light); padding: 10px 20px; border-radius: 8px; font-size: 1.8rem; font-weight: 800; }
.score.win { color: var(--brand-green); }
.vs { font-size: 1.5rem; font-weight: 800; color: var(--text-muted); }
.match-info { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); background: var(--bg-light); padding: 10px; border-radius: 6px; }

/* Kulübümüz (Ana Sayfa Özeti) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-image-wrapper { position: relative; }
.about-img { width: 100%; height: 400px; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.img-badge { position: absolute; bottom: -20px; right: -20px; background: var(--brand-green); color: var(--white); padding: 15px 25px; border-radius: 10px; display: flex; align-items: center; gap: 10px; font-weight: 600; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.about-text h3 { font-size: 1.8rem; color: var(--brand-green); margin-bottom: 15px; }
.about-text p { color: var(--text-muted); margin-bottom: 20px; }
.about-list { list-style: none; margin-bottom: 30px; }
.about-list li { margin-bottom: 10px; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.about-list li i { color: var(--accent-green); }
.about-stats { display: flex; gap: 20px; }
.stat-box { background: var(--bg-light); padding: 20px; border-radius: 12px; text-align: center; flex: 1; border-bottom: 4px solid var(--brand-green); }
.stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--brand-green); }
.stat-label { font-size: 0.9rem; color: var(--text-muted); font-weight: 600; }

/* Haberler */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.news-img-wrapper { position: relative; height: 200px; }
.news-img { width: 100%; height: 100%; object-fit: cover; }
.news-category { position: absolute; top: 15px; left: 15px; background: var(--accent-green); color: var(--dark-green); padding: 5px 12px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; }
.news-content { padding: 25px; }
.news-date { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }
.news-content h4 { font-size: 1.2rem; color: var(--brand-green); margin-bottom: 10px; line-height: 1.4; }
.news-content p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 15px; }
.read-more { color: var(--brand-green); text-decoration: none; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 5px; }

/* Formalarımız (Ana Sayfa Kartları) */
#kits { background: linear-gradient(135deg, var(--brand-green), var(--dark-green)); }
.kits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.kit-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 30px; text-align: center; transition: 0.3s; backdrop-filter: blur(10px); }
.kit-card:hover { transform: translateY(-10px); background: rgba(255, 255, 255, 0.1); }
.kit-img-wrapper { height: 280px; margin-bottom: 20px; }
.kit-img-wrapper img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 15px rgba(0,0,0,0.3)); }
.kit-info h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 5px; }
.kit-tag { color: var(--accent-green); font-size: 0.9rem; font-weight: 600; }

/* İletişim (Ana Sayfa) */
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.info-item { background: var(--white); padding: 30px; border-radius: 12px; display: flex; align-items: flex-start; gap: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.info-item i { font-size: 1.8rem; color: var(--brand-green); }
.info-item h4 { color: var(--brand-green); margin-bottom: 5px; }
.info-item p { color: var(--text-muted); font-size: 0.95rem; }


/* ------------------------------------------
   4. FİKSTÜR VE PUAN SAYFASI (FIKSTUR.PHP)
   ------------------------------------------ */
.page-header {
    background: linear-gradient(rgba(10, 79, 47, 0.9), rgba(6, 56, 33, 0.9)), url('img/altyapi.jpeg') center/cover;
    padding: 60px 0;
    color: var(--white);
    margin-bottom: 40px;
}
.page-header h1 { font-size: 2.5rem; font-weight: 800; }
.page-header p { font-size: 1.1rem; color: var(--accent-green); font-weight: 600; }

.fixture-layout { display: grid; grid-template-columns: 3fr 2fr; gap: 50px; }

/* Puan Tablosu */
.table-responsive { overflow-x: auto; background: var(--white); border-radius: 12px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.standings-table { width: 100%; border-collapse: collapse; text-align: center; }
.standings-table th, .standings-table td { padding: 15px; border-bottom: 1px solid var(--border-color); }
.standings-table th { background-color: var(--brand-green); color: var(--white); font-weight: 700; }
.standings-table tbody tr:hover { background-color: #f8fafc; }
.standings-table td:nth-child(2) { text-align: left; }
.suadiye-row { background-color: rgba(163, 230, 53, 0.15) !important; border-left: 4px solid var(--brand-green); }

/* Maç Takvimi */
.fixture-list { display: flex; flex-direction: column; gap: 15px; }
.fixture-item { display: flex; background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); border-left: 4px solid var(--border-color); }
.fixture-item.played { border-left-color: var(--brand-green); }
.fixture-item.upcoming { border-left-color: #f59e0b; }
.fixture-date { background: var(--bg-light); padding: 15px; display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 90px; border-right: 1px solid var(--border-color); }
.fixture-date span { font-weight: 700; font-size: 0.9rem; color: var(--brand-green); }
.fixture-date small { font-size: 0.75rem; color: var(--text-muted); }
.fixture-match { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.team-name { font-weight: 600; font-size: 0.95rem; flex: 1; text-align: center; }
.team-name.highlight { color: var(--brand-green); font-weight: 800; }
.fixture-score, .fixture-time { background: var(--bg-light); padding: 5px 12px; border-radius: 6px; font-weight: 800; margin: 0 15px; }
.fixture-score { color: var(--brand-green); }
.fixture-time { color: var(--text-muted); }


/* ------------------------------------------
   5. HABERLER SAYFASI ÖZEL (SAYFALAMA)
   ------------------------------------------ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}
.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--text-dark);
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
}
.page-link:hover, .page-link.active {
    background: var(--brand-green);
    color: var(--white);
    border-color: var(--brand-green);
}
.page-link.next-page {
    width: auto;
    padding: 0 20px;
    gap: 10px;
}


/* ------------------------------------------
   6. FORMALAR SAYFASI ÖZEL (BÜYÜK GÖSTERİM)
   ------------------------------------------ */
.kits-showcase {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 20px 0;
}
.kit-display-row {
    display: flex;
    align-items: center;
    gap: 60px;
}
.kit-display-row.reverse {
    flex-direction: row-reverse;
}
.kit-large-img-wrapper {
    flex: 1;
    background: radial-gradient(circle, #ffffff, #e2e8f0);
    border-radius: 24px;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.kit-large-img {
    max-width: 100%;
    max-height: 550px;
    object-fit: contain;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.3));
    transition: transform 0.4s ease;
}
.kit-large-img:hover {
    transform: scale(1.08) rotate(-2deg);
}
.kit-details {
    flex: 1;
}
.kit-badge {
    background: var(--brand-green);
    color: var(--accent-green);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
}
.kit-details h2 {
    font-size: 2.5rem;
    color: var(--brand-green);
    margin-bottom: 20px;
    line-height: 1.2;
}
.kit-details p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
}
.kit-features {
    list-style: none;
    margin-bottom: 30px;
}
.kit-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.kit-features li i {
    color: var(--accent-green);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}


/* ------------------------------------------
   7. İLETİŞİM SAYFASI ÖZEL TASARIMI
   ------------------------------------------ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}
.contact-info-side h2 {
    font-size: 2.2rem;
    color: var(--brand-green);
    margin-bottom: 15px;
}
.contact-info-side > p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
}
.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 35px;
}
.contact-card-item {
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
}
.contact-icon-box {
    background: rgba(10, 79, 47, 0.1);
    color: var(--brand-green);
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.contact-card-item h4 {
    color: var(--brand-green);
    font-size: 1.1rem;
    margin-bottom: 4px;
}
.contact-card-item p {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}
.contact-card-item .sub-text {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
    margin-top: 2px;
}
.contact-socials h4 {
    color: var(--brand-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

/* Form Alanı Stilleri */
.contact-form-side .form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.form-card h3 {
    font-size: 1.8rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}
.form-card > p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: var(--text-dark);
    background: var(--bg-light);
    transition: 0.3s;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-green);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(10, 79, 47, 0.1);
}
.btn-submit {
    width: 100%;
    border: none;
    cursor: pointer;
}


/* ------------------------------------------
   8. HAKKIMIZDA SAYFASI ÖZEL TASARIMI
   ------------------------------------------ */
.about-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}
.about-page-img-box {
    position: relative;
}
.about-page-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.est-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--brand-green);
    color: var(--white);
    padding: 20px 25px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: 3px solid var(--accent-green);
}
.est-badge span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-green);
    font-weight: 600;
    text-transform: uppercase;
}
.est-badge strong {
    font-size: 1.8rem;
    font-weight: 800;
}
.sub-badge {
    background: rgba(163, 230, 53, 0.2);
    color: var(--brand-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.about-page-text h2 {
    font-size: 2.3rem;
    color: var(--brand-green);
    margin-bottom: 20px;
    line-height: 1.2;
}
.about-page-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Misyon Vizyon Kartları */
.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.vm-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
    border-top: 4px solid var(--brand-green);
    transition: 0.3s;
}
.vm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.vm-icon {
    background: rgba(10, 79, 47, 0.1);
    color: var(--brand-green);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}
.vm-card h3 {
    font-size: 1.4rem;
    color: var(--brand-green);
    margin-bottom: 15px;
}
.vm-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Tesisler Bölümü */
.section-title-wrapper {
    text-align: center;
    margin-bottom: 40px;
}
.section-title-wrapper h2 {
    font-size: 2.2rem;
    color: var(--brand-green);
    margin-top: 5px;
    margin-bottom: 10px;
}
.section-title-wrapper p {
    color: var(--text-muted);
    font-size: 1.05rem;
}
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}
.facility-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.facility-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}
.facility-content {
    padding: 25px;
}
.facility-content h4 {
    font-size: 1.3rem;
    color: var(--brand-green);
    margin-bottom: 10px;
}
.facility-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ------------------------------------------
   9. MOBİL UYUMLULUK (MEDIA QUERIES)
   ------------------------------------------ */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .about-img { height: 300px; }
    .img-badge { right: 20px; }
    .fixture-layout { grid-template-columns: 1fr; }
    
    .kit-display-row, .kit-display-row.reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .kit-features li { justify-content: center; }
    .kit-large-img-wrapper { padding: 30px; width: 100%; }
    .kit-large-img { max-height: 400px; }
    .kit-details h2 { font-size: 2rem; }

    .contact-wrapper { grid-template-columns: 1fr; }
    
    .about-page-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-page-img { height: 350px; }
    .est-badge { right: 15px; bottom: -15px; padding: 15px 20px; }
}

@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 15px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    .hero h1 { font-size: 2rem; }
    .hero-buttons { flex-direction: column; }
    .footer-content { flex-direction: column; text-align: center; }
    
    .fixture-match { flex-direction: column; gap: 10px; }
    .fixture-score, .fixture-time { margin: 5px 0; }
}

@media (max-width: 576px) {
    .contact-form-side .form-card { padding: 20px; }
}