/* General Resets & Base Styles */
:root {
    --valbond-navy: #1A237E; /* Derived from brochure blue/purple */
    --valbond-yellow: #FFC107; /* Derived from brochure yellow */
    --valbond-light-blue: #BBDEFB; /* Derived from brochure light blue background */
    --valbond-grey: #f4f4f4;
    --valbond-dark-text: #333;
    --valbond-light-text: #666;
    --valbond-white: #ffffff;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--valbond-dark-text);
    background-color: var(--valbond-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.bg-light {
    background-color: var(--valbond-grey);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5em;
    color: var(--valbond-navy);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--valbond-yellow);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: var(--valbond-light-text);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--valbond-yellow);
    color: var(--valbond-navy);
    border: 2px solid var(--valbond-yellow);
}

.btn-primary:hover {
    background-color: var(--valbond-navy);
    color: var(--valbond-yellow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--valbond-white);
    border: 2px solid var(--valbond-white);
}

.btn-secondary:hover {
    background-color: var(--valbond-white);
    color: var(--valbond-navy);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    border-radius: 4px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--valbond-navy);
    color: var(--valbond-white);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar .logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 700;
    color: var(--valbond-white);
    text-decoration: none;
}

.navbar .logo img {
    height: 40px; /* Adjust as needed */
    margin-right: 10px;
}

.navbar .nav-links {
    list-style: none;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 30px;
}

.navbar .nav-links a {
    color: var(--valbond-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: var(--valbond-yellow);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background-color: var(--valbond-white);
    margin-bottom: 4px;
    border-radius: 5px;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--valbond-white);
    background: url('../images/hero-background.jpg') no-repeat center center/cover; /* Replace with your actual background image */
    padding-top: 80px; /* To account for fixed nav */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-section p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-statement {
    font-size: 1em;
    font-style: italic;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-ctas .btn {
    margin: 0 15px;
}

/* About Us Section */
.about-section {
    background-color: var(--valbond-white);
}

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

.product-card {
    background-color: var(--valbond-white);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.product-card img {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Ensures entire image is visible */
    margin-bottom: 20px;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4em;
    color: var(--valbond-navy);
    margin-bottom: 10px;
}

.product-card p {
    font-size: 0.95em;
    color: var(--valbond-light-text);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Why Choose Us Section */
.why-choose-us-section {
    background-color: var(--valbond-navy);
    color: var(--valbond-white);
}

.why-choose-us-section .section-title {
    color: var(--valbond-white);
}
.why-choose-us-section .section-title::after {
    background-color: var(--valbond-yellow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.feature-item .icon {
    font-size: 3em;
    margin-bottom: 15px;
    color: var(--valbond-yellow);
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--valbond-white);
}

.feature-item p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Us Section */
.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.contact-form,
.contact-info {
    flex: 1;
    min-width: 300px; /* Ensures layout on smaller screens */
    max-width: 500px;
    background-color: var(--valbond-white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    /* Added border */
    border: 1px solid var(--valbond-light-blue); /* Subtle blue border */
}

.contact-form h3,
.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    color: var(--valbond-navy);
    margin-bottom: 25px;
    text-align: center;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--valbond-dark-text);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1em;
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
}

.contact-info p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.5;
}

.contact-info p strong {
    color: var(--valbond-navy);
}

.contact-info a {
    color: var(--valbond-navy);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--valbond-yellow);
    text-decoration: underline;
}

.map-container {
    margin-top: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}

/* Footer */
.footer {
    background-color: var(--valbond-navy);
    color: var(--valbond-white);
    text-align: center;
    padding: 30px 0;
    font-size: 0.9em;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px; /* Adjust size as needed */
    height: 60px; /* Adjust size as needed */
    background-color: #25d366; /* WhatsApp green */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float img {
    width: 60%; /* Adjust icon size within the circle */
    height: 60%; /* Adjust icon size within the circle */
    object-fit: contain;
}


/* Responsive Design */
@media (max-width: 992px) {
    .navbar .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--valbond-navy);
        position: absolute;
        top: 70px; /* Below navbar */
        left: 0;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .navbar .nav-links.active {
        display: flex;
    }

    .navbar .nav-links li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .navbar .nav-links li:last-child {
        border-bottom: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 2em;
    }

    .product-grid,
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .hero-ctas {
        flex-direction: column;
        gap: 15px;
    }
    .hero-ctas .btn {
        width: 80%;
        margin: 0 auto;
    }

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

    .contact-content {
        flex-direction: column;
        align-items: center;
    }
    .contact-form,
    .contact-info {
        width: 100%;
        max-width: 90%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 480px) {
    .navbar .logo {
        font-size: 1.5em;
    }
    .navbar .logo img {
        height: 30px;
    }

    .hero-section h1 {
        font-size: 1.8em;
    }
    .hero-section p {
        font-size: 0.9em;
    }

    .section-title {
        font-size: 1.8em;
    }

    .product-card img {
        height: 150px;
    }
}