/* =========================================
   AKAR İletişim — Orman Yeşili & Açık Adaçayı Tema
   ========================================= */
:root {
    --primary-color: #0f5138;
    --primary-hover: #0a3c2a;
    --primary-deep: #071c13;
    --primary-soft: #e7f0e9;
    --secondary-color: #111814;

    --accent-light: #e9f3ec;
    --accent-light-hover: #ffffff;
    --accent-strong: #285d43;
    --accent-soft: #f2f6f2;

    --bg-main: #fbfaf5;
    --bg-section: #eef2eb;
    --surface: #fffef9;
    --surface-dark: #0b2519;

    --text-main: #17221b;
    --text-muted: #5a675f;
    --text-on-dark: #f8f5e9;
    --text-on-dark-muted: #cbd8d0;
    --border-color: #d9e2da;

    /* Eski yardımcı sınıflar, yeni paletin uyumlu tonlarına bağlandı. */
    --color-blue-light: #e7f0e9;
    --color-green-light: #e1eee5;
    --color-orange-light: #edf3ee;
    --color-orange: #496b56;
    --color-purple-light: #edf1e6;
    --color-purple: #436a50;
    --color-pink-light: #eef3ef;
    --color-pink: #587a65;
    --color-teal-light: #e2eee7;
    --color-teal: #2e7251;
    --accent-green: #168354;
    --accent-green-hover: #0f6a43;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --shadow-sm: 0 2px 8px rgb(8 36 24 / 0.06);
    --shadow-md: 0 10px 28px rgb(8 36 24 / 0.11);
    --shadow-lg: 0 22px 55px rgb(4 24 15 / 0.18);

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    line-height: 1.15;
}

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

ul {
    list-style: none;
}

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

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

.section-bg {
    background-color: var(--bg-section);
}

section {
    padding: 5.5rem 0;
}

/* Utilities */
.text-primary { color: var(--primary-color); }
.text-green { color: var(--accent-green); }
.text-accent { color: var(--accent-strong); }
.text-orange { color: var(--color-orange); }
.text-purple { color: var(--color-purple); }
.text-pink { color: var(--color-pink); }
.text-teal { color: var(--color-teal); }

.bg-blue-light { background-color: var(--color-blue-light); }
.bg-green-light { background-color: var(--color-green-light); }
.bg-orange-light { background-color: var(--color-orange-light); }
.bg-purple-light { background-color: var(--color-purple-light); }
.bg-pink-light { background-color: var(--color-pink-light); }
.bg-teal-light { background-color: var(--color-teal-light); }

.text-center { text-align: center; }
.w-100 { width: 100%; }
.mt-4 { margin-top: 1.5rem; }
.justify-center { justify-content: center; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.45rem;
    border: 1px solid transparent;
    border-radius: 0.65rem;
    font-family: var(--font-body);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background-color: var(--accent-light);
    color: var(--primary-deep);
    border-color: #c9ddcf;
    box-shadow: 0 8px 24px rgb(180 210 190 / 0.16);
}

.btn-primary:hover {
    background-color: var(--accent-light-hover);
    border-color: #deebe2;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgb(180 210 190 / 0.22);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-on-dark);
    border-color: rgb(248 245 233 / 0.42);
}

.btn-secondary:hover {
    background-color: rgb(255 255 255 / 0.09);
    border-color: var(--accent-light);
    color: white;
    transform: translateY(-2px);
}

.btn-whatsapp {
    background-color: var(--accent-green);
    color: white;
}

.btn-whatsapp:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-instagram {
    background: linear-gradient(135deg, #833ab4, #e1306c, #f77737);
    color: white;
}

.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    filter: brightness(1.08);
}

.btn-map {
    background-color: #2563eb;
    color: white;
    box-shadow: 0 8px 24px rgb(37 99 235 / 0.18);
}

.btn-map:hover {
    background-color: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgb(37 99 235 / 0.24);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
    outline: 3px solid #c5dfcd;
    outline-offset: 3px;
}

/* Header & Navigation */
.navbar {
    position: fixed;
    inset: 0 0 auto;
    width: 100%;
    background-color: rgb(7 28 19 / 0.94);
    border-bottom: 1px solid rgb(222 238 227 / 0.18);
    backdrop-filter: blur(12px);
    z-index: 1000;
    box-shadow: 0 6px 24px rgb(0 0 0 / 0.12);
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background-color: rgb(5 21 14 / 0.97);
    box-shadow: 0 10px 30px rgb(0 0 0 / 0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: height var(--transition-normal);
}

.navbar.scrolled .nav-container {
    height: 66px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-dark);
}

.logo-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 0.65rem;
}

.logo .text-primary {
    color: var(--accent-light);
}

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

.nav-links a {
    color: #d5dfd9;
    font-weight: 500;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--accent-light);
    cursor: pointer;
}

