/**
 * Mercan Reklam - Ultra Premium Design System
 * 2025/2026 - Mesh Gradients, Grain Texture, Micro-interactions, 3D Cards
 */

/* ===== Ürünler Sayfası Geniş Container ===== */
@media (min-width: 1200px) {
    .container-products { max-width: 1280px; }
}
@media (min-width: 1400px) {
    .container-products { max-width: 1440px; }
}

/* ===== Erişilebilirlik: Klavye focus göstergesi ===== */
*:focus-visible {
    outline: 2px solid var(--primary, #e31e24);
    outline-offset: 2px;
}

/* ===== Hareket hassasiyeti olan kullanıcılar ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== Design Tokens ===== */
:root {
    /* Brand */
    --primary: #e31e24;
    --primary-dark: #c41a1f;
    --primary-light: #ff4c52;
    --primary-glow: rgba(227, 30, 36, 0.3);
    --primary-soft: rgba(227, 30, 36, 0.06);
    
    /* Neutrals - Rich warm tones */
    --secondary: #0c0c1d;
    --dark: #08081a;
    --dark-lighter: #131330;
    --dark-surface: #1a1a3e;
    --accent: #ff6b6b;
    --accent-warm: #f59e0b;
    --gold: #f0c040;
    
    /* Gray Scale - Warmer */
    --gray-900: #1a1b2e;
    --gray-800: #2d2e42;
    --gray-700: #4a4b65;
    --gray-600: #6b6d8a;
    --gray-500: #9496b3;
    --gray-400: #b8bad0;
    --gray-300: #d4d6e4;
    --gray-200: #e8e9f1;
    --gray-100: #f3f4f8;
    --gray-50: #f8f9fc;
    --white: #ffffff;
    --whatsapp: #25D366;
    
    /* Typography */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    
    /* Shadows - Premium depth system */
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.1), 0 8px 20px rgba(0,0,0,0.05);
    --shadow-2xl: 0 30px 80px rgba(0,0,0,0.14), 0 12px 30px rgba(0,0,0,0.06);
    --shadow-primary: 0 10px 40px rgba(227, 30, 36, 0.25);
    --shadow-primary-lg: 0 20px 60px rgba(227, 30, 36, 0.3);
    --shadow-dark: 0 10px 40px rgba(12, 12, 29, 0.3);
    --shadow-glow: 0 0 60px rgba(227, 30, 36, 0.15);
    --shadow-card-hover: 0 30px 60px -12px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-2xl: 36px;
    --radius-full: 9999px;
    
    /* Transitions */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Glass */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-dark: rgba(12, 12, 29, 0.85);
    --glass-dark-border: rgba(255, 255, 255, 0.06);
}

/* ===== Brands Infinite Slider ===== */
.brands-slider-wrapper {
    border-top: 1px solid var(--gray-200);
}

.brands-slider-header {
    display: flex;
    align-items: center;
}

.brands-slider-label {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.brands-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    width: max-content;
    animation: brandsScroll 100s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-item {
    flex-shrink: 0;
    width: 280px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 2px 4px;
    transition: var(--transition-fast);
    cursor: default;
}

.brand-item-sm {
    width: 150px;
    height: 75px;
    padding: 4px 8px;
    border-radius: 0;
}

.brand-item:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: translateY(-2px);
}

.brand-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-fast);
}

.brand-item:hover img {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.brand-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
    color: var(--gray-500);
    transition: var(--transition-fast);
}

.brand-item:hover .brand-placeholder {
    color: var(--primary);
}

.brand-placeholder i {
    font-size: 1rem;
}

.brand-placeholder span {
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 95px;
}

.brands-slider-compact .brands-track {
    gap: 1rem;
    animation-duration: 28s;
}

@keyframes brandsScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {
    .brands-slider-wrapper {
        border-top: none;
        margin-top: 2rem !important;
        padding-top: 2rem !important;
    }
}

@media (max-width: 768px) {
    .brand-item {
        width: 180px;
        height: 90px;
        padding: 2px 3px;
    }
    .brand-item-sm {
        width: 120px;
        height: 60px;
    }
    .brands-track {
        gap: 1.5rem;
    }
    .brand-placeholder span {
        font-size: 0.55rem;
    }
}

@media (max-width: 480px) {
    .brand-item {
        width: 155px;
        height: 78px;
        padding: 2px 2px;
    }
    .brands-track {
        gap: 0.15rem;
    }
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--gray-400);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Grain Texture Overlay ===== */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 300;
    opacity: 0.018;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== Scroll Progress ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
    z-index: 500;
    transition: width 0.1s linear;
    border-radius: 0 2px 2px 0;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s var(--ease-out), visibility 0.8s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 52px;
    height: 52px;
}

.loader-ring {
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
}

.loader-ring.ring-1 {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-color: #e31e24;
    border-bottom-color: #e31e24;
    animation: loaderSpin1 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-ring.ring-2 {
    top: 12px;
    left: 12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-left-color: #ff4b52;
    border-right-color: #ff4b52;
    animation: loaderSpin2 1.6s cubic-bezier(0.5, 0, 0.5, 1) infinite reverse;
}

.loader-ring.ring-3 {
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    border-top-color: rgba(227, 30, 36, 0.5);
    border-bottom-color: rgba(227, 30, 36, 0.5);
    animation: loaderSpin3 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.loader-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #e31e24;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 12px rgba(227, 30, 36, 0.6), 0 0 30px rgba(227, 30, 36, 0.3);
    animation: loaderPulse 1.4s ease-in-out infinite;
}

@keyframes loaderSpin1 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderSpin2 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderSpin3 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes loaderPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; box-shadow: 0 0 12px rgba(227, 30, 36, 0.6), 0 0 30px rgba(227, 30, 36, 0.3); }
    50% { transform: translate(-50%, -50%) scale(1.8); opacity: 0.6; box-shadow: 0 0 20px rgba(227, 30, 36, 0.8), 0 0 50px rgba(227, 30, 36, 0.4); }
}

/* ===== Top Bar ===== */
.top-bar {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--dark) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
    z-index: 1001;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-left span {
    opacity: 0.7;
    transition: var(--transition-fast);
    font-size: 12.5px;
    letter-spacing: 0.2px;
}

.top-bar-left span:hover {
    opacity: 1;
}

.top-bar-left a {
    color: inherit;
    text-decoration: none;
}

.top-bar-left i {
    color: var(--primary-light);
    margin-right: 6px;
    font-size: 12px;
}

.top-bar-right a {
    color: rgba(255,255,255,0.5);
    margin-left: 6px;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
}

