/* İstiklal Marşı ve Gençliğe Hitabe Sayfası */

:root {
    --bg: #F8FAFC;
    --card: #FFFFFF;
    --text: #111827;
    --muted: #6B7280;
    --border: #E5E7EB;
    --red: #DC2626;
    --red2: #991B1B;
    --soft: #FEF2F2;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --radius: 16px;
    --transition: 220ms ease;
}

[data-theme="dark"] {
    --bg: #0F172A;
    --card: #1E293B;
    --text: #E5E7EB;
    --muted: #94A3B8;
    --border: #334155;
    --soft: #2D1B1B;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
}

/* Base Page */
.istiklal-page {
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg);
    min-height: 100vh;
}

/* Hero Section */
.istiklal-hero {
    background: linear-gradient(135deg, var(--red) 0%, var(--red2) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.istiklal-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 90px 90px;
    background-position: 0 0, 50px 50px, 25px 25px, 75px 75px;
    opacity: 0.25;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 500;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Section Header */
.section-header {
    background: linear-gradient(135deg, var(--red) 0%, var(--red2) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.section-header-reverse {
    background: linear-gradient(135deg, var(--red2) 0%, var(--red) 100%);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-author {
    font-size: 1.25rem;
    margin: 0;
    opacity: 0.95;
    font-style: italic;
}

/* İstiklal Marşı Content */
.istiklal-content {
    padding: 3rem 2rem;
    background: var(--card);
}

.verses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.verses-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Verse Card */
.verse-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--card);
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}

.verses-left .verse-card {
    border-left: 6px solid var(--red);
}

.verses-right .verse-card {
    border-right: 6px solid var(--red);
}

.verse-card:hover {
    box-shadow: var(--shadow-lg);
    background: var(--soft);
}

.verses-left .verse-card:hover {
    transform: translateX(8px);
}

.verses-right .verse-card:hover {
    transform: translateX(-8px);
}

.verse-label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.verse-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--red) 0%, var(--red2) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.verse-text {
    flex: 1;
    font-size: 1.125rem;
    color: var(--text);
    line-height: 2;
    font-weight: 600;
    padding-top: 0.5rem;
}

.verse-text p {
    margin: 0.5rem 0;
    color: var(--text);
}

/* Gençliğe Hitabe */
.hitabe-content {
    padding: 3rem 2rem;
    background: var(--card);
}

.hitabe-text {
    max-width: 900px;
    margin: 0 auto;
}

.hitabe-paragraph {
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--card);
    border-left: 6px solid var(--red);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.hitabe-paragraph:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
    background: var(--soft);
}

.hitabe-paragraph.highlight {
    background: linear-gradient(135deg, var(--soft) 0%, var(--card) 100%);
    border-left-width: 8px;
}

.hitabe-paragraph.highlight-final {
    background: linear-gradient(135deg, var(--card) 0%, var(--soft) 100%);
    border-left-width: 8px;
    border-left-color: var(--red2);
}

.hitabe-paragraph p {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--text);
    margin: 0;
    text-align: justify;
    font-weight: 500;
}

.hitabe-paragraph strong {
    color: var(--red);
    font-weight: 900;
    font-size: 1.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* Final Section */
.istiklal-final {
    background: linear-gradient(135deg, var(--red) 0%, var(--red2) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 3rem;
}

.istiklal-final::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 60% 20%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 100px 100px, 120px 120px, 80px 80px, 90px 90px;
    background-position: 0 0, 50px 50px, 25px 25px, 75px 75px;
    opacity: 0.25;
    pointer-events: none;
}

.final-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.final-content h2 {
    font-size: 3rem;
    font-weight: 900;
    margin: 0 0 1rem 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 2px;
}

.final-subtitle {
    font-size: 1.25rem;
    margin: 0 0 2rem 0;
    opacity: 0.95;
    font-weight: 500;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid white;
    border-radius: 10px;
    background: transparent;
    color: white;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
}

.btn-back:hover {
    background: white;
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-back:focus-visible {
    outline: 2px solid white;
    outline-offset: 4px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .verses-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .verses-left .verse-card,
    .verses-right .verse-card {
        border-left: 6px solid var(--red);
        border-right: none;
    }

    .verses-right .verse-card:hover {
        transform: translateX(8px);
    }
}

@media (max-width: 768px) {
    .istiklal-hero {
        padding: 3rem 1.5rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
        margin-bottom: 0.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header,
    .section-header-reverse {
        padding: 2rem 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .section-author {
        font-size: 1rem;
    }

    .istiklal-content,
    .hitabe-content {
        padding: 2rem 1.5rem;
    }

    .verses-grid {
        gap: 1.5rem;
    }

    .verses-column {
        gap: 1.5rem;
    }

    .verse-card {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .verse-number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
        align-self: flex-start;
    }

    .verse-text {
        font-size: 0.9375rem;
        line-height: 1.8;
        padding-top: 0;
    }

    .verse-text p {
        margin: 0.375rem 0;
    }

    .hitabe-text {
        max-width: 100%;
    }

    .hitabe-paragraph {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .hitabe-paragraph p {
        font-size: 0.9375rem;
        line-height: 1.8;
        text-align: left;
    }

    .hitabe-paragraph strong {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .istiklal-final {
        padding: 3rem 1.5rem;
    }

    .final-content {
        max-width: 100%;
    }

    .final-content h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .final-subtitle {
        font-size: 1rem;
    }

    .btn-back {
        padding: 0.625rem 1.5rem;
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    .istiklal-hero {
        padding: 2rem 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    .section-header,
    .section-header-reverse {
        padding: 1.5rem 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-author {
        font-size: 0.9375rem;
    }

    .istiklal-content,
    .hitabe-content {
        padding: 1.5rem 1rem;
    }

    .verses-grid {
        gap: 1rem;
    }

    .verses-column {
        gap: 1rem;
    }

    .verse-card {
        padding: 1.25rem;
        gap: 0.75rem;
    }

    .verse-number {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .verse-text {
        font-size: 0.875rem;
        line-height: 1.75;
    }

    .verse-text p {
        margin: 0.25rem 0;
    }

    .hitabe-paragraph {
        padding: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .hitabe-paragraph p {
        font-size: 0.875rem;
        line-height: 1.75;
    }

    .hitabe-paragraph strong {
        font-size: 1rem;
        margin-bottom: 0.375rem;
    }

    .istiklal-final {
        padding: 2rem 1rem;
    }

    .final-content h2 {
        font-size: 1.5rem;
    }

    .final-subtitle {
        font-size: 0.9375rem;
    }

    .btn-back {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        width: 100%;
        max-width: 300px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Focus States */
.verse-card:focus-visible,
.hitabe-paragraph:focus-visible,
.btn-back:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
}

