/*
Theme Name: Vitafoam Distributor Theme
Description: Modern WordPress theme for Vitafoam and Mouka foam distributor based on fansace.com design
Version: 2.0
Author: Your Name
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

/* Header Styles */
.top-bar {
  background: #1a237e;
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

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

.social-links a {
  color: white;
  margin-right: 10px;
  text-decoration: none;
}

.header {
  background: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  color: #1a237e;
  font-size: 28px;
  font-weight: 700;
  text-decoration: none;
}

.search-bar {
  flex: 1;
  max-width: 400px;
  margin: 0 30px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 25px;
  background: #f8f9fa;
  color: #333;
  font-size: 14px;
}

.search-bar input:focus {
  outline: none;
  border-color: #1a237e;
  background: #fff;
}

.search-bar button {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: #ff5722;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-icon {
  color: #333;
  text-decoration: none;
  position: relative;
}

.cart-count {
  background: #ff5722;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: absolute;
  top: -8px;
  right: -8px;
}

/* Navigation */
.main-nav {
  background: #fff;
  padding: 0;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 15px;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #1a237e;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  padding: 100px 0;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("/placeholder.svg?height=600&width=1200") center / cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-text .highlight {
  color: #ff5722;
}

.hero-text .price {
  font-size: 32px;
  color: #ff5722;
  font-weight: 600;
  margin: 20px 0;
}

.hero-features {
  display: flex;
  gap: 20px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badge::before {
  content: "✓";
  color: #4caf50;
  font-weight: bold;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

.btn {
  padding: 15px 35px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 16px;
}

.btn-primary {
  background: #ff5722;
  color: white;
}

.btn-primary:hover {
  background: #e64a19;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: white;
  color: #1a237e;
}

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

.hero-image img {
  max-width: 100%;
  height: auto;
}

.delivery-badge {
  background: #ff5722;
  color: white;
  padding: 15px 25px;
  border-radius: 25px;
  display: inline-block;
  margin-top: 20px;
  font-weight: bold;
}

/* Products Section */
.products-section {
  padding: 80px 0;
  background: white;
}

.section-title {
  text-align: center;
  font-size: 42px;
  color: #333;
  margin-bottom: 60px;
  font-weight: 700;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.product-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

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

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #333;
}

.product-info p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
}

/* Feature Highlights Section */
.feature-highlights {
  background: #f8f9fa;
  padding: 60px 0;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.highlight-item {
  padding: 20px;
}

.highlight-item h3 {
  color: #1a237e;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

.highlight-item p {
  color: #666;
  font-size: 14px;
}

/* Product Features Section */
.product-features-section {
  padding: 100px 0;
  background: white;
}

.features-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 20px;
}

.accordion-header {
  padding: 25px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.accordion-header:hover {
  color: #1a237e;
}

.accordion-icon {
  font-size: 20px;
  color: #ff5722;
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  padding: 0 0 25px 0;
  color: #666;
  line-height: 1.7;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* Product Comparison Section */
.product-comparison {
  background: #f8f9fa;
  padding: 100px 0;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.comparison-card {
  background: white;
  border-radius: 15px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-10px);
}

.comparison-card h3 {
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  font-weight: 600;
}

.comparison-card .rating {
  color: #ff5722;
  font-size: 18px;
  margin-bottom: 15px;
}

.comparison-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.comparison-card .btn {
  background: #ff5722;
  color: white;
  padding: 12px 30px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Why Choose Us Section */
.why-choose-section {
  background: #ff5722;
  padding: 80px 0;
  color: white;
}

.why-choose-section .section-title {
  color: white;
}

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

.feature-card {
  background: white;
  color: #333;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: #e8f5e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
  color: #4caf50;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.feature-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-card .btn {
  background: #4caf50;
  color: white;
  padding: 8px 20px;
  font-size: 14px;
}

/* Buy Now Section */
.buy-now-section {
  padding: 80px 0;
  background: #f5f5f5;
}

.buy-now-section .section-title {
  color: #ff5722;
}

.mattress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.mattress-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff5722;
  color: white;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: bold;
}

.mattress-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.mattress-info {
  padding: 20px;
  text-align: center;
}

.mattress-info h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: #333;
}

.price {
  font-size: 18px;
  font-weight: bold;
  color: #1a237e;
  margin-bottom: 15px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  margin-right: 10px;
}

.view-btn {
  background: #1a237e;
  color: white;
  padding: 8px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  text-transform: uppercase;
}

/* Partnership Section */
.partnership-section {
  background: #ff5722;
  padding: 60px 0;
  color: white;
}

.partnership-section .section-title {
  color: white;
}

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

.partner-logo {
  background: white;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.partner-logo img {
  max-width: 100%;
  height: auto;
  max-height: 80px;
}

/* Video Section */
.video-section {
  padding: 80px 0;
  background: white;
}

.video-section .section-title {
  color: #ff5722;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.video-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 87, 34, 0.9);
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 20px;
  cursor: pointer;
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.testimonial-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
}

.testimonial-card .quote {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .author {
  font-weight: 600;
  color: #333;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #ff5722 0%, #e64a19 100%);
  padding: 80px 0;
  color: white;
  text-align: center;
}

.newsletter-content h2 {
  font-size: 36px;
  margin-bottom: 15px;
  font-weight: 700;
}

.newsletter-content p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
}

.newsletter-form button {
  background: #1a237e;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
}

/* Footer */
.footer {
  background: #333;
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: #00bcd4;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-methods {
  display: flex;
  gap: 10px;
}

.payment-methods img {
  height: 30px;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 36px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .search-bar {
    margin: 0;
    max-width: 100%;
  }

  .nav-menu {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: 32px;
  }
}
