/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&display=swap');

/* Global Variables */
:root {
    --primary-color: #ff7f00;  /* Bright Orange */
    --secondary-color: green;  /* Fresh Green */
    --background-color: #eff0f0; /* Light Background */
    --highlight-color: #ff4500;  /* Warm Accent */
    --card-bg-color: #fff; /* White Background for Cards */
    --shadow-color: rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}
.container, .content, .product-card {
  margin: 0 auto;
  padding: 20px;
  max-width: 1200px; /* or any other width based on your design */
}

/* Cart Button */
.cart-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--primary-color); /* Keep the theme color */
  border: none;
  border-radius: 50%;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Slightly stronger shadow for depth */
  cursor: pointer;
  transition: all 0.3s ease-in-out; /* Smooth transition */
  z-index: 1000;
}

/* Hover effect */
.cart-btn:hover {
  background-color: #ff0f0f; /* Red color for hover */
  transform: scale(1.1) translateY(-2px); /* Add lift effect */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

/* Icon Style */
.cart-btn i {
  font-size: 24px;
  color: white;
}

/* Cart Counter */
.cart-counter {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--secondary-color); /* Keep secondary color */
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Soft shadow for the counter */
  transition: transform 0.2s ease-in-out; /* Smooth animation on hover */
}

/* Counter Hover Effect */
.cart-btn:hover .cart-counter {
  transform: scale(1.1); /* Slight scaling effect on hover */
}


* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    color: #333;  /* Dark Text Color for readability */
}

/* Navbar */
.navbar {
    background-color: #fff;
    box-shadow: 0 4px 10px var(--shadow-color); /* Soft shadow for navbar */
    padding: 1rem 2rem; /* Spacing */
    font-size: 16px;
    margin-bottom: -1rem;
}

.navbar .navbar-brand img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.navbar .navbar-toggler {
    border: none;
}

.navbar-nav {
    font-weight: 500;
}

.nav-item .form-control {
    border-radius: 20px;
    margin-right: 1rem;
    padding: 0.5rem 1rem;
}

.navbar .nav-link {
    color: #333;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--primary-color);
}
#results {
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-top: 1rem;
  padding: 10px;
  max-height: 300px;
  overflow-y: auto;
  background-color: #f9f9f9;
}

.result-item {
  padding: 8px;
  border-bottom: 1px solid #ddd;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item strong {
  color: #333;
}

.result-item span {
  color: var(--primary-color);
  font-size: 14px;
}

/* Category Section */
#category-section {
    padding: 30px 160px;
    margin-bottom: 3rem;
    background-color: var(--background-color);
    border-radius: 0 0 100px 80px;
    box-shadow: 0 4px 10px var(--primary-color); /* Soft shadow */
    transition: background-color 0.3s ease;
}

#category-section .btn {
    background-color: var(--secondary-color);
    color: white;
    font-weight: 500;
    border: none;
    padding: 1rem;
    text-align: center;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#category-section .btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px); /* Hover effect */
}

/* Store Container */
.store-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  background-color: #fff;
}

/* Store Title */
.store-title {
  font-size: 30px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
}

/* Product List */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

.product-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  width: calc(33.333% - 20px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-card {
  padding: 15px;
  text-align: center;
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.rating {
  color: var(--primary-color);
  font-size: 14px;
}

.verified-seller {
  font-size: 14px;
  color: var(--secondary-color);
  display: inline-block;
  margin-top: 5px;
}

.quantity-input {
  width: 50px;
  padding: 5px;
  margin-top: 10px;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.add-to-cart-btn {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 5px;
  display: inline-block;
  margin-top: 10px;
  text-align: center;
}

.add-to-cart-btn:hover {
  background-color: var(--secondary-color);
}

.add-to-cart-btn i {
  margin-right: 5px;
}

/* Cart Section */
.cart-section {
  background-color: #fff;
  padding: 20px;
  margin-top: 50px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-section h4 {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
}

.cart-items-list {
  list-style-type: none;
  padding: 0;
}

.cart-items-list li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.cart-total {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.checkout-btn {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  display: block;
  margin-top: 20px;
  text-align: center;
}

.checkout-btn:hover {
  background-color: transparent;
  border: 1px solid;
  color: #111;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .product-item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .product-item {
    width: 100%;
  }

  .store-title {
    font-size: 20px;
  }

  .cart-section {
    margin-top: 30px;
  }

  .checkout-btn {
    font-size: 14px;
  }
}

/* Styling for Quantity Input */
.quantity-input {
  padding: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
  text-align: center;
}

.quantity-input:focus {
  outline: none;
  border-color: var(--primary-color);
}



.success-page {
  display: none;
  text-align: center;
  margin-top: 50px;
}

.success-page h2 {
  color: #28a745;
  font-size: 32px;
}

.success-page p {
  font-size: 20px;
}

.btn-continue {
  background-color: var(--primary-color);
  color: white;
}

.btn-continue:hover {
  background-color: var(--highlight-color);
}
/* Footer */
.footer-section {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 50px 0;
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-column {
  width: 22%;
  margin-bottom: 30px;
}

.footer-title {
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  text-decoration: none;
  color: #ddd;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
}

/* Email Subscription */
.subscribe-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.subscribe-form input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px;
  outline: none;
}

.subscribe-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.subscribe-form button:hover {
  background-color: #fff;
  color: var(--primary-color);
}

/* App Download Section */
.app-download {
  text-align: center;
  position: relative;
}

.phone-mockup img {
  width: 100px;
  height: auto;
}

.download-buttons {
  margin-top: 15px;
}

.download-buttons img {
  width: 120px;
  margin: 5px;
  transition: 0.3s;
}

.download-buttons img:hover {
  transform: scale(1.05);
}

/* Services Section */
.services-section {
  background-color: #111;
  padding: 50px 0;
}

.services-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.services-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.service-box {
  text-align: center;
  color: #fff;
  margin: 20px;
  width: 200px;
}

.icon-circle {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
}

.icon-circle i {
  font-size: 24px;
  color: #fff;
}

.service-box p {
  font-size: 14px;
  font-weight: bold;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  .footer-column {
    width: 48%;  /* Make columns 2 per row on tablets */
    margin-bottom: 20px;
  }

  .footer-row {
    justify-content: space-evenly;  /* Space evenly for better alignment */
  }

  .service-box {
    width: 150px;  /* Smaller service box size on smaller screens */
  }

  .services-row {
    justify-content: space-evenly; /* Center the service boxes */
  }

  .subscribe-form {
    flex-direction: column;
  }

  .subscribe-form input,
  .subscribe-form button {
    width: 100%;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .footer-column {
    width: 100%;  /* Full width columns on mobile */
    margin-bottom: 20px;
  }

  .service-box {
    width: 100%;  /* Full width service box on mobile */
    margin-bottom: 15px;
  }

  .icon-circle {
    width: 50px;
    height: 50px;
  }

  .icon-circle i {
    font-size: 20px;
  }
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .navbar .navbar-collapse {
        padding-top: 10px;
    }

    #category-section {
        padding: 20px 30px;
    }

    .product-card {
        margin-bottom: 15px;
    }

    .navbar-nav {
        font-size: 14px; /* Smaller text for mobile */
    }

    .navbar .navbar-toggler {
        font-size: 20px;
    }
}
