/* ======= BEETEAT PRODUCT - FULLY RESPONSIVE CSS ======= */

:root {
    /* Colors - Matching main.css */
    --primary-color: rgba(86, 5, 145, 0.7); /* Evonik's brand color */
    --secondary-color: #6e7377; /* Neutral gray */
    --accent-color: #F4B400; /* Dark orange accent */
    --bg-light: #f8f9fa; /* Light gray background */
    --bg-dark: #343a40; /* Dark gray */
    --text-dark: #212529;
    --text-light: #ffffff;
    --border-color: #dee2e6;
    --mobile-nav-bg: #dee2e6;

    /* Typography Scale - Responsive base */
    --text-xs: clamp(0.75rem, 2vw, 0.875rem);   /* 12-14px */
    --text-sm: clamp(0.875rem, 2.5vw, 1rem);    /* 14-16px */
    --text-md: clamp(1rem, 3vw, 1.125rem);      /* 16-18px */
    --text-lg: clamp(1.125rem, 3.5vw, 1.25rem); /* 18-20px */
    --text-xl: clamp(1.25rem, 4vw, 1.5rem);     /* 20-24px */
    --text-2xl: clamp(1.5rem, 5vw, 1.875rem);   /* 24-30px */
    --text-3xl: clamp(1.75rem, 6vw, 2.25rem);   /* 28-36px */
    --text-4xl: clamp(2rem, 7vw, 3rem);         /* 32-48px */
    --text-5xl: clamp(2.5rem, 8vw, 3.75rem);    /* 40-60px */

    /* Line Heights */
    --line-tight: 1.2;
    --line-normal: 1.5;
    --line-loose: 1.8;

    /* Responsive Spacing */
    --spacing-xs: clamp(0.25rem, 1vw, 0.5rem);
    --spacing-sm: clamp(0.5rem, 1.5vw, 0.75rem);
    --spacing-md: clamp(0.75rem, 2vw, 1rem);
    --spacing-lg: clamp(1rem, 3vw, 1.5rem);
    --spacing-xl: clamp(1.5rem, 4vw, 2rem);
    --spacing-2xl: clamp(2rem, 5vw, 3rem);

    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --laptop: 1024px;
    --desktop: 1280px;
    --wide: 1536px;
}

/* ======= BASE STYLES ======= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
    font-family: 'Arial', 'Helvetica', sans-serif;
    line-height: var(--line-normal);
    overflow-x: hidden;
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-size: var(--text-sm);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-weight: 700;
    line-height: var(--line-tight);
    margin-top: 0;
    margin-bottom: 0.5em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); }
h5 { font-size: var(--text-md); }
h6 { font-size: var(--text-sm); }

p {
    margin-top: 0;
    margin-bottom: 1rem;
    line-height: var(--line-normal);
}

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

/* ======= CONTAINER SYSTEM ======= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Utility classes */
.text-center { text-align: center; }
.flex { display: flex; }
.flex-col { flex-direction: column; }

/* Contact/Icon Cards */
.contact-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.contact-icon span {
    color: white;
    font-size: 2rem;
}

/* Icon placeholders */
.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉️";
}

.icon-location::before {
    content: "📍";
}

