/* ========================================
   Sakarya Koltuk Yıkama — Custom Styles
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
    --blue-primary: #007BFF;
    --blue-dark: #0056b3;
    --blue-light: #E8F4FD;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray-medium: #E9ECEF;
    --text-dark: #1a1a2e;
    --text-body: #4a4a5a;
    --text-muted: #6c757d;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 30px rgba(0, 123, 255, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --card-bg: #FFFFFF;
    --card-border: rgba(0, 123, 255, 0.08);
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base Reset ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
}

.section-title {
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: 0.5rem;
    position: relative;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title .highlight {
    color: var(--blue-primary);
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 5rem 0;
}

/* ==============================
   NAVBAR
   ============================== */
.navbar {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1300px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: navSlideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes navSlideDown {
    from {
        transform: translateX(-50%) translateY(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--blue-primary), #3399ff, #66b3ff, var(--blue-primary), transparent);
    background-size: 200% 100%;
    animation: gradientSlide 3s linear infinite;
    opacity: 0.5;
    border-radius: 0 0 16px 16px;
}

@keyframes gradientSlide {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 200% 0%;
    }
}

.navbar.scrolled {
    top: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 123, 255, 0.12);
}

.navbar.scrolled::after {
    opacity: 1;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue-primary);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

/* Desktop CTA Group */
.desktop-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: 0.8rem;
}

.nav-cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1.1 !important;
    padding: 0.5rem 1.6rem !important;
    gap: 1px !important;
    background: linear-gradient(135deg, var(--blue-primary), #3399ff) !important;
    color: white !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    font-size: 0.82rem !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-phone-sub {
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* Mobile Header CTA Section - Hidden on Desktop */
.header-cta-mobile {
    display: none;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(0, 123, 255, 0.25);
    transition: all 0.4s ease;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        box-shadow: 0 2px 10px rgba(0, 123, 255, 0.25);
    }

    50% {
        box-shadow: 0 4px 20px rgba(0, 123, 255, 0.45);
    }
}

.navbar-brand:hover .navbar-logo {
    transform: rotate(5deg) scale(1.1);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-body);
    padding: 0.5rem 0.9rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2.5px;
    background: linear-gradient(90deg, var(--blue-primary), #3399ff);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
    color: var(--blue-primary);
    background: rgba(0, 123, 255, 0.06);
}

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-cta {
    background: linear-gradient(135deg, var(--blue-primary), #3399ff) !important;
    color: white !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    font-size: 0.9rem !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.nav-cta:hover::before {
    left: 100%;
}

.nav-cta:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4) !important;
    background: linear-gradient(135deg, #0056b3, var(--blue-primary)) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    width: 26px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 4px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ==============================
   HERO
   ============================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0056b3 0%, #007BFF 40%, #3399ff 100%);
    overflow: hidden;
    padding-top: 72px;
}

/* Video Arka Plan */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Video Üzerindeki Overlay (metin okunabilirliği için) */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero::before {
    display: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23ffffff' d='M0,40 C360,80 720,0 1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-5%, 3%) scale(1.1);
    }
}

/* Floating shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.hero-shapes .shape:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
    animation: float 12s ease-in-out infinite;
}

.hero-shapes .shape:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-shapes .shape:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 40%;
    animation: float 14s ease-in-out infinite 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1), badgeGlow 3s ease-in-out infinite alternate;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

@keyframes badgeGlow {
    0% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.2);
    }

    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        border-color: rgba(255, 255, 255, 0.5);
    }
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.hero h1 span {
    display: block;
    font-size: 1.15rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 1rem;
    line-height: 1.6;
    letter-spacing: normal;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    color: var(--blue-primary);
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
    animation: buttonPulse 2.5s infinite;
}

@keyframes buttonPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.3);
    background: #f8f9fa;
    animation: none;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: white;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.hero-stats {
    display: inline-flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both;
}

.hero-stat {
    color: white;
}

.hero-stat strong {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.5px;
}

/* ==============================
   SERVICES
   ============================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: #fdfeff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before,
.service-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    z-index: 1;
    transition: all 0.5s ease;
    border-radius: var(--radius-lg);
}

/* Base accent color for services */
.service-card::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--blue-primary);
    border-left: 3px solid var(--blue-primary);
}

