/* Root Variables */
:root {
    --primary-orange: #FF8C42;
    --secondary-orange: #FF6B1A;
    --primary-black: #1A1A1A;
    --secondary-black: #2D2D2D;
    --accent-white: #FFFFFF;
    --light-gray: #F5F5F5;
    --text-gray: #666666;
    --success-green: #28a745;
    --warning-red: #dc3545;
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --border-radius: 12px;
    --card-shadow: 0 10px 30px rgba(0,0,0,0.1);
    --transition-smooth: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 60px;
    max-width: 100vw;        
    overflow-x: hidden;      
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-black);
    background-color: var(--accent-white);
    overflow-x: hidden;
    max-width: 100vw;     
    position: relative;      
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;      
}

/* Header Styles */
header {
    background: linear-gradient(135deg, var(--primary-black), var(--secondary-black));
    color: var(--accent-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: var(--accent-white);
    border-radius: 8px;
    padding: 5px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.logo p {
    font-size: 0.85rem;
    opacity: 0.9;
}

.contact-info {
    text-align: right;
}

.contact-info a {
    color: var(--accent-white);
    text-decoration: none;
    display: block;
    margin: 3px 0;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.contact-info a:hover {
    color: var(--primary-orange);
}

/* Navigation Styles */
.navbar {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    z-index: 1000;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.navbar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 0 15px;  
    width: 100%;            
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    display: block;
    padding: 12px 8px;
    font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 0;
    background: var(--primary-orange);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.emergency-phone {
    background: var(--warning-red);
    color: white;
    padding: 8px 16px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.emergency-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Mobile Menu Button */
/* Mobile Menu Button - FIXED */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border: none;
    background: white;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1002;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--primary-black);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Add overlay when menu is open */
body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, var(--light-gray) 0%, rgba(255,140,66,0.08) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 20% 30%, rgba(255,140,66,0.15), transparent 70%),
        radial-gradient(400px 200px at 80% 70%, rgba(255,107,26,0.12), transparent 60%);
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(255,140,66,0.35);
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero h1 .highlight {
    color: var(--primary-orange);
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.05rem;
    color: var(--text-gray);
    max-width: 640px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Button Styles */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: white;
    box-shadow: 0 10px 25px rgba(255,140,66,0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255,140,66,0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-black);
    border: 2px solid var(--primary-black);
    box-shadow: 0 5px 15px rgba(26,26,26,0.15);
}

.btn-secondary:hover {
    background: var(--primary-black);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(26,26,26,0.25);
}

/* Categories Section */
.categories {
    padding: var(--section-padding);
    background-color: var(--accent-white);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-black);
    font-weight: 800;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-gray);
    font-size: 1.05rem;
}

/* Product Grid - FIXED SIZING */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--accent-white);
    border: 2px solid #e0e0e0;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
    border-color: var(--secondary-orange);
}

.product-card.selected {
    border-color: var(--primary-orange);
    border-width: 3px;
    background-color: #fff9f5;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.product-card.selected::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: var(--primary-orange);
    color: var(--accent-white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* FIXED IMAGE CONTAINER - All images same size */
.product-image-container {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 2px solid #f0f0f0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 15px;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    color: var(--primary-black);
    margin-bottom: 12px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 52px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-info p {
    color: var(--text-gray);
    font-size: 0.88rem;
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 66px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-brands {
    font-size: 0.8rem;
    color: var(--secondary-orange);
    font-weight: 600;
    margin-bottom: 12px;
    min-height: 22px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    margin-top: auto;
    border-top: 2px solid #f0f0f0;
}

.checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--secondary-orange);
    flex-shrink: 0;
}

.checkbox-container label {
    cursor: pointer;
    font-weight: 600;
    color: var(--secondary-orange);
    font-size: 0.92rem;
    user-select: none;
}

/* CTA Container */
/* CTA Container */
.cta-container {
    text-align: center;
    margin-top: 40px;
}

.scroll-to-form {
    background-color: var(--primary-orange);
    color: var(--accent-white);
    padding: 15px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(255,140,66,0.35);
}

.scroll-to-form:hover {
    background-color: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255,140,66,0.45);
}

/* Features Section */
.features {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 35px 25px;
    background: var(--accent-white);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    color: var(--primary-black);
    margin-bottom: 10px;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-gray);
}

/* Order Form Section */
.order-form-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--accent-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.selected-products {
    background-color: #fff5f2;
    padding: 20px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-orange);
    display: none;
}