.top-bar-right a:hover {
    color: var(--white);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.3);
}

/* ===== Navbar ===== */
.navbar {
    background: var(--white);
    padding: 16px 0;
    transition: padding 0.4s var(--ease-out),
                background 0.4s var(--ease-out),
                border-bottom 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out),
                backdrop-filter 0.4s var(--ease-out);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    will-change: padding, background-color, box-shadow;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.navbar.scrolled {
    padding: 10px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 40px rgba(0,0,0,0.04);
}

.navbar-brand {
    display: flex;
    align-items: center;
    height: 65px;
}

.navbar-logo {
    max-height: 65px;
    width: auto;
    transition: max-height 0.4s var(--ease-out),
                transform 0.4s var(--ease-out);
    will-change: max-height, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.navbar.scrolled .navbar-logo {
    max-height: 45px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-mercan {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
}

.brand-reklam {
    font-size: 10px;
    font-weight: 500;
    color: var(--gray-400);
    letter-spacing: 8px;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: var(--gray-800);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 18px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transition: width 0.4s var(--ease-out);
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 36px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}

/* ===== Mega Menu ===== */
.mega-nav-item {
    position: relative;
}

.mega-nav-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mega-nav-item .nav-link {
    padding-right: 2px !important;
}

.mega-nav-item .nav-link:hover::after,
.mega-nav-item .nav-link.active::after {
    width: calc(100% - 20px);
}

.mega-nav-toggle {
    width: auto;
    height: auto;
    border: none;
    background: transparent;
    color: var(--gray-600);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    margin-left: 0;
    padding: 0;
    line-height: 1;
    cursor: pointer;
}

.mega-nav-toggle i {
    font-size: 9px;
    transition: transform 0.3s var(--ease-out);
}

.mega-nav-toggle:hover,
.mega-nav-toggle.active {
    color: var(--primary);
}

.mega-nav-item.open .mega-nav-toggle i {
    transform: rotate(180deg);
}

.mega-nav-item.open .mega-nav-toggle {
    color: var(--primary);
}

/* Dropdown */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-2xl);
    border-radius: var(--radius-lg);
    padding: 14px;
    min-width: 260px;
    background: var(--white);
    animation: dropdownReveal 0.35s var(--ease-out);
    border: 1px solid var(--gray-100);
    overflow: hidden;
}

@keyframes dropdownReveal {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.dropdown-item {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--gray-700);
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 450;
}

.dropdown-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    transform: translateX(4px);
}

.dropdown-item i {
    width: 24px;
    color: var(--primary);
    opacity: 0.6;
    font-size: 13px;
    transition: var(--transition);
}

.dropdown-item:hover i {
    opacity: 1;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    background: var(--white);
    padding-top: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12), 0 6px 16px rgba(0, 0, 0, 0.06);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease-out), visibility 0.3s;
    z-index: 1050;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mega-nav-item.open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mega-menu-inner {
    padding: 20px;
}

/* Mega Grid */
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

/* Mega Card */
.mega-menu-card {
    position: relative;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: var(--transition-fast);
}

.mega-menu-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.08);
    transform: translateY(-2px);
}

.mega-card-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.mega-card-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 16px;
    transition: var(--transition-fast);
}

.mega-menu-card:hover .mega-card-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.05);
}

.mega-card-content {
    flex: 1;
    min-width: 0;
}

.mega-card-title {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.3;
    transition: var(--transition-fast);
}

.mega-menu-card:hover .mega-card-title {
    color: var(--primary);
}

.mega-card-desc {
    display: none;
}

.mega-card-arrow {
    flex-shrink: 0;
    font-size: 11px;
    color: var(--gray-400);
    opacity: 0;
    transform: translateX(-4px);
    transition: var(--transition-fast);
}

.mega-menu-card:hover .mega-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

/* Subcategory list */
.mega-menu-card.has-children .mega-card-link {
    padding-bottom: 6px;
}

.mega-sub-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    padding: 0 14px 10px;
    border-top: 1px dashed var(--gray-200);
    margin: 0 10px;
    padding-top: 8px;
}

.mega-sub-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gray-600);
    padding: 3px 8px;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
    background: var(--white);
    border: 1px solid var(--gray-100);
}

.mega-sub-item i {
    font-size: 8px;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.mega-sub-item:hover {
    background: var(--primary-soft);
    color: var(--primary);
    border-color: rgba(227, 30, 36, 0.15);
}

.mega-sub-item:hover i {
    color: var(--primary);
}

/* Mobile sub-toggle button */
.mega-sub-toggle {
    display: none;
}

/* Mega Footer */
.mega-menu-footer {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-100);
}

.mega-footer-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary-soft), rgba(227, 30, 36, 0.02));
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.mega-footer-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-primary);
}

.mega-footer-link i:last-child {
    font-size: 12px;
    transition: transform 0.3s var(--ease-out);
}

.mega-footer-link:hover i:last-child {
    transform: translateX(4px);
}

/* Mega Menu Overlay - below navbar (z-index:1000) but above page content */
.mega-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(2px);
}

.mega-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Custom Hamburger */
.navbar-toggler {
    border: none;
    padding: 8px;
    background: transparent !important;
    box-shadow: none !important;
}

.navbar-toggler:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.hamburger-icon {
    width: 26px;
    height: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--gray-900);
    border-radius: 3px;
    transition: var(--transition);
    transform-origin: center;
}

.hamburger-icon span:nth-child(2) {
    width: 70%;
    transition: var(--transition);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(1) {
    transform: translateY(8.75px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.navbar-toggler[aria-expanded="true"] .hamburger-icon span:nth-child(3) {
    transform: translateY(-8.75px) rotate(-45deg);
}

/* Nav WhatsApp Button */
.btn-whatsapp {
    background: linear-gradient(135deg, var(--whatsapp), #1fb855);
    color: var(--white) !important;
    border: none;
    border-radius: var(--radius-full);
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-whatsapp::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.6s;
}

.btn-whatsapp:hover::before {
    left: 100%;
}

.btn-whatsapp:hover {
    color: var(--white) !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ===== Buttons - Premium ===== */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 36px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.01em;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    z-index: 2;
    transition: left 0.6s;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-primary-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #a1151a 100%);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary-custom:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary-lg);
}

.btn-primary-custom:hover::after {
    opacity: 1;
}

.btn-primary-custom:active {
    transform: translateY(-1px);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--radius-full);
    padding: 12px 32px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
}

.btn-whatsapp-custom {
    background: linear-gradient(135deg, var(--whatsapp), #1fb855);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    padding: 14px 36px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-whatsapp-custom:hover {
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
    background: linear-gradient(135deg, #1fb855, var(--whatsapp));
}

.btn-whatsapp-custom:active {
    transform: translateY(-1px);
}

.btn-outline-light {
    border-radius: var(--radius-full);
    padding: 14px 36px;
    font-weight: 600;
    border-width: 2px;
}

.text-primary-custom {
    color: var(--primary) !important;
}

/* ===== Hero Section - DRAMATIC ===== */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--secondary);
    background-size: cover;
    background-position: center;
    padding: 0;
    min-height: 110vh;
    display: flex;
    align-items: center;
}

.hero-section[style*="background-image"] {
    background-blend-mode: overlay;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12,12,29,0.94) 0%, rgba(8,8,26,0.88) 50%, rgba(12,12,29,0.92) 100%);
    z-index: 1;
}

/* Mesh gradient blobs */
.hero-section::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227,30,36,0.12) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 2;
    animation: heroBlobFloat 15s ease-in-out infinite;
}