/* Hero */
.hero-section {
    padding-top: 126px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 12% 18%, rgb(32 104 72 / 0.42), transparent 34%),
        radial-gradient(circle at 88% 82%, rgb(198 224 207 / 0.12), transparent 28%),
        linear-gradient(135deg, #071c13 0%, #0b2d1e 52%, #080d0a 100%);
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border: 1px solid rgb(222 238 227 / 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::before {
    width: 440px;
    height: 440px;
    top: -210px;
    right: -120px;
}

.hero-section::after {
    width: 260px;
    height: 260px;
    bottom: -150px;
    left: 38%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--text-on-dark);
    font-size: clamp(2.75rem, 5vw, 3.75rem);
    letter-spacing: -0.035em;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(110deg, #ffffff 0%, #bcd9c6 52%, #f3faf5 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content > p {
    max-width: 540px;
    margin-bottom: 2rem;
    color: var(--text-on-dark-muted);
    font-size: 1.125rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(222 238 227 / 0.2);
}

.stat-item h4 {
    margin-bottom: 0.25rem;
    color: #f1f7f3;
    font-size: 1.45rem;
}

.stat-item p {
    margin: 0;
    color: #b9c9c0;
    font-size: 0.875rem;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    aspect-ratio: 4 / 5;
    border: 1px solid rgb(222 238 227 / 0.5);
    border-radius: 2rem;
    padding: 0.5rem;
    background: rgb(255 255 255 / 0.06);
    box-shadow: 0 28px 70px rgb(0 0 0 / 0.38);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(145deg, transparent 50%, rgb(4 28 17 / 0.27));
    pointer-events: none;
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 56%;
    border-radius: 1.5rem;
}

.floating-card {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1.1rem;
    border: 1px solid rgb(176 205 186 / 0.5);
    border-radius: 0.9rem;
    background: rgb(255 254 249 / 0.96);
    color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    animation: float 3.5s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: -20px;
    right: -20px;
}

.card-2 {
    bottom: -20px;
    left: -20px;
    animation-delay: 1.75s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-9px); }
}

/* Shared Sections */
.section-header {
    margin-bottom: 3.25rem;
}

.section-subtitle {
    display: block;
    margin-bottom: 0.6rem;
    color: var(--accent-strong);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-subtitle::before {
    content: '';
    display: inline-block;
    width: 26px;
    height: 2px;
    margin: 0 0.6rem 0.25rem 0;
    background: #93b9a0;
}

.section-header h2 {
    margin-bottom: 1rem;
    color: var(--primary-deep);
    font-size: clamp(2rem, 4vw, 2.65rem);
    letter-spacing: -0.02em;
}

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

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.service-card {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #a8c9b3);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: rgb(120 164 136 / 0.5);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

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

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgb(15 81 56 / 0.1);
    border-radius: 1rem;
    font-size: 2rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-deep);
    font-size: 1.25rem;
}

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

/* Products */
.products-section {
    background: var(--bg-main);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.product-category {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.product-category:hover {
    border-color: rgb(120 164 136 / 0.5);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.product-category img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    filter: saturate(0.88) contrast(1.03);
    transition: transform 0.55s ease, filter 0.55s ease;
}

.product-category:hover img {
    filter: saturate(1) contrast(1.04);
    transform: scale(1.045);
}

.product-info {
    position: relative;
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-deep);
    font-size: 1.25rem;
}

.product-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 1.5rem;
    background: var(--surface);
    box-shadow: var(--shadow-md);
}

.contact-info > h2 {
    margin-bottom: 0.8rem;
    color: var(--primary-deep);
    font-size: clamp(2rem, 4vw, 2.55rem);
}

.contact-info > p {
    color: var(--text-muted);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgb(15 81 56 / 0.1);
    border-radius: 50%;
    font-size: 1.5rem;
}

.info-item h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-deep);
    font-size: 1.1rem;
}

.info-item p,
.info-item a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.info-item a:hover {
    color: var(--primary-color);
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.map-container {
    width: 100%;
    height: 350px;
    overflow: hidden;
    border: 1px solid rgb(150 181 160 / 0.45);
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid rgb(222 238 227 / 0.2);
    background: #080d0a;
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #aebdb4;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
    color: #c5d8cb;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-container,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content > p {
        margin: 0 auto 2rem;
    }

    .hero-buttons,
    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-menu.active {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
        border-top: 1px solid rgb(222 238 227 / 0.18);
        background: #071c13;
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active .nav-links {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    section {
        padding: 4.25rem 0;
    }

    .contact-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding-top: 112px;
    }

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

    .hero-buttons,
    .hero-stats,
    .contact-actions {
        flex-direction: column;
    }

    .hero-stats {
        gap: 1rem;
        text-align: center;
    }

    .contact-wrapper {
        padding: 1.4rem;
    }

    .floating-card {
        padding: 0.75rem;
        font-size: 0.82rem;
    }

    .card-1 { right: -8px; }
    .card-2 { left: -8px; }

    .footer-bottom,
    .footer-links {
        justify-content: center;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
