/* Reset and base styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; background: #f4f4f4; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

/* Header and Nav */
header { background: #4CAF50; padding: 1rem; position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto; }
.logo { font-size: 1.5rem; font-weight: bold; color: white; }
.nav-links { list-style: none; display: flex; }
.nav-links li { margin: 0 1rem; }
.nav-links a { color: white; transition: color 0.3s; }
.nav-links a:hover { color: #FFD700; }
.hamburger { display: none; font-size: 1.5rem; cursor: pointer; color: white; }

/* Hero Section */
.hero { background: url('images/amla-banner.jpg') center/cover no-repeat; height: 60vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: white; padding: 2rem; }
.hero h1 { font-size: 3rem; margin-bottom: 0.5rem; }
.hero p { font-size: 1.2rem; margin-bottom: 1rem; }
.hero button { padding: 0.75rem 1.5rem; background: #FF5722; color: white; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; }
.hero button:hover { background: #E64A19; }

/* Sections */
section { padding: 2rem; max-width: 1200px; margin: 0 auto; }
h2 { text-align: center; margin-bottom: 1rem; color: #4CAF50; }
p { margin-bottom: 1rem; }

/* About Section */
.about-content { display: flex; align-items: center; gap: 2rem; }
.about-content img { width: 300px; border-radius: 10px; }

/* Products Section */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.product { background: white; border: 1px solid #ddd; border-radius: 10px; padding: 1rem; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.1); transition: transform 0.3s; }
.product:hover { transform: translateY(-5px); }
.product img { border-radius: 10px; margin-bottom: 1rem; }
.product h3 { color: #4CAF50; }

/* Contact Section */
.contact-form { max-width: 600px; margin: 0 auto; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.75rem; margin-bottom: 1rem; border: 1px solid #ddd; border-radius: 5px; }
.contact-form button { width: 100%; padding: 0.75rem; background: #4CAF50; color: white; border: none; border-radius: 5px; cursor: pointer; transition: background 0.3s; }
.contact-form button:hover { background: #388E3C; }

/* Footer */
footer { background: #333; color: white; text-align: center; padding: 1rem; }

/* Responsive Design */
@media (max-width: 768px) {
    nav { flex-direction: column; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background: #4CAF50; padding: 1rem 0; }
    .nav-links.active { display: flex; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2rem; }
    .hero { height: 50vh; }
    .about-content { flex-direction: column; text-align: center; }
    .product-grid { grid-template-columns: 1fr; }
}
/* Image Gallery */
.image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.image-gallery img { 
    width: 100%; 
    height: 200px; 
    object-fit: cover; 
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    transition: transform 0.3s; 
}
.image-gallery img:hover { transform: scale(1.05); }

/* Responsive for Gallery */
@media (max-width: 768px) {
    .image-gallery { grid-template-columns: repeat(2, 1fr); }
    .image-gallery img { height: 150px; } /* Slightly smaller on mobile for better fit */
}

/* Image Gallery */
.image-gallery-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin: 2rem 0; }
.image-gallery-main img { 
    width: 100%; 
    height: 70%; 
    object-fit: cover; 
    border-radius: 10px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
    transition: transform 0.3s; 
}
.image-gallery-main img:hover { transform: scale(1.05); }

/* Responsive for Gallery */
@media (max-width: 100%) {
    .image-gallery-main { grid-template-columns: repeat(2, 1fr); }
    .image-gallery-main img { height: 150px; } /* Slightly smaller on mobile for better fit */
}

/* Vision and Mission Sections */
.vision-mission { display: flex; align-items: center; gap: 2rem; padding: 2rem; max-width: 1200px; margin: 0 auto; }
.text-side { flex: 1; }
.image-side { flex: 1; }
.image-side img { width: 100%; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .vision-mission { flex-direction: column; text-align: center; }
    .about-content { flex-direction: column; text-align: center; } /* Also stacks the intro if needed */
}
/* Product Sections */
.product-section { display: flex; align-items: center; gap: 2rem; padding: 2rem; max-width: 1200px; margin: 0 auto; border-bottom: 1px solid #ddd; }
.product-section:nth-child(even) { flex-direction: row-reverse; } /* Alternates image side for variety */
.text-side { flex: 1; }
.image-side { flex: 1; }
.image-side img { width: 100%; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .product-section { flex-direction: column; text-align: center; }
    .product-section:nth-child(even) { flex-direction: column; } /* Reset for mobile */
}
/* Updated Hero Section with Slider */
.hero { position: relative; height: 60vh; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.hero .slider { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.hero-btn { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); padding: 0.75rem 1.5rem; background: #FF5722; color: white; border: none; border-radius: 5px; cursor: pointer; z-index: 10; transition: background 0.3s; }
.hero-btn:hover { background: #E64A19; }

/* Slider Styles */
.slider { position: relative; width: 100%; height: 100%; overflow: hidden; }
.slides { display: flex; width: 100%; height: 100%; transition: transform 0.5s ease; }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.prev, .next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: white; border: none; padding: 10px; cursor: pointer; font-size: 1.5rem; border-radius: 50%; z-index: 10; }
.prev { left: 10px; }
.next { right: 10px; }
.prev:hover, .next:hover { background: rgba(0,0,0,0.8); }
.dots { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 10; }
.dot { height: 15px; width: 15px; margin: 0 5px; background: rgba(255,255,255,0.5); border-radius: 50%; display: inline-block; cursor: pointer; }
.dot.active { background: #4CAF50; }

/* Responsive Hero Slider */
@media (max-width: 768px) {
    .hero { height: 50vh; }
    .hero-btn { bottom: 10px; padding: 0.5rem 1rem; font-size: 0.9rem; }
}
/* Social Media Section */
.social-media { text-align: center; padding: 2rem; background: #f4f4f4; }
.social-media h2 { margin-bottom: 1rem; color: #4CAF50; }
.social-icons { display: flex; justify-content: center; gap: 2rem; }
.social-icons a { color: #333; font-size: 2rem; transition: color 0.3s, transform 0.3s; }
.social-icons a:hover { color: #4CAF50; transform: scale(1.1); }

/* Responsive Social Icons */
@media (max-width: 768px) {
    .social-icons { gap: 1.5rem; }
    .social-icons a { font-size: 1.5rem; }
}