Untitled

 avatar
unknown
plain_text
19 days ago
3.7 kB
5
Indexable
/* General Styling */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Container for the page */
  .shop-container {
    font-family: Arial, sans-serif;
  }
  
  /* Navigation Bar */
  .shop-nav ul {
    display: flex;
    justify-content: space-around;
    list-style-type: none;
    padding: 10px 0;
    background-color: #804000;
    margin: 0;
  }
  
  .shop-nav ul li {
    cursor: pointer;
    font-weight: bold;
  }
  
  /* Hero Section */
  .hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full-screen height */
    overflow: hidden;
  }
  
  /* Text Overlay */
  .hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    padding: 20px;
    border-radius: 10px;
  }
  
  .hero-text-overlay h3 {
    font-size: 2rem;
    margin: 0 0 10px;
  }
  
  .hero-text-overlay p {
    font-size: 1.2rem;
    margin: 0 0 15px;
  }
  
  .shop-now-btn {
    padding: 10px 20px;
    background-color: #ff5722;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  /* Ensure full-width images for the HeroSlider */
  .slick-slider img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
  }
  
  /* Shop Categories Section */
  .shop-categories {
    margin: 40px auto;
    padding: 20px;
    text-align: center;
  }
  
  .shop-categories h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: bold;
  }
  
  /* .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
  } */
  
  /* Category Card Styling */
  /* .category-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
  }
  
  .category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .category-card .category-details {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px 15px;
    border-radius: 5px;
  }
  
  .category-card .category-details p {
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
    color: #444;
  }
  
  .category-card .category-details h3 {
    margin: 5px 0 0;
    font-size: 1.2rem;
    font-weight: bold;
    color: #000; */
  /* } */
  
  /* Hover Effect for Category Card */
  .category-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
  }

  html {
    scroll-behavior: smooth;
  }
  
  .shop-nav ul li.active {
    font-weight: bold;
    color: white; /* Highlight active category */
  }
  
  .category-section {
    padding: 50px;
    margin: 20px 0;
    background-color: #f4f4f4; /* You can customize this */
  }
  .categories-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .category-card {
    text-align: center;
    width: 250px;
    text-decoration: none;
    color: black;
  }
  
  .category-card img {
    width: 100%;
    border-radius: 10px;
  }
  
  .category-details {
    margin-top: 10px;
  }
  
  .category-details h3 {
    font-size: 20px;
  }
  
  .category-card:hover {
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
  }
  
Leave a Comment