.service-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--blue-primary);
    border-right: 3px solid var(--blue-primary);
}

.service-card:hover,
.service-card:active {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.service-card:hover::before,
.service-card:hover::after,
.service-card:active::before,
.service-card:active::after {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.service-card:hover::after {
    opacity: 1;
}

/* Each card gets a unique accent color */
/* Unique corner colors for services */
.service-card:nth-child(1)::before {
    border-top-color: #007BFF;
    border-left-color: #007BFF;
}

.service-card:nth-child(1)::after {
    border-bottom-color: #007BFF;
    border-right-color: #007BFF;
}

.service-card:nth-child(2)::before {
    border-top-color: #6c5ce7;
    border-left-color: #6c5ce7;
}

.service-card:nth-child(2)::after {
    border-bottom-color: #6c5ce7;
    border-right-color: #6c5ce7;
}

.service-card:nth-child(3)::before {
    border-top-color: #00cec9;
    border-left-color: #00cec9;
}

.service-card:nth-child(3)::after {
    border-bottom-color: #00cec9;
    border-right-color: #00cec9;
}




.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    background: var(--blue-light);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--blue-primary);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--blue-primary);
    color: white;
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==============================
   WHY US
   ============================== */
.why-us {
    background: var(--gray-light);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.why-card {
    background: #fdfeff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.why-card::before,
.why-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    transition: all 0.5s ease;
    border-radius: var(--radius-lg);
}

.why-card::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--blue-primary);
    border-left: 3px solid var(--blue-primary);
}

.why-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--blue-primary);
    border-right: 3px solid var(--blue-primary);
}

.why-card:hover,
.why-card:active {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.why-card:hover::before,
.why-card:hover::after,
.why-card:active::before,
.why-card:active::after {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.why-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--blue-primary), #3399ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
}

.why-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ==============================
   VIDEO SHOWCASE
   ============================== */
.video-showcase {
    background: var(--gray-light);
}

.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    direction: rtl;
}

.showcase-row.reverse>* {
    direction: ltr;
}

.showcase-video {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1/1;
    transition: var(--transition);
}

.showcase-video:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 50px rgba(0, 0, 0, 0.18);
}

.showcase-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-text {
    padding: 1rem 0;
}

.showcase-badge {
    display: inline-block;
    background: var(--blue-light);
    color: var(--blue-primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.showcase-text h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.showcase-text p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.showcase-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.showcase-features li {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* ==============================
   BEFORE / AFTER + GALLERY
   ============================== */
.before-after-gallery {
    background: var(--white);
}

/* Önce/Sonra Çiftleri */
.ba-pairs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3.5rem;
}

.ba-pair {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: linear-gradient(to bottom right, #ffffff, #f1f8ff);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ba-pair:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 123, 255, 0.2);
}

.ba-item {
    flex: 1;
    text-align: center;
}

.ba-image-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-medium);
    margin-bottom: 0.5rem;
}

.ba-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    background: var(--gray-medium);
}

.ba-arrow {
    font-size: 1.5rem;
    color: var(--blue-primary);
    font-weight: 800;
    min-width: 30px;
    text-align: center;
}

.ba-tag {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ba-tag-before {
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
}

.ba-tag-after {
    background: rgba(40, 167, 69, 0.12);
    color: #28a745;
}

/* Galeri */
.gallery-subtitle {
    font-size: 1.35rem;
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.work-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--gray-medium);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==============================
   TESTIMONIALS
   ============================== */
.testimonials {
    background: var(--gray-light);
}

.testimonials-marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 3rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding-right: 1.5rem;
    animation: scrollTestimonials 40s linear infinite;
}



@keyframes scrollTestimonials {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

.testimonial-card {
    flex: 0 0 350px;
    background: #fdfeff;
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    white-space: normal;
}

.testimonial-card::before,
.testimonial-card::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    transition: all 0.5s ease;
    border-radius: var(--radius-lg);
    z-index: 2;
    /* Ensure it stays below text if needed, but above background */
    pointer-events: none;
}

.testimonial-card::before {
    top: -1px;
    left: -1px;
    border-top: 3px solid var(--blue-primary);
    border-left: 3px solid var(--blue-primary);
}

