/* Kartal Havacılık Teknolojileri Spor Okulu - Drone Soccer */
/* Tema: Ters renkler - Krem önde, lacivert arkada */

:root {
    /* Logo renkleri */
    --navy: #0f2744;
    --navy-dark: #0a1c33;
    --navy-light: #1a3a5c;
    --cream: #f8f6f0;
    --cream-dark: #efece4;
    --cream-light: #fdfbf7;
    /* Ters: cream önde, navy arka planda */
    --bg-dark: #0f2744;
    --bg-darker: #0a1c33;
    --fg-light: #f8f6f0;
    --fg-muted: #d0ccc0;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--fg-light);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.header.scrolled {
    background: rgba(15, 39, 68, 0.98);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.header.scrolled .logo {
    color: var(--cream);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--navy);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.header.scrolled .nav-links a {
    color: var(--cream);
}

.nav-links a:hover {
    color: var(--navy-light);
}

.header.scrolled .nav-links a:hover {
    color: var(--cream-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s;
}

.header.scrolled .nav-toggle span {
    background: var(--cream);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 50%, var(--cream-light) 100%);
    z-index: 0;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(15, 39, 68, 0.06) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

.wave-2 { animation-delay: -7s; background: radial-gradient(circle at 70% 30%, rgba(15, 39, 68, 0.08) 0%, transparent 40%); }
.wave-3 { animation-delay: -14s; background: radial-gradient(circle at 50% 50%, rgba(15, 39, 68, 0.04) 0%, transparent 60%); }

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-logo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--navy);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.hero-slogan {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 24px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--navy-light);
    margin-bottom: 32px;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px 24px;
    margin-bottom: 40px;
}

.feature {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    font-size: 0.95rem;
}

.feature .check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--navy);
    color: var(--cream);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s;
}

.btn-primary {
    background: var(--navy);
    color: var(--cream);
}

.btn-primary:hover {
    background: var(--navy-dark);
    color: var(--cream);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 80px 0;
    background: var(--cream);
}

.section-alt {
    background: var(--navy);
}

.section-highlight {
    background: var(--cream-light);
    color: var(--navy);
}


.section-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 12px;
    text-align: center;
}

.section-alt .section-title {
    color: var(--cream);
}

.section-highlight .section-title {
    color: var(--navy);
}

.section-contact .section-title {
    color: var(--cream);
}

.section-subtitle {
    text-align: center;
    color: #5c6370;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-alt .section-subtitle {
    color: var(--fg-muted);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.section-alt .about-text .lead {
    color: var(--cream);
}

.about-text p {
    margin-bottom: 16px;
    color: #334155;
}

.section-alt .about-text p {
    color: var(--fg-muted);
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--cream);
}

.section-alt .about-logo-circle {
    border-color: var(--cream);
}

.about-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.feature-card {
    background: var(--cream);
    padding: 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s;
    border: 2px solid var(--navy);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card .check {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: var(--navy);
    color: var(--cream);
    border-radius: 50%;
    line-height: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-weight: 600;
    color: var(--navy);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat {
    text-align: center;
    padding: 20px;
}

.stat strong {
    display: block;
    font-size: 1.1rem;
    color: var(--navy);
}

.section-alt .stat strong {
    color: var(--cream);
}

.stat span {
    font-size: 0.9rem;
    color: #5c6370;
}

.section-alt .stat span {
    color: var(--fg-muted);
}

/* Importance */
.importance-content {
    max-width: 700px;
    margin: 0 auto;
}

.section-highlight .importance-content p {
    font-size: 1.1rem;
    margin-bottom: 16px;
    line-height: 1.8;
    color: var(--navy);
}

/* Benefits */
.benefits-grid {
    display: grid;
    gap: 24px;
}

.benefit-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.benefit-card h3 {
    color: var(--cream);
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.benefit-card p {
    color: var(--fg-muted);
    margin-bottom: 12px;
}

.benefit-card ul {
    list-style: none;
}

.benefit-card li {
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
    color: var(--fg-muted);
}

.benefit-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cream);
    font-weight: 700;
}

/* Training */
.training-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.training-card {
    background: var(--cream);
    padding: 40px 28px;
    border: 2px solid var(--navy);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.2s;
}

.training-card:hover {
    border-color: var(--navy-light);
    transform: translateY(-4px);
}

.training-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

.training-card h3 {
    color: var(--navy);
    margin-bottom: 8px;
}

.training-card p {
    color: #5c6370;
}

/* Categories */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--navy-light);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--cream);
}

.category-badge {
    display: inline-block;
    background: var(--cream);
    color: var(--navy);
    padding: 8px 20px;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 16px;
}

.category-card h3 {
    color: var(--cream);
    margin-bottom: 8px;
}

.category-card p {
    color: var(--fg-muted);
}

/* Competitions Table */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.competitions-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cream);
    border: 2px solid var(--navy);
}

.competitions-table th,
.competitions-table td {
    padding: 14px 18px;
    text-align: left;
}

.competitions-table th {
    background: var(--navy);
    color: var(--cream);
    font-weight: 600;
}

.competitions-table tr:nth-child(even) {
    background: var(--cream-dark);
}

.competitions-table tr:hover {
    background: var(--cream-light);
}

.competitions-table td {
    color: var(--navy);
}

.competitions-table td:nth-child(4),
.competitions-table td:nth-child(5) {
    text-align: center;
    color: var(--navy-light);
}

/* Contact */
.section-contact {
    background: var(--navy);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px;
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.contact-card:hover {
    border-color: var(--cream);
    transform: translateY(-4px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--fg-muted);
    margin-bottom: 4px;
}

.contact-value {
    font-weight: 700;
    color: var(--cream);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    color: var(--cream);
    padding: 32px 0;
}

.footer-content {
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.95;
    color: var(--cream);
}

.footer-content p + p {
    margin-top: 4px;
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .training-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .logo {
        font-size: 0.65rem;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-light);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: -4px 0 24px rgba(0,0,0,0.1);
        transition: right 0.3s;
    }

    .nav-links.active { right: 0; }

    .nav-links a { color: var(--navy); }

    .nav-toggle { display: flex; }

    .features-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }

    .competitions-table th:nth-child(2),
    .competitions-table td:nth-child(2) {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .section { padding: 48px 0; }
    .hero-features { flex-direction: column; }
}
