:root {
    --primary-color: #00a884; /* Professional Green */
    --secondary-color: #2c3e50; /* Deep Slate */
    --accent-color: #3498db; /* Soft Blue */
    --bg-light: #f4f7f6;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.8);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Header & Nav */
header {
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

nav {
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

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

.cta-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 168, 132, 0.2);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 168, 132, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: stretch;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, #1c2f3f 0%, var(--secondary-color) 100%);
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px 0 80px;
    z-index: 10;
}

.hero-image {
    width: 48%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 100%;
    background: linear-gradient(to right, #1c2f3f, transparent);
    z-index: 2;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 168, 132, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: white;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-3px);
    opacity: 0.9;
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--white);
    padding: 60px 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.stat-item p {
    color: var(--text-muted);
}

/* About Section */
.about {
    padding: 150px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-title h2 span, .about h2 span {
    color: var(--primary-color);
}

.check-list {
    list-style: none;
    margin-top: 30px;
}

.check-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.about-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.main-about-img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover .main-about-img {
    transform: scale(1.05);
}

.glass-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--secondary-color);
}

.glass-card-overlay h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Gallery */
.gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

/* Reviews Slider */
.reviews {
    padding: 100px 0;
    overflow: hidden;
}

.reviews-slider {
    width: 100%;
    padding: 40px 0;
}

.reviews-track {
    display: flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    width: 400px;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.05);
}

.stars {
    color: #f1c40f;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.review-card p {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--secondary-color);
    text-align: right;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-430px * 2.5)); } /* Adjusted for width+gap */
}

/* Services */
.services {
    background: var(--bg-light);
    padding: 120px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

/* FAQ */
.faq {
    padding: 120px 0;
}

.faq-list {
    max-width: 800px;
    margin: 50px auto 0;
}

details {
    background: var(--bg-light);
    margin-bottom: 20px;
    padding: 20px;
    border-radius: 12px;
    cursor: pointer;
}

summary {
    font-weight: 600;
    font-size: 1.1rem;
    outline: none;
}

details p {
    margin-top: 15px;
    color: var(--text-muted);
}

/* Contact */
.contact {
    padding: 120px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.info-item {
    margin-bottom: 30px;
}

.map-placeholder {
    height: 400px;
    background: #e5e7eb;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #9ca3af;
    font-weight: 600;
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0;
}

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

.footer-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
}

/* ── Hamburger Menü ───────────────────────────────────── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.bar {
    width: 26px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile Responsive */
@media (max-width: 968px) {
    .hero h1 { font-size: 2.5rem; }
    .about, .contact { grid-template-columns: 1fr; }
    .cta-button { display: none; }
    .menu-toggle { display: flex; }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--glass);
        backdrop-filter: blur(12px);
        padding: 20px 0 30px;
        gap: 0;
        border-bottom: 1px solid rgba(0,0,0,0.08);
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }

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

    .nav-links li { text-align: center; }

    .nav-links a {
        display: block;
        padding: 14px 20px;
        font-size: 1.05rem;
    }

    .hero { height: auto; flex-direction: column; padding-top: 80px; }
    .hero-content { padding: 60px 30px 40px; }
    .hero-image { width: 100%; height: 350px; }
    .hero-image::before { width: 100%; height: 80px; top: 0; background: linear-gradient(to bottom, #1c2f3f, transparent); }
    .stat-item { padding: 20px; }
    .stats { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── WhatsApp Yüzen Buton ─────────────────────────────── */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #25d366;
    color: white;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition);
    animation: wa-pulse 2.5s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: white;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0.12); }
}

/* ── Sertifikalar Bölümü ──────────────────────────────── */
.certificates {
    padding: 100px 0;
    background: var(--white);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 24px;
    margin-top: 50px;
}

.cert-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 35px 22px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.cert-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.cert-card:hover {
    border-color: rgba(0, 168, 132, 0.25);
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 168, 132, 0.1);
}

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

.cert-icon {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: block;
}

.cert-card h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
}

.cert-card p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Animations */
.hide {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal {
    opacity: 1;
    transform: translateY(0);
}
