/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f5f5f5;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo {
  font-size: 1.8em;
  font-weight: bold;
  color: #d35400;
}

header nav a {
  text-decoration: none;
  color: #333;
  margin-left: 25px;
  font-weight: 500;
  transition: color 0.3s;
}

header nav a:hover,
header nav .active {
  color: #d35400;
}

/* Hero Section */
.hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 120%;
  height: 120%;
  background: rgba(0, 0, 0, 0.211);
}
.hero-section {
  width: 100%;
  height: 100vh;
  /* Full screen height */
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Makes sure the full image adjusts */
  object-position: center;
  /* Keeps the image centered */
  display: block;
}
.hero-text h1 {
  font-size: 48px;
  color: #ffffff00;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 20px;
  color: #ffffff00;
  font-family: 'Open Sans', sans-serif;
  margin-bottom: 30px;
}
.hero-btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #ff6f00, #ff3d00); /* Orange gradient */
  border: none;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, #ff3d00, #ff6f00); /* reversed */
}
/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 10%;
  object-fit: cover;
  z-index: -1;
}

.hero-content {
  max-width: 700px;
  padding: 20px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 10px 0;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  margin-top: 10px;
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #e65500;
}

/* Small Hero */
.small-hero {
  background: linear-gradient(to right, #f39c12, #e67e22);
  color: #fff;
  padding: 60px 20px 40px;
}

/* Call-to-Action Button */
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background-color: #e67e22;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.cta-btn:hover {
  background-color: #d35400;
}

/* Product Section */

/* Products Section */
.products-section {
  padding: 40px 20px;
  background-color: #f8f8f8;
  text-align: center;
}

.products-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.products-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  justify-content: center;
}

/* Product Card */
.product-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Main Image */
.main-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
}

/* Thumbnail Images */
.thumbnail-images {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  gap: 8px;
}

.thumbnail-images img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border 0.3s ease;
}

.thumbnail-images img:hover {
  border: 2px solid #ff6600;
}

/* Product Title */
.product-card h2 {
  font-size: 1.2rem;
  margin: 12px 0 5px;
  color: #222;
}

/* Price */
.price {
  font-size: 1.1rem;
  color: #ff6600;
  font-weight: bold;
  margin-bottom: 10px;
}

/* Buy Now Button */
.buy-btn {
  padding: 10px 18px;
  background-color: #ff6600;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.buy-btn:hover {
  background-color: #e05500;
}

/* About / Contact Sections */
.about, .contact, .testimonials {
  padding: 60px 30px;
  background: #fff;
}

.about h2, .contact h2, .testimonials h2 {
  font-size: 2em;
  margin-bottom: 20px;
  color: #333;
}

.about p, .contact p {
  font-size: 1.1em;
  color: #555;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 30px auto;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 1em;
}

.contact-form button {
  padding: 12px 30px;
  background-color: #2980b9;
  color: #fff;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #1c5980;
}

/* Footer */
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
  margin-top: 40px;
}

footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}

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

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

/* Responsive */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  header nav {
    margin-top: 10px;
  }

  .hero h1 {
    font-size: 2.2em;
  }

  .products {
    padding: 30px 20px;
  }

  .product-card img {
    height: 180px;
  }
}
/* HERO VIDEO SECTION */
.hero-video {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
}

.hero-landscape-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 40px;
  border-radius: 10px;
}

.video-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.video-overlay p {
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.video-overlay .btn {
  padding: 12px 28px;
  background-color: #ff6600;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.video-overlay .btn:hover {
  background-color: #e65500;
}
/* --- WHY CHOOSE FOAMIX SECTION --- */
.why-choose {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
}

.why-choose h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #222;
    font-weight: 700;
}

.features-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-box {
    background-color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 30px 20px;
    width: 300px;
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-box img {
    width: 60px;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 20px;
    color: #e74c3c;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-box p {
    font-size: 15px;
    color: #555;
}


/* --- TESTIMONIAL SECTION --- */
.testimonials {
    background: linear-gradient(135deg, #fafafa, #f2f2f2);
    padding: 60px 20px;
    text-align: center;
}

.testimonials h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #333;
    font-weight: 700;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-box {
    background: #ffffff;
    border-left: 5px solid #e67e22;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 25px 20px;
    width: 320px;
    text-align: left;
}

.testimonial-box img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.testimonial-box h4 {
    font-size: 18px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.testimonial-box p {
    font-size: 14px;
    color: #555;
    font-style: italic;
}
.home-gallery {
  padding: 60px 20px;
  background-color: #fafafa;
  text-align: center;
}

.home-gallery h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #333;
}

.image-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.image-item {
  width: 280px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px;
  border-radius: 8px;
}

.image-item img {
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.image-item p {
  margin-top: 10px;
  font-weight: 500;
  color: #444;
}
.product-section {
  padding: 60px 20px;
  background-color: #fefefe;
  text-align: center;
}

.product-section h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #333;
}

.product-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 280px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.product-card h3 {
  margin-top: 15px;
  font-size: 1.2rem;
  color: #222;
}

.price {
  color: #e53935;
  font-weight: bold;
  margin: 10px 0;
}

.btn-buy {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ff5722;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-buy:hover {
  background-color: #e64a19;
}
/* Navigation Bar Styling */
nav {
  display: flex;
  justify-content: flex-end;
  /* Move to the right */
  align-items: center;
  background-color: #fff;
  /* Keep background white */
  padding: 15px 40px;
  position: relative;
}

/* Styling for Navigation Links */
nav a {
  text-decoration: none;
  font-weight: bold;
  /* Make links bold */
  font-size: 18px;
  color: #333;
  /* Dark text color */
  margin-left: 20px;
  transition: color 0.3s ease;
}

/* Hover Effect */
nav a:hover {
  color: #ff6600;
  /* Orange hover effect */
}


/* ========== Mobile Responsive Design ========== */

/* For tablets and small laptops */
@media (max-width: 1024px) {
  header {
    padding: 10px 20px;
  }

  nav ul {
    gap: 15px;
  }

  .hero-section h1 {
    font-size: 28px;
  }

  .hero-section p {
    font-size: 16px;
  }

  .product-card {
    width: 45%;
  }
}

/* For mobile phones */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  nav {
    margin-top: 10px;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .hero-section {
    padding: 20px;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-section p {
    font-size: 14px;
  }

  .products-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .product-card {
    width: 100%;
    max-width: 320px;
  }

  .why-choose-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .why-choose-card {
    width: 100%;
    max-width: 300px;
  }

  footer {
    text-align: center;
    padding: 15px;
  }
}

/* For very small phones */
@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 20px;
  }

  .hero-section p {
    font-size: 13px;
  }

  .product-card img {
    height: 200px;
    object-fit: cover;
  }

  nav ul {
    gap: 8px;
  }
}