:root {
    --bg-dark: #031919;
    --bg-dark-soft: #083131;
    --bg-card-1: #0d3b39;
    --bg-card-2: #155552;
    --accent: #13c29a;
    --accent-soft: #0f766e;
    --text-light: #ffffff;
    --text-muted: #e0e0e0;
    --text-body: #f5f5f5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Poppins", system-ui, -apple-system, sans-serif;
    background: #f5f6fa;
    color: #222;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Layout helpers */
.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    background: linear-gradient(to right, rgba(3,25,25,0.98), rgba(3,25,25,0.85));
    color: var(--text-light);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 4vw;
}

.logo {
    font-weight: 600;
    letter-spacing: 0.5px;
}

.burger {
    width: 26px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.burger span {
    height: 3px;
    border-radius: 999px;
    background: var(--text-light);
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .burger { display: none; }
    .main-nav {
        display: flex;
        gap: 1.5rem;
        font-size: 0.95rem;
    }
    .main-nav a {
        opacity: 0.85;
    }
    .main-nav a:hover {
        opacity: 1;
        color: var(--accent);
    }
}

/* HERO */
.hero {
    margin-top: 58px;             /* fixed header boşluğu */
    position: relative;
    color: #ffffff;
    background: #000;
}

.hero-inner {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

/* Her slide tam ekran arka plan resmi */
.hero-slide {
    position: absolute;
    inset: 0; /* top:0 right:0 bottom:0 left:0 */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: flex-end;    /* yazıları sağ tarafa it */
    align-items: center;

    padding: 3rem 4vw;

    opacity: 0;
    pointer-events: none;
    transform: translateX(20px);
    transition: opacity .6s ease, transform .6s ease;
}

/* Karanlık overlay (resmin üstüne) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(3,25,25,0.95),
        rgba(3,25,25,0.60),
        rgba(3,25,25,0.30)
    );
}

/* Yazı kutusu */
.hero-content {
    position: relative;           /* overlay'den yukarıda */
    max-width: 480px;
    text-align: left;
}

/* Aktif slide */
.hero-slide.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* Başlık, metin vs. eski halleriyle kalabilir */
.hero-step {
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-bottom: 0.8rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 1.5rem;
}

/* Noktalar */
.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.4rem;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
}

.hero-dot.active {
    background: #ffffff;
}

@media (max-width: 767px) {
    .hero-inner {
        min-height: 480px;
    }

    .hero-slide {
        justify-content: center;  /* mobilde ortaya gelsin */
        padding: 2.5rem 1.4rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 1.7rem;
    }
}

/* ABOUT */
.about {
    padding: 3rem 0 1rem;
    background: #ffffff;
}

.about-box {
    max-width: 640px;
    margin: 0 auto;
}

.about-box h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #032020;
}

.about-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #444;
    text-align: justify;
    text-align-last: justify;
}

/* SERVICES */
.services {
    background: var(--bg-dark);
    padding: 3rem 0;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.3rem;
}

.service-card {
    padding: 1.7rem 1.6rem;
    border-radius: 10px;
    background: var(--bg-card-1);
}

.service-card:nth-child(2) {
    background: var(--bg-card-2);
}

