/* Base Styles */
/*body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: #fff;
  padding: 15px 30px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 40px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s, background 0.3s;
  padding: 10px 15px;
  border-radius: 5px;
}

nav a:hover {
  background: rgb(255, 255, 255, 0.2);
  color: #4f4f4f;
}

nav .active {
  background: #0071e3;
  color: rgb(255, 255, 255);
}

section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  color: #ffffff;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #0071e3;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  transition: background 0.3s;
}

.btn:hover {
  background: #0077ed;
}

/* Carousel Styles */
/*.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 30px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 500px;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.996));
  color: white;
  padding: 30px;
  text-align: left;
}

.carousel-caption h3 {
  font-size: 2.5rem;
  margin: 0 0 10px 0;
}

.carousel-caption p {
  margin: 8px 0;
  font-size: 1.2rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.prev-btn {
  left: 30px;
}

.next-btn {
  right: 30px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: white;
}

/* Categories Section */
/*.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.category-card {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
}

.category-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  color: white;
}

.category-card.gaming {
  background: url('images/gaming-bg.jpg') center/cover;
}

.category-card.camera {
  background: url('images/camera-bg.jpg') center/cover;
}

.category-card.budget {
  background: url('images/budget-bg.jpg') center/cover;
}

/* Products Section */
/*.product-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0 30px;
}

.tab-btn {
  padding: 10px 20px;
  background: #f5f5f7;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.tab-btn.active {
  background: #0071e3;
  color: white;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 15px;
}

.product-info h3 {
  margin: 0 0 10px;
}

.price {
  font-weight: bold;
  font-size: 1.2rem;
  color: #111;
  margin: 5px 0;
}

.installment {
  color: #86868b;
  margin: 5px 0;
}

.product-badges {
  margin-top: 10px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.badge.gaming {
  background: #ff2d55;
  color: white;
}

.badge.camera {
  background: #34c759;
  color: white;
}

.badge.budget {
  background: #0071e3;
  color: white;
}

/* Promotion, About Us, and Register Section Styles */
/*section h2 {
  margin-top: 20px;
}

.error {
  color: red;
  font-size: 0.9rem;
}

/* Promotion Section Video Style */
/*#promotion video {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 20px auto;
}

/* Responsive Design */
/*@media (max-width: 768px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .carousel-track {
    height: 350px;
  }

  .carousel-caption h3 {
    font-size: 1.8rem;
  }

  header {
    flex-direction: column;
    padding: 15px;
  }

  nav ul {
    margin-top: 15px;
    gap: 15px;
  }
} */

/* Base Styles */
body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
}

/* Header Styles */
header {
  background-color: #111;
  color: #fff;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  height: 50px;
}

nav ul {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

nav a:hover, nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  color: #4f4f4f;
}

/* Responsive Header Styles */
@media (max-width: 767px) {
  header {
    padding: 10px 20px;
  }

  .logo {
    height: 40px;
  }

  nav ul {
    gap: 15px;
  }

  nav a {
    padding: 8px 12px;
    font-size: 14px;
  }
}

/* Home Section Styles */
#home {
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  padding: 100px 30px;
  text-align: center;
  color: #fff;
}

#home h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

#home p {
  font-size: 24px;
  margin-bottom: 40px;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 50%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-caption h3 {
  font-size: 36px;
  margin-bottom: 20px;
}

.carousel-caption p {
  font-size: 24px;
  margin-bottom: 30px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 36px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.carousel-btn.prev-btn {
  left: 20px;
}

.carousel-btn.next-btn {
  right: 20px;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
}

.carousel-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #fff;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #000;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #333;
}

/* Responsive Home Section Styles */
@media (max-width: 767px) {
  #home {
    padding: 80px 20px;
  }

  #home h1 {
    font-size: 36px;
  }

  #home p {
    font-size: 18px;
  }

  .carousel-caption h3 {
    font-size: 24px;
  }

  .carousel-caption p {
    font-size: 16px;
  }

  .carousel-btn {
    font-size: 18px;
    padding: 8px;
  }

  .carousel-btn.prev-btn {
    left: 10px;
  }

  .carousel-btn.next-btn {
    right: 10px;
  }
}

/* Categories Section Styles */
#categories {
  padding: 60px 30px;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.category-card {
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  transition: transform 0.3s;
}

.category-content h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.category-content p {
  font-size: 16px;
  margin-bottom: 20px;
}

.category-content .btn {
  display: inline-block;
  background-color: #0071e3;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.category-content .btn:hover {
  background-color: #0077ed;
}


/* Responsive Categories Section Styles */
@media (max-width: 767px) {
  #categories {
    padding: 40px 20px;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    padding: 30px;
  }

  .category-content h3 {
    font-size: 20px;
  }

  .category-content p {
    font-size: 14px;
  }
}

/* Products Section Styles */
#products {
  padding: 60px 30px;
}

.product-tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.tab-btn {
  background-color: #f2f2f2;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.tab-btn.active {
  background-color: #333;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.product-info .price {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.product-info .installment {
  font-size: 14px;
  color: #666;
}

.product-badges {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.badge {
  background-color: #f2f2f2;
  color: #333;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
}

.badge.gaming {
  background-color: #ff6b6b;
  color: #fff;
}

.badge.camera {
  background-color: #6b8af6;
  color: #fff;
}

.badge.budget {
  background-color: #4caf50;
  color: #fff;
}

/* Responsive Products Section Styles */
@media (max-width: 767px) {
  #products {
    padding: 40px 20px;
  }

  .product-tabs {
    margin-bottom: 30px;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card img {
    height: 180px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 16px;
  }

  .product-info .price {
    font-size: 14px;
  }

  .product-info .installment {
    font-size: 12px;
  }

  .badge {
    font-size: 10px;
    padding: 4px 8px;
  }
}

/* About Section Styles */
#about {
  padding: 60px 30px;
  text-align: center;
}

#about p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Responsive About Section Styles */
@media (max-width: 767px) {
  #about {
    padding: 40px 20px;
  }

  #about p {
    font-size: 14px;
  }
}

/* Register Section Styles */
#register-section {
  max-width: 600px;
  margin: 60px auto;
  padding: 0 20px;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

.btn {
  display: inline-block;
  background-color: #0071e3;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #0077ed;
}

/* Responsive Register Section Styles */
@media (max-width: 767px) {
  #register-section {
    margin: 40px auto;
    padding: 0 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  label {
    font-size: 14px;
  }

  input {
    font-size: 14px;
    padding: 8px;
  }

  .error-message {
    font-size: 12px;
  }

  .btn {
    font-size: 14px;
    padding: 8px 16px;
  }
}