@keyframes heroBlobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-50px, 30px) scale(1.05); }
    66% { transform: translate(20px, -40px) scale(0.95); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Second blob - bottom left */
.hero-blob-2 {
    position: absolute;
    bottom: -20%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.06) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 2;
    animation: heroBlobFloat2 18s ease-in-out infinite;
}

@keyframes heroBlobFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(227, 30, 36, 0.08);
    border: 1px solid rgba(227, 30, 36, 0.15);
    color: var(--primary-light);
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 28px;
    backdrop-filter: blur(12px);
    letter-spacing: 0.5px;
}

.hero-badge i {
    font-size: 11px;
    animation: starPulse 2s ease-in-out infinite;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-title .text-primary-custom {
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-motto {
    color: rgba(255,255,255,0.45);
    font-size: 1.15rem;
    font-family: 'Caveat', cursive;
    letter-spacing: 0.5px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.hero-buttons .btn {
    border-radius: var(--radius-full);
    padding: 15px 36px;
    font-weight: 600;
    font-size: 15px;
}

/* Hero Visual - Floating Cards */
.hero-visual {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
    padding: 10px 0;
    perspective: 1000px;
}

.hero-visual .floating-card {
    width: calc(50% - 7px);
    min-width: 130px;
}

.floating-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    padding: 0;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.5s var(--ease-out);
    cursor: pointer;
    overflow: hidden;
    animation: floatSoft 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

a.floating-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(227, 30, 36, 0.35);
    color: var(--white);
    transform: translateY(-8px) scale(1.04) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3), 0 0 30px rgba(227,30,36,0.1);
}

.floating-card-img-wrap {
    width: 100%;
    height: 130px;
    overflow: hidden;
    background: rgba(255,255,255,0.03);
}

.floating-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 1;
}

a.floating-card:hover .floating-card-img-wrap img {
    transform: scale(1.15);
    opacity: 1;
}

.floating-card-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    width: 100%;
}

.floating-card-bottom i {
    font-size: 20px;
    color: var(--primary-light);
    transition: var(--transition);
}

a.floating-card:hover .floating-card-bottom i {
    transform: scale(1.15);
}

.floating-card-bottom span {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.floating-card.card-1 { animation-delay: 0s; }
.floating-card.card-2 { animation-delay: 0.8s; position: relative; top: -30px; }
.floating-card.card-3 { animation-delay: 1.4s; }
.floating-card.card-4 { animation-delay: 0.4s; position: relative; top: -30px; }
.floating-card.card-5 { animation-delay: 1.0s; }
.floating-card.card-6 { animation-delay: 1.2s; position: relative; top: -30px; }

@keyframes floatSoft {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(16px); }
}

/* ===== Stats / Counter Section ===== */
.stats-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    padding-bottom: 0;
}

.stats-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
    padding: 25px 30px;
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent-warm), var(--primary));
    background-size: 200% 100%;
    animation: gradientSlide 4s linear infinite;
}

@keyframes gradientSlide {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.stat-item {
    text-align: center;
    padding: 10px;
    position: relative;
}

.stat-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: var(--primary);
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.1) rotate(6deg);
    box-shadow: var(--shadow-primary);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
    display: inline;
    line-height: 1;
    letter-spacing: -0.03em;
}

.stat-suffix {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-label {
    font-size: 13px;
    color: var(--gray-500);
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.03em;
}

/* ===== Section Styles ===== */
.section-padding {
    padding: 110px 0;
}

.section-padding-sm {
    padding: 80px 0;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-soft);
    color: var(--primary);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(227, 30, 36, 0.08);
}

.section-badge-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255,255,255,0.9);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,0.08);
}

.section-header {
    margin-bottom: 24px;
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.7rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
}

.about-image-box {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: var(--shadow-xl);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-slow);
}

.about-image-box:hover .about-img {
    transform: scale(1.04);
}

.about-pattern {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: repeating-linear-gradient(
        45deg,
        var(--primary),
        var(--primary) 3px,
        transparent 3px,
        transparent 12px
    );
    opacity: 0.08;
    border-radius: var(--radius-md);
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-primary-lg);
    z-index: 2;
    border: 4px solid var(--white);
}

.exp-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
}

.exp-text {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    opacity: 0.9;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
    cursor: default;
}

.about-feature:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.about-feature:hover h6 { color: var(--white); }

.about-feature i {
    font-size: 20px;
    color: var(--primary);
    width: 24px;
    text-align: center;
    transition: var(--transition);
}

.about-feature:hover i { color: var(--white); }

.about-feature h6 {
    margin: 0;
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
    transition: var(--transition);
}

/* ===== Dark Section ===== */
.bg-dark-custom {
    background:
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='%23ffffff' fill-opacity='0.015' fill-rule='evenodd'/%3E%3C/svg%3E"),
        radial-gradient(ellipse at 0% 100%, rgba(227,30,36,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(59,130,246,0.05) 0%, transparent 50%),
        linear-gradient(195deg, #10102e 0%, #0c0c20 30%, #141428 60%, #0e0b1e 100%);
    position: relative;
    overflow: hidden;
}

.bg-dark-custom::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle 400px at 15% 80%, rgba(227,30,36,0.07) 0%, transparent 100%),
        radial-gradient(circle 350px at 85% 20%, rgba(59,130,246,0.06) 0%, transparent 100%),
        radial-gradient(circle 250px at 50% 50%, rgba(139,92,246,0.04) 0%, transparent 100%);
    z-index: 0;
    animation: catBlobDrift 25s ease-in-out infinite;
}

.bg-dark-custom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(227,30,36,0.2) 30%, rgba(59,130,246,0.15) 70%, transparent 100%);
    z-index: 1;
}

