/* ==========================================================================
   1. Genel Ayarlar ve Değişkenler (Modern Kurumsal Tema)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root{
    --primary: #E5252A;
    --primary-2: #b9171b;
    --ink: #0b1220;
    --navy: #0b1b2a;
    --steel: #1a2e40;

    --bg: #ffffff;
    --surface: #ffffff;
    --surface-2: #f6f7f9;
    --text: #111827;
    --muted: #6b7280;
    --border: rgba(17,24,39,0.12);

    --shadow-sm: 0 6px 16px rgba(0,0,0,0.06);
    --shadow-md: 0 14px 35px rgba(0,0,0,0.12);

    --radius: 14px;
    --radius-sm: 10px;

    --focus: 0 0 0 4px rgba(229,37,42,0.22);

    --header-h: 86px;
    --maxw: 1200px;

    --ease: cubic-bezier(.2,.8,.2,1);
}

/* Dark theme */
html[data-theme="dark"]{
    --bg: #070b12;
    --surface: #0b1220;
    --surface-2: #0f1a2b;
    --text: #e5e7eb;
    --muted: rgba(229,231,235,0.72);
    --border: rgba(255,255,255,0.12);
    --shadow-sm: 0 10px 24px rgba(0,0,0,0.35);
    --shadow-md: 0 18px 46px rgba(0,0,0,0.55);
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

img{ max-width:100%; height:auto; }
a{ color: inherit; }
.container{
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 20px;
}

/* Skip link */
.skip-link{
    position:absolute;
    left:-999px;
    top:10px;
    background: var(--surface);
    color: var(--text);
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--border);
    z-index: 3000;
}
.skip-link:focus{ left: 12px; box-shadow: var(--focus); outline:none; }

/* Background layers */
.bg-mesh{
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: 0.9;
    background:
        radial-gradient(60vmax 60vmax at 15% 10%, rgba(229,37,42,0.14), transparent 60%),
        radial-gradient(55vmax 55vmax at 85% 0%, rgba(26,46,64,0.22), transparent 62%),
        radial-gradient(55vmax 55vmax at 90% 85%, rgba(229,37,42,0.10), transparent 60%),
        radial-gradient(60vmax 60vmax at 5% 85%, rgba(26,46,64,0.18), transparent 65%);
    filter: saturate(1.05);
}
html[data-theme="dark"] .bg-mesh{
    opacity: 0.55;
    filter: saturate(1.1);
}

.bg-particles{
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.55;
    mix-blend-mode: normal;
}
html[data-theme="dark"] .bg-particles{ opacity: 0.35; }

/* Reveal animation helpers */
.reveal{
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible{
    opacity: 1;
    transform: translateY(0);
}
.reveal.reveal-scale{ transform: translateY(18px) scale(0.985); }
.reveal.reveal-scale.is-visible{ transform: translateY(0) scale(1); }

@media (prefers-reduced-motion: reduce){
    *{ scroll-behavior: auto !important; }
    .reveal{ transition:none !important; opacity:1 !important; transform:none !important; }
    .bg-particles{ display:none !important; }
}

/* ==========================================================================
   2. Header ve Navigasyon
   ========================================================================== */

.main-header{
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: var(--header-h);
}

.header-flex{
    display:flex;
    justify-content: space-between;
    align-items: center;
    min-height: var(--header-h);
    gap: 16px;
}

.logo a{ display:inline-block; }
.site-logo{ max-height: 60px; width:auto; display:block; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.08)); }

.main-nav{ display:block; }
.main-nav ul{
    list-style:none;
    display:flex;
    gap: 10px;
    align-items: center;
}
.main-nav a{
    text-decoration:none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 12px;
    border-radius: 12px;
    transition: transform 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease), box-shadow 220ms var(--ease);
    border: 1px solid transparent;
}
.main-nav a:hover{
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    border-color: color-mix(in srgb, var(--border) 70%, transparent);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.main-nav a.active{
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(229,37,42,0.25);
}

.header-actions{
    display:flex;
    align-items:center;
    gap: 10px;
}

.theme-toggle{
    display:inline-flex;
    align-items:center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 85%, transparent);
    color: var(--text);
    cursor: pointer;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
.theme-toggle:hover{
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}
.theme-toggle:focus{ outline:none; box-shadow: var(--focus); }
.theme-toggle-icon{
    width: 22px;
    height: 22px;
    border-radius: 999px;
    position: relative;
    display:inline-block;
    background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,0.2));
    box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--border) 65%, transparent);
}
html[data-theme="dark"] .theme-toggle-icon{
    background: radial-gradient(circle at 30% 30%, rgba(229,37,42,0.9), rgba(229,37,42,0.25));
}
.theme-toggle-text{
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
}

