/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

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

/* Header */
header {
  background: linear-gradient(135deg, #2c5f41 0%, #4a7c59 100%);
  color: white;
  padding: 20px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 80px;
  width: auto;
  border-radius: 8px;
}

.header-text {
  flex: 1;
}

header h1 {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 1.1em;
  font-weight: 400;
  opacity: 0.9;
  margin: 0;
}

/* Hero Section */
.hero {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid #e9ecef;
}

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

.hero-image {
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: scale(1.05);
}

.hero-text {
  text-align: left;
}

.hero-text h2 {
  font-size: 2.5em;
  color: #2c5f41;
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-text p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
}

/* Contact Info Section */
.contact-info {
  background: #f8f9fa;
  padding: 60px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-details h3,
.map-container h3 {
  font-size: 2em;
  color: #2c5f41;
  margin-bottom: 30px;
  font-weight: 600;
}

.info-item {
  margin-bottom: 25px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.info-item h4 {
  font-size: 1.2em;
  color: #2c5f41;
  margin-bottom: 8px;
  font-weight: 600;
}

.info-item p {
  color: #555;
  line-height: 1.6;
}

.info-item a {
  color: #4a7c59;
  text-decoration: none;
  font-weight: 600;
}

.info-item a:hover {
  color: #2c5f41;
  text-decoration: underline;
}

/* Map */
.map-wrapper {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.map-wrapper iframe {
  border-radius: 8px;
}

/* Footer */
footer {
  background: #2c5f41;
  color: white;
  text-align: center;
  padding: 30px 0;
}

footer p {
  opacity: 0.9;
}

/* Brands Section */
.brands {
  background: white;
  padding: 60px 0;
}

.brands h2 {
  font-size: 2.5em;
  color: #2c5f41;
  text-align: center;
  margin-bottom: 50px;
  font-weight: 600;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
}

.brand-item {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 100%;
  max-width: 200px;
}

.brand-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.brand-item img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.brand-item:hover img {
  filter: grayscale(0%);
}

/* Gallery Section */
.gallery {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid #e9ecef;
}

.gallery h2 {
  font-size: 2.5em;
  color: #2c5f41;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  background: #f8f9fa;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 400px;
}

.carousel-slide {
  display: flex;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(44, 95, 65, 0.8);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: rgba(44, 95, 65, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
  left: 20px;
}

.carousel-btn.next {
  right: 20px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.carousel-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.carousel-indicator.active {
  background: #2c5f41;
}

.no-images {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #f8f9fa;
  color: #666;
  font-size: 1.2em;
  text-align: center;
  padding: 20px;
}

/* Featured Video Section */
.featured-video {
  background: white;
  padding: 60px 0;
  border-bottom: 1px solid #e9ecef;
}

.featured-video h2 {
  font-size: 2.5em;
  color: #2c5f41;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 600;
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-description {
  max-width: 800px;
  margin: 30px auto 0;
  text-align: center;
}

.video-description p {
  font-size: 1.1em;
  line-height: 1.8;
  color: #555;
  padding: 0 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .logo img {
    height: 60px;
  }

  header h1 {
    font-size: 2em;
  }

  .tagline {
    font-size: 1em;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-text h2 {
    font-size: 2em;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-details h3,
  .map-container h3 {
    font-size: 1.5em;
  }

  .gallery h2 {
    font-size: 2em;
  }

  .carousel-container {
    min-height: 300px;
  }

  .carousel-slide img {
    max-height: 60vh;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .carousel-btn.prev {
    left: 10px;
  }

  .carousel-btn.next {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  header {
    padding: 20px 0;
  }

  .header-content {
    gap: 15px;
  }

  .logo img {
    height: 50px;
  }

  header h1 {
    font-size: 1.8em;
  }

  .hero {
    padding: 40px 0;
  }

  .contact-info {
    padding: 40px 0;
  }

  .brands {
    padding: 40px 0;
  }

  .brands h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
  }

  .brand-item {
    height: 100px;
    max-width: 150px;
  }

  .brand-item img {
    max-height: 60px;
  }

  .hero-text h2 {
    font-size: 1.8em;
  }

  .gallery {
    padding: 40px 0;
  }

  .gallery h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .carousel-container {
    min-height: 200px;
  }

  .carousel-slide img {
    max-height: 50vh;
  }

  .carousel-btn {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .featured-video {
    padding: 40px 0;
  }

  .featured-video h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .video-description p {
    font-size: 1em;
    line-height: 1.6;
  }
}