@keyframes catBlobDrift {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-48%, -52%) rotate(3deg); }
}

/* ===== Category Cards - Premium 3D ===== */
.category-card {
    display: flex;
    flex-direction: column;
    background: #1a1a3e;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all 0.5s var(--ease-out);
    height: 100%;
    text-decoration: none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 800px;
}

.category-card:hover {
    background: #222250;
    border-color: rgba(227, 30, 36, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.category-card-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.category-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, rgba(12,12,29,0.35), transparent);
    z-index: 1;
}

.category-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
    opacity: 1;
}

.category-card:hover .category-card-image img {
    transform: scale(1.08);
    opacity: 1;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: rgba(227, 30, 36, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -30px auto 16px;
    font-size: 22px;
    color: var(--primary-light);
    transition: var(--transition);
    position: relative;
    z-index: 2;
    border: 3px solid rgba(12,12,29,0.95);
    backdrop-filter: blur(12px);
}

.category-card:hover .category-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-primary);
}

.category-card h5 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 0 22px;
}

.category-card p {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin-bottom: 14px;
    padding: 0 22px;
    line-height: 1.7;
}

.category-link {
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 22px 28px;
    transition: var(--transition);
}

.category-card:hover .category-link {
    gap: 10px;
}

/* ===== Product Cards - Premium ===== */
.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    height: 100%;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.product-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s var(--ease-out);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-400);
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}

.product-placeholder.large {
    aspect-ratio: 4/3;
    min-height: 350px;
    border-radius: var(--radius-xl);
    flex-direction: column;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.product-badge,
.product-discount-badge {
    position: absolute;
    top: 12px;
    color: var(--white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-weight: 700;
    z-index: 1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.product-badge {
    left: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.product-discount-badge {
    right: 12px;
    background: linear-gradient(135deg, #27ae60, #1e8449);
}

.product-info {
    padding: 24px 22px;
}

.product-category {
    font-size: 12px;
    color: var(--primary);
    text-transform: capitalize;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: block;
}

.product-brand {
    font-size: 11px;
    color: var(--gray-500);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
    display: block;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.product-tag {
    font-size: 11px;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 8px;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.product-tag:hover {
    color: var(--primary);
    background: var(--primary-soft);
}

.product-detail-brand {
    margin-bottom: 8px;
}

.product-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.product-detail-tags .badge {
    font-size: 13px;
    padding: 6px 12px;
    transition: var(--transition);
}

.product-detail-tags .badge:hover {
    transform: translateY(-2px);
}

.product-info h5 {
    margin: 8px 0 10px;
    font-size: 1rem;
    font-weight: 650;
}

.product-info h5 a {
    color: var(--gray-900);
    transition: var(--transition);
}

.product-info h5 a:hover { color: var(--primary); }

.product-info h6 a {
    color: var(--gray-900);
    transition: var(--transition);
}

.product-info h6 a:hover { color: var(--primary); }

.product-info p {
    color: var(--gray-500);
    font-size: 13.5px;
    margin: 0;
    line-height: 1.7;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.product-price-old {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-price-sale {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

/* Product Detail Price */
.product-detail-price-old {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--gray-400);
    text-decoration: line-through;
    margin-right: 10px;
}

.product-detail-price-sale {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.product-detail-discount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: var(--white);
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-left: 12px;
    vertical-align: middle;
}

/* ===== QR Section ===== */
.qr-cta-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.qr-cta-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227,30,36,0.03), transparent 70%);
    border-radius: 50%;
}

.qr-features {
    padding: 0;
    list-style: none;
}

.qr-features li {
    padding: 12px 0;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* QR Mockup */
.phone-frame {
    width: 260px;
    height: 500px;
    background: linear-gradient(145deg, #2a2a3e, var(--secondary));
    border-radius: 40px;
    padding: 12px;
    margin: 0 auto;
    box-shadow: var(--shadow-2xl), inset 0 1px 0 rgba(255,255,255,0.08);
    position: relative;
    border: 1px solid rgba(255,255,255,0.05);
}

.phone-frame.large {
    width: 300px;
    height: 560px;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--dark);
    border-radius: 10px;
}

.phone-screen {
    background: var(--white);
    border-radius: 30px;
    height: 100%;
    padding: 32px 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    color: var(--gray-900);
}

.phone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
}

.menu-preview {
    width: 100%;
    margin-top: 20px;
}

.menu-preview-list {
    width: 100%;
    overflow: hidden;
}

.menu-category-preview {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 0 4px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 8px;
}

.menu-item-card {
    display: flex;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.menu-item-thumb {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--gray-200), var(--gray-300));
    border-radius: 10px;
    flex-shrink: 0;
}

.menu-item-info {
    flex: 1;
    padding-top: 5px;
}

.menu-item-preview {
    height: 8px;
    background: var(--gray-200);
    border-radius: 4px;
    margin-bottom: 6px;
    width: 100%;
}

.menu-item-preview.short {
    width: 60%;
}

/* QR Features List */
.qr-features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.qr-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 6px 0;
}

.qr-feature-icon {
    width: 52px;
    height: 52px;
    background: var(--primary-soft);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.qr-feature-item:hover .qr-feature-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: scale(1.05);
    box-shadow: var(--shadow-primary);
}

.qr-feature-item h6 {
    margin-bottom: 4px;
    font-size: 15px;
    font-weight: 650;
}

.qr-feature-item p {
    margin: 0;
    color: var(--gray-500);
    font-size: 13px;
}

.qr-customer-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 28px 15px;
    transition: var(--transition);
    text-align: center;
}

.qr-customer-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.qr-customer-card i {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
}

.qr-customer-card h6 {
    margin: 0;
    font-size: 14px;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 40%, #8b1015 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    top: -80px;
    right: -60px;
    animation: ctaOrbit 20s linear infinite;
}

@keyframes ctaOrbit {
    0% { transform: rotate(0deg) translateX(50px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(50px) rotate(-360deg); }
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
    bottom: -50px;
    left: 5%;
}

.cta-title {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.cta-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, rgba(12,12,29,0.94) 0%, rgba(8,8,26,0.96) 100%);
    padding: 50px 0 40px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.page-header::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(227,30,36,0.08), transparent 70%);
    border-radius: 50%;
}

.page-header-sm {
    padding: 28px 0 18px;
}

.page-title {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb-item a {
    color: rgba(255,255,255,0.45);
    transition: var(--transition);
}

.page-header .breadcrumb-item a:hover {
    color: var(--white);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-light);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.2);
}

/* ===== Sidebar ===== */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
}

