﻿/* Global Theme - Soft Green Redesign */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-mint-1: #f3fff7;
    --bg-mint-2: #e9f9ee;
    --bg-mint-3: #d8f1df;
    --surface: #ffffff;
    --surface-soft: #f6fdf8;
    --surface-strong: #f0faf3;
    --text-main: #183128;
    --text-muted: #5f7a6c;
    --line-soft: rgba(21, 84, 54, 0.12);
    --line-strong: rgba(21, 84, 54, 0.22);
    --brand: #2a9d66;
    --brand-dark: #1e7f50;
    --brand-light: #61c98f;
    --accent: #6eb98f;
    --shadow-soft: 0 18px 45px rgba(21, 84, 54, 0.08);
    --shadow-card: 0 14px 34px rgba(18, 70, 47, 0.10);
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background: radial-gradient(circle at 7% 10%, #e3f6e8 0%, transparent 40%),
                radial-gradient(circle at 90% 15%, #dff4e7 0%, transparent 45%),
                radial-gradient(circle at 20% 92%, #e6f7eb 0%, transparent 40%),
                linear-gradient(180deg, var(--bg-mint-1) 0%, var(--bg-mint-2) 55%, var(--bg-mint-3) 100%);
    background-attachment: fixed;
}

body::before,
body::after {
    content: "";
    position: fixed;
    border-radius: 999px;
    filter: blur(4px);
    z-index: -1;
    pointer-events: none;
}

body::before {
    width: 420px;
    height: 420px;
    top: -150px;
    right: -120px;
    background: rgba(136, 219, 169, 0.25);
}

body::after {
    width: 460px;
    height: 460px;
    left: -170px;
    bottom: -180px;
    background: rgba(109, 201, 150, 0.22);
}

main > section {
    margin: 1.5rem auto;
    border-radius: 1.5rem;
    border: 1px solid var(--line-soft);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 255, 250, 0.9));
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

main > section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(110, 185, 143, 0.03));
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #163126;
}

p,
.small,
.text-muted {
    color: var(--text-muted) !important;
}

a {
    color: inherit;
}

a:hover {
    color: inherit;
}

.text-gradient {
    background: linear-gradient(120deg, #2a9d66, #1e7f50);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Topbar + Header */
.topbar {
    background: linear-gradient(90deg, #edf9f1, #f6fff8);
    color: #395a4a;
    border-bottom: 1px solid var(--line-soft) !important;
}

.topbar a {
    color: #2a4a3b;
}

.topbar a:hover {
    color: var(--brand-dark);
}

.topbar-container {
    max-width: 100%;
    padding-inline: 15px;
}

.topbar-phone {
    white-space: nowrap;
    font-weight: 600;
}

.social-links a {
    color: #6d8a7c;
    font-size: 1.05rem;
}

.social-links a:hover {
    color: var(--brand-dark);
}

.main-header {
    background: transparent;
    backdrop-filter: blur(8px);
}

.navbar {
    margin-top: 0.55rem;
    border-radius: 1rem;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 10px 24px rgba(21, 84, 54, 0.08);
}

.navbar-brand .brand-logo {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #56c887, #2a9d66);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 10px 24px rgba(42, 157, 102, 0.35);
}

.brand-subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

.nav-link {
    font-weight: 500;
    color: #406454 !important;
    border-radius: 0.6rem;
    padding-inline: 0.75rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-dark) !important;
    background: rgba(83, 182, 128, 0.12);
}

.dropdown-menu {
    border-radius: 0.9rem;
    border: 1px solid var(--line-soft);
    box-shadow: var(--shadow-card);
}

.dropdown-item:hover {
    background: rgba(83, 182, 128, 0.12);
    color: #185936;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, #42b979, #2a9d66);
    border-color: #2a9d66;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #2ea366, #1e7f50);
    border-color: #1e7f50;
}

.btn-light {
    border-color: rgba(255, 255, 255, 0.75);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

/* Hero - kept same layout, refined look */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 90vh;
    overflow: hidden;
    margin-top: 0;
    border-radius: 0 0 1.8rem 1.8rem;
    border: 0;
    box-shadow: 0 26px 50px rgba(14, 35, 24, 0.2);
}

.hero-section::after {
    display: none;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-image-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 22, 16, 0.25) 0%, rgba(9, 22, 16, 0.48) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.3rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.45);
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}

.hero-badge-text {
    font-weight: 600;
    font-size: 0.93rem;
    letter-spacing: 0.02em;
}

.hero-cta-btn {
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(23, 122, 78, 0.35);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
}

