:root {
  --dark-green: #1a472a;
  --orange: #ff6b35;
  --white: #ffffff;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  padding-top: 80px;
}

.navbar {
  background-color: var(--dark-green);
  padding: 1rem 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  color: var(--white);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.navbar-brand:hover {
  color: var(--orange);
}

.nav-link {
  color: var(--white);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  margin: 0 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.nav-link:hover {
  color: var(--orange);
  background-color: rgba(255, 107, 53, 0.1);
}

.cart-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-buttons button {
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
}

.cart-buttons button:hover {
  color: var(--orange);
}

.search-form {
  position: relative;
  margin-right: 1rem;
}

.search-form input {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  border-radius: 2rem;
  width: 200px;
  transition: all 0.3s ease;
}

.search-form input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-form input:focus {
  background: rgba(255,255,255,0.15);
  border-color: var(--orange);
  outline: none;
  width: 250px;
}

.search-form button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.search-form button:hover {
  color: var(--orange);
}

.navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.5);
}

.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.breadcrumb {
  margin: 1rem 0;
  padding: 0.5rem 1rem;
  background-color: rgba(26, 71, 42, 0.1);
  border-radius: 0.25rem;
}

.snipcart-items-count {
  color: var(--white);
  margin-left: 0.5rem;
  font-weight: 600;
  background-color: var(--orange);
  padding: 0.2rem 0.5rem;
  border-radius: 50%;
  min-width: 20px;
  display: inline-block;
  text-align: center;
  font-size: 0.85rem;
}

.footer {
  background-color: var(--dark-green);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer h5 {
  color: var(--orange);
  font-family: 'Titillium Web', sans-serif;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1rem;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--dark-green);
  color: var(--white);
  padding: 1rem;
  z-index: 1000;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-consent button {
  background-color: var(--orange);
  border: none;
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  margin-left: 1rem;
}

.cookie-consent button:hover {
  opacity: 0.9;
}

.product-description {
  font-size: 1.1rem;
  line-height: 1.6;
}

.product-features {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(26, 71, 42, 0.1);
}

.product-features h3 {
  color: var(--dark-green);
  margin-bottom: 1rem;
}

.product-features ul {
  list-style: none;
  padding-left: 0;
}

.product-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.product-features li:before {
  content: "•";
  color: var(--orange);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.contact-info {
  background: linear-gradient(135deg, var(--dark-green), #2a573a);
  color: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
}

.contact-info h3 {
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.contact-info i {
  color: var(--orange);
  margin-right: 0.5rem;
  width: 20px;
}

.contact-form {
  background: rgba(26, 71, 42, 0.05);
  padding: 2rem;
  border-radius: 0.5rem;
}

.contact-form .form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.map-container {
  height: 400px;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 2px solid var(--dark-green);
}

.contact-hours {
  background: linear-gradient(45deg, #1a472a, #2a573a);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 2rem;
}

.contact-hours h4 {
  color: var(--orange);
  margin-bottom: 1rem;
}

.contact-hours ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-hours li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Carousel Styles */
.hero {
  position: relative;
  overflow: hidden;
  margin-top: -80px;
  padding-top: 80px;
}

#heroCarousel {
  height: 600px;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100%;
  position: relative;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
  filter: brightness(0.7);
  transition: transform 0.6s ease, filter 0.6s ease;
}

.carousel-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  padding: 2rem;
  background: rgba(26, 71, 42, 0.7);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  max-width: 600px;
  width: 90%;
}

.carousel-caption h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease;
}

.carousel-caption p {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.carousel-caption .btn {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  background-color: var(--orange);
  border: none;
  transition: all 0.3s ease;
  animation: fadeInUp 1.2s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.carousel-caption .btn:hover {
  background-color: #ff8555;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.carousel-indicators {
  bottom: 30px;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  border: 2px solid var(--white);
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  background-color: var(--orange);
  border-color: var(--orange);
  transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(26, 71, 42, 0.7);
  border-radius: 50%;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  opacity: 1;
  background-color: var(--orange);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navbar items alignment */
.navbar-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  justify-content: flex-start;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar-nav .nav-item .nav-link {
  white-space: nowrap;
  text-align: center;
}

/* Responsive Images - Uniform Size */
.card-img-top,
.category-card img,
.team .card-img-top {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

/* Product detail page images */
.container .row .col-md-6 img.img-fluid {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

/* Category card images */
.category-card {
  overflow: hidden;
  border-radius: 8px;
}

.category-card img {
  transition: transform 0.3s ease;
}

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

/* Product card images */
.card {
  overflow: hidden;
}

.card-img-top {
  transition: transform 0.3s ease;
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* Team section images */
.team .card-img-top {
  height: 250px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .card-img-top,
  .category-card img,
  .team .card-img-top {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .card-img-top,
  .category-card img,
  .team .card-img-top {
    height: 200px;
  }
  
  .container .row .col-md-6 img.img-fluid {
    height: 300px;
  }
}
