/* ==========================================================================
   AVCI BEY KOMBİ SERVİSİ - MODERN & CLEAN STYLESHEET
   Veloc Studio Editorial Precision + Kombiservis34 Conversion Architecture
   ========================================================================== */

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

:root {
    --bg-page: #ffffff;
    --bg-surface: #f8fafc;
    --bg-card: #ffffff;
    
    --color-dark: #090e17;
    --color-navy: #0f172a;
    --color-slate: #334155;
    --color-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-subtle: rgba(15, 23, 42, 0.07);

    --color-emerald: #059669;
    --color-emerald-light: #ecfdf5;
    --color-emerald-border: #a7f3d0;

    --color-orange: #ea580c;
    --color-orange-light: #fff7ed;

    --color-blue: #1d4ed8;
    --color-blue-light: #eff6ff;

    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --shadow-subtle: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    --shadow-primary: 0 10px 15px -3px rgba(5, 150, 105, 0.2), 0 4px 6px -4px rgba(5, 150, 105, 0.2);
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    background-color: var(--bg-page);
    color: var(--color-slate);
    font-family: var(--font-body);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-dark);
    letter-spacing: -0.025em;
    font-weight: 700;
}

/* Glass Header Styling */
.glass-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-header.scrolled {
    box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Subtle badge pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    letter-spacing: 0.01em;
}

/* Modern Card Hover Effects */
.service-card {
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--color-border);
    background: #ffffff;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    box-shadow: 0 20px 30px -10px rgba(15, 23, 42, 0.08);
}

/* Brand Marquee */
.brand-marquee-container {
    overflow: hidden;
    user-select: none;
    position: relative;
    width: 100%;
}

.brand-marquee-container::before,
.brand-marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brand-marquee-container::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.brand-marquee-container::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.brand-marquee-track {
    display: flex;
    gap: 2.5rem;
    width: max-content;
    animation: marquee 32s linear infinite;
}

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

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

/* Testimonial Carousel (3-erli) */
.reviews-carousel-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 10px 0;
}

.reviews-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    gap: 1.5rem;
}

.review-slide {
    flex: 0 0 100%;
}

@media (min-width: 640px) {
    .review-slide {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (min-width: 1024px) {
    .review-slide {
        flex: 0 0 calc(33.333% - 1rem);
    }
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    cursor: pointer;
}

.carousel-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    width: 28px;
    background: #0f172a;
}

/* Comparison Table Styling */
.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

.comparison-table th, 
.comparison-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table thead th {
    background: #f8fafc;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #0f172a;
    border-bottom: 2px solid #e2e8f0;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #f8fafc;
}

/* Accordion Smooth Expand */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    opacity: 0;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
    opacity: 1;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Image Zoom on Hover */
.img-zoom-container {
    overflow: hidden;
}

.img-zoom-container img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-zoom-container:hover img {
    transform: scale(1.06);
}

/* Real Photo Gallery Lightbox */
.gallery-thumbnail {
    cursor: pointer;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-thumbnail::after {
    content: '\f00e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.gallery-thumbnail:hover::after {
    opacity: 1;
}

/* Lightbox Modal */
#lightbox-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 23, 0.92);
    backdrop-filter: blur(8px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

#lightbox-modal.active {
    display: flex;
}

/* Floating conversion buttons */
.btn-emergency-pulse {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(234, 88, 12, 0);
    }
}

.btn-whatsapp-pulse {
    animation: pulseGreen 2.5s infinite;
}

@keyframes pulseGreen {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
    }
}

/* Hide scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

::selection {
    background: #0f172a;
    color: #ffffff;
}

/* ==========================================================================
   FLOATING STICKY CONTACT WIDGET (DESKTOP & TABLET)
   ========================================================================== */
.floating-sticky-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 767px) {
    .floating-sticky-widget {
        right: 16px;
        bottom: 76px; /* Above mobile bottom bar */
        gap: 10px;
    }
}

.sticky-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    cursor: pointer;
    text-decoration: none;
}

.sticky-action-btn:hover {
    transform: scale(1.1) translateY(-3px);
}

.sticky-wa {
    background: #25D366;
    color: #ffffff;
}

.sticky-phone {
    background: #0f172a;
    color: #ffffff;
    border: 2px solid #ea580c;
}

.sticky-tooltip {
    position: absolute;
    right: 66px;
    background: #0f172a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.sticky-action-btn:hover .sticky-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================================
   TYPOGRAPHIC BRAND CARDS (ELEGANT CORPORATE PALETTES)
   ========================================================================== */
.brand-typo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 170px;
    height: 64px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    user-select: none;
}

.brand-typo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.brand-pill {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* Error Code Box styling */
.error-code-card {
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.error-code-card:hover {
    border-color: #cbd5e1;
    transform: translateY(-3px);
    box-shadow: 0 12px 24px -6px rgba(15, 23, 42, 0.07);
}


/* ==========================================================================
   INFINITE BRAND MARQUEE (AUTO-SCROLLING TRACK)
   ========================================================================== */
.brand-marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 12px 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);
}

.brand-marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: brandScroll 32s linear infinite;
}

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

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

/* ==========================================================================
   VELOC STUDIO DEDICATED BOTTOM BAR & AUTO-LOOP TICKER (MONOCHROME)
   ========================================================================== */
.veloc-bottom-bar {
    background-color: #030712;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 16px;
    text-align: center;
    position: relative;
    z-index: 30;
    width: 100%;
}

.veloc-bottom-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.veloc-bottom-link:hover {
    opacity: 1;
}

.veloc-bottom-link:hover .veloc-ticker-item {
    animation-play-state: paused;
}

.veloc-ticker-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 290px;
    height: 26px;
    line-height: 26px;
}

.veloc-ticker-item {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: 0.02em;
    text-align: center;
    will-change: transform, opacity;
}

.veloc-ticker-item.item-1 {
    color: #cbd5e1;
    font-weight: 500;
    animation: velocFade1 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.veloc-ticker-item.item-1 strong {
    color: #f1f5f9;
    font-weight: 700;
    margin-left: 4px;
}

.veloc-ticker-item.item-2 {
    color: #cbd5e1;
    font-weight: 500;
    animation: velocFade2 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.veloc-bottom-link:hover .veloc-ticker-item {
    color: #ffffff;
}
.veloc-bottom-link:hover .veloc-ticker-item strong {
    color: #ffffff;
}

@keyframes velocFade1 {
    0%, 44% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    49%, 95% {
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
}

@keyframes velocFade2 {
    0%, 44% {
        opacity: 0;
        transform: translateY(8px);
        visibility: hidden;
    }
    49%, 95% {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: translateY(8px);
        visibility: hidden;
    }
}

