:root {
    --bg-color: #fcfbfa;         
    --card-bg: #ffffff;          
    --accent-color: #d18a99;     /* Pudra Pembesi */
    --accent-hover: #b87382;     
    --text-main: #2d2b2b;        
    --text-muted: #6b6665;       
    --border-color: rgba(209, 138, 153, 0.2); 
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hata Düzeltildi: Eksik olan yıldız karakteri eklendi */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
	scroll-behavior: smooth; /* Tüm sayfa içi link geçişlerini yumuşatır */
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.8;
    width: 100%;
    overflow-x: hidden !important; 
    position: relative;
}

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

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    /* overflow: hidden; */
    background: transparent;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(252, 251, 250, 0.92) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

header.scrolled .nav-container {
    padding: 1.1rem 2rem;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    transition: all 0.3s ease;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

header.scrolled .logo {
    color: var(--text-main) !important;
    text-shadow: none !important;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 5px rgba(0,0,0,0.6);
}

header.scrolled .nav-links a {
    color: var(--text-muted) !important;
    text-shadow: none !important;
}

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

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.6rem;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6);
    transition: all 0.3s ease;
}

header.scrolled .hamburger {
    color: var(--text-main) !important;
    text-shadow: none !important;
}

/* ================= HERO SECTION ================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 4rem;
    margin-top: 0;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: brightness(0.92);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.hero-glass-card {
    max-width: 580px;
    background: transparent;
    backdrop-filter: none;
    border: none;
    padding: 0;
    box-shadow: none;
}

.badge-tag {
    color: #ffb6c1;
    background-color: rgba(209, 138, 153, 0.25);
    padding: 0.4rem 1.1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1.2rem;
}

.hero-glass-card h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-glass-card p {
    color: #f0f0f0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 8px 20px rgba(209, 138, 153, 0.4);
}

.btn:hover {
    background-color: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(209, 138, 153, 0.5);
}

/* ================= GENEL BÖLÜMLER ================= */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
	scroll-margin-top: 90px; /* Header yüksekliğine göre otomatik mesafe bırakır */
}

.section-title span {
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.4rem;
    color: var(--text-main);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-img img {
    width: 100%;
    max-width: 380px;
    height: 520px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(45, 43, 43, 0.08);
    border: 2px solid #fff;
    transition: var(--transition);
}

.about-img img:hover {
    transform: scale(1.02);
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--text-main);
}

.certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cert-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.cert-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(209, 138, 153, 0.12);
}

.cert-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.cert-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
}

.quota-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.quota-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffffff 100%);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(209, 138, 153, 0.08);
}

.quota-badge {
    display: inline-block;
    background: rgba(209, 138, 153, 0.15);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.quota-section h2 {
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.quota-section p {
    max-width: 750px;
    margin: 0 auto 1.5rem auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.program-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.program-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(209, 138, 153, 0.12);
}

.program-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.program-card p {
    color: var(--text-muted);
    font-size: 1rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1) rotate(10deg);
}

footer {
    background: #f4f1ee;
    border-top: 1px solid var(--border-color);
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 4rem;
}

footer .socials {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

footer .socials a {
    color: var(--text-main);
    font-size: 1.2rem;
    transition: var(--transition);
}

footer .socials a:hover {
    color: var(--accent-color);
}

/* Mobil Uyum (Responsive) */
@media (max-width: 968px) {
    header:not(.scrolled) .hamburger {
        display: none !important;
    }
    .hero {
        width: 100% !important;
        max-width: 100vw;
        padding: 0 1.5rem;
        align-items: flex-end;
        padding-bottom: 5rem;
    }
    .nav-container {
        padding: 1rem 1.2rem !important;
    }

    .hero-overlay {
        background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
    }

    .hero-glass-card h1 {
        font-size: 2.2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .about-img {
        display: flex;
        justify-content: center;
    }

    .certs-grid, .programs-grid {
        grid-template-columns: 1fr;
    }

	.nav-links {
        display: none;
        flex-direction: column;
        position: fixed; /* absolute yerine fixed yaparak ekranın tam ortasına sabitliyoruz */
        top: 70px; /* Header'ın hemen altında başlar */
        left: 0;
        width: 100%;
        height: auto;
        background: rgba(252, 251, 250, 0.98) !important;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 2.5rem 2rem;
        text-align: center;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        z-index: 2147483646; /* WhatsApp'ın hemen altında, her şeyin üstünde */
    }

    .nav-links.active {
        display: flex !important;
    }

    .hamburger {
        display: block;
    }

    .quota-section {
        padding: 2.5rem 1rem;
    }
}