.hero-stat-number {
    font-weight: 800;
    color: #d8ffe7;
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.16);
    padding: 10px 20px;
    border-radius: 999px;
    backdrop-filter: blur(10px);
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 24px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.8);
}

.hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(240, 255, 246, 0.92);
    color: #1d7448;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    z-index: 10;
    border: 1px solid rgba(42, 157, 102, 0.25);
}

.hero-floating-card {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, rgba(28, 120, 75, 0.95), rgba(32, 145, 91, 0.92));
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    max-width: 280px;
    backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 12px 28px rgba(16, 65, 42, 0.45);
    border: 1px solid rgba(221, 255, 236, 0.25);
}

.icon-circle {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.hero-floating-card .icon-circle {
    background: rgba(239, 255, 246, 0.24);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-stats > div {
    min-width: 90px;
}

.backdrop-blur-sm {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Section Variants */
.bg-light,
.bg-primary-subtle {
    background: transparent !important;
}

#neden-biz,
#referanslar,
#iletisim {
    background: linear-gradient(180deg, rgba(245, 255, 249, 0.96), rgba(237, 250, 242, 0.9)) !important;
}

.section-heading p {
    max-width: 540px;
    margin-inline: auto;
}

/* Feature + Service Cards */
.feature-box {
    background: linear-gradient(160deg, #ffffff, #f4fcf7);
    border-radius: 1rem;
    padding: 1.1rem 1.2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line-soft);
}

.icon-circle-sm {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.bg-soft-primary { background: rgba(61, 174, 116, 0.12); }
.bg-soft-success { background: rgba(39, 157, 96, 0.14); }
.bg-soft-info { background: rgba(77, 164, 136, 0.13); }
.bg-soft-warning { background: rgba(140, 178, 96, 0.16); }
.bg-soft-danger { background: rgba(198, 124, 96, 0.14); }
.bg-soft-secondary { background: rgba(132, 158, 151, 0.15); }

.service-card {
    background: linear-gradient(165deg, #ffffff 0%, #f5fdf8 100%);
    border-radius: 1.3rem;
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line-soft);
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 48px rgba(21, 84, 54, 0.18);
    border-color: rgba(42, 157, 102, 0.4);
}

.service-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.highlight-card {
    border-radius: 1.6rem;
    background: linear-gradient(140deg, #1f7f50, #2f9b67, #5bbb84);
    color: #ecfff4;
    box-shadow: 0 24px 44px rgba(22, 92, 58, 0.35);
    border: 1px solid rgba(217, 252, 231, 0.24);
}

.highlight-card .small,
.highlight-card .text-muted,
.highlight-card .text-light-emphasis {
    color: #d7f9e5 !important;
}

/* Testimonial */
.testimonial-card {
    background: linear-gradient(165deg, #ffffff 0%, #f2faf5 100%);
    border-radius: 1.5rem;
    padding: 2.4rem 2.8rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--line-soft);
}

.testimonial-card p.lead {
    font-size: 1.05rem;
    color: #305646;
}

.carousel-control-prev,
.carousel-control-next {
    filter: hue-rotate(45deg) saturate(0.7);
}

/* FAQ + accordion */
.accordion-item {
    border: 1px solid var(--line-soft);
    border-radius: 0.8rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(21, 84, 54, 0.06);
}

.accordion-button {
    color: #1f4a35;
    font-weight: 600;
    background: linear-gradient(180deg, #f8fffb, #f1fbf5);
}

.accordion-button:not(.collapsed) {
    color: #185936;
    background: linear-gradient(180deg, #ecfff3, #e3f7eb);
    box-shadow: inset 0 -1px 0 rgba(42, 157, 102, 0.15);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(42, 157, 102, 0.2);
}

/* Form + Contact */
.contact-highlight {
    border-radius: 1rem;
    background: linear-gradient(140deg, rgba(87, 194, 137, 0.15), rgba(49, 163, 105, 0.11));
    border: 1px solid rgba(34, 143, 90, 0.28);
}

.card {
    border-radius: 1.2rem;
}

.form-control,
.form-select {
    border-radius: 0.8rem;
    border-color: #d3e8dc;
    background: #fcfffd;
}

.form-control:focus,
.form-select:focus {
    border-color: #2a9d66;
    box-shadow: 0 0 0 0.2rem rgba(42, 157, 102, 0.15);
}

.form-note {
    line-height: 1.4;
}

/* Footer */
.footer {
    background: linear-gradient(150deg, #153a2b, #0f2d21);
    border-top: 1px solid rgba(152, 240, 190, 0.24);
}

.footer-link {
    color: #e3f8eb;
    text-decoration: none;
}

.footer-link:hover {
    color: #abf0ca;
}

.social-circle {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(209, 255, 228, 0.12);
    color: #ddffeb;
    font-size: 1rem;
    border: 1px solid rgba(193, 255, 221, 0.2);
}

.social-circle:hover {
    background: #3ab175;
    color: #ffffff;
}

/* Back to top */
.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    border-radius: 999px;
    width: 44px;
    height: 44px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 10px 28px rgba(21, 84, 54, 0.24);
}

.back-to-top.show {
    display: inline-flex;
}

/* Inner Pages / region pages */
.page-hero {
    background: linear-gradient(135deg, #effff5, #dcf3e4);
    border-bottom: 1px solid rgba(75, 145, 106, 0.2);
    border-radius: 1.3rem;
}

.page-hero .badge {
    letter-spacing: 0.04em;
}

.info-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(44, 122, 82, 0.1);
    color: #18462f;
    font-size: 0.85rem;
}

.pill-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(73, 135, 101, 0.3);
    background: #f8fdf9;
    color: #1a4330;
    text-decoration: none;
    transition: all 0.15s ease;
}

.pill-link:hover {
    border-color: rgba(42, 157, 102, 0.52);
    box-shadow: 0 10px 20px rgba(21, 84, 54, 0.1);
    color: #1b7e4e;
}

.region-card {
    background: linear-gradient(160deg, #ffffff, #f3fbf7);
    border-radius: 1rem;
    border: 1px solid rgba(79, 138, 106, 0.2);
    box-shadow: 0 14px 32px rgba(21, 84, 54, 0.1);
    height: 100%;
}

.region-card h3 {
    font-size: 1.1rem;
}

.region-chip {
    background: rgba(44, 148, 95, 0.11);
    color: #175938;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.85rem;
}

.region-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.cta-card {
    border: 1px solid rgba(39, 132, 84, 0.24);
    background: linear-gradient(135deg, rgba(80, 175, 122, 0.16), rgba(116, 199, 151, 0.13));
}

.faq-highlight {
    border-radius: 1rem;
    background: linear-gradient(160deg, #ffffff, #f4faf6);
    border: 1px solid rgba(74, 138, 104, 0.2);
    box-shadow: 0 14px 32px rgba(21, 84, 54, 0.07);
}

.region-slider {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #133226;
}

.region-slider img {
    width: 100%;
    display: block;
    object-fit: cover;
    max-height: 260px;
}

.region-slide {
    display: none;
}

.region-slide.active {
    display: block;
}

.region-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.region-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(219, 247, 230, 0.65);
}

.region-slider-dot.active {
    width: 18px;
    background: #6ce0a1;
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 80vh;
        border-radius: 0 0 1.2rem 1.2rem;
    }

    .min-vh-75 {
        min-height: 65vh;
    }

    .hero-content-wrapper {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 2.45rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-floating-card {
        max-width: 240px;
        padding: 0.9rem;
    }

    .topbar-phone {
        font-size: 0.85rem;
    }
}

@media (max-width: 767.98px) {
    main > section {
        margin: 0.85rem auto;
        border-radius: 1rem;
    }

    .topbar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .topbar-container {
        flex-wrap: wrap;
    }

    .topbar-left {
        display: none;
    }

    .topbar-contacts {
        gap: 0.5rem !important;
        width: 100%;
        justify-content: center;
    }

    .hero-section {
        min-height: 70vh;
    }

    .min-vh-75 {
        min-height: 60vh;
    }

    .hero-content-wrapper {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 1rem !important;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-badge {
        top: 10px;
        left: 10px;
        font-size: 0.7rem;
        padding: 0.35rem 0.7rem;
        display: none;
    }

    .hero-floating-card {
        right: 10px;
        bottom: 60px;
        max-width: 180px;
        padding: 0.7rem;
        font-size: 0.85rem;
    }

    .hero-floating-card .icon-circle {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .hero-floating-card h5 {
        font-size: 1.1rem;
    }

    .hero-slider-dots {
        bottom: 15px;
        padding: 6px 12px;
    }

    .hero-dot {
        width: 7px;
        height: 7px;
    }

    .hero-dot.active {
        width: 18px;
    }

    .hero-badge-text {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem !important;
    }

    .hero-cta-btn {
        font-size: 0.9rem !important;
        padding: 0.65rem 1.25rem !important;
        width: 100%;
        max-width: 280px;
    }

    .testimonial-card {
        padding: 1.6rem 1.8rem;
    }
}
