/* Custom Styles for Golden Honey Project */

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Open+Sans&display=swap');

body {
    font-family: 'Open Sans', sans-serif;
    background-color: #FFF9E6;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(255,215,0,0.05) 0%, transparent 20%),
      radial-gradient(circle at 90% 80%, rgba(255,215,0,0.05) 0%, transparent 20%);
    padding-top: 70px; /* Needed for fixed navbar */
  }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFECB3 100%);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
  }
    
  .gold-gradient {
    background: linear-gradient(to right, #D4AF37, #F9D423);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }
  
  .text-brown {
    color: #5C3A21;
  }
  
  .hero-img {
    animation: float 6s ease-in-out infinite;
    max-height: 500px;
  }
  
  /* Animated Bees */
  .bee {
    position: absolute;
    width: 40px;
    opacity: 0.8;
    animation: fly 15s linear infinite;
  }
  .bee-1 {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
  }
  .bee-2 {
    top: 60%;
    left: 80%;
    animation-delay: 3s;
  }
  
  /* Animations */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }
  
  @keyframes fly {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, 50px) rotate(5deg); }
    50% { transform: translate(100px, 0) rotate(0deg); }
    75% { transform: translate(50px, -50px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
  }


/* Navbar */
.navbar {
    transition: all 0.3s ease;
    padding: 15px 0;
  }
  .navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .bg-gradient {
    background: linear-gradient(135deg, #5C3A21 0%, #8B5A2B 100%);
  }
  .navbar-brand {
    display: flex;
    align-items: center;
  }
  .brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    
    /* Gradient text */
    background: linear-gradient(to right, #FFD700, #FFEC8B);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Fallback */
    
    /* For Firefox */
    display: inline-block; /* Required for Firefox */
  }
  .nav-link {
    position: relative;
    margin: 0 10px;
    font-weight: 500;
    color:#F9D423;
  }
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #FFD700;
    transition: width 0.3s ease;
  }
  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  .navbar {
background-color:#8B5A2B;
}

.navbar-brand {
  color: #F9D423;  
}

/* Buttons */
.btn-warning {
    background-color: #FFD700;
    border: none;
    padding: 10px 25px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
  }
  .btn-warning:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
  }
  .btn-warning::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: all 0.5s ease;
    z-index: -1;
  }
  .btn-warning:hover::before {
    left: 100%;
  }

/* Gallery Images */
.gallery img {
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  aspect-ratio: 1/1; /* Square format */
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: rgba(92, 58, 33, 0.85);
  color: white;
  padding: 1rem;
  transition: bottom 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  bottom: 0;
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-card {
    aspect-ratio: 16/9; /* Wider on mobile */
  }
}

/* Counter Styles */
.counter-box {
    padding: 20px;
    background: #FFF9E6;
    border-radius: 10px;
    margin: 10px;
  }
  .counter {
    font-size: 2.5rem;
    color: #5C3A21;
  }
  
  .product-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
  }
  .product-card:hover {
    transform: translateY(-5px);
  }
  .product-card img {
    height: 250px;
    object-fit: cover;
    object-position: center;
  }
  .quantity-selector {
    display: flex;
    align-items: center;
  }
  .quantity {
    min-width: 30px;
    text-align: center;
  }

  /* Cart Sidebar */
  .cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s;
    z-index: 1050;
    padding: 20px;
  }
  .cart-sidebar.active {
    right: 0;
  }
  .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }
  @media (max-width: 576px) {
    .cart-sidebar {
      width: 100%;
    }
  }

.quantity-selector {
  display: flex;
  align-items: center;
}

.quantity {
  min-width: 30px;
  text-align: center;
}

#cart-items {
  max-height: 300px;
  overflow-y: auto;
}

/* Footer */
footer {
    background-color: #5C3A21;
}