/* store.css */

/* Reset dan base style */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Raleway", sans-serif;
  color: #ffffff;
  background-color: #0a0a0a;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero section dengan image background */
.hero {
  position: relative;
  height: 50vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Image background styling */
.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.8),
    rgba(0, 0, 0, 0.5)
  );
}

/* Hero content styling */
.hero-content {
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
  animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 60px;
  font-weight: 900;
  letter-spacing: 5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(125, 95, 255, 0.8);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px rgba(125, 95, 255, 0.8);
  }
  to {
    text-shadow: 0 0 20px rgba(125, 95, 255, 1),
      0 0 30px rgba(125, 95, 255, 0.7);
  }
}

.tagline {
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 20px;
  color: #e0e0e0;
}

/* Container untuk semua konten */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Store content section */
.store-content {
  padding: 60px 0;
  background-color: #0c0c14;
  position: relative;
}

/* Ambient background elements */
.store-content::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(125, 95, 255, 0.03);
  filter: blur(100px);
  z-index: 0;
  top: -100px;
  right: 10%;
}

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #7d5fff;
  margin-bottom: 15px;
  letter-spacing: 3px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #7d5fff;
}

.section-description {
  font-size: 18px;
  color: #b3b3cc;
  max-width: 600px;
  margin: 0 auto;
}

/* Products container */
.products-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Product card */
.product-card {
  display: flex;
  background: rgba(15, 15, 25, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(125, 95, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover,
.product-card.active {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(125, 95, 255, 0.4);
}

/* Product image */
.product-image {
  flex: 0 0 40%;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Product info */
.product-info {
  flex: 0 0 60%;
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffffff;
}

.product-price {
  font-size: 20px;
  font-weight: 600;
  color: #7d5fff;
  margin-bottom: 20px;
}

.product-description {
  flex: 1;
}

.product-description p {
  font-size: 16px;
  line-height: 1.7;
  color: #b3b3cc;
  margin-bottom: 15px;
}

.product-features {
  list-style-type: none;
  margin-bottom: 20px;
}

.product-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: #b3b3cc;
}

.product-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #7d5fff;
}

/* Buy button */
.buy-button {
  background: rgba(125, 95, 255, 0.2);
  border: 1px solid #7d5fff;
  color: #ffffff;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  letter-spacing: 1px;
}

.buy-button:hover {
  background: rgba(125, 95, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(125, 95, 255, 0.3);
}

/* Store info section */
.store-info {
  padding: 60px 0;
  background-color: #0a0a12;
  position: relative;
}

.store-info::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(125, 95, 255, 0.03);
  filter: blur(100px);
  z-index: 0;
  bottom: -100px;
  left: 10%;
}

.info-container {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.info-card {
  flex: 1;
  background: rgba(15, 15, 25, 0.5);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  border: 1px solid rgba(125, 95, 255, 0.2);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  color: #7d5fff;
}

.info-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.info-card p {
  font-size: 15px;
  color: #b3b3cc;
}

/* ====== MEDIA QUERIES UNTUK RESPONSIVITAS ====== */

/* Tablet (768px - 1023px) */
@media screen and (max-width: 1023px) {
  h1 {
    font-size: 48px;
    letter-spacing: 3px;
  }

  .tagline {
    font-size: 20px;
  }

  .product-title {
    font-size: 22px;
  }

  .product-description p {
    font-size: 15px;
  }

  .info-container {
    flex-direction: column;
    max-width: 600px;
    margin: 0 auto;
  }
}

/* Mobile Landscape (576px - 767px) */
@media screen and (max-width: 767px) {
  .hero {
    height: 40vh;
  }

  h1 {
    font-size: 36px;
    letter-spacing: 2px;
  }

  .tagline {
    font-size: 18px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-description {
    font-size: 16px;
  }

  .product-card {
    flex-direction: column;
  }

  .product-image {
    height: 250px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-price {
    font-size: 18px;
  }

  .buy-button {
    width: 100%;
    text-align: center;
  }
}

/* Mobile Portrait (until 575px) */
@media screen and (max-width: 575px) {
  .hero {
    height: 35vh;
  }

  h1 {
    font-size: 30px;
    letter-spacing: 1px;
    margin-bottom: 10px;
  }

  .tagline {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .section-description {
    font-size: 15px;
  }

  .product-image {
    height: 200px;
  }

  .product-info {
    padding: 20px;
  }

  .product-features li {
    font-size: 14px;
  }

  .info-card {
    padding: 20px;
  }

  .info-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 15px;
  }

  .info-card h3 {
    font-size: 16px;
  }

  .info-card p {
    font-size: 14px;
  }
}

/* Untuk layar sangat kecil (< 360px) */
@media screen and (max-width: 359px) {
  h1 {
    font-size: 24px;
  }

  .tagline {
    font-size: 14px;
  }

  .section-title {
    font-size: 20px;
  }

  .product-title {
    font-size: 18px;
  }

  .product-price {
    font-size: 16px;
  }

  .product-description p {
    font-size: 14px;
  }

  .buy-button {
    font-size: 14px;
    padding: 10px 20px;
  }
}