.service-card:nth-child(3) {
    background: var(--bg-card-1);
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
    text-align: justify;
    text-align-last: justify;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 1.1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-card a i {
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* TESTIMONIALS */
.testimonials {
    background: #fdfdfd;
    padding: 3rem 0;
}

.testimonial-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.testimonial-title {
    text-align: center;
    font-size: 1.4rem;
    margin-bottom: 1.6rem;
    color: #032020;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
    padding: 1.8rem 1.5rem 1.6rem;
    text-align: center;
    position: relative;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffe2d9;
    margin: 0 auto 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.testimonial-quote-icon {
    font-size: 1.1rem;
    color: var(--accent-soft);
    margin-bottom: 0.5rem;
}

.testimonial-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #555;
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: #0f866f;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.testimonial-arrow.left {
    left: -16px;
}
.testimonial-arrow.right {
    right: -16px;
}

@media (max-width: 480px) {
    .testimonial-arrow.left { left: -6px; }
    .testimonial-arrow.right { right: -6px; }
}

/* CLIENTS */
.clients {
    padding: 3rem 0 2.5rem;
    background: #050607;
    color: var(--text-light);
    text-align: center;
}

.clients h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.clients p {
    font-size: 0.9rem;
    margin-bottom: 1.8rem;
    color: var(--text-muted);
}

.client-logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.client-logo {
    background: rgba(255,255,255,0.06);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
}

.client-logo img {
    max-height: 32px;
}

@media (min-width: 600px) {
    .client-logos {
        flex-direction: row;
        justify-content: center;
    }
}

/* CONTACT + HOURS */
.contact-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 3rem 0 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.contact-block h2 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    text-align: left;
}

.contact-item {
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-label {
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.contact-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.hours-block {
    text-align: center;
}

.hours-title {
    font-weight: 500;
    margin: 0.5rem 0;
}

.hours-time {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.6rem;
}

.subscribe-title {
    font-weight: 500;
    margin-bottom: 0.6rem;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: stretch;
}

.subscribe-form input {
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: none;
    outline: none;
}

.subscribe-form button {
    padding: 0.7rem 0.9rem;
    border-radius: 999px;
    border: none;
    background: var(--accent-soft);
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
}
.subscribe-form button:hover {
    background: var(--accent);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: flex-start;
    }
}

/* FOOTER */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 1.2rem 0 1.6rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
    font-size: 1.1rem;
}

.social-links a {
    color: #ffffff;
    opacity: 0.8;
}
.social-links a:hover {
    opacity: 1;
    color: var(--accent);
}

@media (min-width: 600px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* ============================
   EĞİTİMLER SAYFASI TASARIMI
   ============================ */

/* Üst hero alanı */
.trainings-hero {
    margin-top: 58px; /* sabit header boşluğu */
    background: linear-gradient(120deg, var(--bg-dark) 0%, var(--bg-dark-soft) 45%, #062624 100%);
    color: var(--text-light);
    padding: 3.5rem 0 3rem;
}

.trainings-hero-inner {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.trainings-hero-text {
    max-width: 650px;
}

.trainings-hero-text h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.trainings-hero-text p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.trainings-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.25);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.trainings-hero-list {
    list-style: none;
    margin-top: 0.6rem;
}

.trainings-hero-list li {
    font-size: 0.9rem;
    color: var(--text-body);
    margin-bottom: 0.25rem;
    position: relative;
    padding-left: 1.1rem;
}

.trainings-hero-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--accent);
    position: absolute;
    left: 0;
    top: 0.55rem;
}

/* Kartların bulunduğu bölüm */
.trainings-list {
    background: #f5f6fa;
    padding: 2.5rem 0 3rem;
}

/* Grid yapısı */
.training-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.8rem;
}

@media (min-width: 900px) {
    .training-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Kart tasarımı */
.training-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.8rem 1.6rem 1.5rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    border-top: 3px solid var(--accent-soft);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.training-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.25rem;
}

.training-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--bg-dark);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.training-card h2 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #032020;
}

.training-tag {
    display: inline-flex;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(19, 194, 154, 0.12);
    color: var(--accent);
}

.training-card p {
    font-size: 0.93rem;
    line-height: 1.7;
    color: #444;
}

.training-footer {
    margin-top: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: #666;
    flex-wrap: wrap;
}

.training-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--accent-soft);
    font-weight: 500;
}

.training-link i {
    font-size: 0.85rem;
}

.training-link:hover {
    color: var(--accent);
}

@media (max-width: 600px) {
    .trainings-hero {
        padding: 3rem 0 2.5rem;
    }

    .trainings-hero-text h1 {
        font-size: 1.6rem;
    }

    .training-card {
        padding: 1.6rem 1.4rem 1.4rem;
    }
}
