/* 
  Ravi Dabke Products - Single Page Website Stylesheet
  Theme: Authentic Konkan Harvest (Deep Forest, Mango Gold, Kokum Red, Warm Clay)
*/

:root {
  --primary-deep: #0f3d2e;
  --primary-forest: #165b44;
  --primary-light: #e8f5ee;
  --accent-mango: #d97706;
  --accent-amber: #f59e0b;
  --accent-kokum: #be123c;
  --kokum-light: #ffe4e6;
  --bg-cream: #faf7f2;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-subtle: #e2d9cc;
  --border-card: #ece5d8;
  --shadow-sm: 0 2px 4px rgba(15, 61, 46, 0.05);
  --shadow-md: 0 6px 16px rgba(15, 61, 46, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 61, 46, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --whatsapp-color: #25d366;
  --whatsapp-dark: #128c7e;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Mukta', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 75px; /* space for mobile sticky bar */
}

/* Container */
.container {
  width: 100%;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Top Announcement Bar */
.top-bar {
  background: var(--primary-deep);
  color: #f1f5f9;
  font-size: 0.85rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.location-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  color: #e2e8f0;
}

.top-contact {
  display: flex;
  gap: 0.85rem;
}

.phone-link {
  color: #fef08a;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.phone-link:hover {
  text-decoration: underline;
  opacity: 0.9;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #0e3729 0%, #17523e 60%, #1f674f 100%);
  color: #ffffff;
  padding: 2.5rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.18) 0%, rgba(245, 158, 11, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(190, 18, 60, 0.2) 0%, rgba(190, 18, 60, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-image-wrapper {
  max-width: 760px;
  margin: 0 auto 1.4rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  border: 3px solid rgba(255, 255, 255, 0.22);
  background: #0f2d21;
}

.hero-banner-img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-image-wrapper:hover .hero-banner-img {
  transform: scale(1.02);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fef08a;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.hero-shree {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fef08a;
  letter-spacing: 2px;
  margin-bottom: 0.35rem;
}

.brand-title {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.85rem;
}

.brand-title .mr-name {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.25;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.brand-title .brand-sub {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fcd34d;
  letter-spacing: 0.5px;
}

.hero-tagline {
  max-width: 680px;
  margin: 0 auto 1.3rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #e2e8f0;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.hero-highlights .pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: #ffffff;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(1px);
}

.btn-whatsapp {
  background-color: #25d366;
  color: #0b2b1a;
}

.btn-whatsapp:hover {
  background-color: #20bd5a;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
}

.btn-phone {
  background-color: #f59e0b;
  color: #451a03;
}

.btn-phone:hover {
  background-color: #d97706;
  color: #ffffff;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

/* Category Sticky Bar */
.sticky-cat-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.6rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.cat-nav-container {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.cat-nav-container::-webkit-scrollbar {
  display: none;
}

.nav-chip {
  flex-shrink: 0;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary-forest);
  background: #f1f7f4;
  border: 1px solid #d4e7de;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  transition: all 0.2s ease;
}

.nav-chip:hover, .nav-chip.active {
  background: var(--primary-forest);
  color: #ffffff;
  border-color: var(--primary-forest);
}

/* Main Content */
.main-content {
  padding-top: 1.5rem;
}

.product-category-section {
  margin-bottom: 2.75rem;
  scroll-margin-top: 70px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ecdcc8;
}

.header-icon {
  font-size: 1.7rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.cat-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.25;
}

.cat-title .en-sub {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
}

.cat-subtitle {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.1rem;
}

/* Product Card */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.product-card.featured {
  border: 2px solid var(--accent-amber);
  background: linear-gradient(180deg, #fffcf5 0%, #ffffff 100%);
}

.product-card.full-width-card {
  grid-column: 1 / -1;
}

.card-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: var(--accent-amber);
  color: #451a03;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.3px;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.35);
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.prod-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-deep);
  line-height: 1.3;
}

.prod-title .prod-en {
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.prod-tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  white-space: nowrap;
}

/* Multi-language Descriptions */
.multi-desc {
  background: #fbf9f5;
  border: 1px solid #f1ece1;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.desc-line {
  font-size: 0.86rem;
  line-height: 1.4;
  color: #334155;
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.lang-tag {
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  flex-shrink: 0;
  text-transform: uppercase;
}

.lang-tag.mr {
  background: #e0f2fe;
  color: #0369a1;
}

.lang-tag.hi {
  background: #fef3c7;
  color: #92400e;
}

.lang-tag.en {
  background: #ecfdf5;
  color: #047857;
}

/* Card Action */
.card-action {
  margin-top: auto;
}

.order-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f5132;
  background: #e8f5ee;
  border: 1px solid #c2e2d0;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.order-btn:hover {
  background: #25d366;
  color: #08341a;
  border-color: #20bd5a;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.order-btn.primary {
  background: #25d366;
  color: #08341a;
  border-color: #20bd5a;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
}

/* Puja Banner Box */
.puja-banner-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.puja-info h3 {
  font-size: 1.25rem;
  color: #92400e;
  margin-bottom: 0.6rem;
  font-weight: 800;
}

.puja-cta {
  display: flex;
  align-items: center;
}

/* Location Card */
.location-section {
  margin: 3rem 0 2rem;
}

.location-card {
  background: #ffffff;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  border-left: 6px solid var(--primary-forest);
}

.loc-tag {
  display: inline-block;
  background: #ecfdf5;
  color: var(--primary-forest);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.shop-name {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 0.4rem;
}

.shop-address {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.en-addr {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.phone-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.phone-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.phone-item .icon {
  font-size: 1.2rem;
  line-height: 1.2;
}

.phone-item .lbl {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.phone-item .val {
  color: var(--primary-forest);
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
}

.phone-item .val:hover {
  text-decoration: underline;
}

.phone-item .val-text {
  font-weight: 700;
  color: #0f172a;
}

.location-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.location-buttons .btn-secondary {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.location-buttons .btn-secondary:hover {
  background: #e2e8f0;
}

.parking-tip {
  background: #eff6ff;
  border: 1px dashed #93c5fd;
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.parking-tip h4 {
  color: #1e40af;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.parking-tip p {
  font-size: 0.88rem;
  color: #1e3a8a;
  line-height: 1.45;
}

/* Sticky Footer Bar for Mobile */
.sticky-footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid #cbd5e1;
  padding: 0.5rem 1rem;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 999;
}

.footer-bar-inner {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-info {
  display: flex;
  flex-direction: column;
}

.store-callout {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.phone-callout {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.footer-buttons {
  display: flex;
  gap: 0.4rem;
}

.btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  font-family: inherit;
  white-space: nowrap;
}

.btn-sm.btn-call {
  background: #f1f5f9;
  color: #1e293b;
  border: 1px solid #cbd5e1;
}

.btn-sm.btn-wa {
  background: #25d366;
  color: #0b2b1a;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Site Footer */
.site-footer {
  background: var(--primary-deep);
  color: #94a3b8;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  margin-top: 2rem;
}

.site-footer strong {
  color: #e2e8f0;
}

/* Tourist Alert Popup Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  z-index: 2000;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-card {
  background: #ffffff;
  max-width: 540px;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 2px solid #fed7aa;
  position: relative;
  animation: modalSlideUp 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 14px;
  background: #f1f5f9;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.35rem;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.65rem;
}

.modal-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #0f3d2e;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.modal-body {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 0.75rem;
}

.modal-timer-bar {
  background: #f1f5f9;
  height: 5px;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.modal-timer-progress {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #10b981, #f59e0b);
  transform-origin: left center;
  transition: width 0.1s linear;
}

.modal-footer {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.timer-text {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.modal-btn-dismiss {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #475569;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.modal-btn-dismiss:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.modal-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #25d366;
  color: #08341a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.modal-btn-wa:hover {
  background: #20bd5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .hero-section {
    padding: 3.5rem 0 4rem;
  }
  
  .brand-title .mr-name {
    font-size: 2.5rem;
  }

  .brand-title .brand-sub {
    font-size: 1.25rem;
  }

  .location-card {
    grid-template-columns: 3fr 2fr;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .brand-title .mr-name {
    font-size: 1.6rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }
}