.testimonial-card::after {
    bottom: -1px;
    right: -1px;
    border-bottom: 3px solid var(--blue-primary);
    border-right: 3px solid var(--blue-primary);
}

.testimonial-card:hover,
.testimonial-card:active {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    border-color: transparent;
    /* Added for consistency with other cards */
}

.testimonial-card:hover::before,
.testimonial-card:hover::after,
.testimonial-card:active::before,
.testimonial-card:active::after {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
}

.testimonial-card:nth-child(even) {
    background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.testimonial-card:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 123, 255, 0.3);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    color: var(--blue-light);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--blue-light);
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==============================
   CONTACT
   ============================== */
.contact {
    background: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--blue-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-primary);
    font-size: 1.2rem;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    height: 100%;
    min-height: 350px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 350px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.footer-brand span {
    color: var(--blue-primary);
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-links-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.5rem;
    row-gap: 0;
}

.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--blue-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
}

/* ==============================
   FLOATING SOCIAL ICONS
   ============================== */
.floating-icons {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.float-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    animation: floatBtnEntry 0.6s cubic-bezier(0.16, 1, 0.3, 1) both, iconBounce 2s ease-in-out 1.5s infinite;
}

.float-btn:nth-child(1) {
    animation-delay: 0.8s, 1.5s;
}

.float-btn:nth-child(2) {
    animation-delay: 0.6s, 1.8s;
}