/* ===== Category Tree ===== */
.cat-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-tree-item {
    position: relative;
}

.cat-tree-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}

.cat-tree-row > a {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    padding: 8px 10px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
    min-width: 0;
    text-decoration: none;
}

.cat-tree-row > a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.cat-tree-row.active > a {
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

/* Icon kutusu */
.cat-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: var(--radius-xs);
    color: var(--gray-600);
    font-size: 12px;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.cat-tree-row > a:hover .cat-icon,
.cat-tree-row.active .cat-icon {
    background: var(--primary);
    color: var(--white);
}

.cat-name {
    flex: 1;
    line-height: 1.35;
    word-break: break-word;
}

/* Alt kategori sayısı rozeti */
.cat-badge {
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
    line-height: 1.6;
    min-width: 18px;
    text-align: center;
    transition: var(--transition-fast);
}

.cat-tree-row.active .cat-badge {
    background: var(--primary);
    color: var(--white);
}

/* Genişlet/Daralt butonu */
.cat-toggle {
    width: 26px;
    height: 26px;
    border: none;
    background: transparent;
    border-radius: var(--radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition-fast);
    padding: 0;
}

.cat-toggle:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.cat-toggle-icon {
    transition: transform 0.3s var(--ease-out);
}

.cat-toggle.open .cat-toggle-icon {
    transform: rotate(90deg);
}

/* Alt kategori listesi — gizli/görünür */
.cat-tree-children {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s var(--ease-out);
}

.cat-tree-children.show {
    max-height: 1200px;
}

/* Alt ağaç girintisi ve dikey çizgi */
.cat-tree .cat-tree {
    padding-left: 12px;
    margin-left: 13px;
    margin-top: 2px;
    margin-bottom: 2px;
    border-left: 2px solid var(--gray-200);
    position: relative;
}

.cat-tree-row.active ~ .cat-tree,
.cat-tree .cat-tree-row.active {
    border-color: var(--primary-soft);
}

/* İkinci seviye küçük ikonlar */
.cat-tree .cat-tree .cat-icon {
    width: 22px;
    height: 22px;
    font-size: 10px;
}

/* İkinci seviye link boyutu */
.cat-tree .cat-tree .cat-tree-row > a {
    font-size: 13px;
    padding: 8px 10px;
}

/* Üçüncü seviye */
.cat-tree .cat-tree .cat-tree .cat-tree-row > a {
    font-size: 12px;
    padding: 6px 10px;
    color: var(--gray-600);
}

.brand-filter-list,
.tag-filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.brand-filter-list .badge,
.tag-filter-list .badge {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.brand-filter-list .badge:hover,
.tag-filter-list .badge:hover {
    background: var(--primary-soft) !important;
    color: var(--primary) !important;
    border-color: var(--primary);
}

.tag-extra,
.brand-extra {
    display: none;
}
.tag-extra.show,
.brand-extra.show {
    display: inline-flex;
}
.btn-tag-toggle {
    font-size: 12px;
    color: var(--primary);
    background: none;
    border: none;
    padding: 4px 0 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
}
.btn-tag-toggle:hover {
    text-decoration: underline;
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--whatsapp), #1fb855);
    color: var(--white);
    text-align: center;
    border: none;
}

.sidebar-cta h6,
.sidebar-cta p { color: var(--white); }

.sidebar-cta .btn {
    background: var(--white) !important;
    color: var(--whatsapp) !important;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.sidebar-cta .btn:hover {
    background: rgba(255,255,255,0.85) !important;
    color: var(--whatsapp) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== Price Filter ===== */
.price-filter {
    padding-top: 4px;
}

.price-range-slider {
    position: relative;
    height: 36px;
}

.price-range-slider .price-range-input {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    margin: 0;
}

.price-range-slider .price-range-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.2s, box-shadow 0.2s;
}

.price-range-slider .price-range-input::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 2px 10px rgba(227, 30, 36, 0.3);
}

.price-range-slider .price-range-input::-moz-range-thumb {
    width: 22px;
    height: 22px;
    background: var(--white);
    border: 3px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.price-range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
    z-index: 1;
}

.price-range-fill {
    position: absolute;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light, #ff4d52));
    border-radius: 3px;
    transition: left 0.1s, right 0.1s;
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    font-size: 11px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.input-with-suffix {
    position: relative;
}

.input-with-suffix input {
    padding-right: 28px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.input-with-suffix .input-suffix {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 600;
    pointer-events: none;
}

/* ===== Mobile Sidebar ===== */
.btn-sidebar-toggle {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 15px;
    color: var(--gray-700);
    transition: var(--transition);
    box-shadow: var(--shadow-xs);
}

.btn-sidebar-toggle:hover,
.btn-sidebar-toggle:focus {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-sidebar-toggle .sidebar-toggle-icon {
    transition: transform 0.3s;
}

.sidebar-overlay {
    display: none;
}

.sidebar-mobile-header {
    display: none;
}

@media (max-width: 991.98px) {
    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
        backdrop-filter: blur(2px);
    }

    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .sidebar-wrapper {
        position: fixed;
        top: 0;
        left: -320px;
        width: 310px;
        max-width: 85vw;
        height: 100vh;
        height: 100dvh;
        background: var(--gray-50);
        z-index: 1050;
        transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        display: flex;
        flex-direction: column;
        box-shadow: var(--shadow-2xl);
    }

    .sidebar-wrapper.open {
        left: 0;
    }

    .sidebar-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 18px 20px;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        flex-shrink: 0;
    }

    .sidebar-mobile-header h5 {
        font-size: 1rem;
        font-weight: 700;
        color: var(--gray-800);
    }

    .btn-sidebar-close {
        width: 36px;
        height: 36px;
        border: none;
        background: var(--gray-100);
        border-radius: var(--radius-sm);
        color: var(--gray-600);
        font-size: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .btn-sidebar-close:hover {
        background: var(--primary-soft);
        color: var(--primary);
    }

    .sidebar-mobile-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px;
        -webkit-overflow-scrolling: touch;
    }

    .sidebar-mobile-body .sidebar-widget {
        border-radius: var(--radius-lg);
        padding: 20px;
    }

    .sidebar-mobile-body .sidebar-widget:first-child {
        margin-top: 0 !important;
    }

    body.sidebar-open {
        overflow: hidden;
    }
}

/* ===== Contact ===== */
.contact-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.contact-card-icon {
    width: 68px;
    height: 68px;
    background: var(--primary-soft);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.contact-card:hover .contact-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    transform: rotate(6deg) scale(1.08);
    box-shadow: var(--shadow-primary);
}

.contact-card h5 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-card p,
.contact-card a {
    color: var(--gray-600);
    font-size: 14px;
}

.contact-card a:hover { color: var(--primary); }

/* Contact Form */
.contact-form .form-control,
.contact-form .form-floating .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    transition: var(--transition);
    font-size: 14px;
    background: var(--gray-50);
}

.contact-form .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 5px rgba(227, 30, 36, 0.06);
    background: var(--white);
}

