@import url('https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700;800&family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary-color: #055029;
    --primary-dark: #022914;
    --secondary-color: #15b763;
    --bg-color: #f4f9f6;
    --surface-color: rgba(255, 255, 255, 0.85);
    --surface-color-solid: #ffffff;
    --text-color: #0d1a14;
    --text-muted: #5e7367;
    --border-color: rgba(5, 80, 41, 0.08);
    --glow-color: rgba(5, 80, 41, 0.15);
    --shadow-color: rgba(5, 80, 41, 0.08);

    --transition-fast: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.cta-title {
    font-family: 'Jost', sans-serif;
    letter-spacing: 0.5px;
}

/* Background animated blobs */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: float-blob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 80, 41, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    top: -200px;
    left: -200px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(21, 183, 99, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    bottom: -100px;
    right: -100px;
    animation-delay: -10s;
}

@keyframes float-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(100px, 50px) scale(1.2);
    }
}

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

/* Header & Glassmorphism */
.site-header .container {
    max-width: 1400px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 80, 41, 0.08);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04), inset 0 -1px 0 rgba(21, 183, 99, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: 1px;
    z-index: 1002;
    padding-right: 2rem;
    /* create some breathing room */
}

.logo-img {
    max-height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    /* tighter gap for pill boxes */
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    background: transparent;
}

.nav-menu a:hover {
    color: var(--primary-dark);
    background: rgba(21, 183, 99, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1002;
    position: relative;
}

/* Subtle separator before the action button */
.header-actions::before {
    content: '';
    display: block;
    width: 2px;
    height: 30px;
    background: rgba(0, 0, 0, 0.05);
    margin-right: 0.5rem;
}

.btn-nav {
    display: inline-flex;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff !important;
    padding: 0.8rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(21, 183, 99, 0.3) !important;
    position: relative;
    overflow: hidden;
}

/* Premium shine effect for the button */
.btn-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: skewX(-20deg);
    animation: shine-header-btn 5s infinite;
}

@keyframes shine-header-btn {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-nav:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(21, 183, 99, 0.45) !important;
}

/* Base Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 20px var(--glow-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(5, 80, 41, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: var(--text-color);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    border: 1.5px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(5, 80, 41, 0.05);
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Typography styles */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Sections */
.section-padding {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    background: rgba(5, 80, 41, 0.1);
    color: var(--primary-dark);
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(5, 80, 41, 0.2);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 950;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-color);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-mockup {
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 30px;
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 6rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 25px 50px var(--shadow-color), inset 0 0 0 2px rgba(255, 255, 255, 1);
}

.floating-mockup::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
}

.floating-mockup.small {
    width: 120px;
    height: 120px;
    font-size: 3rem;
    position: absolute;
    z-index: 1;
    box-shadow: 0 15px 30px var(--shadow-color);
}

.floating-mockup.small:nth-child(2) {
    top: 50px;
    left: 10%;
    color: var(--secondary-color);
    animation: float 5s ease-in-out infinite reverse;
}

.floating-mockup.small:nth-child(3) {
    bottom: 50px;
    right: 10%;
    color: var(--secondary-color);
    /* Bright green touch */
    animation: float 7s ease-in-out infinite 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Feature Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    border: 1px solid rgba(5, 80, 41, 0.08);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    gap: 2rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 35px 70px rgba(5, 80, 41, 0.1);
    border-color: rgba(5, 80, 41, 0.2);
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: bottom;
}

.feature-card:hover::after {
    transform: scaleY(1);
}

.feature-icon {
    width: 75px;
    height: 75px;
    min-width: 75px;
    background: rgba(5, 80, 41, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(5, 80, 41, 0.1);
}

.feature-card:hover .feature-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(8deg);
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.feature-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
}

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

.service-card {
    background: var(--surface-color-solid);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px var(--shadow-color);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-5px);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
}

.glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    bottom: -50px;
    right: -50px;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.service-card:hover .glow-effect {
    opacity: 0.2;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--text-color) 0%, rgba(15, 23, 42, 0.9) 100%);
    border-radius: 30px;
    padding: 5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.2);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 3rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
    background: var(--primary-color);
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 25px rgba(5, 80, 41, 0.4);
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(5, 80, 41, 0.5);
    background: var(--primary-dark);
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 1;
}

.cta-circle-1 {
    width: 300px;
    height: 300px;
    background: rgba(5, 80, 41, 0.3);
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    width: 250px;
    height: 250px;
    background: rgba(21, 183, 99, 0.25);
    bottom: -100px;
    right: -50px;
}

/* Referanslar - Marquee */
.marquee-wrapper {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: scroll-marquee 60s linear infinite;
    padding-right: 3rem;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.reference-item {
    width: 180px;
    height: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--surface-color-solid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--shadow-color);
    flex-shrink: 0;
}

.reference-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
}

.reference-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(5, 80, 41, 0.1);
}

.reference-item:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll-marquee {
    to {
        transform: translateX(calc(-50% - 1.5rem));
    }
}

/* Referanslar Sayfası Tasarımı */
.pt-0 {
    padding-top: 0 !important;
}

.references-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.ref-grid-item {
    background: var(--surface-color-solid);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px var(--shadow-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.ref-grid-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(5, 80, 41, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: width 0.6s ease, height 0.6s ease;
    z-index: 1;
}

.ref-grid-item:hover::before {
    width: 300px;
    height: 300px;
}

.ref-grid-item:hover {
    transform: translateY(-8px);
    border-color: rgba(5, 80, 41, 0.2);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

.ref-logo-wrap {
    height: 90px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    position: relative;
    margin-bottom: 1rem;
}

.ref-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.4s ease;
}

.ref-grid-item:hover .ref-logo-wrap img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

.ref-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.95rem;
    z-index: 2;
    margin-top: 0.5rem;
    position: relative;
}

/* Ürünler Sayfası */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    padding-bottom: 4rem;
}

.product-card {
    background: var(--surface-color-solid);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.1);
    border-color: rgba(5, 80, 41, 0.25);
}

.product-image {
    width: 100%;
    height: 280px;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 2;
}

.product-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(5, 80, 41, 0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.product-info {
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 800;
}

.product-info p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex: 1;
    font-size: 0.95rem;
}

.product-action {
    margin-top: auto;
}

.product-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.05rem;
}

/* İletişim Sayfası */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 2rem;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    background: var(--surface-color-solid);
    border: 1px solid var(--border-color);
    padding: 2.2rem;
    border-radius: 20px;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.contact-info-card:hover {
    transform: translateX(10px);
    border-color: rgba(21, 183, 99, 0.3);
    box-shadow: 0 15px 35px rgba(21, 183, 99, 0.08);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: rgba(21, 183, 99, 0.1);
    color: var(--secondary-color);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
    background: var(--secondary-color);
    color: #ffffff;
}

.contact-detail h3 {
    font-size: 1.25rem;
    margin-bottom: 0.3rem;
    color: var(--text-color);
}

.contact-detail p,
.contact-detail a {
    color: var(--text-muted);
    line-height: 1.6;
    text-decoration: none;
    font-size: 1.05rem;
    transition: color 0.3s ease;
}

.contact-detail a:hover {
    color: var(--primary-color);
    font-weight: 600;
}