/* Hamburger */
.hamburger-btn{
    display:none;
    flex-direction: column;
    justify-content: space-around;
    width: 34px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2001;
}
.hamburger-btn .bar{
    width: 100%;
    height: 3px;
    background-color: var(--text);
    border-radius: 99px;
    transition: all 0.35s var(--ease);
}
.hamburger-btn.active .bar:nth-child(1){ transform: translateY(10px) rotate(45deg); }
.hamburger-btn.active .bar:nth-child(2){ opacity:0; }
.hamburger-btn.active .bar:nth-child(3){ transform: translateY(-10px) rotate(-45deg); }

.mobile-nav{
    display:none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: color-mix(in srgb, var(--navy) 92%, transparent);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.45s var(--ease);
    z-index: 2000;
    border-right: 1px solid rgba(255,255,255,0.10);
}
.mobile-nav.active{ left: 0; }
.mobile-nav ul{ list-style:none; text-align:center; }
.mobile-nav li{ margin: 18px 0; }
.mobile-nav a{
    color: #fff;
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    opacity: 0.95;
}
.mobile-nav a.active{ color: var(--primary); }

/* ==========================================================================
   4. Genel Sayfa Elementleri
   ========================================================================== */

.page-header-container{
    padding: 46px 0;
    background: color-mix(in srgb, var(--surface-2) 70%, transparent);
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}
.page-title{
    font-size: 2.4rem;
    color: var(--text);
    text-align:center;
    letter-spacing: -0.5px;
}
.beta-notice{
    background: color-mix(in srgb, var(--surface-2) 75%, transparent);
    color: var(--text);
    text-align: center;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.beta-notice p{ margin:0; color: var(--muted); }

/* ==========================================================================
   5. Ana Sayfa Özel Stilleri
   ========================================================================== */

.hero{
    padding: 20px 0 !important;
    min-height: auto !important;
    position: relative;
}
.hero-flex{
    display:flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 10px 0 !important;
    text-align: left !important;
}
.hero-content-left{
    flex: 1;
}
.hero-content-left h1{
    font-size: 3rem !important;
    margin-bottom: 10px !important;
    letter-spacing: -0.9px;
}
.hero-content-left p{
    font-size: 1.25rem !important;
    line-height: 1.5 !important;
    color: var(--muted);
}
.hero-promo-right{
    flex: 1;
    display:flex;
    justify-content: flex-end;
}
.promo-box{
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 10px 0;
    border-radius: 16px;
}
.img-main{
    width: 100%;
    height: auto;
    border-radius: 16px;
    display:block;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transform: translateZ(0);
}
.img-main:hover{
    box-shadow: 0 22px 60px rgba(0,0,0,0.18);
}
.img-signature{
    position:absolute;
    top: -18px;
    right: -18px;
    width: 110px;
    z-index: 5;
    filter: drop-shadow(0 12px 25px rgba(0,0,0,0.18));
}
.btn-imza{
    position:absolute;
    bottom: 14px;
    left: 14px;
    background: rgba(229, 37, 42, 0.92);
    color: #fff;
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration:none;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.2px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.20);
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease);
}
.btn-imza:hover{
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(229,37,42,0.35);
    background: rgba(229, 37, 42, 1);
}

.ataturk-quote-section{
    position: relative;
    padding: 120px 20px;
    background-image: url('/images/ataturk.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.ataturk-quote-section::before{
    content:'';
    position:absolute;
    top:0; left:0;
    width:100%; height:100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.55), rgba(0,0,0,0.70));
    z-index:1;
}
.ataturk-quote-section .container{ position:relative; z-index:2; }
.ataturk-quote-section blockquote{
    color: #fff;
    font-size: 2.4rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.35;
    max-width: 880px;
    margin: 0 auto;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    border: none;
    padding: 0;
}

