@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
    --primary-color: #0A2342; /* Deep Blue */
    --secondary-color: #B08D57; /* Muted Gold */
    --accent-color: #E8A03F; /* Brighter accent for CTAs */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --bg-light: #FFFFFF;
    --bg-medium: #F8F9FA;
    --bg-dark: #121212; /* Darker footer background */
    --font-primary: 'Poppins', sans-serif;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

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

/* Header Styles */
header {
    background: var(--bg-light);
    padding: 0 5%;
    height: var(--header-height);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 50px; /* Adjusted size */
}

.nav-menu {
    display: flex;
    gap: 2.5rem; /* Increased gap */
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: transform 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    left: 0;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

.nav-menu--visible + .nav-toggle .hamburger {
    transform: rotate(45deg);
}
.nav-menu--visible + .nav-toggle .hamburger::before {
    top: 0;
    transform: rotate(90deg);
}
.nav-menu--visible + .nav-toggle .hamburger::after {
    top: 0;
    transform: rotate(90deg);
    opacity: 0;
}

/* Hero Section */
.hero {
    margin-top: var(--header-height);
    height: calc(100vh - var(--header-height));
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background::after { /* Overlay */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 35, 66, 0.6); /* Dark blue overlay */
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    max-width: 800px;
    padding: 0 1rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-content strong {
    font-weight: 600;
    color: var(--accent-color);
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-light);
}

.fade-in-text { /* Reused from original, adapted for hero */
    opacity: 0;
    animation: fadeIn 1.5s 0.5s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
}

/* Products Carousel */
.products {
    padding: 4rem 5%;
    background: var(--bg-medium);
}

.carousel {
    display: flex;
    overflow-x: hidden; /* JS will handle scroll */
    gap: 2rem;
    padding: 2rem 0;
    /* scroll-snap-type: x mandatory; /* Optional: for snapping */
}

.product-card {
    min-width: 280px; /* Slightly larger cards */
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.8;
}

/* Info Sections */
.info-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    gap: 3rem;
}

.info-section:nth-child(even) { /* Swapped for visual variety */
    flex-direction: row-reverse;
    background-color: var(--bg-medium);
}

.info-image {
    flex: 1;
    max-width: 50%;
}

.info-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.info-image:hover img {
    transform: scale(1.03);
}

.info-content {
    flex: 1;
    max-width: 50%;
    padding: 1rem;
}

.info-content h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-content h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.info-content p, .info-content ul {
    line-height: 1.8;
    font-size: 1rem;
    color: var(--text-dark);
    opacity: 0.9;
}

.info-content ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.info-content ul li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 4rem 5% 2rem;
    text-align: center;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.75rem;
    display: block;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.social-links a {
    margin-right: 1rem;
    font-size: 1.2rem; /* Placeholder, use actual icons */
    display: inline-block;
}

.footer-copyright {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 992px) {
    .info-section, .info-section:nth-child(even) {
        flex-direction: column;
        text-align: center;
    }
    .info-image, .info-content {
        max-width: 100%;
    }
    .info-image { margin-bottom: 2rem; }
}

@media (max-width: 768px) {
    :root { --header-height: 70px; }
    .logo { height: 40px; }
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%; /* Start off-screen */
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--bg-light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transition: left 0.3s ease-in-out;
        padding: 2rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
    .nav-menu--visible {
        left: 0; /* Slide in */
    }
    .nav-menu a {
        font-size: 1.5rem;
        color: var(--primary-color);
    }
    .nav-toggle { display: block; z-index: 1001;}

    .hero-content h1 { font-size: 2.5rem; }
    .hero-content p { font-size: 1.1rem; }
    .hero { min-height: 400px; }

    .section-title { font-size: 2rem; }
    .products, .info-section { padding: 3rem 5%; }
    .carousel { gap: 1.5rem; }
    .product-card { min-width: 250px; }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-section { margin-bottom: 2rem; }
}