/* 
  Beylikdüzü Oto Servis - Premium CSS
  Modern, Responsive, Aesthetic Design
*/

:root {
    /* Color Palette */
    --primary: #0F172A; /* Deep Blue/Navy */
    --secondary: #1E293B;
    --accent: #10B981; /* Emerald Green (Trust & Action) */
    --accent-hover: #059669;
    --text-dark: #334155;
    --text-light: #94A3B8;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-body: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Variables */
    --border-radius: 12px;
    --transition: all 0.3s ease;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

img, video, svg, iframe {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ─── Yatay scroll'u tamamen engelle ─── */
html {
    scroll-behavior: smooth;
    overflow-x: hidden; /* kesin çözüm — tüm tarayıcılarda çalışır */
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative; /* absolut/fixed çocuklar için containing block */
}

/* Metin elementleri her zaman saralsın */
h1, h2, h3, h4, h5, h6, p {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Tüm section'lar viewport genişliğinde kalsın */
section, nav, footer {
    overflow-x: hidden;
    max-width: 100%;
}

/* Flex/grid container'lar taşmasın */
.container,
.services-grid,
.brands-grid,
.stats-grid,
.grid-2, .grid-3, .grid-4,
.process-grid,
.footer-content,
.nav-wrapper,
.testimonial-slider-wrapper,
.contact-cta-buttons,
.hero-buttons,
.hero-trust-row {
    min-width: 0;
    max-width: 100%;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(14px, 4vw, 20px); /* mobilde 14px, masaüstünde 20px */
}

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

section {
    padding: 80px 0;
}

.section-title {
    font-size: clamp(1.55rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding: 0 4px;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary);
}

.btn-secondary:hover {
    background-color: #f1f5f9;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
}

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

.btn-block {
    display: block;
    width: 100%;
}

.navbar {
    background-color: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.custom-logo {
    max-height: 80px;
    width: auto;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 120px 0;
    background:
        linear-gradient(135deg, rgba(15,23,42,0.82) 0%, rgba(15,23,42,0.72) 100%),
        url('../img/hero.webp') center / cover no-repeat;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

/* Hafif noise dokusu — fotoğrafın üzerinde derinlik katar */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 100%;
}

.trust-badge i {
    color: #FBBF24; /* Gold Star */
}

.hero h1 {
    font-size: clamp(1.65rem, 5vw, 3.5rem); /* mobilde küçülür, masaüstünde büyür */
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero p {
    font-size: clamp(0.95rem, 2.5vw, 1.2rem);
    color: #cbd5e1;
    margin-bottom: 40px;
    padding: 0 4px; /* küçük ekranlarda kenarlara değmesin */
}

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

.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 28px;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    max-width: 100%;
}

.hero-trust-row span {
    white-space: nowrap;
}

.hero-trust-row i {
    color: var(--accent);
    margin-right: 5px;
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* =============================================
   FEATURES — Split Layout
   ============================================= */
.features {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

/* Sol görsel + sağ içerik */
.features-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

/* Fotoğraf tarafı */
.features-image {
    position: relative;
    flex-shrink: 0;
}

.features-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: block;
}

/* "10+ Yıllık Deneyim" küçük rozet */
.features-image-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--white);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.features-image-badge i {
    color: var(--accent);
}

/* İçerik tarafı */
.features-content {
    display: flex;
    flex-direction: column;
}

/* Sol hizalı başlık varyantı */
.section-title--left {
    text-align: left;
    margin-bottom: 10px;
}

.section-title--left::after {
    margin: 12px 0 0; /* sola hizalı */
}

.section-subtitle--left {
    text-align: left;
    margin-bottom: 32px;
}

/* 2×2 kartlar */
.features-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: var(--transition);
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--accent);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.feature-card p {
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* Process ekipman görseli */
.process-equipment-img {
    width: 100%;
    max-width: 260px;
    height: 160px;
    object-fit: cover;
    border-radius: 12px;
    margin: 16px auto 0;
    box-shadow: var(--shadow-sm);
    display: block;
}

/* Services */
.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--accent);
}

.service-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    background-color: var(--bg-light);
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

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

/* =============================================
   TESTIMONIALS SLIDER
   ============================================= */
.testimonials {
    padding: 80px 0;
    background: var(--bg-light);
    overflow: hidden;
}

.testimonial-slider-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-viewport {
    overflow: hidden;
    flex: 1 1 0%;
    min-width: 0;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.testimonial-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* each card occupies calc(100% / visibleCount) — set by JS */
.t-card {
    flex-shrink: 0;
    box-sizing: border-box;
    padding: 8px 10px;
}

.t-card-inner {
    background: var(--white);
    border-radius: 18px;
    padding: 32px 28px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8edf2;
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.t-card-inner:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

/* decorative quote */
.t-card-inner::after {
    content: '\201C';
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 9rem;
    color: rgba(16, 185, 129, 0.06);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

/* top accent bar */
.t-card-inner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #34d399);
    border-radius: 18px 18px 0 0;
}

.t-stars {
    display: flex;
    gap: 3px;
    color: #FBBF24;
    font-size: 0.88rem;
}

.t-text {
    font-style: italic;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.75;
    flex: 1;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.t-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, #059669 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(16,185,129,0.3);
}

.t-info strong {
    display: block;
    font-size: 0.93rem;
    color: var(--primary);
    font-weight: 600;
}

.t-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Slider navigation buttons */
.slider-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid #e2e8f0;
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(16,185,129,0.4);
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0px;
    margin-top: 28px;
}

.slider-dots .dot {
    box-sizing: border-box;
    width: 48px;
    height: 48px;
    border-radius: 24px;
    background: #cbd5e1;
    background-clip: content-box;
    padding: 20px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: var(--accent);
    background-clip: content-box;
    width: 66px;
    border-radius: 24px;
}

/* =============================================
   CONTACT / ACTION SECTION
   ============================================= */
.contact {
    background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
    padding: 80px 0;
}

.contact-box {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
    backdrop-filter: blur(8px);
}

.contact-box-label {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.contact-box h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 14px;
}

.contact-box > p {
    color: #94a3b8;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 36px;
}

.contact-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.btn-cta-large {
    font-size: 1.1rem;
    padding: 18px 36px;
    border-radius: 50px;
    min-width: 220px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border: none;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    background-color: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
    color: var(--white);
}

.contact-address {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.contact-address i {
    color: var(--accent);
    margin-right: 6px;
}

.contact-trust-pills {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.contact-trust-pills span {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.contact-trust-pills i {
    color: var(--accent);
}


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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background-color: #f8fafc;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--accent);
}

.faq-item.active .faq-question {
    background-color: #f8fafc;
}

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

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

.faq-answer p {
    padding: 0 20px 20px;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--primary);
    color: #cbd5e1;
    padding: 40px 0;
    text-align: center;
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.custom-logo-footer {
    max-height: 70px;
    width: auto;
    filter: brightness(0) invert(1); /* Makes the logo white for dark background, remove if your logo is already white/suitable */
}

/* =============================================
   STATS COUNTER SECTION
   ============================================= */
.stats-section {
    background: linear-gradient(135deg, var(--primary) 0%, #1E293B 100%);
    padding: 60px 0;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
    padding: 30px 20px;
    border-right: 1px solid rgba(255,255,255,0.1);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: 1rem;
    color: #94A3B8;
    margin-top: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   BRANDS STRIP (INFINITE SCROLL)
   ============================================= */
.brands-section {
    padding: 40px 0;
    background: var(--white);
    overflow: hidden;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.brands-label {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.brands-track {
    overflow: hidden;
    position: relative;
}

.brands-track::before,
.brands-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.brands-track::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.brands-track::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.brands-inner {
    display: flex;
    gap: 0;
    animation: scrollBrands 25s linear infinite;
    width: max-content;
}

.brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 40px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    white-space: nowrap;
    border-right: 1px solid #e2e8f0;
    transition: color 0.3s ease;
}

.brand-item:hover {
    color: var(--accent);
}

.brand-item i {
    font-size: 1.3rem;
}

@keyframes scrollBrands {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   PROCESS STEPS SECTION
   ============================================= */
.process-section {
    padding: 80px 0;
    overflow: hidden;
}

.process-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.process-image-wrapper {
    position: relative;
    flex-shrink: 0;
}

.process-main-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: block;
}

.process-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--white);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.process-image-badge i {
    color: var(--accent);
}

.process-content {
    display: flex;
    flex-direction: column;
}

.process-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    padding: 24px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
}

.process-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.process-item-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.process-item:hover .process-item-icon {
    transform: scale(1.1);
}

.process-item-text h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.process-item-text p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}



/* =============================================
   FLOATING PHONE BUTTON
   ============================================= */
.phone-float {
    position: fixed;
    bottom: 160px; /* Above WhatsApp */
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.4);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.6);
    color: var(--white);
}

.phone-float::before {
    content: '';
    position: fixed;
    bottom: 160px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    animation: phonePulse 2s ease-out infinite;
    z-index: 998;
    pointer-events: none;
}

@keyframes phonePulse {
    0%   { transform: scale(1);   opacity: 0.5; }
    100% { transform: scale(1.9); opacity: 0;   }
}

.phone-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.phone-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
}

.phone-float:hover .phone-tooltip {
    opacity: 1;
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
    color: var(--white);
}

/* Pulse wrapper — button dışında döner, taşmayı tetiklemez */
.whatsapp-float::before {
    content: '';
    position: fixed; /* fixed → viewport'a göre, document'i genişletmez */
    bottom: 90px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPulse 2s ease-out infinite;
    z-index: 998;
    pointer-events: none;
}

@keyframes whatsappPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    100% { transform: scale(1.9); opacity: 0;   }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--primary);
    color: var(--white);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    z-index: 999;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.scroll-top:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* =============================================
   Animations
   ============================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   SERVICES MAIN (Hizmetlerimiz)
   ============================================= */
.services-main {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 44px;
}

.section-title {
    margin-bottom: 18px;
}

/* 6-col trick: 3 cards on row 1, last 2 centered on row 2 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 28px;
}

.services-grid > * {
    grid-column: span 2;
}

.services-grid > *:nth-child(4) {
    grid-column: 2 / span 2;
}

.services-grid > *:nth-child(5) {
    grid-column: 4 / span 2;
}

.service-main-card {
    background: var(--white);
    padding: 36px 28px 28px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    border-top: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-main-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), #059669);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-main-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.service-main-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    margin-bottom: 20px;
    transition: var(--transition);
    flex-shrink: 0;
}

.service-main-card:hover .service-main-icon {
    background: var(--accent);
    color: var(--white);
    transform: scale(1.08);
}

.service-main-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.service-main-card > p {
    color: var(--text-light);
    font-size: 0.93rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
    flex: 1;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
}

.service-list li i {
    color: var(--accent);
    font-size: 0.8rem;
    flex-shrink: 0;
    background: rgba(16, 185, 129, 0.1);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: auto;
    transition: gap 0.2s ease;
}

.service-cta:hover {
    gap: 12px;
    color: var(--accent-hover);
}

/* =============================================
   BRANDS GRID (Markalarımız)
   ============================================= */
.brands-section {
    padding: 80px 0;
    background: var(--bg-light);
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.brand-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.brand-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    overflow: hidden;
    padding: 8px;
}

.brand-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.brand-card:hover .brand-card-icon {
    background: rgba(16, 185, 129, 0.12);
    transform: scale(1.08);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary);
}

