/* styles.css - Bhagat Trading Company Landing Page */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Variables */
:root {
  /* Colors */
  --primary-color: #7b122b; /* Deep Onion Red-Purple */
  --primary-light: #9a1e3b;
  --primary-dark: #4a0717;
  --secondary-color: #d32f2f; /* Tomato Red */
  --tertiary-color: #2e7d32; /* Watermelon Green */
  --accent-color: #f5a623; /* Warm Amber Gold */
  
  /* Neutral Palette */
  --bg-light: #fcfaf8; /* Warm paper-like white */
  --bg-white: #ffffff;
  --bg-dark: #160a0d; /* Rich organic deep brown-black */
  --text-dark: #2c1b1f;
  --text-muted: #6e5d61;
  --text-light: #ffffff;
  --border-light: rgba(123, 18, 43, 0.08);
  --border-glass: rgba(255, 255, 255, 0.15);
  
  /* Fonts */
  --font-headings: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(123, 18, 43, 0.04);
  --shadow-md: 0 8px 24px rgba(123, 18, 43, 0.08);
  --shadow-lg: 0 16px 40px rgba(123, 18, 43, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.2);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea {
  font-family: var(--font-body);
  outline: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

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

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(252, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.navbar.scrolled {
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
  background: rgba(252, 250, 248, 0.95);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  transition: var(--transition-normal);
}

.navbar.scrolled .container {
  height: 75px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: var(--transition-normal);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

.navbar.scrolled .logo-img {
  height: 60px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
  position: relative;
  padding: 4px 0;
}

.nav-link:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition-normal);
}

.nav-link:not(.nav-cta):hover {
  color: var(--primary-color);
}

.nav-link:not(.nav-cta):hover::after,
.nav-link.active:not(.nav-cta)::after {
  width: 100%;
}

.nav-link.active:not(.nav-cta) {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-cta {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  text-decoration: none !important;
  border: none !important;
}

.nav-cta:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-cta::after {
  display: none !important;
  content: none !important;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: var(--radius-full);
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 700px;
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-light);
  overflow: hidden;
  background-color: var(--bg-dark);
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.99;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(22, 10, 13, 0.8) 0%,
    rgba(22, 10, 13, 0.9) 50%,
    rgba(22, 10, 13, 1) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.hero-content {
  max-width: 680px;
}

.hero-tagline {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background-color: var(--accent-color);
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.1;
  font-weight: 800;
}

.hero-content h1 span {
  color: var(--accent-color);
  background: linear-gradient(135deg, #fff5dc, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
  color: #f3ecee;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  color: var(--text-light);
  box-shadow: 0 8px 24px rgba(123, 18, 43, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(123, 18, 43, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.hero-badge-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(16px);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
  text-align: center;
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.hero-badge::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--primary-color), transparent, var(--accent-color));
  z-index: -1;
  opacity: 0.4;
}

.badge-number {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--accent-color);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-headings);
}

.badge-text {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-sub {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 4px;
}

/* Highlights Section */
.highlights {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  padding: 60px 0;
  margin-top: -50px;
  z-index: 10;
  position: relative;
  border-radius: var(--radius-md);
  margin-left: 24px;
  margin-right: 24px;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}

.highlight-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 20px;
}

.highlight-card:not(:last-child) {
  border-right: 1px solid rgba(123, 18, 43, 0.1);
}

.highlight-icon {
  background-color: rgba(123, 18, 43, 0.05);
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.highlight-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.highlight-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.2;
}

.highlight-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Products Section */
.products {
  background-color: var(--bg-light);
}

.products-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 30px;
}

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

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

.product-card:hover .product-img img {
  transform: scale(1.08);
}

.product-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--accent-color);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
}

.product-card.onion-focus {
  grid-column: span 1;
  border: 2px solid var(--primary-color);
}

.product-card.onion-focus .product-badge {
  background: var(--primary-color);
  color: var(--text-light);
}

.product-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-features {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.product-features li {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-color);
  flex-shrink: 0;
}

.product-card.tomato-card .product-features li svg {
  fill: var(--secondary-color);
}

