/* General Reset */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { color: #333; line-height: 1.6; overflow-x: hidden; }
.container { max-width: 1200px; margin: auto; padding: 0 20px; }

/* Top Bar */
.top-bar { background: #1a3a5a; color: #fff; padding: 10px 0; font-size: 14px; text-align: right; }
.top-bar span { margin-left: 20px; }

/* Header & Nav */
header { background: #fff; padding: 10px 0; border-bottom: 3px solid #f39c12; position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; height: 60px; }

.logo img { height: 50px; width: auto; display: block; transition: 0.3s ease-in-out; }
.logo img:hover { transform: scale(1.02); }

.nav-links { display: flex; list-style: none; align-items: center; }
.nav-links li a { text-decoration: none; color: #333; padding: 10px 15px; font-weight: 600; transition: 0.3s; }
.nav-links li a:hover, .active { color: #f39c12; }
.btn-nav { background: #f39c12; color: #fff !important; border-radius: 5px; margin-left: 10px; }

.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: #1a3a5a; }

/* Hero Section */
.hero { 
    height: 80vh; 
    background: url('https://www.vasumineral.com/images/vasumineral.png?auto=format&fit=crop&q=80&w=1200') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
}
.hero-overlay { background: rgba(0,0,0,0.5); width: 100%; height: 100%; display: flex; align-items: center; }
.hero h1 { font-size: 50px; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { color: #f39c12; }
.hero p { font-size: 18px; margin-bottom: 30px; max-width: 600px; }
.btn-primary { background: #f39c12; padding: 12px 25px; color: #fff; text-decoration: none; border-radius: 5px; margin-right: 15px; }
.btn-secondary { background: transparent; border: 2px solid #fff; padding: 12px 25px; color: #fff; text-decoration: none; border-radius: 5px; }

/* Welcome Section */
.welcome { display: flex; padding: 80px 20px; align-items: center; gap: 50px; }
.welcome-text { flex: 1; }
.welcome-text h2 { font-size: 36px; margin-bottom: 20px; }
.welcome-text span { color: #f39c12; }
.features { list-style: none; margin: 20px 0; }
.features li { margin-bottom: 10px; font-weight: bold; color: #1a3a5a; }
.features i { color: #f39c12; margin-right: 10px; }
.welcome-image { flex: 1; }
.welcome-image img { width: 100%; border-radius: 10px; border-bottom: 10px solid #1a3a5a; }

/* Product Grid */
.products-preview { background: #f9f9f9; padding: 80px 0; text-align: center; }
.section-title { margin-bottom: 50px; }
.section-title h2 span { color: #f39c12; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.product-card { background: #fff; padding: 20px; border-radius: 5px; transition: 0.3s; border-top: 5px solid #1a3a5a; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.product-card img { width: 100%; height: 200px; object-fit: cover; margin-bottom: 15px; }

/* Footer */
footer { background: #111; color: #ccc; padding: 60px 0 20px; }
.grid-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; }
footer h3 { color: #fff; margin-bottom: 20px; }
footer ul { list-style: none; }
footer ul li { margin-bottom: 10px; }
footer ul li a { color: #ccc; text-decoration: none; }
.footer-bottom { text-align: center; margin-top: 40px; padding-top: 20px; border-top: 1px solid #333; font-size: 14px; }

/* --- MOBILE RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .top-bar { text-align: center; }
    .top-email { display: none; } /* Hide email on small screens to save space */

    .menu-toggle { display: block; }

    .nav-links {
        position: absolute;
        top: 63px;
        left: -100%; /* Hidden by default */
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.4s ease;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }

    .nav-links.active { left: 0; } /* Show when toggled */

    .nav-links li { width: 100%; border-bottom: 1px solid #eee; }
    .nav-links li a { display: block; padding: 20px; }
    .btn-nav { margin: 10px 0 20px 0; display: inline-block; width: 80%; }

    .hero h1 { font-size: 32px; }
    .hero p { font-size: 16px; }
    .hero-btns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
    .btn-primary { margin-right: 0; width: 80%; }
    .btn-secondary { width: 80%; }

    .welcome { flex-direction: column; padding: 40px 20px; text-align: center; }
    .welcome-image { order: -1; } /* Image on top for mobile */

    .grid { padding: 0 10px; }
    .grid-footer { text-align: center; }
}
/* --- UPDATED PRODUCT PAGE STYLES --- */

.product-section {
    padding: 80px 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Subtle alternate background for section blending */
.product-section:nth-child(even) {
    background-color: #fcfcfc;
}

.product-container {
    display: flex;
    align-items: flex-start; /* Keeps image and text aligned at the top */
    gap: 40px; /* Space between image and text */
}

/* 50/50 Split Logic */
.product-image, .product-text {
    flex: 0 0 50%; /* Forces both to take exactly 50% width */
    max-width: 50%;
}

/* Alternating Layout */
.product-section:nth-child(even) .product-container {
    flex-direction: row-reverse;
}

/* Image Blending Styles */
.product-image img {
    width: 100%;
    height: auto;
    display: block;
    border: none;      /* Removes all borders */
    box-shadow: none;  /* Removes shadows for a flat blend */
    border-radius: 4px; 
    transition: 0.3s ease;
}

.product-image img:hover {
    filter: brightness(1.05); /* Subtle hover instead of scaling */
}

/* Text Padding for readability in 50/50 split */
.product-text {
    padding: 0 10px;
}

.product-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.2;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .product-container,
    .product-section:nth-child(even) .product-container {
        flex-direction: column !important;
        text-align: center;
    }

    .product-image, .product-text {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .product-image {
        margin-bottom: 30px;
    }
}
@media (max-width: 768px) {
    /* Existing code... */

    .hero {
        height: 60vh; /* Shorter height for mobile screens */
        text-align: center;
    }

    .hero-overlay {
        padding: 20px;
    }

    .hero h1 {
        font-size: 28px; /* Slightly smaller for narrow phones */
    }
}