/* Styles for Jutti Website */

:root {
  --primary-color: #d4af37;
  --secondary-color: #8b4513;
  --accent-color: #ff6b35;
  --text-dark: #2c2c2c;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  scroll-padding-top: 80px;
}
a {
  color: #fff;
  padding: 1%;
  text-decoration: none;
}

.navbar {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: all 0.3s ease-in-out;
  padding: 0.8rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff !important;
  letter-spacing: 0.5px;
}

.logo-img {
  width: 50px;
  height: auto;
  border-radius: 50%;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 500;
  font-size: 1rem;
  margin: 0 0.4rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  left: 50%;
  bottom: 0;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 60%;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}

.navbar-toggler {
  border: none;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.badge {
  font-size: 0.7rem;
  font-weight: 600;
  min-width: 20px;
  min-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive tweaks */
@media (max-width: 992px) {
  .navbar-nav .nav-link {
    padding: 0.5rem 0;
    text-align: center;
  }
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--accent-color)
  );
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 25px;
  transition: transform 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.product-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 2rem;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
  height: 351px;
  background: linear-gradient(
    45deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4rem;
}

.product-body {
  padding: 1.5rem;
}

.product-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.features-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 5rem 0;
}

.feature-box {
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.footer h5 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer .social-links a {
  color: white;
  font-size: 1.5rem;
  margin: 0 0.5rem;
  transition: color 0.3s;
}

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

.contact-section {
  background: white;
  padding: 5rem 0;
}

.contact-info {
  background: var(--secondary-color);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  height: 100%;
}

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

.contact-info .contact-item {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.contact-info .contact-item i {
  margin-right: 1rem;
  color: var(--primary-color);
  width: 20px;
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Enhanced Animations */
.product-card {
  animation: fadeInUp 0.6s ease-out;
}

.feature-box:hover .feature-icon {
  animation: pulse 2s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .feature-box {
    padding: 1rem;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .footer {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 2rem 0;
  }
}
