/* =====================================================
   Ema Basım & Reklam - Ana Stil Dosyası
   Modern, Kurumsal ve Responsive Tasarım
   ===================================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

/* =====================================================
   CSS Variables - Renk Paleti ve Tema
   ===================================================== */
:root {
    /* Ana Renkler (Matbaafix Teması) */
    --primary: #003366;
    /* Kırmızı */
    --primary-dark: #002244;
    --primary-light: #fbe4e5;
    --secondary: #333333;
    /* Koyu Gri */
    --secondary-dark: #1a1a1a;
    --secondary-light: #f8f8f8;
    /* Açık Gri Arka Plan */

    /* Nötr Renkler */
    --dark: #222222;
    --gray-900: #1a1a2e;
    --gray-800: #2d2d44;
    --gray-700: #555555;
    --gray-600: #777777;
    --gray-500: #999999;
    --gray-400: #cccccc;
    --gray-300: #dddddd;
    --gray-200: #eeeeee;
    --gray-100: #f4f4f4;
    --light: #f8f9fa;
    --white: #ffffff;

    /* Durum Renkleri */
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;

    /* Tipografi */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-accent: 'Open Sans', sans-serif;
    /* Matbaafix tek font ailesi kullanıyor */

    /* Boyutlar */
    --header-height: auto;
    /* Header yüksekliği dinamik olacak */
    --container-width: 1240px;
    /* Matbaafix container genişliği */
    --border-radius: 4px;
    /* Daha keskin köşeler */
    --border-radius-sm: 3px;
    --border-radius-lg: 8px;

    /* Gölgeler */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

    /* Geçişler */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =====================================================
   Reset & Base
   ===================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul,
ol {
    list-style: none;
}

button,
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
    background: none;
}

/* =====================================================
   Typography
   ===================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h1 {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

h2 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
}

h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.9rem;
}

h6 {
    font-size: 0.85rem;
}

p {
    margin-bottom: 1rem;
}

.text-primary {
    color: var(--primary);
}

.text-secondary {
    color: var(--secondary);
}

.text-accent {
    font-family: var(--font-accent);
    font-style: italic;
}

.text-center {
    text-align: center;
}

.text-light {
    color: var(--gray-500);
}

/* =====================================================
   Container & Layout
   ===================================================== */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
    background-color: #ffffff;
}

.section-sm {
    padding: 60px 0;
    background-color: #ffffff;
}

.section-lg {
    padding: 120px 0;
    background-color: #ffffff;
}

.bg-white {
    background-color: #ffffff !important;
}

.section-header {
    max-width: 700px;
    margin: 0 0 40px 0;
}