.principles-section{
    padding: 60px 0;
}
.principles-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
}
.principle-card{
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--border);
    padding: 26px;
    text-align:center;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow:hidden;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
}
.principle-card::before{
    content:'';
    position:absolute;
    inset: -2px;
    background: radial-gradient(400px 180px at 10% 0%, rgba(229,37,42,0.15), transparent 60%);
    opacity: 0;
    transition: opacity 260ms var(--ease);
}
.principle-card:hover{
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.principle-card:hover::before{ opacity: 1; }
.principle-card img{ height: 60px; margin-bottom: 18px; }
.principle-card h3{ color: var(--text); font-size: 1.2rem; margin-bottom: 10px; }
.principle-card p{ color: var(--muted); }

/* ==========================================================================
   6. İç Sayfa Stilleri
   ========================================================================== */

.main-content{ padding: 60px 0; }
.main-content h2{
    text-align:center;
    font-size: 2.1rem;
    margin-bottom: 40px;
    color: var(--text);
    letter-spacing: -0.4px;
}

.news-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.news-card{
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow:hidden;
    display:flex;
    flex-direction: column;
    text-decoration:none;
    color: var(--text);
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
    box-shadow: var(--shadow-sm);
}
.news-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
}
.card-image img{
    width:100%;
    height: 210px;
    object-fit: cover;
    display:block;
    filter: saturate(1.05) contrast(1.02);
}
.card-content{
    padding: 20px;
    flex-grow: 1;
    display:flex;
    flex-direction: column;
    gap: 10px;
}
.card-category{
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 999px;
    align-self: flex-start;
    letter-spacing: 0.2px;
}
.card-title{
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}
.card-excerpt{
    font-size: 0.96rem;
    color: var(--muted);
    flex-grow: 1;
}
.card-date{
    font-size: 0.85rem;
    color: color-mix(in srgb, var(--muted) 85%, transparent);
    text-align: right;
}

.all-news-button-container{ text-align:center; margin-top: 40px; }
.all-news-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap: 10px;
    background: linear-gradient(135deg, var(--steel), var(--navy));
    color:#fff;
    padding: 12px 30px;
    border-radius: 14px;
    text-decoration:none;
    font-weight: 800;
    letter-spacing: 0.2px;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
    border: 1px solid rgba(255,255,255,0.08);
}
.all-news-button:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.instagram-promo-box{
    display:flex;
    align-items:center;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    border: 1px solid var(--border);
    padding: 26px;
    border-radius: var(--radius);
    margin-bottom: 50px;
    gap: 24px;
    flex-wrap: wrap;
    justify-content:center;
    box-shadow: var(--shadow-sm);
}
.instagram-preview-img{
    max-width: 250px;
    width: 100%;
    height:auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    flex-shrink:0;
}
.promo-content{ text-align:center; }
.promo-content p{ margin:0 0 10px 0; font-size: 1.05rem; color: var(--muted); }
.promo-content a{
    font-weight: 800;
    color: var(--primary);
    text-decoration:none;
    font-size: 1.1rem;
}
.promo-content a:hover{ text-decoration: underline; }

.team-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.team-card{
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align:center;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
    box-shadow: var(--shadow-sm);
}
.team-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.president-title-header{
    text-align:center;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 22px;
}
.president-section{
    display:grid;
    grid-template-columns: auto 1fr;
    align-items:center;
    gap: 34px;
    margin-bottom: 40px;
}
.president-message{ text-align:left; }
.president-message h3{
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 12px;
    letter-spacing: -0.4px;
}
.president-message p{
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--muted);
}

