﻿﻿ /* =========================================================
   1. GLOBAL BASE
   ========================================================= */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

body {
    margin-bottom: 60px;
    overflow-x: hidden;
}

/* =========================================================
   2. BOOTSTRAP OVERRIDES & FORMS
   ========================================================= */

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
}

/* =========================================================
   3. HEADER / NAVBAR
   ========================================================= */

.header-premium {
    padding: 18px 0;
}

    .header-premium .navbar-brand {
        letter-spacing: 2px;
        font-size: 1.4rem;
    }

.header-menu .nav-link {
    font-weight: 500;
    margin-left: 20px;
    color: #222;
    position: relative;
}

    .header-menu .nav-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -6px;
        width: 0;
        height: 2px;
        background-color: #000;
        transition: width 0.3s ease;
    }

    .header-menu .nav-link:hover::after {
        width: 100%;
    }

/* =========================================================
   4. PRODUCT CARDS
   ========================================================= */

.product-card {
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    }

    .product-card img {
        width: 100%;
        height: 420px;
        object-fit: cover;
    }

/* =========================================================
   5. HOME — PREMIUM HERO
   ========================================================= */

.hero-premium {
    position: relative;
    min-height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/images/hero-manufacturing.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
}

    /* Hero content (scope’lu) */
    .hero-premium .hero-content {
        max-width: 900px;
        margin: 0 auto;
        position: relative;
        z-index: 2;
        text-align: center;
    }

    .hero-premium .hero-title {
        font-size: 3.8rem;
        font-weight: 700;
        letter-spacing: 4px;
    }

    .hero-premium .hero-subtitle {
        font-size: 1.4rem;
        opacity: 0.95;
    }

    .hero-premium .hero-highlight {
        font-size: 1.1rem;
        opacity: 0.9;
    }

    .hero-premium .hero-actions {
        margin-top: 30px;
    }

@media (max-width: 768px) {
    .hero-premium {
        min-height: 90vh;
    }

        .hero-premium .hero-title {
            font-size: 2.4rem;
            letter-spacing: 2px;
        }
}

/* =========================================================
   PRODUCT RANGE — HOME
   ========================================================= */

.product-range {
    background-color: #f8f9fa;
}

.product-range-card {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 32px;
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .product-range-card h5 {
        font-weight: 600;
        margin-bottom: 12px;
    }

    .product-range-card p {
        font-size: 0.95rem;
        color: #555;
        margin-bottom: 0;
    }

    .product-range-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 35px rgba(0,0,0,0.08);
    }

    /* Highlighted (Private Label) */
    .product-range-card.highlight {
        border-color: #111;
        background: #111;
        color: #fff;
    }

        .product-range-card.highlight h5,
        .product-range-card.highlight p {
            color: #fff;
        }


/* =========================================================
   9. STORES / DEALERS
   ========================================================= */

.store-card,
.dealer-card {
    background-color: #fff;
    transition: all 0.3s ease;
}

    .store-card:hover,
    .dealer-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 14px 35px rgba(0,0,0,0.07);
    }

/* --- Stores/Dealers Image Ratios (Official vs Dealer) ------------------ */
/* Default (dealers): compact cards */
.iraq-stores .card-img-top {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Official stores: premium vertical / poster look */
.official-store-card .card-img-top,
.iraq-stores .official-store-card .card-img-top {
    height: 420px;
    object-fit: cover;
}

/* --- Unified Hover & Meta Text ---------------------------------------- */
/* Use this class on BOTH official & dealer cards for consistent hover */
.location-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .location-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    }

/* Address / city line (muted) */
.store-address {
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
    margin-bottom: 0;
}

/* =========================================================
   10. IRAQ PRESENCE — HERO
   ========================================================= */

.iraq-hero {
    background: linear-gradient(180deg, #f6f7f8 0%, #ffffff 100%);
    padding: 80px 0;
}

    .iraq-hero h1 {
        letter-spacing: 0.3px;
    }

    .iraq-hero .hero-divider {
        width: 60px;
        height: 2px;
        background: #111;
        margin: 20px auto;
    }

/* =========================================================
   11. AUTHORIZED DEALERS
   ========================================================= */

.authorized-dealers .card {
    border: 1px solid #eee;
    transition: all 0.25s ease;
}

    .authorized-dealers .card:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.authorized-dealers .badge {
    font-size: 0.65rem;
    padding: 4px 8px;
    letter-spacing: 0.4px;
}

/* =========================================================
   12. FOOTER
   ========================================================= */

.footer-links li {
    margin-bottom: 6px;
}

.footer-links a {
    color: #555;
    text-decoration: none;
}

    .footer-links a:hover {
        color: #000;
        text-decoration: underline;
    }

/* =========================================================
   13. WHATSAPP FLOATING BUTTON
   ========================================================= */

.whatsapp-float {
    position: fixed;
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .whatsapp-float:hover {
        transform: scale(1.08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }

    .whatsapp-float img {
        width: 28px;
        height: 28px;
        display: block;
    }
/* =========================================================
   MEDIA CENTER — VIDEO & GALLERY
   ========================================================= */

.media-center video {
    background-color: #000;
}

.media-center .ratio {
    border-radius: 6px;
}

.media-center h2 {
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .media-center h2 {
        text-align: center;
    }
}

/* =========================================================
   MEDIA CENTER — SOCIAL ICONS
   ========================================================= */

.media-center a i {
    font-size: 1.6rem; /* ikon boyutu */
    color: #222; /* kurumsal siyah */
    transition: transform 0.2s ease, color 0.2s ease;
}

.media-center a:hover i {
    transform: scale(1.15);
    color: #000;
}

/* =========================================================
   STORES — UNIFIED CARD IMAGE HEIGHT (FINAL)
   ========================================================= */

.location-card .card-img-top {
    height: 420px;
    object-fit: cover;
    background-color: #f2f2f2;
}

.about-hero {
    min-height: 55vh;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url('/images/about/about-hero.JPG');
    background-size: cover;
    background-position: center;

}


/* =========================
   Cookie Consent – Premium
   ========================= */
.cookie-consent {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 920px;
    width: calc(100% - 32px);
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0,0,0,.12);
    padding: 16px 20px;
    z-index: 1050;
    display: none;
    animation: cookieFadeUp .4s ease-out;
}

    .cookie-consent .cookie-text {
        font-size: 0.9rem;
        color: #333;
        line-height: 1.5;
    }

        .cookie-consent .cookie-text a {
            color: #000;
            font-weight: 500;
            text-decoration: underline;
        }

    .cookie-consent .cookie-actions button {
        min-width: 90px;
    }

@keyframes cookieFadeUp {
    from {
        opacity: 0;
        transform: translate(-50%, 20px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Mobile */
@media (max-width: 576px) {
    .cookie-consent {
        bottom: 16px;
        padding: 14px 16px;
    }
}