.product-card.watermelon-card .product-features li svg {
  fill: var(--tertiary-color);
}

.btn-card {
  width: 100%;
  padding: 12px;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(123, 18, 43, 0.2);
  background: none;
  color: var(--primary-color);
  font-weight: 600;
}

.product-card:hover .btn-card {
  background-color: var(--primary-color);
  color: var(--text-light);
  border-color: var(--primary-color);
}

.product-card.tomato-card:hover .btn-card {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-light);
}

.product-card.watermelon-card:hover .btn-card {
  background-color: var(--tertiary-color);
  border-color: var(--tertiary-color);
  color: var(--text-light);
}

/* Network Section */
.network {
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow: hidden;
}

.network .section-title h2 {
  background: linear-gradient(135deg, #ffffff, #ffd2de);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.network-layout {
  max-width: 850px;
  margin: 0 auto;
}

.network-block {
  margin-bottom: 0;
}

.network-block h3 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 12px;
  text-align: center;
}

.network-subtext {
  text-align: center;
  color: #dfd5d8;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.network-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 30px 0;
}

.export-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px 32px;
  max-width: 850px;
  margin: 0 auto;
}

.export-badge {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-fast);
  font-weight: 500;
  font-size: 0.95rem;
}

.export-badge:hover {
  background: none;
  border-bottom-color: var(--accent-color);
  transform: translateY(-1px);
}

.flag-img {
  width: 22px;
  height: 15px;
  object-fit: cover;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
  display: block;
}

.region-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}

.region-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  color: var(--text-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.region-tab:hover,
.region-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(123, 18, 43, 0.3);
}

.states-display {
  position: relative;
  min-height: 90px;
}

.states-pane {
  display: none;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 8px 32px;
  animation: fadeIn 0.5s ease forwards;
}

.states-pane.active {
  display: grid;
}

.state-badge {
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.state-badge:hover {
  background: none;
  border-bottom-color: var(--accent-color);
  transform: translateY(-1px);
}

.state-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-color);
}

.state-name {
  font-weight: 500;
  font-size: 0.95rem;
}



/* Contact & Location Section */
.contact {
  background-color: var(--bg-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border-light);
}

.contact-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  background-color: rgba(123, 18, 43, 0.06);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-details h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.contact-details p, .contact-details a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-details a:hover {
  color: var(--primary-color);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 380px;
  height: 100%;
  border: 1px solid var(--border-light);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo-container {
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-logo-img {
  height: 75px;
  width: auto;
  object-fit: contain;
}

.footer-about p {
  color: #dfd5d8;
  font-size: 0.95rem;
  margin-bottom: 20px;
  font-weight: 300;
}

.footer-links h4, .footer-contact h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 20px;
  position: relative;
}

.footer-links h4::after, .footer-contact h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #dfd5d8;
  font-size: 0.95rem;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-color);
  transform: translateX(4px);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #dfd5d8;
  font-size: 0.95rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: #9f8c90;
}

.footer-bottom p span {
  color: var(--accent-color);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  html {
    font-size: 15px;
  }
  
  .hero-content h1 {
    font-size: 3.2rem;
  }
  
  .products-grid {
    grid-template-columns: 1.2fr 1fr;
  }
  
  .product-card.watermelon-card {
    grid-column: span 2;
    flex-direction: row;
  }

  .product-card.watermelon-card .product-img {
    width: 40%;
    height: 100%;
  }

  .product-card.watermelon-card .product-content {
    width: 60%;
  }

}

@media (max-width: 768px) {
  .navbar .container {
    height: 70px;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-light);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
  
  .hero {
    height: auto;
    padding: 120px 0 80px;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-tagline {
    justify-content: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .highlight-card {
    border-right: none !important;
    border-bottom: 1px solid rgba(123, 18, 43, 0.1);
    padding-bottom: 20px;
  }
  
  .highlight-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .product-card.watermelon-card {
    grid-column: span 1;
    flex-direction: column;
  }

  .product-card.watermelon-card .product-img {
    width: 100%;
    height: 280px;
  }

  .product-card.watermelon-card .product-content {
    width: 100%;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}
