/*
===========================================================
              PC Phone Services
               Shop Page Styles
                Version: 2.0
          © 2025 PC Phone Services
             All Rights Reserved
===========================================================
*/

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 93vh;
  margin-top: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-background-shop {
  background-image: url("https://sitetest.pcphoneservices.eu/resources/images/stock/Shop/ShopPage.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  margin-top: 0;
}

.hero-content.show {
  opacity: 1;
  transform: translateY(0);
}

.hero-inner {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

/* ===== SEARCH COMPONENTS ===== */
.search-container {
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.search-form {
  width: 100%;
}

.search-input-wrapper {
  display: flex;
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-color-secondary);
  font-size: 1.2rem;
  z-index: 1;
}

.search-input-wrapper input {
  flex: 1;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  border: none !important;
  border-radius: 0;
  font-size: 1.1rem;
  background-color: var(--white);
  color: var(--text-color-primary);
  width: 100%;
  margin-top: 0;
}

.search-input-wrapper input:focus {
  outline: none;
  box-shadow: none;
  border-color: transparent !important;
}

.search-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 0 2rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-transform: uppercase;
}

.search-btn:hover {
  background-color: var(--secondary-color);
}

/* ===== TRENDING TAGS ===== */
.trending-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trending-label {
  color: var(--white);
  font-weight: 600;
  margin-right: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  color: var(--white) !important;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: var(--primary-color);
  transform: translateY(-2px);
  color: var(--white) !important;
}

/* ===== PROMOTION BANNER ===== */
.promo-banner {
  display: flex;
  background: linear-gradient(135deg, #231f20 0%, #3a3536 100%);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: 0 1.5rem;
}

.promo-banner img {
  border-radius: 100%;
}

.promo-content {
  padding: 3rem;
  color: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-content h3 {
  color: var(--primary-color);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.promo-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: left;
  color: var(--white) !important;
}

.promo-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  opacity: 0.8;
  color: var(--white) !important;
}

.banner-btn {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  color: var(--white) !important;
  padding: 0.8rem 1.5rem;
  border-radius: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  transition: all 0.3s ease;
  align-self: flex-start;
  text-decoration: none;
}

.banner-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.banner-btn:hover {
  background-color: var(--white);
  color: var(--secondary-color) !important;
}

.banner-btn:hover i {
  transform: translateX(4px);
}

.promo-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.05);
}

.promo-image img {
  max-width: 200px;
  max-height: 200px;
  object-fit: contain;
}

/* ===== CATEGORY GRID ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 0 auto;
}

.category-card {
  background-color: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  padding: 2rem 1.5rem;
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.category-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
}

.category-card img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin: 0 auto 1.5rem;
  transition: all 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-color-primary);
  margin-bottom: 0.75rem;
}

.category-card p {
  color: var(--text-color-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.category-btn {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.category-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.category-btn:hover {
  color: var(--secondary-color) !important;
}

.category-btn:hover i {
  transform: translateX(4px);
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-subtitle {
  color: var(--text-color-secondary);
  font-size: 1.1rem;
  max-width: 700px;
  margin: -1rem auto 1.5rem;
}

/* ===== FEATURES SECTION ===== */
#features-section {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.features-container {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #f8f3e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.feature-info h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-color-primary);
  margin-bottom: 0.25rem;
}

.feature-info p {
  color: var(--text-color-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-container {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .hero-inner {
    padding: 2rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .promo-banner {
    flex-direction: column;
  }

  .promo-content {
    padding: 2rem;
    text-align: center;
  }

  .promo-content h2 {
    text-align: center;
    font-size: 2rem;
  }

  .banner-btn {
    align-self: center;
  }

  /* Enhanced mobile search styling */
  .search-container {
    max-width: 100%;
    margin: 0 auto 1rem;
  }

  .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border-radius: 2rem;
    background-color: var(--white);
  }

  .search-icon {
    position: absolute;
    left: 1rem;
    color: #666;
    font-size: 1rem;
    z-index: 1;
  }

  .search-input-wrapper input {
    flex: 1;
    height: 48px;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    background-color: transparent;
    color: var(--text-color-primary);
    font-size: 1rem;
    text-align: left;
  }

  .search-input-wrapper input::placeholder {
    color: rgba(0, 0, 0, 0.4);
  }

  .search-btn {
    height: 48px;
    padding: 0 1.5rem;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .hero-inner .search-input-wrapper input {
    color: #333 !important;
    background-color: white !important;
  }

  .hero-inner .search-input-wrapper {
    background-color: white !important;
  }
}

@media (max-width: 480px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .search-btn {
    min-width: 48px;
    padding: 0 1rem;
  }

  .search-btn-text {
    display: none;
  }

  .search-btn-icon {
    display: inline-block;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .search-btn {
    width: 48px;
    padding: 0;
    font-size: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .search-btn::after {
    content: "\f002";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1rem;
  }
}

.search-btn-icon {
  display: none;
}

@media (max-width: 480px) {
  .search-btn-icon {
    display: inline-block;
  }
}