/*
Theme Name: Davraz Kayak Eğitimi
Theme URI: https://davrazkayakegitimi.com
Author: Nexaio Studio
Description: Davraz Kayak Eğitimi için özel olarak geliştirilmiş hızlı, mobil uyumlu WordPress teması.
Version: 1.0.0
Text Domain: davraz-kayak
*/

:root {
    --navy-dark: #071936;
    --navy-main: #0c2340;
    --blue-primary: #0051ba;
    --blue-hover: #003d8f;
    --whatsapp-green: #126b38;
    --whatsapp-light: #25d366;
    --text-dark: #0f243c;
    --text-muted: #5a6b82;
    --bg-light: #f4f7fb;
    --white: #ffffff;
    --shadow-soft: 0 12px 32px rgba(7, 25, 54, 0.08);
    --radius-lg: 14px;
    --radius-md: 8px;
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

ul {
    list-style: none;
}

/* --- HEADER & NAVİGASYON --- */
.site-header {
    background: linear-gradient(90deg, #ffffff 65%, #dbe9f8 100%);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.04);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 54px;
    height: 44px;
    fill: var(--blue-primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.logo-text .brand-main {
    font-size: 26px;
    font-weight: 900;
    color: var(--navy-main);
    letter-spacing: 0.5px;
}

.logo-text .brand-sub {
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-primary);
    letter-spacing: 0.8px;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 26px;
}

.main-nav a {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--navy-main);
    text-transform: uppercase;
    padding: 8px 0;
    position: relative;
}

.main-nav li.current-menu-item a,
.main-nav a:hover {
    color: var(--blue-primary);
}

.main-nav li.current-menu-item a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--blue-primary);
    border-radius: 2px;
}

.btn-header-wa {
    background-color: var(--navy-main);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-md);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
}

.btn-header-wa:hover {
    background-color: var(--blue-primary);
}

.btn-header-wa i {
    font-size: 20px;
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    padding: 85px 0 130px 0;
    overflow: hidden;
}

/* Görselin sol tarafındaki yazının okunmasını sağlayan yumuşak geçiş */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(235,243,252,0.96) 0%, rgba(235,243,252,0.82) 45%, rgba(255,255,255,0) 75%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-light) 10%, transparent 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 630px;
}

.hero-title-box {
    border-left: 10px solid var(--blue-primary);
    padding-left: 22px;
    margin-bottom: 24px;
}

.hero-title-box h1 {
    font-size: 46px;
    font-weight: 800;
    color: var(--navy-main);
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero-title-box h2 {
    font-size: 32px;
    font-weight: 500;
    color: var(--navy-main);
    line-height: 1.25;
}

.hero-desc {
    font-size: 15.5px;
    color: #2b3e58;
    margin-bottom: 32px;
    font-weight: 500;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--blue-primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(0, 81, 186, 0.28);
}

.btn-primary:hover {
    background-color: var(--blue-hover);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--blue-primary);
    border: 1.5px solid var(--blue-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 26px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 700;
}

.btn-outline:hover {
    background-color: var(--blue-primary);
    color: var(--white);
}

/* --- HİZMETLER VE GÜVEN BARLARI (FLOATING BARS) --- */
.floating-bars-wrapper {
    position: relative;
    z-index: 10;
    margin-top: -75px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.white-services-bar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-soft);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.service-mini-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-right: 1px solid #e2e8f0;
}

.service-mini-item:last-child {
    border-right: none;
}

.service-mini-item i {
    font-size: 32px;
    color: var(--blue-primary);
    flex-shrink: 0;
}

.service-mini-text h4 {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--navy-main);
    margin-bottom: 3px;
    text-transform: uppercase;
}

.service-mini-text p {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* LACİVERT GÜVEN BARI */
.dark-trust-bar {
    background: var(--navy-dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto;
    align-items: center;
    box-shadow: 0 12px 28px rgba(7, 25, 54, 0.2);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item i {
    font-size: 28px;
    color: #cbd5e1;
}

.trust-text h5 {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.trust-text p {
    font-size: 11.5px;
    color: #94a3b8;
}

.wa-cta-box {
    padding-left: 20px;
}

.btn-wa-green {
    background-color: var(--whatsapp-green);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 22px;
    border-radius: var(--radius-md);
}

.btn-wa-green:hover {
    background-color: #168245;
}

.btn-wa-green i {
    font-size: 28px;
    color: #4ade80;
}

.wa-phone-details {
    display: flex;
    flex-direction: column;
}

.wa-phone-details .phone-num {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.wa-phone-details .phone-sub {
    font-size: 11px;
    color: #d1fae5;
}

/* --- KAYAK DERSLERİMİZ KARTLAR BÖLÜMÜ --- */
.courses-section {
    padding: 70px 0 90px;
}

.section-header {
    text-align: center;
    margin-bottom: 45px;
}

.section-header .sub-badge {
    font-size: 14px;
    font-weight: 800;
    color: var(--blue-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    display: block;
    margin-bottom: 6px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--navy-main);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.course-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-6px);
}

.course-img-wrap {
    height: 270px;
    width: 100%;
    overflow: hidden;
}

.course-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-img-wrap img {
    transform: scale(1.05);
}

/* Görseldeki sol alttan binen beyaz sekme yapısı */
.course-card-caption {
    position: relative;
    background: var(--white);
    width: 78%;
    margin-top: -54px;
    padding: 18px 22px;
    border-top-right-radius: var(--radius-lg);
    z-index: 2;
}

.course-card-caption h3 {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-main);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.course-card-caption p {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */
@media (max-width: 1100px) {
    .white-services-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .service-mini-item {
        border-right: none;
    }
    .dark-trust-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .trust-item {
        border-right: none;
    }
    .wa-cta-box {
        grid-column: span 2;
        padding-left: 0;
    }
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none; /* Mobil menü tetikleyicisi için */
    }
    .hero-title-box h1 {
        font-size: 32px;
    }
    .hero-title-box h2 {
        font-size: 22px;
    }
    .white-services-bar,
    .dark-trust-bar,
    .courses-grid {
        grid-template-columns: 1fr;
    }
    .wa-cta-box {
        grid-column: span 1;
    }
}