/* =========================================
   ZIT Electronics Trading LLC - Styles
   ========================================= */

:root {
    /* Brand Colors */
    --primary: #0C6787;      /* ZAD/ZIT Primary Blue */
    --secondary: #093C52;    /* Dark Blue */
    --bg-main: #f8fafc;      /* Light Main Background */
    --bg-alt: #ffffff;       /* Alternate Background for sections */
    --accent: #8cc63f;       /* Logo Green Accent */
    
    /* Text Colors */
    --text-main: #1e293b;    /* Dark text for light bg */
    --text-muted: #64748b;   /* Muted gray text */
    --white: #ffffff;
    
    /* Layout */
    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 80px 0;
}

.alt-bg {
    background-color: var(--bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Typography Utility */
.mt-1 { margin-top: 1rem; }
.mb-1 { margin-bottom: 1rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
}

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

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

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

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

.btn-text {
    background: transparent;
    color: var(--primary);
    padding: 0;
}

.btn-text:hover {
    color: var(--accent);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.nav-cta {
    background-color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    color: var(--white) !important;
}

.nav-menu a.nav-cta:hover {
    background-color: var(--accent);
    color: var(--white);
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(rgba(248, 250, 252, 0.7), rgba(248, 250, 252, 0.9)), url('../assets/images/hero_banner.png') center/cover no-repeat;
    text-align: center;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Brands Section */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.brand-card {
    background-color: var(--bg-alt);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    color: var(--secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.brand-card img {
    max-width: 90%;
    max-height: 60px;
    object-fit: contain;
}

.brand-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-main);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

.product-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.product-icon {
    color: var(--primary);
    margin-bottom: 20px;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--secondary);
}

.product-card p {
    color: var(--text-muted);
    margin-bottom: 25px;
    min-height: 50px;
}

/* Export Section */
.export-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--bg-alt);
    padding: 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.service-item svg {
    color: var(--accent);
    flex-shrink: 0;
}

/* Markets Section */
.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.market-card {
    background: linear-gradient(145deg, var(--secondary), var(--primary));
    padding: 40px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(12, 103, 135, 0.1);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.market-card h3 {
    font-size: 1.3rem;
    color: var(--white);
}

/* Why Choose Us */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.benefit-card {
    background-color: var(--bg-alt);
    padding: 30px;
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.benefit-card h3 {
    font-size: 1.1rem;
    color: var(--secondary);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.about-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-details p {
    color: var(--text-main);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.contact-form {
    background-color: var(--bg-alt);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--bg-main);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    padding: 60px 0 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
}

.footer-col ul li {
    margin-bottom: 10px;
    color: rgba(255,255,255,0.8);
}

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

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: transform 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .contact-container {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-alt);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
