﻿:root {
    --primary-blue: #0f2b46;
    --dark-blue: #0a1f33;
    --accent-orange: #f37021;
    --light-bg: #f9fafb;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-muted: #6b7280;
    --section-gap: 100px;
    --card-radius: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    cursor:pointer;
}

/* --- Konteyner Düzenleri --- */
.container-custom {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navbar --- */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
    backdrop-filter: blur(8px);
    z-index: 1050;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

    .navbar-brand span {
        color: var(--accent-orange);
    }

.nav-link {
    font-weight: 600;
    color: var(--text-dark) !important;
    margin: 0 12px;
    font-size: 0.85rem;
    text-transform: uppercase;
    position: relative;
    transition: color 0.3s;
    cursor: pointer;
}

    .nav-link:hover {
        color: var(--accent-orange) !important;
    }

/* HOVER İLE AÇILAN MENÜ */
.dropdown-menu {
    border: none;
    border-top: 3px solid var(--accent-orange);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    margin-top: 0;
    display: none;
}

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block !important;
        animation: fadeInUp 0.3s ease;
    }

    .navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

    .dropdown-item:hover {
        background-color: #fff5eb;
        color: var(--accent-orange);
    }

/* --- Slider --- */
.main-slider .carousel-item {
    height: 80vh;
    min-height: 550px;
    background-color: #000;
    position: relative;
}

.main-slider .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    z-index: 0;
}

.carousel-caption {
    text-align: left;
    left: 10%;
    bottom: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 800px;
    z-index: 2;
    padding-bottom: 0;
}

    .carousel-caption h2 {
        font-size: clamp(2.8rem, 5vw, 3.5rem);
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 20px;
        text-transform: uppercase;
        color: white;
    }

    .carousel-caption p {
        font-size: 1.2rem;
        margin-bottom: 35px;
        color: rgba(255,255,255,0.9);
        font-weight: 400;
        max-width: 650px;
    }

/* SLIDER OKLARI DÜZELTME */
.carousel-control-prev, .carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
    background-color: var(--accent-orange);
    width: 3.5rem;
    height: 3.5rem;
    background-size: 60%;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    transform: scale(1.1);
    background-color: #d9641e;
}

/* --- Hızlı Erişim --- */
.cta-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    margin-bottom: 80px;
}

