*{
  font-family: 'Audiowide', cursive;
}

body {
    background: url('/Images/36c8a2535c5345a9916b9975c6e75eb5.jpg') no-repeat center center/cover;
    color: #ffffff;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9 )40%, rgba(255, 255, 255) 60%); */
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 50px;

  background-size: cover; /* Makes the image cover the entire element */
  background-position: center; 
    border-radius: 20px;
    margin: 20px;
}

.hero-text {
    text-align: left;
    max-width: 500px;
}

.hero-text h1 {
    font-size: 50px;
    color: #87CEEB;
}

.hero-text span {
    color: white;
}

.hero button {
    background: red;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

.hero-image img {
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    width: 600px;
}

.hero-image:hover{
    transform: scale(1.1); /* Zoom effect */
    filter: drop-shadow(0 0 20px rgba(0, 170, 255, 0.8));
}
/* Categories Section */
.categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 50px;
}

.category-card {
    width: 250px;
    height: 200px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
    filter: drop-shadow(0 0 20px rgba(0, 170, 255, 0.8));
}

/* Hover effect: pop out */
.category-card:hover {
    transform: scale(1.1); /* Makes the card pop out */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adds a shadow for more emphasis */
}
/* Background Images */
.earphone { background-image: url('Images/IMG_20250327_163419_673.jpg'); }
.gadget { background-image: url('Images/IMG_20250327_163520_138.jpg'); }
.laptop { background-image: url('Images/IMG_20250327_173529_251.jpg'); }
.console { background-image: url('Images/IMG_20250327_163550_553.jpg'); }
.vr { background-image: url('Images/IMG_20250327_163758_819.jpg'); }

.bjg{
    color: #87CEEB;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 20px;
    
}
/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 30px;
    background: #fff;
    margin: 20px;
    border-radius: 20px;
}

/* Individual feature styling */
.feature {
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image size */
.feature img {
    width: 60px; /* Adjust size */
    transition: transform 0.3s ease;
}

/* Hover Effect */
.feature:hover {
    transform: scale(1.1); /* Makes the feature pop out */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); /* Adds a shadow effect */
}

/* Optional: Make the images pop slightly too */
.feature:hover img {
    transform: scale(1.15);
}

/* Category Buttons */
.category-card button {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 30px;
    background: #fff;
    margin: 20px;
    border-radius: 20px;
}

.feature img {
    width: 40px;
}

.feature p {
    margin-top: 10px;
    color: black;
}
/* Category Section */
.categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.category-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

/* Styling for category cards */
.category-card {
    width: 250px;
    height: 200px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    width: 400px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}



/* Tablets and Medium Devices */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text h2.bjg {
    font-size: 18px;
  }

  .hero-image img {
    width: 80%;
  }

  .categories {
    gap: 30px;
    padding: 30px;
  }

  .category-container {
    flex-wrap: wrap;
  }

  .category-card {
    width: 300px;
    height: 180px;
    font-size: 16px;
  }

  .features {
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px;
  }

  .feature img {
    width: 50px;
  }
}

/* Phones and Small Devices */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text h2.bjg {
    font-size: 16px;
  }

  .hero-image img {
    width: 100%;
  }

  .category-card {
    width: 90%;
    font-size: 15px;
    height: auto;
    padding: 20px;
  }

  .features {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .feature {
    width: 100%;
    max-width: 300px;
  }

  .feature img {
    width: 40px;
  }

  .feature p {
    font-size: 14px;
  }
}

/* Extra Small Devices (phones < 480px) */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text h2.bjg {
    font-size: 14px;
  }

  .category-card {
    font-size: 14px;
    width: 100%;
  }

  .feature p {
    font-size: 13px;
  }

  .category-container {
    flex-direction: column;
    align-items: center;
  }
}
