/* ========== CSS Variables ========== */
:root {
    --primary-color: #000000;
    --secondary-color: #b3ff00;
    --accent-color: #e8e8e8;
    --light-color: #f9f9f9;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --text-light: #000000;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    line-height: 1.6;
    color: #000000;
    background-color: white;
    overflow-x: hidden;
}

/* ========== Header ========== */
.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.header-container {
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container img {
    align-items: center;
    width: 144.66px;
}

.header-spacer {
    /* empty, used for symmetry */
}

.logo {
    justify-self: center;
    gap: 10px;
}

.logo h1 {
    font-size: 28px;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.sub-header {
    padding: 18px 24px;
    background-color: #b3ff00;
}

.mobile-only {
    display: none;
}

/* ========== Navigation ========== */
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    position: relative;
}

.nav-item {
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: #000000;
        text-shadow: 0 3px 5px rgb(27 27 27 / 45%);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ========== Dropdown Menu ========== */
.dropdown {
    position: fixed;
    left: 0;
    top: auto;
    width: 100%;
    background: white;
    border-top: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s ease;
    z-index: 999;
    border-bottom: solid 2px;
    border-color: #aad86e;
}

.dropdown-inner {
    max-width: 1200px;
    margin: auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.dropdown-col h4 {
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dropdown-col a {
    display: block;
    text-decoration: none;
    color: #444;
    font-size: 14px;
    margin-bottom: 8px;
}

@media (min-width: 769px) {
    .nav-item.has-dropdown:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.nav-item.open .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    position: static;
}

/* ========== Header Actions ========== */
.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions i {
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.header-actions i:hover {
    color: var(--secondary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ========== Hero Section ========== */
.hero {
    background: url('Files/Banner\ 1.jpg');
    height: 600px;
    background-size: cover;
    background-position: center;
    color: rgb(0, 0, 0);
    padding: 100px 0;
    text-align: center;
}

.hero-content {
    max-width: 790px;
    margin: 75px auto;
    margin-left: -8px;
}

.container.hero-content {
    /* empty */
}

.hero h2 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: #000000;
    padding: 12px 30px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn:hover {
    background-color: #a87c4c;
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ========== Categories Section ========== */
.categories {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.category-grid {
        padding: 12px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.category-card {
     display: flex;
     justify-content: center;
     align-items: center;
     height: 235px;
     background-color: #b3ff00;
     border-radius: 10px;
     overflow: hidden;
     box-shadow: var(--shadow);
     transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-img {
    height: 200px;
    overflow: hidden;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-img img {
    transform: scale(1.1);
}

.category-info {
    padding: 20px;
    text-align: center;
}

.category-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #222222;
    text-shadow: 0 3px 5px rgb(27 27 27 / 45%);

}

/* ========== Featured Products ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
    margin-bottom: 25px;
}

.product-card {
  overflow: hidden;
  border-radius: 14px;
}

.product-img {
  height: 320px;
  background-size: cover;
  background-position: center;
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  transition: transform 0.4s ease;
}

/* dark overlay */
.product-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.068);
  transition: background 0.4s ease;
}

.product-img h3 {
    padding: 12px;
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 24px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* hover effect */
.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-card:hover .product-img::before {
  background: rgba(0,0,0,0.45);
}

/* mobile */
@media (max-width: 768px) {
  .product-img {
    height: 240px;
  }
}



.section-title a{
  display: inline-flex;              /* key fix */
  justify-content: center;
  align-items: center;

  text-decoration: none;
  font-weight: 700;
  color: #000000;

  background: #b7ff2a;               /* cleaner than raw greenyellow */
  padding: 16px 32px;
  width: 150px;
  height: 40px;

  border-radius: 50px;
  border: none;
  cursor: pointer;
  margin-bottom: 25px;
}
/* ========== Values Section ========== */
.values {
    padding: 80px 0;
    background-color: #d4d4d4;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 30px 20px;
}

.value-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* ========== Footer ========== */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: 0;
    left: 0;
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 14px;
}

/* ========== Responsive Styles ========== */
@media (max-width: 992px) {
    .hero h2 {
        font-size: 38px;
    }
    
    .nav-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-links.active {
        left: 0;
    }

    .header-actions {
        gap: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 30px;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 70px 0;
    }

    .hero h2 {
        font-size: 28px;
    }

    .categories, .featured-products, .values {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 26px;
    }
}








/* ============================ */

.today-deal {
  padding: 80px 0;
  background: #f7f7f7;
}

.today-deal .heading {
  text-align: center;
  font-size: 32px;
  letter-spacing: 2px;
  margin-bottom: 50px;
  font-weight: 700;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* IMAGE */
.product-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

/* INFO */
.product-info {
  padding: 18px;
  text-align: center;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* PRICE */
.price {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.current-price {
  font-size: 18px;
  font-weight: 700;
}

.old-price {
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
}

/* BUTTON */
.add-cart {
  width: 100%;
  padding: 12px 0;
  border: none;
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease;
}

.add-cart:hover {
  background: #222;
}

/* MOBILE */
@media (max-width: 768px) {
  .product-img {
    height: 260px;
  }

  .today-deal {
    padding: 60px 0;
  }
}