.contact-form .form-floating label {
    color: var(--gray-400);
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.social-link-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-full);
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.social-link-box:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link-box.whatsapp:hover {
    border-color: var(--whatsapp);
    color: var(--whatsapp);
}

/* ===== Philosophy ===== */
.philosophy-section {
    position: relative;
}

.philosophy-section::before {
    display: none;
}

.philosophy-container {
    position: relative;
}

.philosophy-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.philosophy-container > *:not(.philosophy-bg) {
    position: relative;
    z-index: 1;
}

.philosophy-section > .container {
    position: relative;
    z-index: 1;
}

.philosophy-card {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    height: 100%;
}

.philosophy-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(227, 30, 36, 0.15);
}

.philosophy-number {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.15;
    transition: var(--transition);
}

.philosophy-card:hover .philosophy-number {
    opacity: 1;
    transform: scale(1.1);
}

.philosophy-card p {
    margin: 0;
    font-size: 15px;
    color: var(--gray-700);
    line-height: 1.8;
}

/* ===== Expertise Cards ===== */
.expertise-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 0;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    height: 100%;
    overflow: hidden;
}

.expertise-card-img {
    height: 220px;
    overflow: hidden;
}

.expertise-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s var(--ease-out);
}

.expertise-card:hover .expertise-card-img img {
    transform: scale(1.1);
}

.expertise-card .expertise-icon {
    margin-top: -42px;
    position: relative;
    z-index: 2;
}

.expertise-card h4,
.expertise-card p {
    padding: 0 28px;
}

.expertise-card p {
    padding-bottom: 32px;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.expertise-icon {
    width: 84px;
    height: 84px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    color: var(--white);
    font-size: 30px;
    box-shadow: var(--shadow-primary-lg);
    border: 4px solid var(--white);
    transition: var(--transition);
}

.expertise-card:hover .expertise-icon {
    transform: scale(1.1) rotate(5deg);
}

.expertise-card h4 {
    font-size: 1rem;
    letter-spacing: 2.5px;
    margin-bottom: 16px;
    font-weight: 700;
}

.expertise-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.8;
}

/* ===== Reference Cards ===== */
.reference-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: all 0.5s var(--ease-out);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reference-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.reference-card img {
    max-height: 250px;
    object-fit: contain;
    transition: var(--transition);
    
}

.reference-card:hover img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.05);
}

.reference-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--gray-600);
}

.reference-placeholder i {
    font-size: 28px;
    color: var(--primary);
    opacity: 0.35;
    transition: var(--transition);
}

.reference-card:hover .reference-placeholder i {
    opacity: 1;
    transform: scale(1.1);
}

.reference-placeholder span {
    font-size: 13px;
    font-weight: 600;
}

/* ===== Invitation Texts ===== */
.invitation-category {
    font-size: 1.3rem;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.invitation-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    margin-bottom: 14px;
    border-left: 4px solid var(--primary);
    transition: var(--transition);
    position: relative;
}

.invitation-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateX(6px);
    border-left-color: var(--primary-light);
}

.invitation-card blockquote {
    margin: 0;
    font-style: italic;
    color: var(--gray-700);
    font-size: 15px;
    line-height: 1.8;
    font-family: var(--font-display);
}

/* ===== Product Detail ===== */
.product-detail-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.product-detail-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.product-detail-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-detail-image img {
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
}

.product-detail-image:hover img {
    transform: scale(1.02);
}

.product-gallery img {
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.product-gallery img:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.product-detail-info p {
    color: var(--gray-500);
    font-size: 14px;
    margin-bottom: 10px;
}

.product-detail-desc {
    color: var(--gray-700);
    line-height: 1.9;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 35px 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all 0.5s var(--ease-out);
    height: 100%;
}

.service-card-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: -35px -30px 20px -30px;
    height: 200px;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s var(--ease-out);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 28px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-primary);
}

.service-card h4 { font-size: 1.15rem; margin-bottom: 12px; }
.service-card p { color: var(--gray-500); font-size: 14px; margin-bottom: 15px; }
.service-link { color: var(--primary); font-weight: 600; font-size: 14px; }

/* ===== 404 ===== */
.error-404 {
    font-size: clamp(7rem, 18vw, 12rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    letter-spacing: -0.05em;
    filter: drop-shadow(0 4px 20px rgba(227,30,36,0.15));
}

/* ===== Catalog Coming Soon ===== */
.catalog-coming-soon {
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: var(--radius-2xl);
    padding: 70px 50px;
    border: 2px dashed var(--gray-300);
    position: relative;
    overflow: hidden;
}

.catalog-coming-soon::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(227,30,36,0.04), transparent 70%);
    border-radius: 50%;
}

.catalog-icon-wrapper {
    width: 110px;
    height: 110px;
    background: var(--primary-soft);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    animation: catalogPulse 3s ease-in-out infinite;
}

@keyframes catalogPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); box-shadow: var(--shadow-primary); }
}

/* ===== Footer - Premium ===== */
.site-footer {
    background: linear-gradient(180deg, var(--secondary) 0%, var(--dark) 100%);
    color: rgba(255,255,255,0.9);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.005'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.site-footer::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227,30,36,0.02) 0%, transparent 60%);
    border-radius: 50%;
}

.footer-top {
    padding: 80px 0 60px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.footer-logo-img {
    max-height: 80px;
    width: auto;
    opacity: 0.85;
    transition: var(--transition);
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-brand .brand-mercan {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 3px;
}

.footer-brand .brand-reklam {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255,255,255,0.7);
    letter-spacing: 6px;
}

.footer-about {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-motto {
    font-size: 1rem;
    opacity: 0.75;
    font-family: 'Caveat', cursive;
}

.footer-title {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 16px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    position: relative;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--primary-light);
    margin-right: 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-links a:hover::before {
    width: 18px;
    margin-right: 10px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--primary);
    margin-top: 4px;
    width: 18px;
    flex-shrink: 0;
    font-size: 14px;
}

.footer-contact li a {
    color: rgba(255,255,255,0.85);
}

.footer-contact li a:hover {
    color: var(--primary-light);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    color: rgba(255,255,255,0.8);
    margin-right: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.08);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.35);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 24px 0;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    font-size: 13px;
    opacity: 0.75;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background: linear-gradient(135deg, var(--whatsapp), #1fb855);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
    z-index: 999;
    transition: var(--transition);
    animation: pulseWhatsapp 2s infinite;
}

