/* ============================= */
/*  KURUMSAL RENK DEĞİŞKENLERİ  */
/* ============================= */

:root {

    /* === ANA RENKLER === */

    --primary-color: #0F2B46;
    /* Koyu Lacivert - Güven ve kurumsallık */
    --secondary-color: #2E5C8A;
    /* Çelik Mavisi - Destekleyici alanlar */
    --accent-color: #1F8A70;
    /* Zümrüt Yeşili - Buton & vurgu rengi */
    --gold-color: #D4AF37;
    /* Altın Sarısı - Logo uyumu */
    --gold-light: rgba(212, 175, 55, 0.15);

    /* === ARKA PLAN === */

    --background-light: #F4F6F8;
    /* Genel açık arka plan */
    --background-white: #FFFFFF;
    /* Kart ve içerik alanı */

    /* === METİN RENKLERİ === */

    --text-dark: #2B2B2B;
    /* Ana metin */
    --text-light: #6C757D;
    /* Açıklama metni */
    --text-white: #FFFFFF;
    /* Koyu zemin üzeri yazı */

    /* === BORDER & GÖLGE === */

    --border-color: #E0E6ED;
    /* İnce çerçeve rengi */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* Kart gölgesi */

    /* === Geri Uyumluluk (Kalan bileşenler için) === */
    --light-bg: var(--background-light);
    --white: var(--text-white);
    --card-bg: var(--background-white);
    --section-bg: var(--background-light);
    --text-color: var(--text-light);

    --success: #16a34a;
    --error: #dc2626;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow-sm: var(--shadow-soft);
    --shadow-md: 0 8px 24px rgba(15, 43, 70, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 43, 70, 0.12);
    --shadow-xl: 0 20px 48px rgba(15, 43, 70, 0.15);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--light-bg);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent-color);
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-size: 0.9rem;
    box-shadow: 0 4px 6px rgba(31, 138, 112, 0.2);
    transition: var(--transition);
}

.btn:hover {
    background-color: var(--white);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(31, 138, 112, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    padding: 0.9rem 2.4rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-outline:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(31, 138, 112, 0.4);
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(31, 138, 112, 0.4);
}

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

.logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

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

.nav-links a,
.nav-links .dropdown-toggle {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    cursor: pointer;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold-color);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    padding: 0.5rem 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    min-width: 220px;
    background: var(--card-bg);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
    border: 1px solid var(--border-color);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    background-color: var(--background-light);
    color: var(--gold-color);
    padding-left: 1.8rem;
}

@media (max-width: 968px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        display: none;
        padding-left: 1rem;
    }

    .dropdown:hover .dropdown-menu,
    .dropdown.open-mobile .dropdown-menu {
        display: block;
    }

    /* Mobil için tıklandığında değişen padding (iOS double-tap / tıklanmama) sorununu çözer */
    .dropdown-menu li a:hover,
    .dropdown-menu li a:active {
        padding-left: 1.5rem;
        background-color: transparent;
    }
}

.nav-cta {
    background: var(--accent-color);
    color: var(--white) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(31, 138, 112, 0.4);
    transition: var(--transition);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 138, 112, 0.4);
    color: var(--white) !important;
}

/* Mobile Menu */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    display: block;
    width: 28px;
    height: 2px;
    margin: 6px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 968px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 80%;
        max-width: 400px;
        background-color: var(--card-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

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

/* Hero Slider Section */
.hero-slider {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--white);
    z-index: 1;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.3s;
}

.slide.active .hero-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-subtitle {
    display: inline-block;
    color: var(--gold-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.hero-content h1 {
    font-size: 4rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: #e2e8f0;
    font-weight: 300;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Slider Controls */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.prev-btn {
    left: 2rem;
}

.next-btn {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .slider-btn {
        display: none;
    }

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

/* Section General */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3rem;
    position: relative;
    display: inline-block;
    padding-bottom: 1.5rem;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: var(--gold-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title p {
    max-width: 600px;
    margin: 1rem auto 0;
    color: #94a3b8;
    font-size: 1.1rem;
}

/* Services */
.services-section {
    background-color: var(--section-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-xl);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-card:hover .service-icon {
    color: var(--gold-color);
    transform: scale(1.1) rotate(5deg);
}

.service-icon {
    font-size: 3rem;
    color: var(--gold-color);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card p {
    color: var(--text-color);
    font-size: 0.95rem;
    transition: var(--transition);
}

/* Stats Section */
.stats-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.stat-item p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--border-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Blog Preview */
.blog-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-img {
    height: 240px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.blog-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-category {
    font-size: 0.75rem;
    color: var(--accent-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
    display: block;
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.blog-title a {
    color: var(--white);
    background-image: linear-gradient(var(--gold-color), var(--gold-color));
    background-position: 0% 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: background-size .3s;
}

.blog-title a:hover {
    background-size: 100% 2px;
}

.blog-meta {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    color: #94a3b8;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    background: var(--background-white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.contact-info {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 4rem 3rem;
}

.contact-info h2 {
    color: var(--text-white);
}

.contact-info p,
.contact-info a {
    color: rgba(255, 255, 255, 0.85);
}

.contact-form-wrapper {
    padding: 4rem 3rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--background-light);
    color: var(--text-dark);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: var(--background-white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, rgba(15, 43, 70, 0.95) 100%);
    color: rgba(255, 255, 255, 0.75);
    padding: 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding: 5rem 0 3rem;
}

.footer-brand {
    padding-right: 2rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.footer-logo i {
    color: var(--gold-color);
    font-size: 1.4rem;
}

.footer-logo:hover {
    color: var(--gold-color);
}

.footer-desc {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-color));
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(31, 138, 112, 0.3);
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-color), transparent);
    bottom: 0;
    left: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-col ul li a i {
    font-size: 0.6rem;
    color: var(--gold-color);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--gold-color);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.95rem;
}

.footer-contact li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
}

.footer-contact li i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    color: var(--gold-color);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.footer-contact li a:hover {
    color: var(--gold-color);
    padding-left: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #475569;
}

@media (max-width: 768px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3rem 0 2rem;
    }

    .footer-brand {
        padding-right: 0;
    }
}

/* Responsive Typography */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

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

    .section-title h2 {
        font-size: 2.2rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 2.5rem;
    }
}

/* FAQ Section */
.faq-section {
    background-color: var(--background-light);
}

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

.faq-item {
    background: var(--background-white);
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    box-shadow: var(--shadow-md);
    border-color: var(--gold-color);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: var(--background-light);
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--background-white);
}

.faq-answer p {
    padding: 0 2rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}



.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}