/* Harita Görünümü */
.map-wrapper {
    background: var(--surface-color-solid);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
    height: 100%;
    min-height: 450px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.map-wrapper:hover {
    box-shadow: 0 25px 50px rgba(21, 183, 99, 0.08);
    border-color: rgba(21, 183, 99, 0.2);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    filter: contrast(1.1) grayscale(40%);
    transition: all 0.5s ease;
}

.map-wrapper:hover iframe {
    filter: contrast(1) grayscale(0%);
}

/* Footer Styling */
.site-footer {
    background: #0d1a14;
    color: #ffffff;
    padding: 6rem 0 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(21, 183, 99, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.site-footer .container {
    max-width: 1400px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    gap: 10rem;
    margin-bottom: 5rem;
    align-items: start;
    justify-content: center;
}

.footer-col h4.footer-title {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 2rem;
    position: relative;
    display: inline-block;
}

.footer-col h4.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 0.75rem;
    margin-top: -16px;
}

.footer-logo img {
    height: auto;
    max-height: 85px;
    width: auto;
    max-width: 100%;
    filter: brightness(0) invert(1);
    display: block;
    transition: transform 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
}

.footer-about p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 350px;
}



.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.footer-links a::before {
    content: '→';
    font-size: 1rem;
    opacity: 0;
    margin-right: 0;
    transition: all 0.3s ease;
    transform: translateX(-10px);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 8px;
    transform: translateX(0);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #94a3b8;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-top: 4px;
}

.footer-contact a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

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

.footer-bottom p {
    color: #64748b;
    font-size: 0.9rem;
}

.footer-bottom p span {
    color: #ffffff;
    font-weight: 600;
}

.footer-extra {
    display: flex;
    gap: 2rem;
}

.footer-extra a {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-extra a:hover {
    color: #ffffff;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }

    .footer-logo img {
        margin: 0 auto;
    }

    .footer-about p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .footer-bottom-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-extra {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
}

/* Fade Up */
.fade-up {
    transform: translateY(50px);
}

.fade-up.active {
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Slide Left/Right */
.slide-left {
    transform: translateX(-50px);
}

.slide-right {
    transform: translateX(50px);
}

.slide-left.active,
.slide-right.active {
    transform: translateX(0);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Zoom In */
.zoom-in {
    transform: scale(0.9);
}

.zoom-in.active {
    transform: scale(1);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Delays */
.delay-1 {
    transition-delay: 0.15s;
}

.delay-2 {
    transition-delay: 0.30s;
}

.delay-3 {
    transition-delay: 0.45s;
}

.delay-4 {
    transition-delay: 0.60s;
}

/* Mobile Menu Button */
.menu-toggle {
    display: none;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding-top: 10rem;
        gap: 3rem;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
        text-align: center !important;
    }

    .hero-subtitle {
        font-size: 1.4rem;
        text-align: center !important;
    }

    .hero-text {
        margin: 0 auto 2.5rem;
        text-align: center !important;
        font-size: 1rem;
    }

    .hero-visual {
        height: 350px;
        order: -1; /* Show visual above text on mobile for better balance */
    }

    .floating-mockup {
        width: 180px;
        height: 180px;
        font-size: 4rem;
    }

    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }

    .header-actions .btn-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger {
        display: block;
        width: 30px;
        height: 2px;
        background: var(--text-color);
        position: relative;
        transition: all 0.3s ease;
    }

    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        background: var(--text-color);
        transition: all 0.3s ease;
        left: 0;
    }

    .hamburger::before {
        top: -8px;
    }

    .hamburger::after {
        bottom: -8px;
    }

    .menu-toggle.active .hamburger {
        background: transparent;
    }

    .menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger::after {
        bottom: 0;
        transform: rotate(-45deg);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%; /* Start off-screen */
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
    }

    nav.active {
        right: 0;
    }

    /* Hide the divider/separator on mobile to prevent overflow */
    .header-actions::before {
        display: none;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-inner {
        padding: 0;
    }

    .menu-toggle {
        margin-right: -0.5rem; /* Optical alignment for hamburger */
    }

    .feature-card {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-radius: 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.6rem;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .nav-menu a {
        font-size: 1.5rem;
        color: var(--text-color);
    }

    .nav-menu a:hover {
        color: var(--primary-color);
    }

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

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

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

    .feature-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .floating-mockup {
        width: 200px;
        height: 200px;
        font-size: 4rem;
    }
}

/* Mor Teknoloji Modal - Frosted Glass / Buzlu Cam Efekti */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 20, 10, 0.28);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%);
    width: 95%;
    max-width: 560px;        /* daha geniş */
    padding: 3rem 2.5rem;   /* dikey padding artırıldı → daha uzun boy */
    border-radius: 24px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(20px) scale(0.94);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* İç parlak kenar efekti */
.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    pointer-events: none;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-logo {
    height: 46px;
    width: auto;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    /* Logoyu renkli göster — filter yok */
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.modal-content h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: -0.2px;
    position: relative;
    z-index: 1;
}

.modal-content p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.modal-content p strong {
    color: #ffffff;
    font-weight: 700;
}

.modal-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    position: relative;
    z-index: 1;
    flex-wrap: nowrap;  /* 2 satıra kaymasın */
}

.btn-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    white-space: nowrap;   /* tek satırda kal */
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Montserrat', sans-serif;
}

.btn-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn-modal-more {
    background: linear-gradient(135deg, rgba(92, 78, 229, 0.9) 0%, rgba(70, 57, 192, 0.9) 100%);
    color: #ffffff;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;   /* tek satırda kal */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 20px rgba(92, 78, 229, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
}

.btn-modal-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(92, 78, 229, 0.55);
    filter: brightness(1.1);
}