/* Contact Info Cards Section */
.contact-info {
    padding: 50px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contact-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.contact-card p {
    color: var(--secondary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* ======= HEADER - FULLY RESPONSIVE ======= */
.main-header {
    background-color: var(--border-color);
    padding: clamp(8px, 2vw, 15px) 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
}

.logo img {
    height: clamp(35px, 8vw, 80px);
    width: auto;
    transition: height 0.3s ease;
}

/* Mobile menu toggle */
#mobile-menu-toggle {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
}

/* Navigation */
.main-nav {
    width: auto;
}

.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: clamp(10px, 3vw, 25px);
    margin: 0;
    padding: 0;
}

.nav-list a {
    text-decoration: none;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
    font-size: var(--text-md);
    padding: 10px 5px;
    display: block;
}

.nav-list a:hover {
    color: var(--accent-color);
}

/* Hamburger animation */
#mobile-menu-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#mobile-menu-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

#mobile-menu-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ======= MAIN CONTENT AREA ======= */
main {
    margin-top: clamp(60px, 12vw, 100px);
}

/* ======= PRODUCT HERO SECTION ======= */
.product-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('logobeeteat.png') no-repeat center center/cover;
    color: var(--text-light);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    width: 100%;
    min-height: clamp(40vh, 50vh, 60vh);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-hero h1 {
    font-size: var(--text-3xl);
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.product-hero p {
    font-size: var(--text-lg);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    line-height: var(--line-normal);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* ======= PRODUCT DETAIL SECTION ======= */
.product-detail {
    padding: var(--spacing-2xl) 0;
    background-color: var(--bg-light);
    width: 100%;
}

.product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    width: 100%;
}

/* ======= SIDEBAR - RESPONSIVE ======= */
.product-sidebar {
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

/* Image Carousel - Enhanced Responsive */
.image-carousel {
    margin-bottom: var(--spacing-lg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: clamp(200px, 40vw, 400px);
    overflow: hidden;
    border-radius: 8px;
}

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

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

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

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Carousel buttons - Responsive */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: clamp(30px, 6vw, 45px);
    height: clamp(30px, 6vw, 45px);
    border-radius: 50%;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.8rem, 2vw, 1.2rem);
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.carousel-button:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: clamp(5px, 2vw, 15px);
}

.carousel-button.next {
    right: clamp(5px, 2vw, 15px);
}

/* Indicators - Responsive */
.carousel-indicators {
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: clamp(4px, 1vw, 8px);
}

.indicator {
    width: clamp(8px, 2vw, 12px);
    height: clamp(8px, 2vw, 12px);
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* ======= PRODUCT CONTENT ======= */
.product-content {
    background: white;
    padding: var(--spacing-xl);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.product-section {
    margin-bottom: var(--spacing-xl);
}

.product-section:last-child {
    margin-bottom: 0;
}

.product-section h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.product-section h3 {
    margin-bottom: var(--spacing-sm);
    font-size: var(--text-lg);
}

.product-section p {
    line-height: var(--line-normal);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    margin-bottom: var(--spacing-sm);
    position: relative;
    padding-left: 25px;
    line-height: var(--line-normal);
}

.benefits-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.issues-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.issues-column {
    flex: 1;
}

.issues-column ul {
    padding-left: var(--spacing-md);
}

.issues-column ul li {
    margin-bottom: var(--spacing-xs);
}

.references ol {
    padding-left: var(--spacing-md);
}

.references li {
    margin-bottom: var(--spacing-sm);
    line-height: var(--line-normal);
    font-size: var(--text-xs);
}

/* Product CTA Section */
.product-cta {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-light);
    border-radius: 8px;
    border: 2px solid var(--primary-color);
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--text-lg);
    border-radius: 8px;
    margin-bottom: var(--spacing-md);
}

.cta-note {
    color: var(--secondary-color);
    font-size: var(--text-sm);
    margin: 0;
}

/* ======= CTA SECTION ======= */
.cta-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    width: 100%;
}

.cta-section h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--spacing-lg);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--spacing-md);
}

.cta-section .primary-btn {
    background: var(--text-light);
    color: var(--primary-color);
    display: inline-block;
    padding: clamp(10px, 2vw, 15px) clamp(20px, 4vw, 35px);
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: var(--text-md);
}

