/*
================================================
TurkeyLangigigi - CSS
================================================
TABLE OF CONTENTS
------------------------------------------------
1.0 GLOBAL STYLES
    - Variables
    - Reset & Base
    - Typography & Layout
    - Buttons & Forms
    - Section Headers
2.0 HEADER
    - Main Header Styles
    - Navigation
    - Mobile Nav Toggle
3.0 FOOTER
    - Main Footer Styles
4.0 PAGES & SECTIONS
    - Hero Section
    - Features Section
    - Courses Overview Section
    - CTA Section
    - Page Header
    - Course Details Section
    - Mission Section
    - Approach Section
    - Contact Section
    - Privacy Content
    - Cookie Banner
5.0 RESPONSIVE STYLES
    - 1200px
    - 992px (Tablets)
    - 768px (Mobile)
------------------------------------------------
*/

/* 1.0 GLOBAL STYLES */
/* ================================================ */
:root {
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;
    
    --color-primary: #007bff; /* Vibrant Blue */
    --color-secondary: #ff6b6b; /* Coral Pink */
    --color-dark: #212529;
    --color-text: #495057;
    --color-light: #f8f9fa;
    --color-white: #ffffff;
    --color-border: #dee2e6;

    --header-height: 70px;
}

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    font-weight: 600;
    line-height: 1.3;
}
h1 { font-size: 3.2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-secondary);
}

ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
section { padding: 90px 0; }

.tlg-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Buttons --- */
.tlg-btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}
.tlg-btn--primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.tlg-btn--primary:hover {
    background-color: #0056b3;
    color: var(--color-white);
    transform: translateY(-2px);
}
.tlg-btn--secondary {
    background-color: transparent;
    color: var(--color-dark);
    border-color: var(--color-border);
}
.tlg-btn--secondary:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}
.tlg-btn--large { padding: 15px 35px; font-size: 1.1rem; }
.tlg-btn--full { width: 100%; }

/* --- Forms --- */
.tlg-form-group { margin-bottom: 20px; }
.tlg-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    color: var(--color-dark);
}
.tlg-form-group input,
.tlg-form-group textarea,
.tlg-form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-white);
}
.tlg-form-group input:focus,
.tlg-form-group textarea:focus,
.tlg-form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* --- Section Headers --- */
.tlg-section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.tlg-section-title { margin-bottom: 15px; }

/* 2.0 HEADER */
/* ================================================ */
.tlg-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.tlg-header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}
.tlg-header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.tlg-header__logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-dark);
}
.tlg-header__nav ul { display: flex; gap: 35px; }
.tlg-header__nav a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}
.tlg-header__nav a.active, .tlg-header__nav a:hover {
    color: var(--color-primary);
}
.tlg-header__nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}
.tlg-header__nav a:hover::after, .tlg-header__nav a.active::after { width: 100%; }

.tlg-header__contact a {
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    color: var(--color-dark);
}
.tlg-header__contact a:hover {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.tlg-mobile-nav-toggle {
    display: none;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}
.tlg-mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-dark);
    position: absolute;
    left: 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}
.tlg-mobile-nav-toggle span:nth-child(1) { top: 0; }
.tlg-mobile-nav-toggle span:nth-child(2) { top: 10px; }
.tlg-mobile-nav-toggle span:nth-child(3) { top: 20px; }

/* 3.0 FOOTER */
/* ================================================ */
.tlg-footer {
    background-color: var(--color-dark);
    color: rgba(255,255,255,0.7);
    padding-top: 70px;
}
.tlg-footer a { color: rgba(255,255,255,0.7); }
.tlg-footer a:hover { color: var(--color-white); }

.tlg-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}
.tlg-footer__logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 15px;
    display: block;
}
.tlg-footer__title {
    color: var(--color-white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}
.tlg-footer__links ul li { margin-bottom: 12px; }
.tlg-footer__contact-info p, .tlg-footer__contact-info address {
    margin-bottom: 12px;
    font-style: normal;
}
.tlg-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    text-align: center;
}

