/* ===== VARIABLES ===== */
:root {
    --green-darkest: #0d1f0d;
    --green-dark:    #1a3a1a;
    --green-mid:     #2d5a2d;
    --green-main:    #3a7a3a;
    --green-bright:  #4e9e4e;
    --green-light:   #7ec87e;
    --green-pale:    #d4edda;
    --gold:          #c9a84c;
    --gold-light:    #f0d080;
    --cream:         #f9f5ec;
    --text-dark:     #1a1a1a;
    --text-mid:      #444;
    --text-light:    #777;
    --white:         #ffffff;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }

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

/* ===== TOPBAR ===== */
.topbar {
    background: var(--green-darkest);
    color: rgba(255,255,255,0.75);
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 7px 0;
}
.topbar .container {
    display: flex;
    gap: 28px;
    align-items: center;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--green-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
    transition: background 0.3s;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 24px;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-emblem {
    width: 52px;
    height: 52px;
    /*background: var(--gold);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 20px;
    color: var(--green-darkest);
    flex-shrink: 0;
    letter-spacing: 1px;
}
.logo-emblem.small { width: 40px; height: 40px; font-size: 15px; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.02em;
}
.logo-sub {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--gold);
    margin-top: 3px;
}

/* NAV */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 4px;
}
.main-nav > ul > li > a {
    color: rgba(255,255,255,0.9);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.01em;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
    background: rgba(255,255,255,0.12);
    color: var(--gold-light);
}

/* DROPDOWN */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    min-width: 230px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: all 0.22s ease;
    overflow: hidden;
    border-top: 3px solid var(--gold);
}
.has-dropdown:hover .dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}
.dropdown li a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.15s;
    border-bottom: 1px solid #f0f0f0;
}
.dropdown li:last-child a { border-bottom: none; }
.dropdown li a:hover {
    background: var(--green-pale);
    color: var(--green-mid);
    padding-left: 26px;
}

/* NAV TOGGLE (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== HERO (default page) ===== */
.hero {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-darkest) 0%, var(--green-mid) 100%);
}
.hero-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(78,158,78,0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201,168,76,0.15) 0%, transparent 40%);
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 24px;
    width: 100%;
}
.hero-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.05;
    margin-bottom: 20px;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.hero-sub {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    max-width: 560px;
    margin: 0 auto 36px;
}
.hero-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(201,168,76,0.2);
    border: 1px solid var(--gold);
    color: var(--gold-light);
    border-radius: 40px;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}
.hero-cta {
    display: inline-block;
    background: var(--gold);
    color: var(--green-darkest);
    font-weight: 700;
    font-size: 15px;
    padding: 14px 36px;
    border-radius: 40px;
    letter-spacing: 0.05em;
    transition: all 0.2s;
}
.hero-cta:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.4);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
    background: linear-gradient(135deg, var(--green-darkest) 0%, var(--green-mid) 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40px;
    background: var(--cream);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .eyebrow {
    font-size: 12px;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 5vw, 52px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
}
.page-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 16px;
    margin-top: 10px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SECTION STYLES ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--white); }
.section-dark {
    background: var(--green-darkest);
    color: var(--white);
}

.section-header { text-align: center; margin-bottom: 48px; }
.section-header .eyebrow {
    font-size: 12px;
    letter-spacing: 0.3em;
    font-weight: 700;
    color: var(--green-main);
    text-transform: uppercase;
    margin-bottom: 8px;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}
.section-header p {
    color: var(--text-mid);
    font-size: 16px;
    max-width: 580px;
    margin: 12px auto 0;
}
.section-dark .section-header h2 { color: var(--white); }
.section-dark .section-header .eyebrow { color: var(--gold); }
.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* ===== CARDS ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.07);
    transition: transform 0.25s, box-shadow 0.25s;
    border: 1px solid rgba(0,0,0,0.05);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}