.mor-link:hover img {
    opacity: 1 !important;
    transform: scale(1.08);
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.8rem 1.4rem;
        border-radius: 20px;
        max-width: 340px;
    }
    .modal-buttons {
        gap: 0.6rem;
    }
    .btn-modal-close, .btn-modal-more {
        padding: 0.6rem 1rem;
        font-size: 0.76rem;
    }
    .modal-content h3 {
        font-size: 1rem;
    }
    .modal-logo {
        height: 40px;
        margin-bottom: 0.8rem;
    }
}


/* About Us Value Cards - Premium Redesign */
.about-value-outer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.about-value-card {
    background: #ffffff;
    border: 1px solid rgba(5, 80, 41, 0.08);
    border-radius: 35px;
    padding: 4rem 2.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.02);
    overflow: hidden;
}

.about-value-card:hover {
    transform: translateY(-20px);
    box-shadow: 0 45px 90px rgba(5, 80, 41, 0.08);
    border-color: rgba(5, 80, 41, 0.2);
}

.value-icon-box {
    width: 100px;
    height: 100px;
    background: #f8fafc;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 1px solid rgba(5, 80, 41, 0.05);
}

.about-value-card:hover .value-icon-box {
    background: var(--primary-color);
    transform: rotate(10deg) scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(5, 80, 41, 0.2);
}

.value-icon-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.6s ease;
}

.about-value-card:hover .value-icon-box i {
    color: #ffffff;
    transform: rotate(-10deg);
}

.about-value-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: var(--text-color);
}

