/* === Reset & Base Styles === */
:root {
    --primary: #0066cc;
    --dark: #333;
    --light: #f9f9f9;
    --gray: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === Navigation === */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 150px 0 100px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 30px;
}

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn:hover {
    background: #004d99;
}

/* === Product Gallery === */
.gallery {
    padding: 80px 0;
    background: var(--light);
}

.gallery .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two per row on desktop */
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.card h3 {
    padding: 20px;
    text-align: center;
}

/* === Specifications === */
.specs {
    padding: 80px 0;
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.spec-item {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.spec-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* === Call-to-Action === */
.cta {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta h2 {
    margin-bottom: 30px;
}

.cta .btn {
    background: white;
    color: var(--primary);
}

.cta .btn:hover {
    background: var(--gray);
}

/* === Footer === */
footer {
    background: #4CAF50;
    color: white;
    text-align: center;
    padding: 30px 0;
}

/* === Responsive Design === */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .gallery .grid {
        grid-template-columns: 1fr; /* One per row on phones */
    }

    .card img {
        height: auto; /* Auto height on small screens */
    }
}
@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: white;
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
}
@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: white;
    position: absolute;
    top: 70px; /* adjust as needed */
    right: 20px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 999;
  }
}
