/* Ozbilen Egitim ve Kulture Hizmet Dernegi */

:root {
    --primary: #0e8c7d;
    --primary-dark: #0a6b62;
    --primary-deeper: #074d47;
    --accent: #7cb342;
    --accent-light: #9ccc65;
    --accent-dark: #558b2f;
    --bg: #f7f5f0;
    --bg-alt: #ffffff;
    --text: #2d3436;
    --text-light: #636e72;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 16px rgba(0,0,0,0.10);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.14);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.18);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

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

/* ============================
   HEADER
   ============================ */
.header {
    background: linear-gradient(135deg, var(--primary-deeper), var(--primary-dark));
    color: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(14,140,125,0.3);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--white);
}

.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    transition: height 0.3s ease;
}

.brand-text h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.brand-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    opacity: 0.85;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
    gap: 6px;
}

.nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 14px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav a:hover {
    background: rgba(255,255,255,0.12);
}

.nav-bagis {
    background: rgba(124,179,66,0.25) !important;
    border: 1px solid rgba(124,179,66,0.4);
}

.nav-bagis:hover {
    background: rgba(124,179,66,0.4) !important;
}

.nav-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-toggle:hover {
    background: rgba(255,255,255,0.1);
}

.header.scrolled {
    padding: 8px 0;
    box-shadow: 0 4px 24px rgba(14,140,125,0.4);
}

.header.scrolled .logo {
    height: 38px;
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(7,77,71,0.80) 0%,
        rgba(10,107,98,0.70) 40%,
        rgba(14,140,125,0.60) 70%,
        rgba(7,77,71,0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 20px 120px;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-centered {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-centered h2 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 28px;
    color: var(--white);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.hero-centered p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.92;
    font-weight: 400;
    text-shadow: 0 1px 6px rgba(0,0,0,0.2);
    margin-bottom: 12px;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ============================
   SECTION HEADERS
   ============================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.25;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    padding: 4px 16px;
    border-radius: 20px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-desc {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

section {
    padding: 72px 0;
}

/* ============================
   ABOUT (HAKKIMIZDA)
   ============================ */
.about-section {
    background: var(--bg);
}

.about-quote {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-quote blockquote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary-dark);
    line-height: 1.6;
    padding: 32px 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border-left: 5px solid var(--accent);
    position: relative;
}

.about-quote blockquote::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--accent);
    opacity: 0.2;
    line-height: 1;
}

.about-text-block {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text-block p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}

/* ============================
   IDENTITY (BIZ KIMIZ)
   ============================ */
.identity-section {
    background: var(--white);
}

.identity-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 0 auto;
}

.identity-card {
    background: var(--bg);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(14,140,125,0.08);
}

.identity-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.identity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(14,140,125,0.1), rgba(124,179,66,0.1));
    border-radius: 50%;
    color: var(--primary);
}

.identity-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 700;
}

.identity-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================
   SERVICES (HIZMETLERIMIZ)
   ============================ */
.services-section {
    background: var(--bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(14,140,125,0.08);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3.2rem;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(14,140,125,0.08), rgba(124,179,66,0.08));
    border-radius: 50%;
    color: var(--primary);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================
   VALUES (DEGERLERIMIZ)
   ============================ */
.values-section {
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.value-card {
    background: var(--bg);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: rgba(14,140,125,0.15);
}

.value-icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(14,140,125,0.3);
}

.value-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: 700;
}

.value-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================
   GALLERY (GALERI)
   ============================ */
.gallery-section {
    background: var(--bg);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    aspect-ratio: 4/3;
    background: var(--white);
    border: 2px dashed rgba(14,140,125,0.2);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.gallery-placeholder:hover {
    border-color: var(--primary);
    background: rgba(14,140,125,0.03);
}

.gallery-placeholder svg {
    opacity: 0.4;
}

.gallery-placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.6;
}

/* ============================
   CONTACT (ILETISIM)
   ============================ */
.contact-section {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--bg);
    border-radius: var(--radius);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    color: var(--white);
    flex-shrink: 0;
}

.contact-item h3 {
    font-family: 'Inter', sans-serif;
    color: var(--primary-dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 700;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-dark);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map iframe {
    display: block;
    border-radius: var(--radius-lg);
}

/* ============================
   DONATION (BAGIS)
   ============================ */
.donation-section {
    background: linear-gradient(135deg, var(--primary-deeper), var(--primary-dark));
    color: var(--white);
}

.donation-section .section-header h2 {
    color: var(--white);
}

.donation-section .section-desc {
    color: rgba(255,255,255,0.75);
}

.donation-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}

.bank-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    color: var(--accent-light);
}

.bank-info h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
}

.iban-box {
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.iban-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.7;
}

.iban-number {
    font-family: 'Courier New', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--white);
    word-break: break-all;
}

.iban-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.iban-copy-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
}

.iban-copy-btn.copied {
    background: #27ae60;
}

.donation-link {
    color: var(--accent-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.donation-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: linear-gradient(135deg, var(--primary-deeper), #042b27);
    color: var(--white);
    text-align: center;
    padding: 48px 0 32px;
}

.footer a {
    color: inherit;
    text-decoration: none;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 56px;
    width: auto;
    margin-bottom: 8px;
    opacity: 0.9;
    filter: brightness(1.1);
}

.footer-brand {
    font-size: 1.05rem;
}

.footer-brand strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
}

.footer-address {
    font-size: 0.88rem;
    opacity: 0.7;
}

.footer-phones {
    display: flex;
    gap: 24px;
    margin-top: 8px;
}

.footer-phones a {
    color: var(--accent-light);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-phones a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 0.82rem;
    opacity: 0.5;
    margin-top: 12px;
}

/* ============================
   LEGAL PAGE (BAGIS BILGILENDIRME)
   ============================ */
.legal-page {
    padding: 48px 0 72px;
    min-height: 60vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 32px;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-dark);
    transform: translateX(-4px);
}

.legal-content h2 {
    font-size: 1.8rem;
    color: var(--primary-dark);
    margin-bottom: 28px;
    text-align: left;
}

.legal-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 20px;
}

/* ============================
   LIGHTBOX
   ============================ */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 28px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
    z-index: 10000;
}

.lightbox-close:hover {
    opacity: 1;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
[data-anim] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-anim].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .hero-centered h2 { font-size: 1.8rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .identity-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-content { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 4px;
        padding-top: 16px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 10px 16px;
        border-radius: 8px;
    }

    .nav-toggle {
        display: flex;
    }

    .hero { min-height: 70vh; }
    .hero-centered h2 { font-size: 1.4rem; }
    .hero-centered p { font-size: 0.95rem; }
    .hero-content { padding: 60px 16px 80px; }

    section { padding: 48px 0; }

    .section-header h2 { font-size: 1.7rem; }

    .services-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .identity-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .about-quote blockquote {
        font-size: 1.2rem;
        padding: 24px;
    }

    .legal-content {
        padding: 28px 20px;
    }

    .donation-card {
        padding: 24px 16px;
    }

    .iban-number {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .brand-text h1 { font-size: 1.1rem; }
    .brand-text p { font-size: 0.7rem; }

    .hero { min-height: 60vh; }
    .hero-centered h2 { font-size: 1.2rem; }
    .hero-content { padding: 48px 12px 70px; }

    .gallery-grid { grid-template-columns: 1fr 1fr; }

    section { padding: 36px 0; }

    .footer-phones { flex-direction: column; gap: 8px; }
}