.selected-products.visible {
    display: block;
}

.selected-products h3 {
    color: var(--primary-black);
    margin-bottom: 15px;
    font-weight: 700;
}

.selected-products ul {
    list-style: none;
}

.selected-products li {
    padding: 8px 0;
    color: var(--primary-black);
    font-weight: 500;
}

.selected-products li::before {
    content: "✓ ";
    color: var(--success-green);
    font-weight: bold;
    margin-right: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-black);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255,140,66,0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.required {
    color: var(--warning-red);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-orange), var(--secondary-orange));
    color: var(--accent-white);
    padding: 15px 40px;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 25px rgba(255,140,66,0.35);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(255,140,66,0.45);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    display: none;
    font-weight: 500;
}

.alert.visible {
    display: block;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer Styles */
.footer {
    background-color: var(--primary-black);
    color: var(--accent-white);
    padding: 35px 0 18px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.footer-section h3 {
    margin-bottom: 12px;
    font-size: 1.15rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    display: block;
    margin: 6px 0;
    font-size: 0.92rem;
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .product-image-container {
        height: 200px;
    }
}

/* Tablet Portrait and Mobile */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100%;
    }
    
    .container {
        padding: 0 15px;
        max-width: 100%;
        width: 100%;
    }
    
    .navbar .container {
        min-height: 50px;
    }
    
    .mobile-menu-btn {
        display: flex;
        right: 10px;  
    }
    
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-info {
        text-align: center;
    }

    .logo {
        flex-direction: column;
        text-align: center;
    }

    .logo-image {
        width: 45px;
        height: 45px;
    }

    .logo h1 {
        font-size: 1.35rem;
    }

    .logo p {
        font-size: 0.8rem;
    }

    .mobile-menu-btn {
        display: flex;
        }

    .navbar {
        padding: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--accent-white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 70px 25px 25px;
        gap: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.15);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 1001;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }

    .nav-link {
        display: block;
        padding: 15px 10px;
        width: 100%;
        font-size: 1rem;
    }

    .nav-link::after {
        bottom: 0;
    }

    .emergency-phone {
        margin-top: 15px;
        justify-content: center;
        padding: 12px 20px;
    }

    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .product-image-container {
        height: 180px;
    }

    .product-image {
        padding: 12px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 0.98rem;
        min-height: auto;
    }

    .product-info p {
        font-size: 0.82rem;
        min-height: auto;
    }

    .form-container {
        padding: 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.features {
        padding: 60px 15px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .feature-card {
        padding: 25px 15px;
    }

    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .feature-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 10px !important;
    }
    
    .navbar .container {
        padding: 0 8px !important;
    }
    
    .mobile-menu-btn {
        right: 8px;
        width: 40px;
        height: 40px;
    }
    
    .nav-menu {
        width: 250px;
        padding: 65px 20px 20px;
    }

    .mobile-menu-btn span {
        width: 22px;  /* Slightly smaller bars */
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.88rem;
    }

    .hero-badge {
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 0.88rem;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-image-container {
        height: 200px;
    }

    .product-image {
        padding: 15px;
    }

    .product-info {
        padding: 16px;
    }

    .product-info h3 {
        font-size: 0.95rem;
        min-height: auto;
        margin-bottom: 10px;
    }

    .product-info p {
        font-size: 0.82rem;
        min-height: auto;
        margin-bottom: 10px;
    }

    .product-brands {
        font-size: 0.75rem;
        min-height: auto;
    }

    .checkbox-container {
        padding-top: 10px;
    }

    .checkbox-container input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .checkbox-container label {
        font-size: 0.85rem;
    }

    .form-container {
        padding: 20px;
    }

    .scroll-to-form {
        padding: 12px 28px;
        font-size: 0.95rem;
    }

     .features {
        padding: 30px 10px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feature-card {
        padding: 20px 12px;
    }

    .feature-icon {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}


/* Very Small Mobile */
@media (max-width: 360px) {
    .container {
        padding: 0 8px !important;
    }
    
    .navbar .container {
        padding: 0 5px !important;
    }
    
    .mobile-menu-btn {
        right: 5px;
        width: 38px;
        height: 38px;
    }
    
    .nav-menu {
        width: 220px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .product-grid {
        gap: 14px;
    }

    .product-image-container {
        height: 180px;
    }

    .product-image {
        padding: 12px;
    }

    .product-info {
        padding: 14px;
    }

    .product-info h3 {
        font-size: 0.9rem;
    }
}