.whatsapp-float:hover {
    color: var(--white);
    transform: scale(1.12);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.55);
}

@keyframes pulseWhatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== Scroll to Top ===== */
.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 36px;
    width: 46px;
    height: 46px;
    background: var(--glass-dark);
    backdrop-filter: blur(16px);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-primary);
}

/* ===== Smooth page enter ===== */
main, .main-content {
    animation: pageEnter 0.5s var(--ease-out);
}

@keyframes pageEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== Responsive ===== */
@media (max-width: 1199px) {
    .hero-visual {
        gap: 10px;
    }
}

@media (max-width: 991px) {
    .hero-title {
        font-size: clamp(2rem, 5vw, 2.8rem);
    }
    
    .hero-section {
        min-height: auto;
        padding: 60px 0;
    }
    
    .min-vh-75 {
        min-height: auto;
        padding: 40px 0;
    }
    
    .section-title {
        font-size: clamp(1.6rem, 3vw, 2rem);
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 24px;
        border-radius: var(--radius-xl);
        margin-top: 14px;
        box-shadow: var(--shadow-2xl);
        border: 1px solid var(--gray-100);
    }

    /* Mega Menu Mobile */
    .mega-nav-item {
        position: relative;
    }

    .mega-nav-trigger {
        width: 100%;
    }

    .mega-nav-item .nav-link {
        flex: 1;
    }

    .mega-menu {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        width: 100%;
        border-top: none;
        border-radius: 0;
        box-shadow: none;
        background: var(--gray-50);
        border: 1px solid var(--gray-100);
        border-radius: var(--radius-sm);
        max-height: 0;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height 0.4s var(--ease-out), visibility 0.3s, padding 0.3s;
        overflow: hidden;
        z-index: auto;
    }

    .mega-nav-item.open .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 70vh;
        overflow-y: auto;
    }

    .mega-menu-inner {
        padding: 12px 10px;
    }

    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .mega-menu-card {
        background: var(--white);
    }

    .mega-card-link {
        padding: 12px 14px;
        gap: 12px;
    }

    .mega-card-icon {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .mega-card-desc {
        display: none;
    }

    .mega-card-arrow {
        opacity: 1;
        transform: none;
        color: var(--gray-400);
    }

    /* Mobile subcategory toggle */
    .mega-menu-card.has-children {
        position: relative;
    }

    .mega-menu-card.has-children .mega-card-arrow {
        display: none;
    }

    .mega-sub-toggle {
        display: flex !important;
        position: absolute;
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--gray-200);
        border-radius: var(--radius-xs);
        background: var(--white);
        color: var(--gray-600);
        font-size: 12px;
        cursor: pointer;
        transition: var(--transition-fast);
        z-index: 2;
    }

    .mega-sub-toggle.open {
        background: var(--primary-soft);
        color: var(--primary);
        border-color: rgba(227, 30, 36, 0.2);
    }

    .mega-sub-toggle.open i::before {
        content: "\f068";
    }

    .mega-sub-list {
        max-height: 0;
        overflow: hidden;
        padding: 0 14px;
        margin: 0;
        border-top: none;
        transition: max-height 0.3s var(--ease-out), padding 0.3s;
        flex-wrap: wrap;
    }

    .mega-sub-list.open {
        max-height: 500px;
        padding: 8px 14px 12px;
        margin: 0 8px;
        border-top: 1px dashed var(--gray-200);
    }

    .mega-menu-footer {
        margin-top: 10px;
        padding-top: 10px;
    }

    .mega-footer-link {
        padding: 10px;
        font-size: 13px;
    }
    
    .btn-whatsapp.ms-lg-3 {
        margin-top: 14px;
        display: block;
        text-align: center;
    }
    
    .experience-badge {
        right: 10px;
        bottom: 10px;
    }
    
    .stats-section {
        margin-top: -30px;
    }
    
    .stats-card {
        padding: 36px 30px;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .cta-title {
        font-size: 1.4rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .phone-frame {
        width: 220px;
        height: 420px;
    }
    
    .phone-frame.large {
        width: 240px;
        height: 460px;
    }
    
    .experience-badge {
        position: relative;
        right: auto;
        bottom: auto;
        display: inline-flex;
        margin-top: 16px;
        border: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .stats-card {
        padding: 28px 18px;
    }
    
    .contact-card {
        padding: 32px 22px;
    }
    
    .footer-top {
        padding: 50px 0 30px;
    }
    
    .catalog-coming-soon {
        padding: 50px 28px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 11px;
        padding: 8px 16px;
    }
    
    .top-bar-left span {
        font-size: 11px;
    }
    
    .stat-item {
        padding: 5px;
    }
    
    .stat-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* ===== Mobil Navbar Aksiyonlar ===== */
.navbar-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    order: 0;
}

/* ===== Arama Butonu (Navbar) ===== */
.btn-search-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--gray-800);
    background: transparent;
    color: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    padding: 0;
}
.btn-search-toggle:hover,
.btn-search-toggle:focus {
    border-color: var(--primary);
    background: transparent;
    color: var(--primary);
}
/* Desktop: collapse içindeki arama butonu */
#navbarNav .btn-search-toggle {
    display: none;
}
@media (min-width: 992px) {
    #navbarNav .btn-search-toggle {
        display: flex;
    }
}

/* ===== Arama Overlay ===== */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.search-overlay-inner {
    width: 100%;
    max-width: 720px;
    padding: 0 20px;
    transform: translateY(-30px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-overlay.active .search-overlay-inner {
    transform: translateY(0);
}
.search-overlay-close {
    position: fixed;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}
.search-overlay-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: rotate(90deg);
}
.search-overlay-title {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 60px;
    padding: 5px 5px 5px 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}
.search-input-icon {
    color: var(--gray-500);
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}
.search-input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 17px;
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    flex: 1;
    padding: 12px 0;
    min-width: 0;
}
.search-input::placeholder {
    color: var(--gray-500);
}
.search-submit-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.search-submit-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