.section-divider{
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 30px auto 50px auto;
    width: 85%;
}
.team-card-img{
    width: 130px;
    height: 130px;
    border-radius: 16px;
    object-fit: cover;
    margin: 0 auto 18px auto;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.team-card-name{
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}
.team-card-title{
    font-size: 1rem;
    color: var(--primary);
    font-weight: 700;
    margin-top: 6px;
}
.bio-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: linear-gradient(135deg, var(--steel), var(--navy));
    color: #fff;
    padding: 10px 20px;
    border-radius: 14px;
    text-decoration:none;
    font-weight: 800;
    margin-top: 18px;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
    border: 1px solid rgba(255,255,255,0.08);
}
.bio-button:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.bio-page-container{ max-width: 840px; margin: 0 auto; padding-bottom: 60px; }
.bio-header{ text-align:center; margin-bottom: 36px; }
.bio-photo{
    width: 180px;
    height: 180px;
    border-radius: 18px;
    object-fit: cover;
    margin-bottom: 18px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
}
.bio-name{ font-size: 2.3rem; color: var(--text); margin-bottom: 5px; letter-spacing: -0.6px; }
.bio-title{ font-size: 1.1rem; color: var(--primary); font-weight: 800; }
.bio-details{
    margin-top: 26px;
    padding: 22px;
    background: color-mix(in srgb, var(--surface-2) 70%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.bio-details p{
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 14px;
    border-bottom: 1px dashed color-mix(in srgb, var(--border) 75%, transparent);
    padding-bottom: 14px;
    display:flex;
    align-items:center;
    flex-wrap: wrap;
    gap: 10px;
}
.bio-details p:last-child{ margin-bottom:0; border-bottom:none; padding-bottom:0; }
.bio-details strong{ color: var(--muted); display:inline-block; width: 160px; flex-shrink:0; }
.bio-content{ font-size: 1.07rem; line-height: 1.85; color: var(--muted); }
.bio-content h3{ color: var(--text); margin-bottom: 12px; }
.bio-content p{ margin-bottom: 1.4em; }
.back-link{
    display:inline-block;
    margin-top: 34px;
    color: var(--text);
    text-decoration:none;
    font-weight: 800;
}
.back-link:hover{ text-decoration: underline; }

.bio-email-link{
    display:inline-block;
    margin-top: 15px;
    color: var(--muted);
    text-decoration:none;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s;
}
.bio-email-link:hover{ color: var(--primary); }

/* Contact */
.contact-intro{
    text-align:center;
    max-width: 740px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
    color: var(--muted);
}
.contact-grid{
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}
.contact-card{
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 34px 24px;
    text-align:center;
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
    box-shadow: var(--shadow-sm);
}
.contact-card:hover{
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.contact-card .icon-container{ margin-bottom: 18px; }
.contact-card .icon-container svg{ width: 52px; height: 52px; fill: var(--primary); }
.contact-card h3{ font-size: 1.35rem; color: var(--text); margin-bottom: 10px; font-weight: 900; }
.contact-card p{ color: var(--muted); margin-bottom: 22px; min-height: 48px; }
.contact-card .contact-link{
    display:inline-flex;
    justify-content:center;
    background: linear-gradient(135deg, var(--steel), var(--navy));
    color:#fff;
    padding: 12px 26px;
    border-radius: 14px;
    text-decoration:none;
    font-weight: 900;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
    border: 1px solid rgba(255,255,255,0.08);
}
.contact-card .contact-link:hover{
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.contact-info{
    font-weight: 900;
    color: var(--text);
    font-size: 1.05rem;
    word-break: break-all;
    margin-bottom: 18px !important;
}
.map-section{ margin-top: 60px; }
.map-container{
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow:hidden;
    height: 420px;
    box-shadow: var(--shadow-sm);
    background: var(--surface);
}
.map-container iframe{ width:100%; height:100%; border:0; }

/* Forms */
.form-container{
    max-width: 740px;
    margin: 0 auto;
    background: color-mix(in srgb, var(--surface) 95%, transparent);
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.form-group{ margin-bottom: 18px; }
.form-group label{
    display:block;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text);
}
.form-control{
    width:100%;
    padding: 12px 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: var(--surface);
    color: var(--text);
    transition: box-shadow 220ms var(--ease), border-color 220ms var(--ease), transform 220ms var(--ease);
}
.form-control:focus{
    outline:none;
    border-color: color-mix(in srgb, var(--primary) 65%, var(--border));
    box-shadow: var(--focus);
}
textarea.form-control{ min-height: 150px; resize: vertical; }

.honeypot-field{ display:none; }

.submit-btn{
    display:flex;
    width:100%;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color:#fff;
    border:none;
    border-radius: 14px;
    font-size: 1.05rem;
    font-weight: 900;
    cursor:pointer;
    transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.submit-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(229,37,42,0.25);
}
.submit-btn:disabled{
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.form-message{
    padding: 18px 18px;
    border-radius: var(--radius);
    margin-bottom: 18px;
    text-align:center;
    border: 1px solid var(--border);
}
.form-success{
    background: color-mix(in srgb, #0f5132 10%, var(--surface));
    color: var(--text);
}
.form-error{
    background: color-mix(in srgb, #842029 10%, var(--surface));
    color: var(--text);
}
.form-help-text{
    font-size: 0.9rem;
    color: var(--muted);
    margin-top: 6px;
}
.checkbox-group{
    display:flex;
    align-items:flex-start;
    gap: 10px;
    padding: 12px;
    background: color-mix(in srgb, var(--surface-2) 70%, transparent);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.checkbox-group input{ width:auto; margin-top: 6px; }
.checkbox-group label{
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--muted);
}

/* Andımız */
.andimiz-layout{
    display:flex;
    align-items:center;
    gap: 40px;
}
.ataturk-image-container{ flex:1; max-width: 360px; }
.ataturk-image-container img{
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.oath-text-container{ flex: 1.5; }
.oath-container{
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--border);
    border-left: 6px solid var(--primary);
    padding: 26px 32px;
    font-size: 1.15rem;
    line-height: 2;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}
.oath-container p{ margin-bottom: 1em; color: var(--text); }

/* Regulations */
.regulations-list{
    display:flex;
    flex-direction: column;
    gap: 14px;
    max-width: 920px;
    margin: 0 auto;
}
.regulation-item{
    display:flex;
    align-items:center;
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 18px;
    text-decoration:none;
    color: var(--text);
    transition: transform 240ms var(--ease), box-shadow 240ms var(--ease);
    box-shadow: var(--shadow-sm);
}
.regulation-item:hover{
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.regulation-item .icon{
    font-size: 2rem;
    color: var(--primary);
    margin-right: 16px;
}
.regulation-item .content{ display:flex; flex-direction: column; }
.regulation-item .title{ font-size: 1.05rem; font-weight: 900; margin:0; }
.regulation-item .date{ font-size: 0.92rem; color: var(--muted); margin-top: 4px; }

/* ==========================================================================
   7. Footer
   ========================================================================== */

.main-footer{
    background: color-mix(in srgb, #060a12 92%, transparent);
    color: #f0f0f0;
    padding: 46px 0;
    border-top: 5px solid var(--primary);
    position: relative;
}
.main-footer .container{
    display:flex;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-about, .footer-links{
    flex:1;
    min-width: 220px;
}
.footer-contact-wrapper{
    flex: 2;
    min-width: 300px;
    display:flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-social, .footer-logo{ flex-shrink:0; }
.footer-about h4, .footer-links h4, .footer-social h4{
    font-size: 1.15rem;
    margin-bottom: 14px;
    color: #fff;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 6px;
    display:inline-block;
}
.footer-links ul{ list-style:none; }
.footer-links ul li{ margin-bottom: 10px; }
.footer-links a{
    color: #c9c9c9;
    text-decoration:none;
    transition: color 220ms var(--ease);
}
.footer-links a:hover{ color: var(--primary); }
.social-icons{
    display:flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items:center;
}
.social-icons a{
    display:inline-flex;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.10);
    transition: transform 220ms var(--ease), background-color 220ms var(--ease);
    background: rgba(255,255,255,0.04);
}
.social-icons a:hover{
    transform: translateY(-2px);
    background: rgba(255,255,255,0.08);
}
.social-icons svg{
    width: 26px;
    height: 26px;
    fill: #d0d0d0;
    transition: fill 220ms var(--ease);
}
.social-icons a:hover svg{ fill: var(--primary); }
.footer-action-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 14px;
    text-decoration:none;
    font-weight: 900;
    font-size: 0.98rem;
    margin-top: 10px;
    transition: transform 220ms var(--ease), background-color 220ms var(--ease), color 220ms var(--ease);
}
.footer-action-button:hover{
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-logo img{
    max-width: 180px;
    height:auto;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.12);
}
.footer-bottom{
    text-align:center;
    padding-top: 18px;
    margin-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.70);
    width:100%;
}

/* Scroll-to-top */
.to-top{
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 80%, transparent);
    color: var(--text);
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size: 20px;
    font-weight: 900;
    box-shadow: var(--shadow-sm);
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
    transition: opacity 240ms var(--ease), transform 240ms var(--ease);
    z-index: 2200;
}
.to-top.is-visible{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.to-top:focus{ outline:none; box-shadow: var(--focus); }

/* ==========================================================================
   8. Etkinlik Sayfası (Mevcut tasarım korunup inceltildi)
   ========================================================================== */

.event-section{
    padding: 60px 20px;
    background: transparent;
}
.section-title{
    text-align:center;
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 40px;
}
.section-title.underlined{
    display:inline-block;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 8px;
}
.event-container{
    max-width: 1000px;
    margin: 0 auto;
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items:center;
}
.event-image-card, .event-details-card{
    background: color-mix(in srgb, var(--surface) 94%, transparent);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow:hidden;
}
.event-image-card img{ width:100%; height:auto; display:block; }
.event-details-card{ padding: 26px; }
.event-details-card h2{
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.2;
}
.event-details-card .event-subtitle{
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text);
}
.event-details-card p{
    font-size: 1rem;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 22px;
}
.event-info{
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 26px;
    line-height: 1.7;
}
.event-info strong{ color: var(--text); }
.countdown-timer{
    display:flex;
    gap: 12px;
    text-align:center;
    flex-wrap: wrap;
}
.countdown-unit{
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color:#fff;
    padding: 10px 14px;
    border-radius: 14px;
    min-width: 70px;
    flex-grow: 1;
    box-shadow: 0 16px 34px rgba(229,37,42,0.22);
}
.countdown-unit span{
    display:block;
    font-size: 1.8rem;
    font-weight: 900;
}
.countdown-unit p{
    font-size: 0.78rem;
    margin:0;
    text-transform: uppercase;
    opacity: 0.95;
}
.past-events-section{
    text-align:center;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}
.no-events-message{
    font-size: 1.05rem;
    color: var(--muted);
    margin-top: 28px;
}

/* ==========================================================================
   9. Mobil ve Tablet Uyumluluğu
   ========================================================================== */

@media (max-width: 992px){
    .hero-content-left h1{ font-size: 2.5rem !important; }
    .hero-content-left p{ font-size: 1.1rem !important; }
    .ataturk-quote-section{ padding: 100px 20px; }
    .ataturk-quote-section blockquote{ font-size: 2.1rem; }
    .event-details-card h2{ font-size: 2.1rem; }
}

@media (max-width: 850px){
    .main-nav{ display:none; }
    .hamburger-btn{ display:flex; }
    .mobile-nav{ display:flex; }

    .hero-flex{
        flex-direction: column;
        text-align: center !important;
    }
    .hero-promo-right{
        justify-content:center;
        margin-top: 24px;
    }

    .event-container{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .event-details-card{ padding: 24px; }
}

@media (max-width: 768px){
    .container{ padding: 0 15px; }
    .main-content, .principles-section, .event-section{ padding: 40px 0; }
    .page-header-container{ padding: 32px 0; margin-bottom: 30px; }
    .page-title{ font-size: 2rem; }
    .ataturk-quote-section{ padding: 80px 15px; background-attachment: scroll; }
    .ataturk-quote-section blockquote{ font-size: 1.75rem; }
    .main-content h2, .section-title{ font-size: 1.75rem; margin-bottom: 28px; }

    .president-section{
        grid-template-columns: 1fr;
        text-align:center;
        gap: 18px;
    }
    .president-message{ text-align:center; }

    .andimiz-layout{
        flex-direction: column;
        text-align:center;
    }
    .oath-container{
        text-align:left;
        padding: 20px 22px;
        font-size: 1.07rem;
    }

    .main-footer .container, .footer-contact-wrapper{
        flex-direction: column;
        align-items:center;
        text-align:center;
    }
    .footer-contact-wrapper{
        justify-content:center;
        gap: 34px;
    }
    .social-icons{ justify-content:center; }
    .footer-about h4, .footer-links h4, .footer-social h4{ display:block; }
}

@media (max-width: 480px){
    .container{ padding: 0 10px; }
    .form-container{ padding: 20px; }
    .form-control{ font-size: 16px !important; }

    .countdown-unit{ padding: 8px 10px; min-width: 60px; }
    .countdown-unit span{ font-size: 1.5rem; }
    .countdown-unit p{ font-size: 0.7rem; }

    .contact-card h3{ font-size: 1.2rem; }
    .bio-name{ font-size: 1.8rem; }
    .bio-title{ font-size: 1.05rem; }
}