.brand-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

/* Responsive Design */
/* =============================================
   RESPONSIVE — MOBILE FIRST
   ============================================= */

/* — Tablet landscape (≤1024px) — */
@media (max-width: 1024px) {
    /* hero h1: clamp() ile otomatik */

    .grid-4 { grid-template-columns: repeat(2, 1fr); }

    /* Services → 2 kolon */
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid > *,
    .services-grid > *:nth-child(4),
    .services-grid > *:nth-child(5) { grid-column: span 1; }

    /* Stats → 4 kolon koru */
    .stats-grid { grid-template-columns: repeat(4, 1fr); }

    /* Brands → 4 kolon */
    .brands-grid { grid-template-columns: repeat(4, 1fr); }

    /* Process → dikey */
    .process-split { grid-template-columns: 1fr; gap: 40px; }

    /* Features / Neden Biz */
    .features-split { grid-template-columns: 1fr; gap: 40px; }
}

/* — Tablet portrait + büyük telefon (≤768px) — */
@media (max-width: 768px) {
    /* Genel */
    section { padding: 56px 0; }
    .section-title { margin-bottom: 14px; } /* font-size clamp() hallediyor */
    .section-subtitle { font-size: 0.95rem; margin-bottom: 32px; }

    /* Navbar */
    .navbar { padding: 14px 0; }
    .btn-outline { padding: 9px 16px; font-size: 0.88rem; }

    /* Hero */
    .hero { padding: 72px 0 64px; }
    .hero p { margin-bottom: 28px; }
    .trust-badge { font-size: 0.78rem; padding: 6px 14px; }
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 360px;
        margin: 0 auto;
    }
    .hero-buttons .btn { width: 100%; padding: 16px 20px; justify-content: center; display: flex; align-items: center; gap: 8px; }
    .hero-trust-row { gap: 14px; font-size: 0.82rem; margin-top: 22px; }

    /* Stats */
    .stats-section { padding: 48px 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 22px 14px; }
    .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
    .stat-item:last-child { border-bottom: none; }
    .stat-number { font-size: 2.8rem; }
    .stat-suffix { font-size: 2rem; }
    .stat-label { font-size: 0.85rem; }

    /* Services */
    .services-main { padding: 56px 0; }
    .services-grid { grid-template-columns: 1fr; gap: 16px; }
    .services-grid > *,
    .services-grid > *:nth-child(4),
    .services-grid > *:nth-child(5) { grid-column: span 1; }
    .service-main-card { padding: 28px 22px 22px; }
    .service-main-icon { width: 56px; height: 56px; font-size: 1.5rem; margin-bottom: 14px; }
    .service-list { gap: 8px; }

    /* Features / Neden Biz */
    .features { padding: 56px 0; }
    .features-split { grid-template-columns: 1fr; gap: 32px; }
    .features-cards { grid-template-columns: 1fr; }
    .grid-4 { grid-template-columns: 1fr; gap: 16px; }
    .feature-card { padding: 24px 16px; }
    .feature-icon { width: 52px; height: 52px; font-size: 1.3rem; }
    .feature-card h3 { font-size: 1rem; }
    .feature-card p { font-size: 0.88rem; }

    /* Brands */
    .brands-section { padding: 56px 0; }
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .brand-card { padding: 18px 12px; gap: 8px; }
    .brand-card-icon { width: 48px; height: 48px; padding: 6px; }
    .brand-name { font-size: 0.92rem; }
    .brand-badge { font-size: 0.7rem; }

    /* Testimonials */
    .testimonials { padding: 56px 0; }
    .slider-btn { width: 38px; height: 38px; font-size: 0.88rem; }
    .t-card-inner { padding: 26px 20px 22px; }
    .t-text { font-size: 0.9rem; }

    /* Process */
    .process-section { padding: 56px 0; }
    .process-split { grid-template-columns: 1fr; gap: 24px; }
    .process-item { padding: 20px 16px; }
    .process-item-icon { width: 48px; height: 48px; font-size: 1.2rem; }

    /* Contact */
    .contact { padding: 56px 0; }
    .contact-box { padding: 44px 28px; }
    .contact-box h2 { font-size: 1.8rem; }
    .contact-box > p { font-size: 0.97rem; }
    .contact-cta-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
    .btn-cta-large { width: 100%; min-width: unset; font-size: 1.05rem; padding: 17px 24px; }
    .contact-trust-pills { gap: 10px; }

    /* Footer */
    .footer-content { flex-direction: column; gap: 14px; text-align: center; }

    /* FAQ */
    .faq-question { font-size: 1rem; padding: 18px 16px; }

    /* Floating buttons */
    .whatsapp-tooltip { display: none; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; bottom: 84px; right: 16px; }
    .scroll-top { width: 44px; height: 44px; bottom: 24px; right: 16px; font-size: 1rem; }
}