/* Canlı Arama Sonuçları */
.search-live-results {
    margin-top: 15px;
    max-height: 400px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.search-live-results::-webkit-scrollbar {
    width: 5px;
}
.search-live-results::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #fff;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.06);
}
.search-result-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateX(5px);
    color: #fff;
}
.search-result-img {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255,255,255,0.1);
}
.search-result-info {
    flex: 1;
    min-width: 0;
}
.search-result-name {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.search-result-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}
.search-result-price {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary-light);
    flex-shrink: 0;
}
.search-result-price .old-price {
    text-decoration: line-through;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    font-weight: 400;
    margin-right: 6px;
}
.search-results-footer {
    text-align: center;
    padding: 12px;
}
.search-results-footer a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.2s;
}
.search-results-footer a:hover {
    color: #fff;
}
.search-no-result {
    text-align: center;
    padding: 30px 15px;
    color: rgba(255,255,255,0.5);
    font-size: 15px;
}
.search-no-result i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
    color: rgba(255,255,255,0.3);
}
.search-loading {
    text-align: center;
    padding: 20px;
    color: rgba(255,255,255,0.6);
}

/* Popüler Aramalar */
.search-suggestions {
    margin-top: 25px;
    text-align: center;
}
.search-suggestions-label {
    color: rgba(255,255,255,0.5);
    font-size: 13px;
    display: block;
    margin-bottom: 12px;
}
.search-suggestion-tag {
    display: inline-block;
    padding: 6px 16px;
    margin: 4px;
    border-radius: 20px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.search-suggestion-tag:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-2px);
}

/* Arama Sayfası Form (overlay stili) */
.search-page-form-overlay {
    position: relative;
    z-index: 1050;
}
.search-page-form-overlay .search-input-wrap {
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.search-page-form-overlay .search-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 4px 25px var(--primary-glow);
}

/* Sayfa İçi Canlı Arama Dropdown */
.search-page-live-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-200);
    max-height: 420px;
    overflow-y: auto;
    z-index: 1000;
    padding: 8px;
    display: none;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}
.search-page-live-results.show {
    display: block;
}
.search-page-live-results::-webkit-scrollbar {
    width: 5px;
}
.search-page-live-results::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}
.page-live-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark);
    transition: all 0.2s ease;
}
.page-live-item:hover {
    background: var(--primary-soft);
    color: var(--dark);
    transform: translateX(4px);
}
.page-live-img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--gray-200);
}
.page-live-info {
    flex: 1;
    min-width: 0;
}
.page-live-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.page-live-meta {
    font-size: 12px;
    color: var(--gray-600);
    margin-top: 2px;
}
.page-live-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary);
    flex-shrink: 0;
    white-space: nowrap;
}
.page-live-old-price {
    text-decoration: line-through;
    color: var(--gray-500);
    font-size: 12px;
    font-weight: 400;
    margin-right: 5px;
}
.page-live-footer {
    text-align: center;
    padding: 10px;
    border-top: 1px solid var(--gray-200);
    margin-top: 4px;
}
.page-live-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: color 0.2s;
}
.page-live-footer a:hover {
    color: var(--primary-dark);
}
.search-page-live-loading {
    text-align: center;
    padding: 20px;
    color: var(--gray-500);
    font-size: 14px;
}
.search-page-live-empty {
    text-align: center;
    padding: 25px 15px;
    color: var(--gray-500);
    font-size: 14px;
}

/* Body scroll lock */
body.search-open {
    overflow: hidden !important;
    height: 100% !important;
    position: fixed !important;
    width: 100% !important;
}

/* Responsive */
@media (max-width: 991px) {
    .search-overlay {
        padding-top: 8vh;
    }
    .search-overlay-title {
        font-size: 1.5rem;
    }
    .search-overlay-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    .search-input {
        font-size: 15px;
    }
    .btn-search-toggle {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
}
@media (max-width: 575px) {
    .search-overlay-title {
        font-size: 1.2rem;
    }
    .search-result-item {
        padding: 10px 12px;
        gap: 10px;
    }
    .search-result-img {
        width: 44px;
        height: 44px;
    }
}

/* ===== Fullscreen Image Modal (QR Menü & Web Tasarım) ===== */
.qrm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, .92);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.25) transparent;
    animation: qrmFadeIn .2s ease;
    user-select: none;
    -webkit-user-select: none;
}
.qrm-overlay::-webkit-scrollbar { width: 5px; }
.qrm-overlay::-webkit-scrollbar-track { background: transparent; }
.qrm-overlay::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 99px; }
@keyframes qrmFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.qrm-content {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    box-sizing: border-box;
}
.qrm-label {
    color: rgba(255,255,255,.75);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    letter-spacing: .5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.qrm-img-wrap {
    display: flex;
    justify-content: center;
}
.qrm-img-wrap img {
    width: 100%;
    max-width: 640px;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
    animation: qrmImgIn .25s ease both;
}
@keyframes qrmImgIn {
    from { opacity: 0; transform: scale(.96); }
    to   { opacity: 1; transform: scale(1); }
}
.qrm-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 10001;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s, transform .15s;
    backdrop-filter: blur(4px);
}
.qrm-close:hover {
    background: rgba(255,255,255,.25);
    transform: scale(1.1);
}
@media (max-width: 575px) {
    .qrm-content { padding: 56px 12px 32px; }
}

/* ===== Print Styles ===== */
@media print {
    .top-bar, .navbar, .whatsapp-float, .scroll-top,
    .cta-section, footer, .scroll-progress, #preloader,
    body::after { display: none !important; }
    .page-header { background: var(--gray-100) !important; color: var(--dark) !important; }
    .page-title { color: var(--dark) !important; }
    .section-padding { padding: 30px 0; }
}

/* ===== Mobil Uyumluluk Ek Düzeltmeleri ===== */

/* iOS tap highlight kaldır */
* {
    -webkit-tap-highlight-color: transparent;
}

/* Metin taşmasını engelle */
body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

/* Mobil dokunma hedefi minimum 44px */
@media (max-width: 767px) {
    .nav-link, 
    .btn, 
    .footer-links a, 
    .footer-contact a,
    .whatsapp-float,
    .search-suggestion-tag {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }
    
    /* Tablo taşmasını engelle */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* İletişim kartları mobilde tam genişlik */
    .contact-card {
        margin-bottom: 1rem;
    }
    
    /* Hero butonları mobilde alt alta */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-buttons .btn {
        width: 100%;
    }
}

/* Küçük mobil ek düzeltmeleri */
@media (max-width: 375px) {
    .hero-title {
        font-size: 1.75rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

/* Landscape mobil düzeltmeleri */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding: 2rem 0;
    }
}

/* Lazy-loaded resimlerin düzen kaymasını önle (CLS) */
img[loading="lazy"] {
    background-color: var(--gray-100, #f0f0f0);
}

/* SEO ve erişilebilirlik: skip-link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    z-index: 100000;
    transition: top 0.3s;
    font-size: 14px;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}
