/* 
   Akü Bulucu - Premium Design System 
   Theme: "Premium Reliability"
   Colors: Deep Royal Blue (#0a2540) & Electric Blue (#00d4ff)
*/

/* 1. RESET & VARIABLES */
:root {
    /* Color Palette */
    --color-primary: #0a2540;
    /* Deep Royal Blue - Trust */
    --color-primary-light: #183b6f;
    --color-accent: #00d4ff;
    /* Electric Blue - Energy/Action */
    --color-accent-hover: #00b8dd;
    --color-success: #10b981;
    /* Modern Green */
    --color-warning: #f59e0b;
    /* Signal Yellow */
    --color-surface: #ffffff;
    --color-surface-alt: #f8f9fa;
    /* Light Gray */
    --color-border: #e2e8f0;

    /* Typography */
    --font-heading: 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --color-text-heading: #0f172a;
    /* Dark Slate */
    --color-text-body: #475569;
    /* Cool Gray */
    --color-text-light: #94a3b8;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-hover: rgba(255, 255, 255, 0.85);
    --glass-blur: 12px;
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --glass-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
    --glass-radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-surface-alt);
    color: var(--color-text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.25;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* 2. BUTTONS & BADGES */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-align: center;
    gap: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
}

.cta-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.cta-primary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-secondary {
    background-color: white;
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
}

.cta-secondary:hover {
    border-color: var(--color-primary);
    background-color: #f0f7ff;
}

.cta-phone {
    background-color: var(--color-warning);
    color: #fff;
}

.cta-phone:hover {
    background-color: #d97706;
}

.cta-whatsapp {
    background-color: #25D366;
    color: white;
}

.cta-whatsapp:hover {
    background-color: #128C7E;
}

/* 3. HEADER & NAVIGATION */
.top-bar {
    background-color: #020617;
    /* Very dark blue */
    color: white;
    font-size: 0.875rem;
    padding: 0.5rem 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.site-logo {
    height: 85px;
    /* Increased from 64px */
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text-heading);
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

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

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-accent);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none !important;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-base);
}

/* 3.5. AKÜ BULUCU BANNER */
.aku-bulucu-banner {
    background: linear-gradient(90deg, var(--color-primary) 0%, #1e40af 100%);
    color: white;
    padding: 1.5rem 0;
    position: relative;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.aku-bulucu-card {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.aku-bulucu-card .banner-content {
    justify-content: space-between;
}

.aku-bulucu-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.aku-bulucu-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .aku-bulucu-card .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    text-align: center;
}

.banner-text h2 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.banner-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.cta-accent {
    background-color: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.cta-accent:hover {
    background-color: white;
    color: var(--color-primary);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 1rem;
    }
}

/* 4. HERO SECTION */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #1e293b 100%);
    color: white;
    padding: 5rem 0 8rem 0;
    /* Extra bottom padding for overlap */
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 212, 255, 0.1), transparent 60%);
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background-color: rgba(0, 212, 255, 0.15);
    color: var(--color-accent);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 212, 255, 0.3);
    /* Improve alignment */
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    /* Light Slate */
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 2rem;
    color: white;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hero-panel h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.hero-panel ul li {
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-panel ul li::before {
    content: '✓';
    color: var(--color-accent);
}

.hero-trust {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    justify-content: center;
    /* Center the buttons */
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.trust-item span {
    display: block;
}

.trust-title {
    font-weight: 700;
    color: white;
}

.trust-text {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* 5. SECTIONS */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-body);
}

.home-section {
    padding: 5rem 0;
}

.section-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.section-cta.split-cta {
    margin-top: 3rem;
}

/* Trust Strip (Cards overlapping Hero) */
.trust-section {
    margin-top: -4rem;
    /* Overlap effect */
    position: relative;
    z-index: 10;
    padding-bottom: 4rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.trust-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border-bottom: 4px solid var(--color-primary);
    transition: var(--transition-base);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-float);
}

.trust-card h3 {
    margin-bottom: 0.5rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.trust-card p {
    color: var(--color-text-body);
    font-weight: 500;
}

/* 6. BRAND & PRODUCT GRIDS */
.battery-brands-grid,
.car-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.battery-brand-card,
.car-brand-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.car-brand-card {
    text-decoration: none;
    color: inherit;
}

.battery-brand-card:hover,
.car-brand-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.brand-logo-img,
.car-brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    /* Removed filter: grayscale(100%); */
    transition: var(--transition-base);
}

.battery-brand-card:hover .brand-logo-img,
.car-brand-card:hover .car-brand-logo {
    opacity: 1;
}