.card-icon {
    background: linear-gradient(135deg, var(--green-mid), var(--green-main));
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    min-height: 120px;
}
.card-body { padding: 24px; }
.card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.card-body p { color: var(--text-mid); font-size: 15px; line-height: 1.65; }
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-main);
    font-weight: 700;
    font-size: 14px;
    margin-top: 16px;
    transition: gap 0.2s;
}
.card-link:hover { gap: 10px; }

/* ===== LEAF DIVIDER ===== */
.leaf-divider {
    text-align: center;
    padding: 8px 0;
    color: var(--green-main);
    font-size: 22px;
    letter-spacing: 8px;
    opacity: 0.5;
}

/* ===== CONTENT PROSE ===== */
.prose-section { padding: 64px 0; }
.prose-wrapper {
    max-width: 820px;
    margin: 0 auto;
}
.prose-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--green-dark);
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--green-pale);
}
.prose-wrapper h2:first-child { margin-top: 0; }
.prose-wrapper p {
    color: var(--text-mid);
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.8;
}
.prose-wrapper .lead {
    font-size: 18px;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.75;
    border-left: 4px solid var(--gold);
    padding-left: 20px;
    margin-bottom: 28px;
}

/* ===== QUOTE BOX ===== */
.quote-box {
    background: linear-gradient(135deg, var(--green-darkest), var(--green-dark));
    border-radius: 16px;
    padding: 40px 48px;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}
.quote-box::before {
    content: '"';
    font-family: 'Playfair Display', serif;
    font-size: 180px;
    color: rgba(255,255,255,0.04);
    position: absolute;
    top: -30px;
    left: 20px;
    line-height: 1;
}
.quote-box blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-style: italic;
    color: var(--white);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
.quote-box cite {
    display: block;
    font-size: 14px;
    font-style: normal;
    color: var(--gold);
    font-weight: 700;
    margin-top: 16px;
    letter-spacing: 0.05em;
}

/* ===== STATS ROW ===== */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 24px;
    margin: 40px 0;
}
.stat-item {
    text-align: center;
    padding: 28px 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-bottom: 3px solid var(--green-main);
}
.stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 900;
    color: var(--green-main);
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 13px;
    color: var(--text-mid);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* ===== TIMELINE ===== */
.timeline { position: relative; padding: 20px 0; }
.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--green-main), var(--green-pale));
    border-radius: 2px;
}
.timeline-item {
    display: flex;
    gap: 28px;
    margin-bottom: 36px;
    position: relative;
}
.timeline-dot {
    width: 63px;
    height: 63px;
    flex-shrink: 0;
    background: var(--green-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    font-size: 16px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 0 5px var(--cream), 0 0 0 7px rgba(58,122,58,0.3);
}
.timeline-content {
    background: var(--white);
    border-radius: 12px;
    padding: 20px 24px;
    flex: 1;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-left: 3px solid var(--green-main);
}
.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.timeline-content p { color: var(--text-mid); font-size: 15px; }

/* ===== PROGRAM ===== */
.program-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.prog-tab {
    background: var(--white);
    border: 2px solid var(--green-pale);
    border-radius: 40px;
    padding: 10px 26px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--text-mid);
}
.prog-tab:hover,
.prog-tab.active {
    background: var(--green-main);
    border-color: var(--green-main);
    color: var(--white);
}
.day-panel { display: none; }
.day-panel.active { display: block; }