.cta-section .primary-btn:hover {
    background: var(--accent-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

/* ======= FOOTER ======= */
.main-footer {
    background-color: var(--border-color);
    color: var(--text-dark);
    padding: var(--spacing-xl) 0;
    width: 100%;
    text-align: center;
}

/* ======= RESPONSIVE BREAKPOINTS ======= */

/* Mobile Phones (320px - 480px) */
@media (max-width: 480px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--border-color);
        z-index: 1001;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        height: auto;
        padding-bottom: var(--spacing-md);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md) 0;
        gap: 0;
        width: 100%;
        text-align: center;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-list a {
        padding: var(--spacing-md);
        display: block;
        width: 100%;
        text-align: center;
    }

    .product-content {
        padding: var(--spacing-md);
    }

    .issues-container {
        flex-direction: column;
    }

    .benefits-list li {
        padding-left: 20px;
        font-size: var(--text-sm);
    }
}

/* Tablets (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease-in-out;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: var(--border-color);
        z-index: 1001;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        height: auto;
        padding-bottom: var(--spacing-md);
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md) 0;
        gap: 0;
        width: 100%;
        text-align: center;
    }

    .nav-list li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

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

    .nav-list a {
        padding: var(--spacing-md);
        display: block;
        width: 100%;
        text-align: center;
    }

    .issues-container {
        flex-direction: row;
        gap: var(--spacing-md);
    }
}

/* Small Laptops (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .product-layout {
        grid-template-columns: 280px 1fr;
        gap: var(--spacing-xl);
    }

    .product-sidebar {
        position: sticky;
        top: clamp(90px, 12vw, 110px);
        height: fit-content;
        align-self: flex-start;
        z-index: 100;
        margin-bottom: 0;
    }

    .issues-container {
        flex-direction: row;
        gap: var(--spacing-lg);
    }
}

/* Laptops and Desktops (1025px - 1280px) */
@media (min-width: 1025px) and (max-width: 1280px) {
    .container {
        max-width: 1140px;
    }

    .product-layout {
        grid-template-columns: 320px 1fr;
        gap: var(--spacing-xl);
    }

    .product-sidebar {
        position: sticky;
        top: clamp(90px, 12vw, 110px);
        height: fit-content;
        align-self: flex-start;
        z-index: 100;
        margin-bottom: 0;
    }

    .issues-container {
        flex-direction: row;
        gap: var(--spacing-lg);
    }
}

/* Large Desktops (1281px and up) */
@media (min-width: 1281px) {
    .container {
        max-width: 1280px;
    }

    .product-layout {
        grid-template-columns: 350px 1fr;
        gap: var(--spacing-2xl);
    }

    .product-sidebar {
        position: sticky;
        top: clamp(90px, 12vw, 110px);
        height: fit-content;
        align-self: flex-start;
        z-index: 100;
        margin-bottom: 0;
    }

    .carousel-container {
        height: clamp(300px, 40vw, 450px);
    }

    .issues-container {
        flex-direction: row;
        gap: var(--spacing-xl);
    }
}

/* Ultra Wide Screens (1921px and up) */
@media (min-width: 1921px) {
    .container {
        max-width: 1600px;
    }

    .product-layout {
        grid-template-columns: 400px 1fr;
        gap: 4rem;
    }
}

/* Landscape Orientation Adjustments */
@media (orientation: landscape) and (max-height: 600px) {
    .product-hero {
        min-height: 70vh;
    }

    .carousel-container {
        height: clamp(150px, 25vw, 250px);
    }
}

/* High DPI / Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .carousel-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print Styles */
@media print {
    .main-header, .main-footer, .carousel-button, .carousel-indicators {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.3;
        background: white;
        color: black;
    }

    .container {
        width: 100%;
        max-width: none;
        padding: 0;
        margin: 0;
    }

    .product-layout {
        grid-template-columns: 1fr;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .primary-btn, .carousel-button, .nav-list a:hover {
        forced-color-adjust: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-light: #121212;
        --text-dark: #e0e0e0;
        --border-color: #333;
        --bg-dark: #000;
    }

    .main-header, .main-footer {
        background-color: #1a1a1a;
    }

    .product-content {
        background-color: #1a1a1a;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    }

    img {
        filter: brightness(0.9);
    }
}