.cta-box {
    background: var(--white);
    border-radius: var(--card-radius);
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

    .cta-box:hover {
        transform: translateY(-10px);
        border-bottom-color: var(--accent-orange);
    }

    .cta-box i {
        font-size: 2.5rem;
        color: var(--accent-orange);
        margin-bottom: 20px;
    }

    .cta-box h3 {
        font-size: 1.1rem;
        color: var(--dark-blue);
        font-weight: 700;
        margin-bottom: 10px;
    }

    .cta-box p {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 20px;
        line-height: 1.4;
    }

/* --- Genel Bölüm Başlıkları --- */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

    .section-header h2 {
        font-size: 2.2rem;
        color: var(--dark-blue);
        margin-bottom: 15px;
    }

    .section-header .divider {
        width: 60px;
        height: 4px;
        background: var(--accent-orange);
        margin: 0 auto;
        border-radius: 2px;
    }

/* --- Ürün Kartları --- */
.product-card {
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
        transform: translateY(-5px);
        border-color: var(--accent-orange);
    }

.product-img-wrapper {
    height: 250px;
    overflow: hidden;
    position: relative;
    background: #f3f4f6;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .product-info h5 {
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 8px;
    }

    .product-info p {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 20px;
        flex: 1;
    }
/* Buton Grubu Stili */
.product-buttons {
    display: flex;
    gap: 10px;
    margin-top: auto;
    width: 100%;
}

    .product-buttons .btn {
        flex: 1;
        font-size: 0.75rem;
        padding: 10px 5px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        white-space: nowrap;
    }

/* --- Dijital Ölçme Bölümü --- */
.digital-section {
    padding: 100px 0;
    background-color: var(--white);
}

.digital-img-box {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

    .digital-img-box img {
        width: 100%;
        display: block;
    }

.digital-content {
    padding-left: 40px;
}

    .digital-content h2 {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--dark-blue);
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .digital-content span {
        color: var(--accent-orange);
    }

    .digital-content p {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin-bottom: 30px;
    }

.feature-list .feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.feature-item i {
    color: var(--accent-orange);
    margin-right: 15px;
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
}

/* --- Yedek Parça --- */
.spare-parts-section {
    padding: 120px 0;
    background-image: url('https://images.unsplash.com/photo-1513828583688-c52646db42da?q=80&w=2070');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    text-align: center;
}

    .spare-parts-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
    }

.spare-parts-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

    .spare-parts-content h2 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .spare-parts-content p {
        font-size: 1.2rem;
        opacity: 0.9;
        margin-bottom: 40px;
    }

/* --- Markalar Bandı --- */
.brands-section {
    padding: 60px 0;
    background-color: var(--white);
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

    .marquee-wrapper::before, .marquee-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        width: 100px;
        height: 100%;
        z-index: 2;
    }

    .marquee-wrapper::before {
        left: 0;
        background: linear-gradient(to right, white, transparent);
    }

    .marquee-wrapper::after {
        right: 0;
        background: linear-gradient(to left, white, transparent);
    }

.marquee-content {
    display: inline-block;
    animation: scroll 30s linear infinite;
}

.brand-item {
    display: inline-block;
    margin: 0 40px;
    font-size: 1.8rem;
    font-weight: 800;
    color: #d1d5db; /* Soluk gri */
    transition: color 0.3s;
    vertical-align: middle;
}

    .brand-item:hover {
        color: var(--dark-blue);
    }

    .brand-item i {
        margin-right: 10px;
        font-size: 1.5rem;
        color: var(--accent-orange);
        opacity: 0.7;
    }

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Footer --- */
.footer {
    background-color: #0f172a; /* Çok koyu lacivert */
    color: #94a3b8;
    padding: 80px 0 0;
    font-size: 0.95rem;
}

.footer-logo {
    font-size: 1.8rem;
    color: white;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 25px;
}

    .footer-logo span {
        color: var(--accent-orange);
    }

.footer h5 {
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-links {
    padding: 0;
    list-style: none;
    margin: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #94a3b8;
        text-decoration: none;
        transition: 0.3s;
        display: inline-block;
    }

        .footer-links a:hover {
            color: var(--accent-orange);
            transform: translateX(5px);
        }

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

    .contact-item i {
        color: var(--accent-orange);
        margin-right: 15px;
        margin-top: 5px;
        font-size: 1.1rem;
    }

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

    .social-btn:hover {
        background: var(--accent-orange);
        transform: translateY(-3px);
    }

.footer-bottom {
    background-color: #020617; /* Daha da koyu alt bant */
    padding: 25px 0;
    margin-top: 60px;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

/* --- Butonlar --- */
.btn-hezsan {
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.btn-primary-hezsan {
    background-color: var(--accent-orange);
    color: white;
    border: 2px solid var(--accent-orange);
}

    .btn-primary-hezsan:hover {
        background-color: #d9641e;
        border-color: #d9641e;
        color: white;
        transform: translateY(-2px);
    }

.btn-outline-hezsan {
    background-color: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

    .btn-outline-hezsan:hover {
        background-color: var(--primary-blue);
        color: white;
    }

.btn-white-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

    .btn-white-outline:hover {
        background-color: white;
        color: var(--text-dark);
    }

/* --- WhatsApp Chat Widget Styles --- */
.whatsapp-chat-popup {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 340px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 1001;
    overflow: hidden;
    display: none;
    flex-direction: column;
    animation: slideInUp 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f0f0f0;
}

    .whatsapp-chat-popup.active {
        display: flex;
    }

.chat-header {
    background: #075e54;
    color: white;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .chat-header .header-info {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .chat-header i.fa-whatsapp {
        font-size: 2rem;
    }

    .chat-header .name {
        font-weight: 700;
        display: block;
        font-size: 1rem;
        line-height: 1.2;
    }

    .chat-header .status {
        font-size: 0.75rem;
        opacity: 0.9;
        font-weight: 400;
    }

.close-chat {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: 0.2s;
}

    .close-chat:hover {
        opacity: 1;
        transform: scale(1.1);
    }

.chat-body {
    padding: 20px;
    background: #e5ddd5;
    height: 280px;
    overflow-y: auto;
    background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
    background-size: 300px;
}

.message-bubble {
    background: white;
    padding: 12px 16px;
    border-radius: 0 12px 12px 12px;
    width: fit-content;
    max-width: 85%;
    font-size: 0.9rem;
    color: #111;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 10px;
    line-height: 1.5;
    position: relative;
}

    .message-bubble::before {
        content: '';
        position: absolute;
        top: 0;
        left: -10px;
        width: 0;
        height: 0;
        border: 10px solid transparent;
        border-top-color: white;
        border-right: 0;
        margin-top: 0;
    }

.message-time {
    font-size: 0.65rem;
    color: #999;
    display: block;
    text-align: right;
    margin-top: 5px;
}

.chat-footer {
    padding: 15px;
    background: #f0f0f0;
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 1px solid #ddd;
}

    .chat-footer input {
        border: 1px solid #ddd;
        padding: 12px 20px;
        border-radius: 25px;
        flex: 1;
        outline: none;
        font-size: 0.9rem;
    }

        .chat-footer input:focus {
            border-color: #075e54;
        }

    .chat-footer .send-btn {
        background: #075e54;
        color: white;
        border: none;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: 0.2s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

        .chat-footer .send-btn:hover {
            transform: scale(1.1);
            background: #128c7e;
        }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37,211,102,0.4);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

    .whatsapp-float:hover {
        transform: scale(1.1);
        color: white;
        box-shadow: 0 6px 20px rgba(37,211,102,0.6);
    }

/* MOBİL İYİLEŞTİRMELER */
@media (max-width: 991px) {
    :root {
        --section-gap: 60px;
    }
    /* Slider Metinleri */
    .carousel-caption h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 0.95rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }
    /* Slider Yüksekliği */
    .main-slider .carousel-item {
        height: 50vh;
        min-height: 400px;
    }

    /* Slider Okları Mobil */
    .carousel-control-prev, .carousel-control-next {
        width: 10%;
    }

    .carousel-control-prev-icon, .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .cta-section {
        margin-top: 30px;
    }

    .digital-content {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }

    .digital-section .row {
        flex-direction: column-reverse;
    }

    /* Footer Mobil */
    .footer {
        text-align: center;
    }

    .footer-links a:hover {
        transform: none;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Mobil Footer Link Araları */
    .footer-links li {
        margin-bottom: 15px;
    }

    .whatsapp-chat-popup {
        right: 20px;
        bottom: 90px;
        width: 300px;
    }

    /* Mobilde Butonlar Yan Yana (Ezilmeden) */
    .product-buttons {
        flex-direction: row;
        gap: 5px;
    }

        .product-buttons .btn {
            padding: 8px 2px;
            font-size: 0.65rem;
            white-space: nowrap;
        }
}