.brand-card-title,
.car-brand-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.brand-card-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

.brand-view-link {
    margin-top: auto;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.875rem;
}

/* 7. STEPS SECTION */
.steps-section {
    background-color: white;
    padding: 5rem 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step-card {
    text-align: center;
    padding: 2rem;
}

.step-number {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 0 0 6px rgba(10, 37, 64, 0.1);
}

/* 8. TESTIMONIALS (Yorumlar) */
.reviews-section {
    background-color: #f1f5f9;
}

.yorum-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.yorum-slide {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stars {
    color: var(--color-warning);
    margin-bottom: 1rem;
}

.yorum-slide p {
    font-style: italic;
    margin-bottom: 1rem;
}

.yorum-slide h4 {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-align: right;
    font-weight: 600;
}

/* 9. FAQ (Accordion) */
.faq-section {
    background: white;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-heading);
    cursor: pointer;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Adjust as needed */
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--color-text-body);
}

/* Feature Cards (Neden Biz) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.feature-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--color-text-body);
}

/* 10. FINAL CTA */
.final-cta-section {
    padding: 4rem 0;
}

.final-cta-card {
    background-color: var(--color-primary);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    /* FORCE WHITE TEXT */
    /* Remove background pattern for better readability if needed, or keep it subtle */
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23194068' fill-opacity='0.2'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.final-cta-card h2,
.final-cta-card p {
    color: #ffffff !important;
}

.final-cta-actions {
    display: flex;
    gap: 1rem;
}

/* 11. FOOTER */
.site-footer {
    background-color: #020617;
    color: #94a3b8;
    padding: 4rem 0 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.footer-title {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
}

/* 12. FIXED CONTACT BUTTONS (MOBILE) */
.contact-buttons-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column-reverse;
    /* Stack upwards */
    gap: 12px;
    z-index: 1000;
}

.contact-button {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s;
}

.contact-button:hover {
    transform: scale(1.1);
}

.contact-button svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.whatsapp {
    background-color: #25D366;
}

.phone {
    background-color: var(--color-warning);
}

.location {
    background-color: #4285F4;
}

/* 13. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }

    .hero-cta,
    .hero-trust {
        justify-content: center;
    }

    .hero-panel {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid #f1f5f9;
        width: 100%;
        display: block;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .mobile-menu-btn {
        display: flex !important;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .steps-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .final-cta-card {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
}

/* 14. REHBER & MODELLER PAGES (Restored Sizes & New Design) */
.brands-grid,
.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.brand-card,
.model-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    transition: var(--transition-base);
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.brand-card:hover,
.model-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

/* Restore sizes as per user request */
.brand-logo {
    height: 100px;
    /* Restored size constraint */
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.model-image {
    height: 200px;
    /* Restored size constraint */
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.brand-name,
.model-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-text-heading);
    margin-top: auto;
}

.no-models-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    background: #eff6ff;
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    font-weight: 500;
    border: 1px solid #dbeafe;
}

.nav-menu.active {
    display: flex;
    /* Ensure border exists when active on mobile */
    border-top: 1px solid var(--color-border);
}

.mobile-menu-btn {
    display: flex;
}

.trust-grid,
.steps-grid,
.final-cta-card,
.footer-content {
    grid-template-columns: 1fr;
    text-align: center;
}

.trust-section {
    margin-top: 0;
    padding-top: 2rem;
}

.final-cta-card {
    flex-direction: column;
    gap: 2rem;
}

.hero-content h1 {
    font-size: 2.25rem;
}

/* 15. REDESIGNED MODEL DETAIL PAGE */
.breadcrumb-nav {
    margin: 2rem 0 1rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-text-light);
    font-weight: 500;
    transition: var(--transition-base);
}

.back-link:hover {
    color: var(--color-primary);
    transform: translateX(-4px);
}

/* Hero Card */
.model-hero-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.model-hero-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--color-accent);
}

.model-hero-content {
    flex: 1.2;
}

.model-title {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.model-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-body);
}