.about-value-card p {
    color: #64748b;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* Animated accent dot */
.about-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle at top right, rgba(21, 183, 99, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: all 0.6s ease;
}

.about-value-card:hover::before {
    opacity: 1;
}

@media (max-width: 992px) {
    .about-value-outer {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: 0 15px 35px rgba(5, 80, 41, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(30px) scale(0.8);
    backdrop-filter: blur(10px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(21, 183, 99, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.back-to-top i {
    transition: transform 0.3s ease;
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-container {
        text-align: center !important;
    }

    .about-hero-container .hero-title {
        font-size: 2.2rem !important; /* Slightly smaller for better fit */
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        word-break: break-word;
        line-height: 1.2;
    }

    .about-hero-container .hero-subtitle {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        font-size: 1.1rem !important;
    }

    /* Similar treatment for Referanslar and other page headers */
    .page-header .hero-title {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        word-break: break-word;
        max-width: 90%; /* Safety margin */
    }

    .page-header .hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0 1rem;
    }

    /* Move the intro section slightly to the right on mobile as per user request */
    .about-page .grid-2 .reveal.slide-left,
    .about-page .grid-2 .reveal.slide-right {
        padding-left: 2rem !important;
        text-align: left !important;
    }

    .about-value-outer {
        grid-template-columns: 1fr;
    }

    .about-hero {
        padding-top: 8rem !important;
    }

    .about-cta-banner {
        padding: 3rem 1.5rem !important;
        border-radius: 30px !important;
    }

    .about-cta-banner h2 {
        font-size: 2rem !important;
    }

    .about-cta-banner p {
        font-size: 1.1rem !important;
    }

    .mini-stat h4 {
        font-size: 2rem !important;
    }
}

/* References Page Specifics */
.references-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.ref-grid-item {
    background: #ffffff;
    border: 1px solid rgba(5, 80, 41, 0.06);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
}

.ref-grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(5, 80, 41, 0.1);
    border-color: rgba(5, 80, 41, 0.2);
}

.ref-logo-wrap {
    height: 90px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ref-logo-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.5s ease;
}

.ref-grid-item:hover .ref-logo-wrap img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

.ref-name {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
    text-align: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.ref-grid-item:hover .ref-name {
    opacity: 1;
}

@media (max-width: 768px) {
    .references-page-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1.2rem;
    }
    
    .ref-grid-item {
        padding: 1.5rem 1rem;
    }
    
    .ref-logo-wrap {
        height: 60px;
        margin-bottom: 1rem;
    }

    .ref-name {
        font-size: 0.85rem;
    }
}

/* Services Page Detailed Grid */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.service-detail-card {
    background: #ffffff;
    border: 1px solid rgba(5, 80, 41, 0.06);
    padding: 3.5rem;
    border-radius: 40px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.service-detail-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(5, 80, 41, 0.08);
    border-color: rgba(5, 80, 41, 0.15);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    background: rgba(5, 80, 41, 0.05);
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
}

.service-detail-card:hover .service-detail-icon {
    background: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
}

.service-detail-content h2 {
    font-size: 1.8rem;
    font-weight: 850;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}

.service-detail-content p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.service-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-features i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .services-detailed-grid {
        grid-template-columns: 1fr;
    }
    
    .service-detail-card {
        padding: 2.5rem;
        border-radius: 30px;
    }
}


/* --- PRELOADER --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color); /* Light background matching the site */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.loader-logo {
    width: 200px;
    height: auto;
    animation: loaderPulse 2s ease-in-out infinite;
}

.loader-logo img {
    width: 100%;
    height: auto;
    /* Removed dark glow for a cleaner look on white */
    filter: drop-shadow(0 10px 20px rgba(5, 80, 41, 0.1));
}

.loader-line {
    width: 180px;
    height: 4px;
    background: rgba(5, 80, 41, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-line-inner {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
    animation: loaderLine 1.5s infinite;
}

@keyframes loaderPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes loaderLine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Page Transition Animation */
.page-transition #preloader {
    opacity: 1;
    visibility: visible;
}

/* =====================================================
   EK STİLLER: Empty State, Contact Form
   ===================================================== */

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3.5rem;
    opacity: 0.25;
    margin-bottom: 1.2rem;
    display: block;
}

.empty-state p {
    font-size: 1.05rem;
}

/* İletişim Formu */
.contact-form-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.contact-form-wrapper h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.form-group {
    margin-bottom: 1.4rem;
}

.form-group label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1.5px solid rgba(5, 80, 41, 0.12);
    border-radius: 14px;
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background: #f8fafc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    outline: none;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--secondary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(21, 183, 99, 0.08);
}

.form-group textarea {
    min-height: 130px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
}

.form-success {
    display: none;
    background: rgba(21, 183, 99, 0.08);
    border: 1px solid rgba(21, 183, 99, 0.25);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

.form-error {
    display: none;
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 14px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 1.5rem;
    color: #dc2626;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
}

/* Service detail headings (h3 yerine h2 gibi görünmesi için) */
.service-detail-content h3 {
    font-size: 1.8rem;
    font-weight: 850;
    margin-bottom: 1.2rem;
    color: var(--text-color);
    letter-spacing: -0.5px;
}
