/* Custom CSS for Wembere Oil Mills - Bootstrap Overrides */

:root {
  --golden: #fbbf24;
  --golden-light: #fcd34d;
  --golden-dark: #f59e0b;
  --warm-bg: #fef9e7;
  --foreground: #3d2e1e;
  --muted-foreground: #6b5b4a;
  --border: #e5ddd5;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--warm-bg);
  color: var(--foreground);
  line-height: 1.6;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
}

.navbar-brand img {
  height: 2rem;
}

.nav-link {
  color: var(--foreground) !important;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--golden) !important;
  transform: scale(1.05);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--golden);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-golden {
  background-color: var(--golden);
  color: var(--foreground);
  font-weight: 700;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-golden:hover {
  background-color: var(--golden-dark);
  color: var(--foreground);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.4), transparent, rgba(0, 0, 0, 0.2));
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 6rem);
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--golden);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Cards */
.card {
  border: 2px solid var(--border);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--golden);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.card-golden {
  border: 2px solid rgba(251, 191, 36, 0.2);
}

.card-title {
  color: var(--foreground);
  font-weight: 700;
}

.text-golden {
  color: var(--golden) !important;
}

.text-muted-custom {
  color: var(--muted-foreground);
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.bg-warm {
  background-color: var(--warm-bg);
}

/* Product Images */
.product-image {
  width: 100%;
  max-width: 300px;
  max-height: 100%;
  height: auto;
  object-fit: contain;
}

/* Stats Cards */
.stat-card {
  border: 2px solid rgba(251, 191, 36, 0.2);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.8);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--golden);
}

/* Floating Contact Buttons */
.floating-contact {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.floating-btn.whatsapp {
  background-color: #25D366;
}

.floating-btn.whatsapp:hover {
  background-color: #20ba5a;
}

.floating-btn.phone {
  background-color: #007bff;
}

.floating-btn.phone:hover {
  background-color: #0056b3;
}

.floating-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: white;
}

/* Carousel */
.carousel-control-prev,
.carousel-control-next {
  width: 3rem;
  height: 3rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev {
  left: 1rem;
}

.carousel-control-next {
  right: 1rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Modal */
.modal-content {
  border-radius: 1rem;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  border-bottom: 1px solid var(--border);
}

.modal-footer {
  border-top: 1px solid var(--border);
}

/* Forms */
.form-control {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.form-control:focus {
  border-color: var(--golden);
  box-shadow: 0 0 0 0.2rem rgba(251, 191, 36, 0.25);
}

.form-label {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
}

/* Footer */
.footer {
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.5));
}

.footer-content {
  position: relative;
  z-index: 10;
}

.footer-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--golden);
}

/* Login Page */
.login-page {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.login-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Map */
.map-container {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Order Dialog Steps */
.order-step-indicator {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.order-step-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background-color: rgba(251, 191, 36, 0.3);
}

.order-step-dot.active {
  background-color: var(--golden);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .floating-contact {
    right: 1rem;
  }
  
  .floating-btn {
    width: 3rem;
    height: 3rem;
  }
  
  .section-padding {
    padding: 3rem 0;
  }
}

/* Utilities */
.shadow-custom {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rounded-custom {
  border-radius: 1rem;
}

