/* =====================================================
   AYDYN YOL
   MAIN STYLESHEET
===================================================== */


/* =====================================================
   THEME VARIABLES
===================================================== */

:root {

    --primary: #1769e0;
    --primary-dark: #0f59c7;
    --primary-light: #eaf3ff;

    --background: #ffffff;
    --surface: #f8fbff;
    --card: #ffffff;

    --text: #10233f;
    --text-secondary: #63728a;
    --text-muted: #8a97a8;

    --border: #e5edf7;

    --success: #159466;
    --success-bg: #eaf8f3;

    --star: #f5b942;

    --shadow:
        0 20px 60px rgba(27, 76, 130, 0.10);

    --transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* DARK MODE */

[data-theme="dark"] {

    --primary: #4d91f7;
    --primary-dark: #367de5;
    --primary-light: #172c4b;

    --background: #0b1220;
    --surface: #101a2d;
    --card: #162238;

    --text: #f1f5f9;
    --text-secondary: #a9b6c8;
    --text-muted: #7f8da2;

    --border: #263650;

    --success: #35c992;
    --success-bg: #14372d;

    --star: #f5c65d;

    --shadow:
        0 20px 60px rgba(0, 0, 0, 0.30);
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.5;

    transition: var(--transition);

    overflow-x: hidden;
}


body,
button,
a,
input,
textarea,
select {
    font-family:
        Arial,
        Helvetica,
        sans-serif;
}


a {
    text-decoration: none;
    color: inherit;
}


button {
    border: none;
}


img {
    max-width: 100%;
    display: block;
}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    width: 100%;

    background:
        color-mix(
            in srgb,
            var(--background) 94%,
            transparent
        );

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid var(--border);

    transition: var(--transition);
}


.nav-container {

    width: 86%;

    max-width: 1300px;

    height: 78px;

    margin: 0 auto;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* LOGO */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 23px;

    font-weight: 800;

    letter-spacing: -0.8px;

    color: var(--text);
}


.logo img {

    width: 44px;

    height: 44px;

    object-fit: contain;
}


.logo span {
    color: var(--primary);
}


/* NAVIGATION */

.nav-links {

    display: flex;

    align-items: center;

    gap: 34px;
}


.nav-links a {

    position: relative;

    color: var(--text-secondary);

    font-size: 13px;

    font-weight: 500;

    transition: 0.3s;
}


.nav-links a:hover,
.nav-links a.active {

    color: var(--primary);
}


.nav-links a.active::after {

    content: "";

    position: absolute;

    left: 0;

    right: 0;

    bottom: -10px;

    height: 2px;

    border-radius: 5px;

    background: var(--primary);
}


/* NAV ACTIONS */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 15px;
}


/* THEME BUTTON */

.theme-toggle {

    width: 38px;

    height: 38px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 9px;

    background: var(--surface);

    color: var(--text);

    font-size: 17px;

    cursor: pointer;

    transition: var(--transition);
}


.theme-toggle:hover {

    color: var(--primary);

    border-color: var(--primary);

    transform: translateY(-1px);
}


/* LOGIN */

.login-link {

    color: var(--text);

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s;
}


.login-link:hover {
    color: var(--primary);
}


/* REGISTER */

.register-btn {

    padding: 11px 19px;

    border-radius: 8px;

    background: var(--primary);

    color: #ffffff;

    font-size: 13px;

    font-weight: 600;

    box-shadow:
        0 8px 20px
        rgba(23, 105, 224, 0.20);

    transition: 0.3s;
}


.register-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}


/* MOBILE MENU BUTTON */

.menu-toggle {

    display: none;

    width: 38px;

    height: 38px;

    padding: 8px;

    border:
        1px solid var(--border);

    border-radius: 8px;

    background: var(--surface);

    cursor: pointer;
}


.menu-toggle span {

    display: block;

    width: 18px;

    height: 2px;

    margin: 4px auto;

    border-radius: 5px;

    background: var(--text);

    transition: 0.3s;
}


/* MOBILE MENU */

.mobile-menu {

    display: none;

    width: 100%;

    padding: 20px 7% 25px;

    background: var(--background);

    border-top:
        1px solid var(--border);
}


