/* ============================================
   GAZIANTEP MUSULLU SERVİSİ - SITE CSS
   Mobile-First Design - Red Theme - Poppins
   ============================================ */

:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ff5252;
    --primary-bg: #fef2f2;
    --primary-bg-alt: #fde8e8;
    --whatsapp: #25D366;
    --whatsapp-dark: #1ebe57;
    --dark: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --white: #ffffff;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --header-h: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    scroll-behavior: smooth;
    scroll-padding-top: 68px;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   STICKY HEADER
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.header-logo {
    text-decoration: none;
    color: var(--dark);
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: -0.3px;
}

.logo-text strong {
    color: var(--primary);
    font-weight: 700;
}

/* ---- Desktop Nav ---- */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 4px;
    margin: 0 auto;
}

.desktop-nav .nav-link {
    padding: 8px 12px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-800);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
    position: relative;
}

.desktop-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.25s, left 0.25s;
    border-radius: 1px;
}

.desktop-nav .nav-link:hover,
.desktop-nav .nav-link.active {
    color: var(--primary);
}

.desktop-nav .nav-link:hover::after,
.desktop-nav .nav-link.active::after {
    width: 60%;
    left: 20%;
}

/* ---- Header Actions ---- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.header-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.header-btn:active {
    transform: scale(0.96);
}

.btn-call {
    background: var(--primary);
    color: var(--white);
}

.btn-call:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    color: var(--white);
}

/* Hamburger */
.hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
    position: fixed;
    top: var(--header-h);
    right: -100%;
    width: 280px;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    background: var(--white);
    z-index: 999;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-list {
    list-style: none;
    padding: 8px 0;
    flex: 1;
}

.mobile-menu-list li {
    border-bottom: 1px solid var(--gray-200);
}

.mobile-menu-list li:last-child {
    border-bottom: none;
}

.mobile-menu-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    color: var(--gray-800);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: background 0.2s, color 0.2s, padding-left 0.2s;
}

.mobile-menu-list a:hover,
.mobile-menu-list a.active {
    background: var(--primary-bg);
    color: var(--primary);
    padding-left: 30px;
}

.mobile-menu-list a.active {
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

/* Mobile menu CTA buttons */
.mobile-menu-cta {
    padding: 16px 20px;
    border-top: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: background 0.2s;
}

.menu-cta-call {
    background: var(--primary);
    color: var(--white);
}

.menu-cta-call:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.menu-cta-wp {
    background: var(--whatsapp);
    color: var(--white);
}

.menu-cta-wp:hover {
    background: var(--whatsapp-dark);
    color: var(--white);
}

.menu-overlay {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
}

.menu-overlay.open {
    display: block;
}

/* ============================================
   HERO SLIDER - FULL WIDTH
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 420px;
    max-height: 700px;
    margin-top: var(--header-h);
    overflow: hidden;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.slide-content h1,
.slide-content .slide-heading {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-content .hero-subtitle {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 560px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-primary-cta,
.btn-whatsapp-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    transition: background 0.2s, transform 0.1s;
}

.btn-primary-cta:active,
.btn-whatsapp-cta:active {
    transform: scale(0.97);
}

.btn-primary-cta {
    background: var(--primary);
    color: var(--white);
}

.btn-primary-cta:hover {
    background: var(--primary-dark);
    color: var(--white);
}

.btn-whatsapp-cta {
    background: var(--whatsapp);
    color: var(--white);
}

.btn-whatsapp-cta:hover {
    background: var(--whatsapp-dark);
    color: var(--white);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
    padding: 0;
}

.dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.slider-arrow:hover {
    background: var(--primary);
}

.slider-prev {
    left: 12px;
}

.slider-next {
    right: 12px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-section {
    padding: 48px 0;
}

.services-section h2,
.regions-section h2,
.why-us-section h2,
.faq-section h2,
.map-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    text-align: center;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 32px;
    font-size: 0.92rem;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--primary);
}

.service-icon {
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.55;
}

/* ============================================
   SPARE PARTS
   ============================================ */
.spare-parts-section {
    padding: 48px 0;
    background: var(--dark);
    color: var(--white);
}

.spare-parts-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}

.spare-parts-section .section-subtitle {
    color: rgba(255,255,255,0.7);
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.part-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--white);
    transition: background 0.2s, border-color 0.2s;
}

.part-item:hover {
    background: rgba(255,255,255,0.14);
    border-color: var(--primary);
}

.part-item svg {
    flex-shrink: 0;
}

/* ============================================
   REGIONS
   ============================================ */
.regions-section {
    padding: 48px 0;
    background: var(--primary-bg);
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 32px;
}

.region-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    padding: 16px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--dark);
    border-left: 3px solid var(--primary);
}

/* ============================================
   WHY US
   ============================================ */
.why-us-section {
    padding: 48px 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
}

.why-us-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
}

.why-us-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-bg);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.why-us-item h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 4px;
}

.why-us-item p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.55;
}

/* ============================================
   FAQ
   ============================================ */
.faq-section {
    padding: 48px 0;
    background: var(--gray-100);
}

.faq-list {
    max-width: 720px;
    margin: 32px auto 0;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--dark);
    text-align: left;
    gap: 12px;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-item.active {
    border-left: 3px solid var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 20px 16px;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   MAP
   ============================================ */
.map-section {
    padding: 48px 0;
}

.map-wrapper {
    margin-top: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-wrapper iframe {
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--dark);
    color: var(--gray-200);
    padding: 40px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-seo-text {
    font-size: 0.88rem;
    font-weight: 300;
    line-height: 1.6;
    color: #adb5bd;
}

.footer-contact h4,
.footer-links h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.footer-contact a,
.footer-links a {
    display: block;
    color: #adb5bd;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 400;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-contact a:hover,
.footer-links a:hover {
    color: var(--primary-light);
}

.footer-address {
    color: #adb5bd;
    font-size: 0.88rem;
    font-weight: 300;
    margin-top: 4px;
}

.footer-link {
    display: block;
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: #6c757d;
}

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 900;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .parts-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .regions-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   RESPONSIVE - DESKTOP
   ============================================ */
@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .hero-slider {
        height: 80vh;
        min-height: 500px;
    }

    .slide-content h1,
    .slide-content .slide-heading {
        font-size: 2.5rem;
    }

    .slide-content .hero-subtitle {
        font-size: 1.1rem;
    }

    .services-section,
    .spare-parts-section,
    .regions-section,
    .why-us-section,
    .faq-section,
    .map-section {
        padding: 64px 0;
    }

    .services-section h2,
    .spare-parts-section h2,
    .regions-section h2,
    .why-us-section h2,
    .faq-section h2,
    .map-section h2 {
        font-size: 1.75rem;
    }

    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .header-btn span {
        display: inline;
    }
}

@media (min-width: 992px) {
    :root {
        --header-h: 64px;
    }

    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .parts-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Show desktop nav, hide hamburger */
    .desktop-nav {
        display: flex;
    }

    .hamburger-btn {
        display: none;
    }

    .mobile-menu,
    .menu-overlay {
        display: none !important;
    }

    .slide-content h1,
    .slide-content .slide-heading {
        font-size: 3rem;
    }
}

@media (min-width: 1200px) {
    .desktop-nav .nav-link {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}
