/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("images/media-hero.jpg");
  background-size: cover;
  background-position: center;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.search-container input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.search-container button {
  padding: 15px 30px;
  background: #ff6b00;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.search-container button:hover {
  background: #cc5500;
}

/* Categories Section */
.categories-section {
  padding: 60px 20px;
  background: #f8f9fa;
}

.categories-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.category-card i {
  font-size: 2.5rem;
  color: #ff6b00;
  margin-bottom: 20px;
}

.category-card h3 {
  font-size: 1.2rem;
  color: #333;
}

/* Sub-brands Section */
.sub-brands-section {
  padding: 60px 20px;
}

.sub-brands-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

.sub-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.sub-brand-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.3s;
}

.sub-brand-card:hover {
  background: #e9ecef;
}

.sub-brand-card h3 {
  color: #ff6b00;
  margin-bottom: 15px;
}

/* Newsletter Section */
.newsletter-section {
  background: #ff6b00;
  color: white;
  padding: 60px 20px;
  text-align: center;
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

.newsletter-form button {
  padding: 15px 30px;
  background: #cc5500;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #993f00;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .search-container {
    flex-direction: column;
  }

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

  .category-grid,
  .sub-brands-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
.main-footer {
  background: #333;
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  display: flex;
  justify-content: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-section {
  flex: 0 1 auto;
}

.dropbtn {
  background-color: transparent;
  color: white;
  padding: 10px 20px;
  border: 1px solid white;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dropbtn:hover {
  background-color: #ff6b00;
  border-color: #ff6b00;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 5px;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #ff6b00;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-bg-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3vw;
  opacity: 0.45;
  filter: blur(1.5px);
  padding: 0 2vw;
}

.hero-bg-images .reader-img {
  max-width: none;
  width: 32vw;
  min-width: 200px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.18);
  border: 3px solid #ff6b00;
  background: #fff;
  opacity: 0.95;
  animation: float-horizontal 8s linear infinite;
}

.hero-bg-images .reader-img:nth-child(1) {
  animation-delay: 0s;
}
.hero-bg-images .reader-img:nth-child(2) {
  animation-delay: 2.5s;
}
.hero-bg-images .reader-img:nth-child(3) {
  animation-delay: 5s;
}

@keyframes float-horizontal {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(30px);
  }
  100% {
    transform: translateX(0);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}