.model-hero-image {
    flex: 0.8;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.detail-model-image {
    max-height: 250px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Tabs */
.detail-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1px;
    flex-wrap: wrap;
    /* Allow wrapping */
    justify-content: center;
    /* Center align */
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.tab-btn:hover {
    color: var(--color-primary);
    background-color: #f8fafc;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.tab-btn.active {
    color: var(--color-primary);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    border-radius: 3px 3px 0 0;
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 2.5rem;
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.detail-card h2 {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1rem;
}

/* Specs Grid */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.spec-box {
    background-color: #f8fafc;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition-base);
}

.spec-box:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.spec-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.spec-label {
    display: block;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.25rem;
}

.spec-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* Timeline/Steps */
.steps-list {
    list-style: none;
    position: relative;
    padding-left: 2rem;
}

.steps-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: #e2e8f0;
}

.step-item {
    position: relative;
    margin-bottom: 2rem;
}

.step-item::before {
    content: '';
    position: absolute;
    left: -2.35rem;
    top: 4px;
    width: 14px;
    height: 14px;
    background-color: white;
    border: 3px solid var(--color-accent);
    border-radius: 50%;
    z-index: 1;
}

.step-text {
    font-size: 1rem;
    color: var(--color-text-body);
}

/* Alerts */
.warning-container {
    background-color: #fffbeb;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.safety-alert {
    background-color: var(--color-primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
}

.alert-icon {
    font-size: 2.5rem;
}

.safety-alert h3 {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.safety-alert p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

/* Toggle Switch */
.start-stop-wrapper {
    background: #f1f5f9;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.start-stop-label {
    font-weight: 600;
    color: var(--color-text-heading);
}

.start-stop-switch {
    display: flex;
    background: #e2e8f0;
    border-radius: var(--radius-full);
    padding: 4px;
}

.switch-option input {
    display: none;
}

.switch-btn {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-base);
    display: block;
    color: var(--color-text-light);
}

.switch-option input:checked+.switch-btn {
    background: white;
    color: var(--color-primary);
    box-shadow: var(--shadow-sm);
}

.products-grid-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .model-hero-card {
        flex-direction: column-reverse;
        /* Image on top essentially, but let's see */
        text-align: center;
        padding: 2rem;
        gap: 2rem;
    }

    .model-hero-content {
        text-align: center;
    }

    .model-title {
        font-size: 2rem;
    }

    /* FIX: Prevent Mobile Image Overflow */
    .detail-model-image {
        max-width: 100%;
        height: auto;
    }

    .detail-tabs {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 0.5rem;
    }

    .start-stop-wrapper {
        flex-direction: column;
        text-align: center;
    }
}

/* FIX: Recommended Product Images */
.recommended-product-image-inline img {
    max-width: 120px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block;
}

.recommended-product-card-inline {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    text-decoration: none;
    color: inherit;
    position: relative;
    /* Ensure absolute children are positioned relative to this */
    overflow: hidden;
    /* Prevent overflow */
}

.recommended-product-card-inline:hover {
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Specific styling for Hella cards */
.recommended-product-card-inline.has-badges,
.recommended-product-card-inline.highlight {
    border: 2px solid var(--color-accent);
    background: linear-gradient(to right, #ffffff, #fdfeff);
}

.recommended-product-info-inline {
    flex: 1;
}

.recommended-product-brand {
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.recommended-product-name {
    font-size: 1.125rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.recommended-product-specs {
    font-size: 0.875rem;
    color: var(--color-text-body);
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-block;
}

/* Badge Styling */
.recommended-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-bottom-left-radius: 8px;
    z-index: 2;
    text-transform: uppercase;
}

.rec-badge {
    position: absolute;
    width: 40px;
    /* Small fixed size */
    height: auto;
    z-index: 2;
    opacity: 0.9;
}

.rec-badge-premium {
    bottom: 10px;
    right: 60px;
    /* Positioned near right */
    width: 60px;
    /* Slightly larger */
}

.rec-badge-garanti {
    bottom: 0px;
    right: 0px;
    /* Bottom right corner */
    width: 50px;
}

/* Adjust layout for badges to not overlap text significantly on mobile */
@media (max-width: 480px) {
    .recommended-product-card-inline {
        flex-direction: column;
        text-align: center;
        padding-bottom: 3rem;
        /* Space for badges */
    }

    .rec-badge-premium {
        bottom: 10px;
        right: auto;
        left: 20px;
    }

    .rec-badge-garanti {
        bottom: 10px;
        right: 20px;
    }

    .recommended-badge {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 8px;
        border-radius: 0 0 8px 8px;
    }
}

/* =========================================
   14. BRAND PAGE REDESIGN (PREMIUM)
   ========================================= */

/* Brand Specific Colors */
:root {
    --brand-varta-primary: #0064b0;
    --brand-varta-dark: #004a80;
    --brand-varta-accent: #e1e9f0;

    --brand-hella-primary: #fecf00;
    --brand-hella-dark: #cca700;
    --brand-hella-text: #222222;
}

/* Brand Hero */
.brand-hero {
    position: relative;
    padding: 8rem 0 6rem 0;
    overflow: hidden;
    color: white;
    margin-bottom: 0;
}

.brand-hero.varta-bg {
    background: linear-gradient(135deg, #001e36 0%, #0064b0 100%);
}

.brand-hero.hella-bg {
    background: linear-gradient(135deg, #1a1a1a 0%, #444444 100%);
    color: white;
}

.brand-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.brand-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    opacity: 0;
    color: white;
    /* Force white over global h1 color */
    animation: fadeInUp 0.8s ease-out forwards;
}

.brand-hero .brand-subtitle {
    font-size: 1.5rem;
    opacity: 0.9;
    font-weight: 300;
    color: white;
    /* Force white */
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.brand-hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInDown 0.8s ease-out forwards;
}

.varta-bg .brand-hero-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hella-bg .brand-hero-badge {
    background: var(--brand-hella-primary);
    color: var(--brand-hella-text);
}

/* Geometric Overlay for Hero */
.hero-overlay-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 20%);
    z-index: 1;
}

/* Brand Stats Row (Overlapping Hero) */
.brand-stats-row {
    position: relative;
    z-index: 10;
    margin-top: -3rem;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 5px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.varta-stat {
    border-color: var(--brand-varta-primary);
}

.stat-card.hella-stat {
    border-color: var(--brand-hella-primary);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.varta-stat .stat-number {
    color: var(--brand-varta-primary);
}

.hella-stat .stat-number {
    color: #dcb000;
}

/* Darker yellow for text visibility */

.stat-label {
    color: var(--color-text-light);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Content Sections */
.brand-content-section {
    padding: 5rem 0;
}

.brand-content-section.alt-bg {
    background-color: #f8fafc;
}

.brand-section-header {
    margin-bottom: 3rem;
    max-width: 700px;
}

.brand-section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.brand-section-header.varta-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-varta-primary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

.brand-section-header.hella-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--brand-hella-primary);
    margin-top: 0.5rem;
    border-radius: 2px;
}

/* Feature Grid with Icons */
.brand-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    align-items: start;
}

.brand-feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon-box {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: white;
    box-shadow: var(--shadow-md);
}

.varta-icon {
    background: var(--brand-varta-primary);
}

.hella-icon {
    background: var(--brand-hella-primary);
    color: var(--brand-hella-text);
}

.feature-text h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.feature-text p {
    color: var(--color-text-body);
    line-height: 1.7;
}

/* Visual Technology Section */
.tech-visual-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
}

.tech-visual {
    background: #fff;
    padding: 1rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    min-height: 300px;
    /* Placeholder height if no image */
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tech-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    z-index: -1;
    border-radius: var(--radius-lg);
    opacity: 0.5;
}

.varta-visual::before {
    background: var(--brand-varta-accent);
}

.hella-visual::before {
    background: #fffbe6;
}

.tech-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
}

.varta-list li::before {
    color: var(--brand-varta-primary);
}

.hella-list li::before {
    color: #dcb000;
}

/* Call to Action Band */
.brand-cta-band {
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    color: white;
    margin-top: 4rem;
}

.varta-cta {
    background: linear-gradient(135deg, var(--brand-varta-dark) 0%, var(--brand-varta-primary) 100%);
}

.hella-cta {
    background: linear-gradient(135deg, #333 0%, #111 100%);
    position: relative;
    overflow: hidden;
}

.hella-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--brand-hella-primary);
}

.brand-cta-band h2 {
    color: white;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.brand-cta-band p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-brand-white {
    background: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-block;
}

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

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

.btn-brand-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .brand-hero h1 {
        font-size: 2.5rem;
    }

    .story-grid,
    .tech-visual-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .brand-hero {
        padding: 5rem 0 3rem 0;
    }

    .brand-stats-row {
        margin-top: 0;
    }
}


/* GLASSMORPHISM CARD COMPONENT */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--glass-radius);
    padding: 2rem;
    box-shadow: var(--glass-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--glass-shadow-hover);
}

/* Glass Card Sub-components */
.glass-card__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.glass-card__icon svg {
    width: 100%;
    height: 100%;
}

.glass-card__title {
    font-size: 1.25rem;
    color: var(--color-text-heading);
    margin-bottom: 0.75rem;
}

.glass-card__desc {
    font-size: 0.95rem;
    color: var(--color-text-body);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.glass-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.glass-card__cta:hover {
    color: var(--color-accent);
}

/* Glass Card Responsive Grid */
.glass-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .glass-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1025px) {
    .glass-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Glassmorphism Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(12px)) {
    .glass-card {
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }
}