.mobile-menu a {

    display: block;

    padding: 12px 0;

    color: var(--text-secondary);

    font-size: 14px;

    border-bottom:
        1px solid var(--border);
}


.mobile-menu a:last-child {
    border-bottom: none;
}


.mobile-menu a:hover {
    color: var(--primary);
}


.mobile-menu.open {
    display: block;
}


.mobile-register {

    margin-top: 10px;

    padding: 12px 15px !important;

    text-align: center;

    border-radius: 8px;

    background: var(--primary);

    color: #ffffff !important;
}


/* =====================================================
   HERO
===================================================== */

.hero {

    min-height: 680px;

    display: flex;

    align-items: center;

    padding:
        80px 0
        100px;

    background:

        radial-gradient(
            circle at 85% 20%,
            rgba(36, 126, 255, 0.09),
            transparent 30%
        ),

        var(--background);

    transition: var(--transition);
}


.hero-container {

    width: 86%;

    max-width: 1300px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    align-items: center;

    gap: 70px;
}


.hero-content {
    max-width: 650px;
}


/* BADGE */

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

    margin-bottom: 25px;

    background: var(--primary-light);

    color: var(--primary);

    border:
        1px solid
        var(--border);

    border-radius: 30px;

    font-size: 11px;

    font-weight: 600;
}


.badge-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--primary);
}


/* TITLE */

.hero h1 {

    font-size:
        clamp(46px, 5.5vw, 76px);

    line-height: 1.04;

    letter-spacing: -3px;

    font-weight: 800;

    color: var(--text);

    margin-bottom: 27px;
}


.hero h1 span {
    color: var(--primary);
}


/* DESCRIPTION */

.hero-text {

    max-width: 560px;

    margin-bottom: 34px;

    color: var(--text-secondary);

    font-size: 17px;

    line-height: 1.7;
}


/* HERO BUTTONS */

.hero-actions {

    display: flex;

    align-items: center;

    gap: 13px;
}


.primary-btn,
.outline-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    padding: 14px 22px;

    border-radius: 9px;

    font-size: 13px;

    font-weight: 600;

    transition: 0.3s;
}


.primary-btn {

    background: var(--primary);

    color: #ffffff;

    box-shadow:
        0 12px 25px
        rgba(23, 105, 224, 0.22);
}


.primary-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-2px);
}


.outline-btn {

    border:
        1px solid
        var(--border);

    background: var(--background);

    color: var(--primary);
}


.outline-btn:hover {

    background: var(--primary-light);

    border-color: var(--primary);
}


/* TRUST */

.hero-trust {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 42px;
}


.avatars {
    display: flex;
}


.avatar {

    width: 34px;

    height: 34px;

    margin-left: -7px;

    display: flex;

    align-items: center;

    justify-content: center;

    border:
        3px solid
        var(--background);

    border-radius: 50%;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;
}


.avatar:first-child {
    margin-left: 0;
}


.trust-text strong {

    display: block;

    color: var(--text);

    font-size: 11px;
}


.trust-text p {

    margin-top: 2px;

    color: var(--text-muted);

    font-size: 10px;
}


/* =====================================================
   HERO VISUAL
===================================================== */

.hero-visual {

    min-height: 500px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;
}


.background-circle {

    position: absolute;

    width: 390px;

    height: 390px;

    border-radius: 50%;

    background: var(--primary-light);

    opacity: 0.8;
}


/* TEACHER CARD */

.teacher-card {

    width: 320px;

    position: relative;

    z-index: 2;

    padding: 25px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    box-shadow: var(--shadow);

    transition: var(--transition);
}


.card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;
}


.verified {

    padding: 6px 9px;

    border-radius: 20px;

    background: var(--success-bg);

    color: var(--success);

    font-size: 9px;

    font-weight: 700;
}


.favorite {

    background: transparent;

    color: var(--text-muted);

    font-size: 22px;

    cursor: pointer;

    transition: 0.3s;
}


.favorite:hover {
    color: var(--primary);
}


/* AVATAR */

.teacher-avatar {

    width: 78px;

    height: 78px;

    margin:
        25px auto
        15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #dcecff,
            #a9cef9
        );

    color: var(--primary);

    font-size: 27px;

    font-weight: 700;
}


