/* --- Basic Reset & Typography --- */
:root {
    --primary-color: #8B4513; /* SaddleBrown - a coir-like color */
    --secondary-color: #228B22; /* ForestGreen */
    --text-color: #333;
    --light-gray: #f4f4f4;
    --white-color: #fff;
    --dark-overlay: rgba(0, 0, 0, 0.6);
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* --- Header & Navigation --- */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

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

.logo {
    height: 60px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s ease;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
}

/* --- Hero Section --- */
.hero {
    height: 100vh;
    background: linear-gradient(var(--dark-overlay), var(--dark-overlay)), url('../images/product2.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Keep this to position the video */
    color: var(--white-color);
    padding: 0 20px;
    overflow: hidden; /* Prevents video from overflowing its container */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the area without distortion */
    z-index: 1;        /* Sits behind content, but above hero background */
}

.hero-content {
    color: #FFD700; /* Golden color */
    position: absolute; /* Position the content block */
    top: 50%;          /* Center vertically */
    left: 50%;         /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for element size */
    width: 100%;      /* Take full width */
    padding: 20px;    /* Add some padding */
    z-index: 2; /* Ensures text is above video and any overlay */
}
.hero-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}
.hero-content .subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color); /* The button will remain white */
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}


.btn:hover {
    background-color: #a0522d; /* Lighter brown */
    transform: translateY(-2px);
}

/* --- Section Styling --- */
section {
    padding: 80px 0;
}

section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
    font-size: 1.1rem;
}

/* --- About Section --- */
.about-section {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.product-item img {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.product-item:hover img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark-overlay);
    color: var(--white-color);
    padding: 20px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.product-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

/* --- Contact Section --- */
.contact-section {
    background-color: var(--light-gray);
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: var(--font-body);
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-form .btn {
    width: auto;
    align-self: center;
    border: none;
    cursor: pointer;
}

/* --- Footer --- */
.footer {
    background-color: #333;
    color: var(--white-color);
    text-align: center;
    padding: 40px 20px;
}

.footer .footer-content {
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer address {
    font-style: normal;
}

.footer a {
    color: var(--white-color);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin-bottom: 10px;
}

.footer .created-by {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    .captcha-container {
    padding: 10px 0;
}

#captcha-question {
    font-weight: bold;
    color: #333; /* Or your form's text color */
}

#captcha-error {
    color: #d9534f; /* A red color for errors */
    font-size: 0.9em;
    margin-top: 5px;
    height: 1.2em; /* Keep space for the error message */
}
