/* ==========================================
   PATH WAY EĞİTİM DANIŞMANLIK
   Ana Sayfa Stilleri
   ========================================== */


/* ==========================================
   01 - GLOBAL STYLES
   Reset, Variables, Typography
   ========================================== */

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

:root {
    /* Colors */
    --primary: #0f172a;
    --secondary: #3b82f6;
    --accent: #f59e0b;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* ==========================================
   02 - HEADER & NAVIGATION
   ========================================== */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    text-decoration: none;
    cursor: pointer;
}

.logo:hover {
    opacity: 0.85;
}

.logo span {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

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

.cta-btn {
    background: var(--secondary);
    color: white !important;
    padding: 0.7rem 1.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s;
}

.cta-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    flex-direction: column;
    gap: 4px;
    transition: background 0.2s;
    color: var(--primary);
}

.menu-toggle:hover {
    background: var(--bg-light);
}

.menu-toggle svg {
    display: block;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: 0.3s;
}


/* ==========================================
   03 - HERO SECTION
   ========================================== */

.hero {
    margin-top: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content .highlight {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--secondary);
    color: white !important;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    opacity: 1 !important;
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--border);
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}


/* ==========================================
   04 - STATS SECTION
   ========================================== */

.stats {
    background: var(--primary);
    color: white;
    padding: 3rem 2rem;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}


/* ==========================================
   05 - SERVICES SECTION
   ========================================== */

.services {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s;
    cursor: pointer;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-color: var(--secondary);
}

.service-card:hover .service-icon {
    transform: translateY(-8px) scale(1.1);
    color: var(--accent);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--secondary);
    transition: all 0.3s ease;
    background: white !important;
    background-color: white !important;
    background-image: none !important;
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}


/* ==========================================
   06 - WHY US SECTION
   ========================================== */

.why-us {
    padding: var(--spacing-xl) var(--spacing-md);
    background: var(--bg-light);
}

.why-us-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-us-content h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: start;
    gap: 1rem;
}

.feature-list li:last-child {
    border-bottom: none;
}

.check-icon {
    min-width: 24px;
    width: 24px;
    height: 24px;
    background: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-top: 2px;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.feature-text p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.why-us-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}


/* ==========================================
   07 - CTA SECTION
   ========================================== */

.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    text-align: center;
    color: white;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.cta-form input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
}

.cta-form input:focus {
    outline: 2px solid var(--accent);
}

.cta-form button {
    padding: 1rem 2rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.cta-form button:hover {
    background: #ea580c;
    transform: scale(1.05);
}


/* ==========================================
   08 - FOOTER
   ========================================== */

footer {
    background: var(--primary);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-about p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    opacity: 0.7;
}


/* ==========================================
   09 - RESPONSIVE DESIGN
   Mobile & Tablet
   ========================================== */

@media (max-width: 968px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 280px;
        height: calc(100vh - 80px);
        text-align: left;
        padding: 2rem 1.5rem;
        box-shadow: -5px 0 30px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* Why Us */
    .why-us-container {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 640px) {
    /* Hero */
    .hero-content h1 {
        font-size: 2rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 2rem;
    }

    /* Stats */
    .stats-container {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-content h2 {
        font-size: 2rem;
    }
}



/* ==========================================
   MOBILE MENU OVERLAY
   ========================================== */

.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 998;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.3s;
}

.menu-overlay.active {
    display: block;
    animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ==========================================
   10 - ANIMATIONS & TRANSITIONS
   ========================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-image {
    animation: fadeInUp 0.8s ease-out;
}