[data-theme="dark"]
.teacher-avatar {

    background:
        linear-gradient(
            135deg,
            #203b61,
            #28568b
        );
}


/* TEACHER NAME */

.teacher-card h3 {

    text-align: center;

    color: var(--text);

    font-size: 19px;
}


.teacher-role {

    margin-top: 4px;

    text-align: center;

    color: var(--text-muted);

    font-size: 11px;
}


/* RATING */

.rating {

    margin-top: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;
}


.rating span {
    color: var(--star);
}


.rating strong {

    color: var(--text);

    font-size: 12px;
}


.rating small {

    color: var(--text-muted);

    font-size: 10px;
}


/* TEACHER INFO */

.teacher-info {

    margin-top: 25px;

    padding: 16px 0;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    border-top:
        1px solid
        var(--border);

    border-bottom:
        1px solid
        var(--border);
}


.teacher-info div {

    text-align: center;
}


.teacher-info div:not(:last-child) {

    border-right:
        1px solid
        var(--border);
}


.teacher-info small {

    display: block;

    margin-bottom: 4px;

    color: var(--text-muted);

    font-size: 9px;
}


.teacher-info strong {

    color: var(--text);

    font-size: 11px;
}


/* BOOK BUTTON */

.book-btn {

    width: 100%;

    margin-top: 20px;

    padding: 13px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 8px;

    background: var(--primary);

    color: #ffffff;

    font-size: 12px;

    font-weight: 600;

    transition: 0.3s;
}


.book-btn:hover {

    background: var(--primary-dark);

    transform: translateY(-1px);
}


/* FLOATING CARD */

.floating-card {

    position: absolute;

    right: 0;

    bottom: 55px;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px 16px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    box-shadow: var(--shadow);

    transition: var(--transition);
}


.floating-icon {

    width: 31px;

    height: 31px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--success-bg);

    color: var(--success);

    font-size: 12px;

    font-weight: bold;
}


.floating-card strong {

    display: block;

    color: var(--text);

    font-size: 11px;
}


.floating-card p {

    color: var(--text-muted);

    font-size: 9px;
}


/* =====================================================
   FEATURES
===================================================== */

.features {

    padding:
        90px 0;

    background: var(--surface);

    transition: var(--transition);
}


.section-heading {

    max-width: 600px;

    margin:
        0 auto
        55px;

    text-align: center;
}


.section-label {

    margin-bottom: 11px;

    color: var(--primary);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;
}


.section-heading h2 {

    margin-bottom: 15px;

    color: var(--text);

    font-size: 38px;

    line-height: 1.2;
}


.section-heading > p:last-child {

    color: var(--text-secondary);

    font-size: 14px;
}


/* FEATURE GRID */

.feature-grid {

    width: 86%;

    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;
}


.feature-card {

    padding: 30px;

    background: var(--card);

    border:
        1px solid
        var(--border);

    border-radius: 15px;

    transition: var(--transition);

    transition-property:
        transform,
        box-shadow,
        background,
        border-color;
}


.feature-card:hover {

    transform:
        translateY(-5px);

    box-shadow: var(--shadow);
}


.feature-icon {

    width: 45px;

    height: 45px;

    margin-bottom: 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 11px;

    font-size: 17px;
}


.blue-icon {

    background: var(--primary-light);

    color: var(--primary);
}


.green-icon {

    background: var(--success-bg);

    color: var(--success);
}


.feature-card h3 {

    margin-bottom: 10px;

    color: var(--text);

    font-size: 16px;
}


.feature-card p {

    color: var(--text-secondary);

    font-size: 12px;

    line-height: 1.7;
}


/* =====================================================
   ABOUT
===================================================== */

.about-section {

    padding:
        100px 0;

    background: var(--background);
}


.about-container {

    width: 86%;

    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 80px;

    align-items: center;
}


.about-content h2 {

    max-width: 550px;

    margin-bottom: 20px;

    color: var(--text);

    font-size: 38px;

    line-height: 1.2;
}


.about-content > p:last-child {

    max-width: 580px;

    color: var(--text-secondary);

    font-size: 14px;

    line-height: 1.8;
}


/* STATS */