.schedule-grid { display: flex; flex-direction: column; gap: 0; }
.schedule-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 0;
    border-bottom: 1px solid var(--green-pale);
}
.schedule-item:last-child { border-bottom: none; }
.schedule-time {
    background: var(--green-darkest);
    color: var(--gold);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    text-align: center;
    flex-direction: column;
    gap: 2px;
}
.schedule-event {
    padding: 18px 24px;
    background: var(--white);
    transition: background 0.15s;
}
.schedule-item:hover .schedule-event { background: var(--green-pale); }
.schedule-event h4 {
    font-weight: 700;
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}
.schedule-event p { font-size: 13.5px; color: var(--text-mid); }
.event-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    margin-top: 6px;
}
.badge-yarışma { background: rgba(201,168,76,0.15); color: #8a6a00; }
.badge-gosteri { background: rgba(78,158,78,0.12); color: #2d5a2d; }
.badge-konser  { background: rgba(70,130,180,0.12); color: #1a4a6e; }
.badge-acilis  { background: rgba(180,30,30,0.1); color: #8a1a1a; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}
.contact-info { }
.contact-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.info-item {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}
.info-icon {
    width: 44px;
    height: 44px;
    background: var(--green-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.info-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--green-main);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}
.info-text span { color: var(--text-mid); font-size: 15px; }

.contact-form {
    background: var(--white);
    border-radius: 16px;
    padding: 36px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-mid);
    margin-bottom: 6px;
    letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    color: var(--text-dark);
    background: var(--cream);
    transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green-main);
    background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
    width: 100%;
    background: var(--green-main);
    color: var(--white);
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.05em;
}
.btn-submit:hover { background: var(--green-mid); transform: translateY(-1px); }

/* ===== COMPETITION ===== */
.comp-hero {
    background: linear-gradient(135deg, var(--green-darkest), var(--green-mid));
    border-radius: 16px;
    padding: 48px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}
.comp-hero::after {
    content: attr(data-emoji);
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 100px;
    opacity: 0.15;
}
.comp-hero h2 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
}
.comp-hero p { color: rgba(255,255,255,0.8); font-size: 16px; max-width: 600px; }

.rules-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.rules-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: var(--white);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.rules-list li::before {
    content: '✓';
    width: 24px;
    height: 24px;
    background: var(--green-main);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

/* ===== FOOTER ===== */
.site-footer { margin-top: auto; }
.footer-wave { line-height: 0; }
.footer-wave svg { display: block; width: 100%; height: 60px; }
.footer-body { background: var(--green-dark); padding: 48px 0 0; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-col p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
}
.footer-col h4 {
    font-family: 'Playfair Display', serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo .logo-title { font-size: 18px; }
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
    transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col ul li:not(:has(a)) {
    color: rgba(255,255,255,0.65);
    font-size: 14px;
}
.footer-bottom {
    padding: 18px 0;
}
.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
}

/* ===== HERO FEATURES ===== */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.feat-item {
    text-align: center;
    color: rgba(255,255,255,0.85);
}
.feat-num {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    font-weight: 900;
    color: var(--gold-light);
    display: block;
    line-height: 1;
}
.feat-label {
    font-size: 13px;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-top: 4px;
    display: block;
    color: rgba(255,255,255,0.6);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .main-nav {
        position: fixed;
        top: 0; right: -100%;
        bottom: 0;
        width: 280px;
        background: var(--green-darkest);
        padding: 80px 24px 40px;
        overflow-y: auto;
        transition: right 0.3s ease;
        z-index: 200;
        box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    }
    .main-nav.open { right: 0; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav > ul > li > a { font-size: 16px; padding: 12px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
    .dropdown {
        position: static;
        box-shadow: none;
        background: rgba(255,255,255,0.05);
        border-radius: 8px;
        border-top: none;
        border-left: 3px solid var(--gold);
        opacity: 1;
        pointer-events: all;
        transform: none;
        margin: 8px 0 8px 12px;
        display: none;
    }
    .has-dropdown.open .dropdown { display: block; }
    .dropdown li a { color: rgba(255,255,255,0.8); }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .rules-list { grid-template-columns: 1fr; }
    .schedule-item { grid-template-columns: 90px 1fr; }
}
@media (max-width: 600px) {
    .topbar .container { gap: 12px; flex-wrap: wrap; font-size: 11px; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero-features { gap: 28px; }
}