/* — Küçük telefon (≤480px) — */
@media (max-width: 480px) {
    section { padding: 48px 0; }

    /* Hero */
    .hero { padding: 56px 0; }
    .hero h1 { line-height: 1.22; } /* font-size: clamp() ile otomatik */
    .hero p { font-size: 0.95rem; }
    .trust-badge { font-size: 0.73rem; }
    .hero-trust-row { font-size: 0.78rem; gap: 10px; }
    .hero-buttons { max-width: 100%; }

    /* Navbar — sadece logo, numara hero'da var */
    .nav-contact { display: none; }

    /* Typography */
    /* section-title: clamp() ile otomatik */

    /* Stats */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
    .stat-item { padding: 18px 10px; }
    .stat-number { font-size: 2.3rem; }
    .stat-suffix { font-size: 1.7rem; }
    .stat-label { font-size: 0.8rem; }

    /* Services */
    .service-main-card { padding: 22px 16px 18px; }
    .service-main-icon { width: 50px; height: 50px; font-size: 1.35rem; }
    .service-main-card h3 { font-size: 1.05rem; }
    .service-main-card > p { font-size: 0.88rem; }
    .service-list li { font-size: 0.83rem; }
    .service-cta { font-size: 0.85rem; }

    /* Features */
    .grid-4 { grid-template-columns: 1fr; gap: 12px; }
    .feature-card { padding: 20px 14px; }

    /* Brands */
    .brands-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .brand-card { padding: 14px 10px; gap: 7px; }
    .brand-card-icon { width: 42px; height: 42px; padding: 5px; border-radius: 10px; }
    .brand-name { font-size: 0.88rem; }
    .brand-badge { font-size: 0.68rem; padding: 2px 8px; }

    /* Process */
    .process-item { padding: 16px 12px; }
    .process-item-icon { width: 40px; height: 40px; font-size: 1rem; }
    .process-item h3 { font-size: 1.05rem; }
    .process-item p { font-size: 0.85rem; }

    /* Contact */
    .contact-box { padding: 36px 18px; border-radius: 16px; }
    .contact-box h2 { font-size: 1.55rem; }
    .contact-trust-pills span { font-size: 0.78rem; padding: 5px 10px; }

    /* FAQ */
    .faq-question { font-size: 0.93rem; padding: 16px 12px; }
    .faq-answer p { padding: 0 12px 16px; font-size: 0.9rem; }

    /* Floating */
    .whatsapp-float { width: 48px; height: 48px; font-size: 1.4rem; bottom: 80px; right: 12px; }
    .whatsapp-float::before { width: 48px; height: 48px; bottom: 80px; right: 12px; }
    
    .phone-float { width: 48px; height: 48px; font-size: 1.2rem; bottom: 140px; right: 12px; }
    .phone-float::before { width: 48px; height: 48px; bottom: 140px; right: 12px; }
    
    .scroll-top { width: 40px; height: 40px; font-size: 0.9rem; bottom: 22px; right: 12px; }
}

/* =============================================
   MOBILE STICKY CTA
   ============================================= */
.mobile-sticky-cta {
    display: none; 
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: var(--white);
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
}

.mobile-sticky-cta .mobile-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 0;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
    text-decoration: none;
}

.mobile-cta-btn.btn-call {
    background-color: var(--primary);
}

.mobile-cta-btn.btn-wa {
    background-color: #0f6a5b; /* Improved contrast for accessibility */
}

@media (max-width: 768px) {
    .mobile-sticky-cta {
        display: flex;
    }
    .whatsapp-float,
    .phone-float {
        display: none !important;
    }
    .scroll-top {
        bottom: 80px; 
    }
    body {
        padding-bottom: 60px; 
    }
}