.float-btn:nth-child(3) {
    animation-delay: 0.4s, 2.1s;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes floatBtnEntry {
    from {
        opacity: 0;
        transform: scale(0) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.float-btn:hover {
    transform: scale(1.15);
}

/* Phone */
.phone-float {
    background: linear-gradient(135deg, #007BFF, #0056b3);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}

.phone-float:hover {
    box-shadow: 0 6px 24px rgba(0, 123, 255, 0.5);
}

/* Instagram */
.instagram-float {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    box-shadow: 0 4px 16px rgba(225, 48, 108, 0.4);
}

.instagram-float:hover {
    box-shadow: 0 6px 24px rgba(225, 48, 108, 0.5);
}

.whatsapp-float {
    background: #25D366;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-float:hover {
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* Tooltips */
.float-tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: var(--text-dark);
    padding: 0.4rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}

.float-btn:hover .float-tooltip {
    opacity: 1;
}

/* ==============================
   ANIMATIONS
   ============================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRotate {
    from {
        opacity: 0;
        transform: translateY(40px) rotate(-2deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) rotate(0);
    }
}

/* Base fade-in */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered card animation delays */
.service-card:nth-child(1) {
    transition-delay: 0s;
}

.service-card:nth-child(2) {
    transition-delay: 0.1s;
}

.service-card:nth-child(3) {
    transition-delay: 0.2s;
}

.service-card:nth-child(4) {
    transition-delay: 0.3s;
}

.why-card:nth-child(1) {
    transition-delay: 0s;
}

.why-card:nth-child(2) {
    transition-delay: 0.12s;
}

.why-card:nth-child(3) {
    transition-delay: 0.24s;
}

.why-card:nth-child(4) {
    transition-delay: 0.36s;
}

.testimonial-card:nth-child(1) {
    transition-delay: 0s;
}

.testimonial-card:nth-child(2) {
    transition-delay: 0.15s;
}

.testimonial-card:nth-child(3) {
    transition-delay: 0.3s;
}

/* Animated section title underline */
.section-title .highlight {
    color: var(--blue-primary);
    position: relative;
}

.section-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-primary), #3399ff);
    border-radius: 2px;
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.fade-in.visible .highlight::after,
.section-title.visible .highlight::after {
    width: 100%;
}

/* Card tilt hover micro-animations */
.service-card:hover {
    transform: translateY(-8px) rotate(-0.5deg);
}

.why-card:hover {
    transform: translateY(-6px) rotate(0.5deg);
}

/* Floating WhatsApp animation */
.whatsapp-float {
    animation: whatsappBounce 2s ease-in-out infinite;
}

@keyframes whatsappBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Parallax-like tinted backgrounds */
.services {
    background: linear-gradient(180deg, var(--white) 0%, #f0f7ff 100%);
}

.why-us {
    background: linear-gradient(180deg, var(--gray-light) 0%, #e8f0fe 100%);
}

.video-showcase {
    background: linear-gradient(180deg, #f0f7ff 0%, var(--gray-light) 100%);
}

.testimonials {
    background: linear-gradient(180deg, var(--gray-light) 0%, #e8f0fe 100%);
}

/* Smooth page transition for everything */
section {
    position: relative;
}

/* ==============================
   RESPONSIVE — TABLET (≤1024px)
   ============================== */
@media (max-width: 1024px) {

    .services-grid,
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .navbar {
        width: calc(100% - 1.5rem);
        top: 8px;
    }
}

/* ==============================
   RESPONSIVE — MOBILE (≤768px)
   ============================== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Navbar — full width on mobile */
    .navbar {
        top: 0;
        width: 100%;
        border-radius: 0;
        border: none;
        max-width: 100%;
    }

    .navbar.scrolled {
        top: 0;
    }

    .navbar::after {
        left: 0;
        width: 100%;
        border-radius: 0;
    }

    .navbar .container {
        height: 70px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 0.75rem;
        gap: 0.4rem;
    }

    .navbar-brand {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.95rem;
        white-space: nowrap;
        margin: 0;
        flex: 1;
        justify-content: flex-start;
    }

    .navbar-logo {
        width: 28px;
        height: 28px;
    }

    .header-cta-mobile {
        display: flex;
        align-items: center;
    }

    .btn-mobile-randevu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        line-height: 1.1;
        gap: 1px;
        background: linear-gradient(135deg, var(--blue-primary), #3399ff);
        color: white;
        font-size: 0.7rem;
        font-weight: 800;
        padding: 4px 12px;
        border-radius: 50px;
        text-transform: uppercase;
        box-shadow: 0 3px 8px rgba(0, 123, 255, 0.3);
        white-space: nowrap;
    }


    .hamburger {
        display: flex;
        margin-left: 0;
    }

    .hamburger {
        grid-column: 3;
        display: flex;
        justify-content: flex-end;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1rem;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.6rem 0.5rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.open {
        display: block;
    }

    /* Hero */
    .hero {
        padding-top: 60px;
        min-height: 85vh;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 1.3;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.25rem;
    }

    .hero-stat strong {
        font-size: 1.6rem;
    }

    /* Services & Why grids */
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .service-card {
        padding: 1.5rem 1.25rem;
    }

    /* Video Showcase */
    .showcase-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 2.5rem;
    }

    .showcase-row.reverse {
        direction: ltr;
    }

    .showcase-video {
        aspect-ratio: 1/1;
        max-width: 100%;
        margin: 0 auto;
    }

    .showcase-text {
        padding: 0.5rem 0;
    }

    .showcase-text h3 {
        font-size: 1.4rem;
    }

    .showcase-text p {
        font-size: 0.9rem;
    }

    .showcase-badge {
        font-size: 0.8rem;
    }

    /* Before/After + Gallery */
    .ba-pairs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ba-pair {
        padding: 1rem;
    }

    .ba-arrow {
        transform: rotate(90deg);
        font-size: 1.2rem;
    }

    .work-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .gallery-subtitle {
        font-size: 1.15rem;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
        /* Prevents iOS zoom on focus */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-brand {
        font-size: 1.2rem;
    }

    /* Floating icons */
    .floating-icons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.6rem;
    }

    .float-btn {
        width: 48px;
        height: 48px;
    }

    .float-tooltip {
        display: none;
    }
}

/* ==============================
   RESPONSIVE — SMALL PHONE (≤480px)
   ============================== */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-stat strong {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .showcase-text h3 {
        font-size: 1.2rem;
    }

    .showcase-features li {
        font-size: 0.85rem;
    }

    .ba-pair {
        padding: 0.75rem;
    }

    .service-card {
        padding: 1.25rem 1rem;
    }

    .why-card {
        padding: 1.25rem;
    }

    .work-gallery {
        grid-template-columns: 1fr;
    }

    .floating-icons {
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .float-btn {
        width: 44px;
        height: 44px;
    }
}