/* 4.0 PAGES & SECTIONS */
/* ================================================ */
/* --- Hero Section --- */
.tlg-hero {
    padding-top: calc(var(--header-height) + 60px);
    background-color: var(--color-light);
}
.tlg-hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 50px;
}
.tlg-hero__title { margin-bottom: 20px; }
.tlg-hero__subtitle { font-size: 1.1rem; margin-bottom: 30px; }
.tlg-hero__buttons { display: flex; gap: 15px; }
.tlg-hero__image { border-radius: 12px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* --- Features Section --- */
.tlg-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tlg-feature-card {
    background-color: var(--color-light);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}
.tlg-feature-card__icon { color: var(--color-primary); margin-bottom: 20px; }
.tlg-feature-card__title { margin-bottom: 10px; }

/* --- Courses Overview Section --- */
.tlg-courses-overview { background-color: var(--color-light); }
.tlg-courses-overview__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tlg-course-preview-card {
    background-color: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.tlg-course-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.tlg-course-preview-card__image {
    width: 100%; height: 200px; object-fit: cover;
}
.tlg-course-preview-card__content { padding: 25px; }
.tlg-course-preview-card__title { margin-bottom: 10px; }
.tlg-course-preview-card__text { margin-bottom: 20px; }
.tlg-course-preview-card__link { font-weight: 500; font-family: var(--font-heading); }

/* --- CTA Section --- */
.tlg-cta { background-color: var(--color-primary); color: var(--color-white); }
.tlg-cta__container { text-align: center; max-width: 800px; }
.tlg-cta__title, .tlg-cta__text { color: var(--color-white); }
.tlg-cta__title { margin-bottom: 15px; }
.tlg-cta__text { opacity: 0.9; margin-bottom: 30px; }
.tlg-cta .tlg-btn--primary {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.tlg-cta .tlg-btn--primary:hover {
    background-color: var(--color-light);
}

/* --- Page Header --- */
.tlg-page-header {
    background-color: var(--color-light);
    text-align: center;
    padding: 60px 0;
    margin-top: var(--header-height);
}
.tlg-page-header__title { margin-bottom: 10px; }

/* --- Course Details Section --- */
.tlg-course-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 90px;
}
.tlg-course-item:last-child { margin-bottom: 0; }
.tlg-course-item.reverse { grid-template-columns: 1.2fr 1fr; }
.tlg-course-item.reverse .tlg-course-item__image { grid-column: 2; grid-row: 1;}
.tlg-course-item__image img { border-radius: 12px; }
.tlg-course-item__tag {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}
.tlg-course-item__title { margin-bottom: 15px; }
.tlg-course-item__description { margin-bottom: 20px; }
.tlg-course-item__features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}
.tlg-course-item__features li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}
.tlg-course-item__features li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}
.tlg-course-item__price-wrapper { margin-bottom: 25px; }
.tlg-course-item__price { font-size: 2.2rem; font-weight: 700; color: var(--color-dark); }
.tlg-course-item__price-period { color: var(--color-text); }


/* --- Mission/About Sections --- */
.tlg-mission__container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.tlg-mission__content p { margin-bottom: 15px; }
.tlg-mission__image img { border-radius: 12px; }

.tlg-approach { background-color: var(--color-light); }
.tlg-approach__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.tlg-approach-card {
    position: relative;
    padding: 30px;
}
.tlg-approach-card__number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 123, 255, 0.1);
    position: absolute;
    top: 10px;
    left: 20px;
}
.tlg-approach-card__title { margin-top: 30px; margin-bottom: 10px; position: relative; }

/* --- Contact Section --- */
.tlg-contact-section { background-color: var(--color-light); }
.tlg-contact-section__container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
}
.tlg-contact-info__title { margin-bottom: 15px; }
.tlg-contact-info__text { margin-bottom: 30px; }
.tlg-contact-info__item {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 20px;
}
.tlg-contact-info__item svg { color: var(--color-primary); flex-shrink: 0; }
.tlg-contact-info__map {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
}
.tlg-contact-info__map iframe {
    width: 100%;
    height: 350px;
    border: none;
}
.tlg-contact-form-wrapper {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.tlg-contact-form-wrapper h3 { margin-bottom: 25px; }

/* --- Privacy Content --- */
.tlg-privacy-content {
    padding: 60px 0;
}
.tlg-privacy-content .tlg-container {
    max-width: 800px;
}
.tlg-privacy-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
}
.tlg-privacy-content p, .tlg-privacy-content ul {
    margin-bottom: 20px;
}
.tlg-privacy-content ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* --- Cookie Banner --- */
.tlg-cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 20px 25px;
    z-index: 1100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: bottom 0.5s ease-in-out;
}
.tlg-cookie-banner.show { bottom: 20px; }
.tlg-cookie-banner p { margin: 0; font-size: 0.9rem; }
.tlg-cookie-banner a { color: var(--color-secondary); text-decoration: underline; }

/* 5.0 RESPONSIVE STYLES */
/* ================================================ */
@media (max-width: 1200px) {
    .tlg-course-item, .tlg-course-item.reverse {
        grid-template-columns: 1fr;
    }
     .tlg-course-item.reverse .tlg-course-item__image { grid-column: 1; }
}

@media (max-width: 992px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.1rem; }
    section { padding: 70px 0; }

    .tlg-header__nav, .tlg-header__contact { display: none; }
    .tlg-mobile-nav-toggle { display: block; }

    .tlg-header__nav.mobile-active {
        display: flex;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    .tlg-header__nav.mobile-active ul {
        flex-direction: column; width: 100%; text-align: center; gap: 0;
    }
    .tlg-header__nav.mobile-active li { width: 100%; }
    .tlg-header__nav.mobile-active a {
        padding: 15px; display: block; width: 100%;
    }

    .tlg-hero__container, .tlg-mission__container, .tlg-contact-section__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .tlg-hero__image-container { grid-row: 1; margin-bottom: 30px; }
    .tlg-hero__buttons { justify-content: center; }
    .tlg-mission__image { grid-row: 1; margin-bottom: 30px; }
    .tlg-contact-info { text-align: left; }

    .tlg-features__grid, .tlg-courses-overview__grid, .tlg-approach__grid {
        grid-template-columns: 1fr;
    }
    
    .tlg-footer__grid { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }

    .tlg-cookie-banner {
        flex-direction: column;
        text-align: center;
        left: 10px;
        right: 10px;
        bottom: -200%;
    }
     .tlg-cookie-banner.show { bottom: 10px; }
}
