/* CSS Variables for Brand Colors */
:root {
    --deep-blue: #0f172a;
    --royal-blue: #1d4ed8;
    --light-bg: #f8fafc;
    --text-dark: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --accent-red: #ef4444; 
}

/* Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
html { scroll-behavior: smooth; }
body { color: var(--text-dark); background-color: var(--white); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Typography */
h1, h2, h3 { color: var(--deep-blue); margin-bottom: 1rem; }
h1 { font-size: 2.8rem; font-weight: 700; line-height: 1.2; }
h2 { font-size: 2.2rem; font-weight: 600; text-align: center; }
p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 1.5rem; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; border-radius: 6px; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-primary { background-color: var(--royal-blue); color: var(--white); }
.btn-primary:hover { background-color: var(--deep-blue); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(29, 78, 216, 0.3); }
.btn-outline { background-color: transparent; border: 2px solid var(--royal-blue); color: var(--royal-blue); }
.btn-outline:hover { background-color: var(--royal-blue); color: var(--white); transform: translateY(-2px); }

/* Header & Navigation */
header { background-color: var(--white); box-shadow: 0 4px 15px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 100; transition: all 0.3s ease; }
.nav-container { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; }

/* LARGE LOGO STYLING */
.header-logo { 
    height: 140px; 
    width: auto; 
    max-width: 350px; /* Slightly reduced to give menu more room */
    object-fit: contain;
    filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.1)); 
    transition: height 0.3s ease;
} 

/* TIGHTENED NAVIGATION GAP TO PREVENT CLIPPING */
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { font-weight: 500; font-size: 1rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--royal-blue); }
.mobile-menu-btn { display: none; font-size: 2rem; cursor: pointer; border: none; background: none; color: var(--deep-blue); }

/* Hero Section */
.hero {
    position: relative;
    background: 
        linear-gradient(180deg, rgba(248, 250, 252, 0.88) 0%, rgba(255, 255, 255, 0.98) 100%),
        url('../images/banner.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 120px 0;
    text-align: center;
}

.hero-content { max-width: 900px; margin: 0 auto; position: relative; z-index: 2; }
.hero-buttons { display: flex; gap: 20px; justify-content: center; margin-top: 40px; }

/* Sections Grid Layouts */
.section-padding { padding: 100px 0; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; margin-top: 50px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; margin-top: 50px; }

/* Cards & Product Image Styling */
.card { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: 0 4px 25px rgba(0,0,0,0.05); border: 1px solid #f1f5f9; transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease; }
.card:hover { transform: translateY(-12px); box-shadow: 0 15px 35px rgba(0,0,0,0.12); }
.product-img { width: 100%; height: 240px; object-fit: contain; background-color: #f8fafc; border-radius: 12px; margin-bottom: 25px; padding: 15px; }

/* Catalog CTA Section */
.cta-section { background-color: var(--royal-blue); color: var(--white); text-align: center; padding: 100px 0; border-radius: 30px; margin: 60px auto; width: 95%; max-width: 1200px; box-shadow: 0 10px 30px rgba(29, 78, 216, 0.2); }
.cta-section h2, .cta-section p { color: var(--white); }
.btn-white { background-color: var(--white); color: var(--royal-blue); }
.btn-white:hover { background-color: #f1f5f9; transform: scale(1.05); }

/* Footer */
footer { background-color: var(--deep-blue); color: var(--white); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 50px; margin-bottom: 50px; }
footer h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 25px; }
footer p, footer a, footer li { color: #cbd5e1; font-size: 1rem; }
footer a:hover { color: var(--white); }
footer ul { list-style: none; }
footer ul li { margin-bottom: 15px; }
.footer-bottom { text-align: center; border-top: 1px solid #334155; padding-top: 30px; font-size: 0.9rem; color: #94a3b8; }

/* Mobile Responsiveness - INCREASED TO 1024px TO FIX CROWDED HEADER */
@media (max-width: 1024px) {
    .header-logo { height: 90px; } 
    .nav-links { display: none; } 
    .mobile-menu-btn { display: block; }
    h1 { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; }
    .section-padding { padding: 70px 0; }
    .cta-section { width: 100%; border-radius: 0; margin: 0; padding: 80px 20px; }
    
    .nav-links.active { display: flex; flex-direction: column; position: absolute; top: 110px; left: 0; right: 0; background: var(--white); padding: 30px; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border-top: 1px solid #f1f5f9; }
}