.section-header .subtitle {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.section-header h2 {
    margin-bottom: 20px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 1.1rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
    gap: 0;
}

.col,
[class*="col-"] {
    padding: 0 15px;
    box-sizing: border-box;
}

.col {
    flex: 1;
}

.col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

.btn-primary:hover {
    background: #002244;
    border-color: #002244;
}

.btn-secondary {
    background: #333;
    color: #fff;
    border-color: #333;
}

.btn-secondary:hover {
    background: #222;
    border-color: #222;
}

.btn-outline {
    background: transparent;
    border-color: #333;
    color: #333;
}

.btn-outline:hover {
    background: #333;
    color: #fff;
}

.btn-outline-primary {
    background: transparent;
    border-color: #003366;
    color: #003366;
}

.btn-outline-primary:hover {
    background: #003366;
    color: #fff;
}

.btn-lg {
    padding: 12px 28px;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

/* =====================================================
   Header & Navigation
   ===================================================== */
.header {
    background: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

/* Top Bar */
.top-bar {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 5px 0;
    font-size: 0.8rem;
    color: #666;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar .right-links {
    display: flex;
    gap: 15px;
}

/* Main Header */
.main-header {
    padding: 15px 0;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo img {
    max-height: 75px;
    display: block;
}

/* Search Form */
.header-search {
    flex: 1;
    max-width: 600px;
}

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 12px 20px;
    padding-right: 50px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 0.95rem;
    outline: none;
    transition: all var(--transition-fast);
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-btn:hover {
    background: var(--primary-dark);
}

/* User Actions */
.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--gray-700);
    font-size: 0.85rem;
    text-align: center;
    gap: 5px;
    transition: color var(--transition-fast);
}

.action-btn:hover {
    color: var(--primary);
}

.action-btn i {
    font-size: 1.4rem;
    color: var(--gray-700);
    transition: color var(--transition-fast);
}

.action-btn:hover i {
    color: var(--primary);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Navigation (Bottom) */
.header-nav {
    border-top: 1px solid #e5e5e5;
    border-bottom: 2px solid var(--primary);
    /* Alt çizgi kırmızı */
    background: var(--white);
    position: relative;
    /* Container width için */
}

.nav-menu {
    display: flex;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: block;
    padding: 15px 20px;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.8rem;
    /* Font boyutu küçültüldü */
    text-transform: capitalize;
    transition: all var(--transition-fast);
    border-right: 1px solid #f0f0f0;
}

.nav-link:first-child {
    border-left: 1px solid #f0f0f0;
}

.nav-link:hover,
.nav-link.active {
    background: #f9f9f9;
    color: var(--primary);
}

.nav-link::after {
    display: none;
    /* remove old underline effect */
}

/* Mega Menu */
.has-mega-menu {
    position: static;
}

.header-nav .container {
    position: relative;
}

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 15px;
    right: 15px;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    border: 1px solid #e5e5e5;
    border-top: 2px solid #003366;
}

.has-mega-menu:hover .mega-menu {
    display: block;
    animation: fadeIn 0.15s ease-out;
}

.mega-menu-inner {
    display: flex;
    min-height: 320px;
}

.mega-menu-sidebar {
    width: 55%;
    border-right: 1px solid #eee;
    background: #fff;
    padding: 20px 25px;
}

.sidebar-title {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mega-menu-column {
    padding: 20px 25px;
    flex: 1;
}

.mega-menu-column h4 {
    font-weight: 700;
    color: #333;
    font-size: 0.95rem;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mega-menu-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 20px;
}

.mega-menu-sidebar ul li a {
    display: inline-block;
    padding: 6px 0;
    color: #555;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
}

.mega-menu-sidebar ul li a:hover {
    color: #003366;
}

.mega-menu-sidebar ul li a .badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 0.65rem;
    border-radius: 3px;
    margin-left: 5px;
    font-weight: 600;
}

.badge-danger {
    background: #003366;
    color: #fff;
}

.badge-success {
    background: #28a745;
    color: #fff;
}

.mega-menu-content {
    width: 45%;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-content: start;
    background: #fafafa;
}

.mega-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mega-product {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    transition: all 0.2s;
    text-decoration: none;
}

.mega-product:hover {
    border-color: #ddd;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.mega-product .img-wrapper {
    width: 100%;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    overflow: hidden;
    background: #f8f8f8;
    border-radius: 4px;
}

.mega-product img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.mega-product span {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #333;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.3;
}

.mega-product small {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

.badge-danger {
    background: var(--primary);
    color: white;
}

.badge-success {
    background: #28a745;
    color: white;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--dark);
    cursor: pointer;
}

/* Responsive Header */
@media (max-width: 992px) {
    .top-bar {
        display: none;
    }

    .header-nav {
        display: none;
        /* Mobile menu will be needed */
    }

    .header-nav.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: 999;
        background: rgba(255, 255, 255, 0.95);
        /* Better mobile bg */
        overflow-y: auto;
    }

    .nav-menu {
        flex-direction: column;
        padding-top: 60px;
        /* Space for close button */
    }

    .has-mega-menu:hover .mega-menu {
        display: none;
        /* Disable hover on mobile */
    }

    .mega-menu {
        position: static;
        box-shadow: none;
        border: none;
        display: none;
        /* JS will toggle */
    }

    .mega-menu-inner {
        flex-direction: column;
    }

    .mega-menu-sidebar,
    .mega-menu-content {
        width: 100%;
    }

    .mega-menu-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .search-form {
        display: none;
        /* Mobile specific search styling needed */
    }

    .mobile-toggle {
        display: block;
    }
}

/* =====================================================
   Hero Slider
   ===================================================== */
/* =====================================================
   Hero Slider (New Regional Design)
   ===================================================== */
.hero-section {
    position: relative;
    z-index: 1;
}

.hero-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.btn-hero-custom {
    display: inline-block;
    padding: 12px 35px;
    background: transparent;
    border: 1px solid #333;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 4px;
    margin-top: 20px;
}

.btn-hero-custom:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(237, 28, 36, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animations reused */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Dot Navigation */
.hero-dot-nav {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot-nav.active,
.hero-dot-nav:hover {
    background: var(--primary);
    transform: scale(1.2);
}

/* Hero Wrapper Drag State */
.hero-wrapper.dragging {
    cursor: grabbing;
}

/* Info Cards Section */
.info-cards-section {
    margin-top: 25px;
}

.info-card {
    background: #fff;
    border-radius: 8px;
    padding: 18px 15px;
    min-height: 110px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.info-card:hover {
    border-color: #ddd;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.info-card-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 65%;
}

.info-card-content h6 {
    color: #222;
    font-weight: 700;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.3;
}

.info-card-content p {
    font-size: 0.75rem;
    color: #777;
    line-height: 1.4;
    margin: 0;
}

.info-card-content a {
    font-size: 0.65rem;
    font-weight: 700;
    color: #444;
    text-decoration: none;
    border: 1px solid #ccc;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #fafafa;
    transition: all 0.2s ease;
    margin-top: 5px;
}

.info-card-content a i {
    font-size: 0.5rem;
}

.info-card-content a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.info-card-img {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.info-card-img i {
    font-size: 2.8rem;
    color: #ddd;
}

/* =====================================================
   Services Section
   ===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 35px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all var(--transition-normal);
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-link i {
    transition: transform var(--transition-fast);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* =====================================================
   Products Section
   ===================================================== */
.products-section {
    background: #ffffff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

.product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: #ccc;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.product-image {
    position: relative;
    height: 180px;
    background: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.03);
}

.product-content {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.product-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-content h4 a {
    color: inherit;
    text-decoration: none;
}

.product-content h4 a:hover {
    color: #003366;
}

.product-content p {
    color: #777;
    font-size: 0.8rem;
    margin-bottom: 10px;
    display: none;
}

.product-meta {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-min {
    font-size: 0.75rem;
    color: #888;
}

.product-link-text {
    font-weight: 700;
    color: #003366;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s;
}

.product-link-text:hover {
    color: #002244;
}

.badge-featured {
    display: none;
}

.product-category,
.product-overlay {
    display: none;
}

/* =====================================================
   Why Choose Us
   ===================================================== */
.why-us {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 168, 67, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.why-us .section-header {
    color: var(--white);
}

.why-us .section-header h2 {
    color: var(--white);
}

.why-us .section-header p {
    color: rgba(255, 255, 255, 0.7);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 35px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.3);
}

.feature-icon i {
    font-size: 2rem;
    color: var(--dark);
}

.feature-item h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* =====================================================
   CTA Section
   ===================================================== */
.cta-section {
    background: var(--secondary);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    color: var(--dark);
    margin-bottom: 10px;
}

.cta-text p {
    color: var(--gray-800);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.cta-section .btn-primary {
    background: var(--dark);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-primary:hover {
    background: var(--primary);
}

/* =====================================================
   Footer
   ===================================================== */
/* =====================================================
   Footer (Matbaafix Style)
   ===================================================== */
.footer {
    background: #ffffff;
    color: var(--dark);
    border-top: 1px solid #eee;
    font-size: 0.9rem;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.footer-column {
    margin-bottom: 30px;
}

.footer-title {
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary);
}

/* Social & Contact */
.social-links.large {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.social-links.large a {
    width: 36px;
    height: 36px;
    background: #f5f5f5;
    color: var(--secondary);
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-links.large a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.app-store-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: opacity var(--transition-fast);
}

.app-btn:hover {
    opacity: 0.9;
    color: var(--white);
}

.app-btn i {
    font-size: 1.2rem;
}

/* Contact Details */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.footer-contact .contact-item i {
    color: var(--primary);
    margin-top: 3px;
}

/* Footer Bottom */
.footer-bottom-row {
    border-top: 1px solid #eee;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--gray-600);
    font-size: 0.85rem;
}

.payments {
    display: flex;
    align-items: center;
    gap: 15px;
}

.payments i {
    font-size: 2rem;
    color: var(--gray-500);
}

.ssl-badge {
    background: var(--white);
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--success);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Footer Responsive */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-bottom-row {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   Page Header
   ===================================================== */
.page-header {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(212,168,67,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.3;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--secondary);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb i {
    font-size: 0.75rem;
}

/* =====================================================
   Forms
   ===================================================== */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-sm);
    font-size: 1rem;
    color: var(--dark);
    background: var(--white);
    transition: all var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

.form-control::placeholder {
    color: var(--gray-400);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%236c6c7c"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
}

/* =====================================================
   Cards & Boxes
   ===================================================== */
.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-body {
    padding: 30px;
}

/* =====================================================
   Contact Page
   ===================================================== */
.contact-info-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-info-content h5 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.contact-info-content p {
    color: var(--gray-600);
    margin-bottom: 0;
}

.contact-form-box {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* =====================================================
   Alerts & Messages
   ===================================================== */
.alert {
    padding: 16px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.alert i {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.alert-info {
    background: rgba(23, 162, 184, 0.1);
    color: var(--info);
    border: 1px solid rgba(23, 162, 184, 0.2);
}

/* =====================================================
   WhatsApp Button
   ===================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-normal);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    font-size: 2rem;
    color: var(--white);
}

/* =====================================================
   Animations
   ===================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Scroll Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =====================================================
   Responsive Design
   ===================================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--dark);
        flex-direction: column;
        justify-content: flex-start;
        padding: 40px 30px;
        gap: 25px;
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    .nav-link {
        color: var(--white);
        font-size: 1.1rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .nav .btn {
        display: none;
    }

    .col-2,
    .col-3,
    .col-4,
    .col-5,
    .col-6,
    .col-7,
    .col-8,
    .col-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .row {
        gap: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .cta-content {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        min-height: 600px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a::before {
        display: none;
    }

    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
    }

    .page-header {
        padding: 140px 0 80px;
    }

    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* =====================================================
   Live Search Results
   ===================================================== */
.header-search {
    position: relative;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    /* JS ile a��lacak */
    padding: 10px 0;
}

.search-results-dropdown.active {
    display: block;
    animation: fadeIn 0.2s ease-out;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    transition: background 0.2s;
    border-bottom: 1px solid #f9f9f9;
}

.search-item:last-child {
    border-bottom: none;
}

.search-item:hover {
    background: #f5f5f5;
}

.search-item-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #003366;
}

.search-item-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 3px 0;
    color: #333;
}

.search-item-info span {
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
}

.search-no-result {
    padding: 20px;
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Skeleton Loading Animation */
.skeleton-loader {
    padding: 10px 20px;
}

.skeleton-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.skeleton-img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #eee;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-text-group {
    flex: 1;
}

.skeleton-text {
    height: 12px;
    background: #eee;
    border-radius: 3px;
    margin-bottom: 6px;
    animation: skeleton-loading 1.5s infinite;
}

.skeleton-text.short {
    width: 60%;
}

@keyframes skeleton-loading {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}


/* =====================================================
   About Page - Values Grid
   ===================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.value-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    top: 0;
}

.value-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.value-icon {
    width: 80px;
    height: 80px;
    background: rgba(237, 28, 36, 0.05);
    /* Brand color light */
    color: #003366;
    /* Brand color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.3s;
}

.value-item:hover .value-icon {
    background: #003366;
    color: #fff;
    transform: scale(1.1);
}

.value-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.value-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}


/* =====================================================
   Error Pages (404, 403, 500)
   ===================================================== */
.error-page {
    padding: 80px 0;
    text-align: center;
    background-color: #f9f9f9;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    margin-bottom: 20px;
    text-shadow: 4px 4px 0px rgba(237, 28, 36, 0.1);
    position: relative;
    display: inline-block;
}

.error-code::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    bottom: 5px;
    left: 0;
    border-radius: 50%;
    z-index: -1;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.error-description {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-home {
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-home:hover {
    background: #002244;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(237, 28, 36, 0.2);
}

.btn-contact {
    background: #fff;
    color: #333;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-contact:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    border-color: #ccc;
}