.about-stats {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 15px;
}


.stat-card {

    padding:
        25px 15px;

    text-align: center;

    background: var(--surface);

    border:
        1px solid
        var(--border);

    border-radius: 13px;
}


.stat-card strong {

    display: block;

    margin-bottom: 5px;

    color: var(--primary);

    font-size: 25px;
}


.stat-card span {

    color: var(--text-secondary);

    font-size: 11px;
}


/* =====================================================
   CTA
===================================================== */

.cta {

    width: 86%;

    max-width: 1200px;

    margin:
        30px auto
        60px;

    padding:
        50px 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

    border-radius: 22px;

    background:
        linear-gradient(
            120deg,
            var(--primary),
            #3185ee
        );

    color: #ffffff;

    box-shadow:
        0 20px 50px
        rgba(23, 105, 224, 0.18);
}


.cta .section-label {

    color: #dcecff;

    margin-bottom: 10px;
}


.cta h2 {

    max-width: 600px;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 32px;

    line-height: 1.25;
}


.cta-content > p:last-child {

    color: #dcecff;

    font-size: 13px;
}


.white-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding:
        14px 23px;

    border-radius: 9px;

    background: #ffffff;

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: 0.3s;
}


.white-btn:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(0, 0, 0, 0.12);
}


/* =====================================================
   FOOTER
===================================================== */

footer {

    width: 100%;

    padding:
        35px 7%
        25px;

    background: var(--primary);

    color: #ffffff;
}


.footer-container {

    max-width: 1200px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.4fr
        1fr
        1fr;

    gap: 60px;
}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 9px;
}


/* FOOTER LOGO */

.footer-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 4px;
}


.footer-logo img {

    width: 38px;

    height: 38px;

    object-fit: contain;

    padding: 3px;

    background: #ffffff;

    border-radius: 50%;
}


.footer-logo span {

    color: #ffffff;

    font-size: 21px;

    font-weight: 800;
}


.footer-brand > p {

    margin-bottom: 10px;

    color: #dcecff;

    font-size: 12px;
}


.copyright {

    color: #dcecff;

    font-size: 10px;

    line-height: 1.7;
}


/* FOOTER TITLES */

.footer-column h3 {

    margin:
        2px 0
        8px;

    color: #ffffff;

    font-size: 14px;
}


/* FOOTER LINKS */

.footer-column a {

    width: fit-content;

    color: #dcecff;

    font-size: 11px;

    transition: 0.3s;
}


.footer-column a:hover {

    color: #ffffff;

    transform:
        translateX(3px);
}


/* =====================================================
   RESPONSIVE — TABLET
===================================================== */

@media (max-width: 1000px) {


    /* NAV */

    .nav-links {
        display: none;
    }


    .menu-toggle {
        display: block;
    }


    .login-link {
        display: none;
    }


    /* HERO */

    .hero {

        padding:
            70px 0
            80px;
    }


    .hero-container {

        grid-template-columns: 1fr;

        gap: 50px;

        text-align: center;
    }


    .hero-content {

        max-width: 700px;

        margin: 0 auto;
    }


    .hero-text {

        margin-left: auto;

        margin-right: auto;
    }


    .hero-actions,
    .hero-trust {

        justify-content: center;
    }


    .hero-visual {

        min-height: 450px;
    }


    /* FEATURES */

    .feature-grid {

        grid-template-columns: 1fr;

        max-width: 500px;
    }


    /* ABOUT */

    .about-container {

        grid-template-columns: 1fr;

        gap: 45px;

        text-align: center;
    }


    .about-content h2,
    .about-content > p:last-child {

        margin-left: auto;

        margin-right: auto;
    }


    /* CTA */

    .cta {

        flex-direction: column;

        text-align: center;
    }


    .cta h2 {

        margin-left: auto;

        margin-right: auto;
    }

}


/* =====================================================
   RESPONSIVE — MOBILE
===================================================== */

