:root {
    --primary: #2C3E50;
    --secondary: #E67E22;
    --accent: #BDC3C7;
    --text: #333;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-quick {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--primary);
    font-weight: 600;
}

.contact-quick a {
    text-decoration: none;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s;
}

.contact-quick a:hover {
    color: var(--secondary);
}

.nav-row {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .contact-quick {
        display: none;
    }
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo a {
    display: block;
    text-decoration: none;
    line-height: 0;
}

.logo-r {
    color: var(--secondary);
}

.logo-b {
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary);
}

.menu-toggle,
.menu-overlay {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--primary), #1a252f);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('hero_bg_placeholder.jpg') center/cover no-repeat;
    opacity: 0.3;
}

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

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    color: var(--secondary);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns .btn {
    margin: 0 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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

.btn-primary:hover {
    background: #d35400;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.bg-light {
    background: var(--light);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    width: 100%;
    height: 200px;
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-img-placeholder {
    width: 100%;
    height: 200px;
    background: var(--accent);
    border-radius: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-weight: 600;
}

.product-card h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.product-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price-tag {
    background: #e74c3c;
    color: white;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.2);
}

.specs {
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--light);
    padding: 3px 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* About Flex */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 350px;
    background: #f0f0f0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
    /* Lowered for placeholder feel */
}

.image-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(44, 62, 80, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.factory-placeholder {
    background: #1a2a3a;
    /* Dark blueprint blue */
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 20px 20px;
    flex-direction: column;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.placeholder-icon {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.product-cta {
    text-align: center;
    padding: 40px 0;
    background: var(--white);
}

.product-cta p {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 500;
}

.product-cta a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--secondary);
    transition: all 0.3s ease;
    padding: 0 5px;
}

.product-cta a:hover {
    background: var(--secondary);
    color: var(--white);
    border-radius: 5px;
    border-bottom-color: transparent;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 25px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--accent);
}


/* Section Subtitle */
.section-subtitle {
    font-size: 1.15rem;
    color: var(--secondary);
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.85;
    line-height: 1.6;
    text-align: center;
}

/* Comparison Section */
.comparison-container {
    margin: 40px auto 20px;
    overflow-x: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    max-width: 900px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
}

.comparison-table th {
    background: #f8f9fa;
    color: var(--secondary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table tbody tr:hover {
    background: #fafafa;
}

.comparison-table td.better {
    color: #27ae60;
    font-weight: 600;
}

.comparison-table td.warning {
    color: #e67e22;
}

.comparison-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.summary-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
    border: 1px solid #eee;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    flex: 1 1 350px;
    max-width: 450px;
    position: relative;
}

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

.summary-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: rgba(230, 126, 34, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon i {
    color: var(--primary);
    font-size: 1.8rem;
}

.summary-content h3 {
    font-size: 1.3rem;
    color: var(--secondary);
    margin-bottom: 10px;
    font-weight: 700;
}

.summary-content p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #555;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .navbar {
        padding: 0 20px;
        height: 70px;
    }

    .header-right {
        flex-direction: row;
        align-items: center;
    }

    .contact-quick {
        display: none !important;
    }

    /* Hamburger Menu Icon Fix */
    .menu-toggle {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        cursor: pointer;
        z-index: 2000;
        background: transparent;
        border: none;
        padding: 0;
        margin-left: 10px;
    }

    .menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background-color: #2C3E50 !important;
        /* Explicit hex fallback */
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Mobile Menu Overlay */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(5px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s;
        z-index: 2500;
    }

    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Navigation Drawer */
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background: #ffffff;
        display: flex;
        flex-direction: column;
        padding: 100px 40px;
        gap: 25px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        z-index: 3000;
        list-style: none;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 0 !important;
    }

    .nav-links a {
        font-size: 1.3rem;
        color: #2C3E50 !important;
        font-weight: 700;
        display: block;
        padding: 10px 0;
    }

    /* Hamburger Animation Fixes */
    .navbar.mobile-nav-active .menu-toggle span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .navbar.mobile-nav-active .menu-toggle span:nth-child(2) {
        opacity: 0;
        transform: translateX(10px);
    }

    .navbar.mobile-nav-active .menu-toggle span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }

    .hero-btns .btn {
        margin: 0;
        width: 100%;
        max-width: 280px;
        padding: 14px 20px;
    }

    .about-flex {
        flex-direction: column;
        gap: 40px;
    }
}