@media (max-width: 600px) {


    /* NAVBAR */

    .nav-container {

        width: 90%;

        height: 70px;
    }


    .logo {

        gap: 7px;

        font-size: 19px;
    }


    .logo img {

        width: 36px;

        height: 36px;
    }


    .nav-actions {

        gap: 8px;
    }


    .theme-toggle {

        width: 35px;

        height: 35px;

        font-size: 15px;
    }


    .menu-toggle {

        width: 35px;

        height: 35px;
    }


    .register-btn {
        display: none;
    }


    /* HERO */

    .hero {

        padding:
            55px 0
            65px;
    }


    .hero-container {

        width: 90%;

        gap: 45px;
    }


    .hero-badge {

        font-size: 9px;
    }


    .hero h1 {

        font-size: 45px;

        letter-spacing: -2px;
    }


    .hero-text {

        font-size: 14px;

        line-height: 1.7;
    }


    .hero-actions {

        flex-direction: column;

        width: 100%;
    }


    .primary-btn,
    .outline-btn {

        width: 100%;
    }


    .hero-trust {

        margin-top: 32px;
    }


    /* HERO CARD */

    .hero-visual {

        min-height: 430px;
    }


    .background-circle {

        width: 310px;

        height: 310px;
    }


    .teacher-card {

        width:
            min(300px, 90vw);

        padding: 22px;
    }


    .floating-card {

        right: 0;

        bottom: 20px;

        padding:
            10px 12px;
    }


    .floating-card p {

        font-size: 8px;
    }


    /* FEATURES */

    .features {

        padding:
            70px 0;
    }


    .section-heading {

        width: 90%;

        margin-bottom: 40px;
    }


    .section-heading h2 {

        font-size: 29px;
    }


    .section-heading > p:last-child {

        font-size: 13px;
    }


    .feature-grid {

        width: 90%;
    }


    .feature-card {

        padding: 25px;
    }


    /* ABOUT */

    .about-section {

        padding:
            70px 0;
    }


    .about-container {

        width: 90%;
    }


    .about-content h2 {

        font-size: 29px;
    }


    .about-content > p:last-child {

        font-size: 13px;
    }


    .about-stats {

        grid-template-columns:
            1fr;

        gap: 10px;
    }


    /* CTA */

    .cta {

        width: 90%;

        margin:
            20px auto
            45px;

        padding:
            38px 25px;
    }


    .cta h2 {

        font-size: 27px;
    }


    .cta-content > p:last-child {

        font-size: 12px;
    }


    .white-btn {

        width: 100%;
    }


    /* FOOTER */

    footer {

        padding:
            35px 7%
            25px;
    }


    .footer-container {

        grid-template-columns: 1fr;

        gap: 28px;
    }


    .footer-logo span {

        font-size: 20px;
    }


    .footer-column h3 {

        margin-bottom: 5px;
    }


    /* MOBILE MENU */

    .mobile-menu {

        padding-left: 5%;

        padding-right: 5%;
    }

}


/* =====================================================
   VERY SMALL PHONES
===================================================== */

@media (max-width: 380px) {


    .hero h1 {

        font-size: 38px;
    }


    .teacher-card {

        width: 275px;
    }


    .floating-card {

        right: -5px;
    }

}
/* =====================================================
   COMPACT LANGUAGE SELECTOR
===================================================== */

.language-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin: 0;
    padding: 0;
}

.language-selector select {
    width: 48px;
    min-width: 48px;
    height: 34px;

    padding: 0 2px;

    border: 1px solid var(--border);
    border-radius: 8px;

    background: var(--surface);
    color: var(--text);

    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    text-align: center;

    cursor: pointer;
    outline: none;

    transition: var(--transition);
}

.language-selector select:hover,
.language-selector select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.language-selector select option {
    background: var(--surface);
    color: var(--text);
}

/* Hidden accessible label */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;
    border: 0;
}

/* Mobile */

@media (max-width: 600px) {
    .language-selector select {
        width: 44px;
        min-width: 44px;
        height: 32px;
        font-size: 11px;
    }
}
/* ================================
   GLOBAL DARK MODE
================================ */

html.dark-mode,
body.dark-mode {

    --background: #101827;
    --surface: #172235;
    --card: #1e293b;

    --text: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;

    --border: #334155;

    --primary-light: #1e3a5f;

    --shadow:
        0 10px 30px rgba(0, 0, 0, 0.25);

    background: var(--background);
    color: var(--text);

}