/* ==========================================================================
   Balaji Vastra Bhandar - Clean, Human, Authentic Store Website Styles
   No gimmicks • Real local clothing store feel • Clean typography & layout
   ========================================================================== */

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

:root {
  --maroon: #800020;
  --maroon-dark: #5c0017;
  --maroon-light: #9e1b32;
  --gold-accent: #c59b27;
  
  --bg-page: #fbf9f6;
  --bg-white: #ffffff;
  --bg-gray: #f4f2ee;
  
  --text-main: #2b2520;
  --text-muted: #665e55;
  --text-light: #887f75;
  
  --border-color: #e5dfd5;
  --border-dark: #d0c7b8;
  
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-main);
  line-height: 1.3;
}

h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--maroon-dark);
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--maroon-dark);
  margin-bottom: 8px;
}

p {
  color: var(--text-muted);
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--maroon);
  background: rgba(128, 0, 32, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.section-title-wrap {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 40px;
}

.text-maroon {
  color: var(--maroon);
}

.text-muted {
  color: var(--text-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--maroon);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--maroon-dark);
  color: #ffffff;
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--text-main);
  border-color: var(--border-dark);
}

.btn-secondary:hover {
  background-color: var(--bg-gray);
  border-color: var(--text-muted);
}

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

.btn-whatsapp:hover {
  background-color: #1eb857;
  color: #ffffff;
}

.btn-upload {
  background-color: #ffffff;
  color: var(--maroon);
  border: 1.5px dashed var(--maroon);
  font-weight: 600;
}

.btn-upload:hover {
  background-color: var(--maroon);
  color: #ffffff;
  border-style: solid;
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.w-100 {
  width: 100%;
}

.mt-2 {
  margin-top: 8px;
}

/* Top Contact Bar */
.top-bar {
  background-color: var(--maroon-dark);
  color: #ffffff;
  font-size: 0.8rem;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-contact a {
  color: #ffffff;
}

.top-contact a:hover {
  text-decoration: underline;
}

.sep {
  margin: 0 8px;
  opacity: 0.5;
}

/* Header */
.header {
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-main);
}

.nav-link:hover, .nav-link.active {
  color: var(--maroon);
  background-color: rgba(128, 0, 32, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  padding: 50px 0 60px;
  background-color: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.badge-tag {
  display: inline-block;
  background: rgba(197, 155, 39, 0.15);
  color: #8c6a0f;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 1.05rem;
  margin: 16px 0 24px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.quick-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  border-top: 1px solid var(--border-color);
  padding-top: 18px;
}

.highlight-item {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.highlight-item i {
  color: #16a34a;
}

.hero-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* Sections */
.section {
  padding: 70px 0;
}

/* About Section */
.about-section {
  background-color: var(--bg-page);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.about-img-box img {
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-content p {
  margin-bottom: 14px;
}

.store-features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.feature-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-sm);
}

.feature-card h4 {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.feature-card p {
  font-size: 0.82rem;
  margin-bottom: 0;
}

/* Categories Grid */
.categories-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cat-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--maroon);
}

.cat-img {
  height: 220px;
  overflow: hidden;
}

.cat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cat-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--maroon);
}

.cat-body p {
  font-size: 0.85rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

.cat-list {
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cat-list li::before {
  content: "• ";
  color: var(--maroon);
  font-weight: bold;
}

.cat-link {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cat-link:hover {
  color: var(--maroon-dark);
  text-decoration: underline;
}

/* Photos Section */
.photos-section {
  background-color: var(--bg-page);
}

.photos-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.photo-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.photo-tab {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 7px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.photo-tab:hover, .photo-tab.active {
  background-color: var(--maroon);
  color: #ffffff;
  border-color: var(--maroon);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.photo-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.photo-item:hover {
  transform: scale(1.02);
}

.photo-item img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.photo-meta {
  padding: 12px 14px;
}

.photo-meta h4 {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 2px;
}

.photo-meta small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.placeholder-slot {
  border: 2px dashed var(--border-dark);
  background-color: rgba(0,0,0,0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 250px;
}

.placeholder-slot:hover {
  border-color: var(--maroon);
  background-color: rgba(128,0,32,0.03);
}

.slot-content {
  padding: 20px;
}

.slot-content i {
  font-size: 2rem;
  color: var(--maroon);
  margin-bottom: 8px;
  opacity: 0.7;
}

.slot-content h4 {
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.slot-content p {
  font-size: 0.76rem;
}

.photos-note {
  margin-top: 24px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 12px;
  border-radius: var(--radius-sm);
}

/* Contact Section */
.contact-section {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
}

.contact-info-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.c-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.c-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(128, 0, 32, 0.08);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.c-item h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--maroon);
  margin-bottom: 2px;
}

.c-item p {
  font-size: 0.92rem;
  color: var(--text-main);
}

.phone-link {
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
}

/* Enquiry Card */
.enquiry-card {
  background-color: var(--bg-page);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
}

.enquiry-card h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.enquiry-sub {
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-group input, 
.form-group select, 
.form-group textarea {
  padding: 9px 12px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
}

.form-group input:focus, 
.form-group select:focus, 
.form-group textarea:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 2px rgba(128, 0, 32, 0.1);
}

/* Footer */
.footer {
  background-color: var(--text-main);
  color: #d1c7bc;
  padding: 40px 0 30px;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.footer-brand p {
  color: #a89f95;
  font-size: 0.82rem;
}

.footer-brand a {
  color: #ffffff;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: #d1c7bc;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.78rem;
  color: #887f75;
}

/* Floating WhatsApp button */
.float-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 99;
}

.float-wa i {
  font-size: 1.3rem;
}

.float-wa:hover {
  background-color: #1eb857;
  transform: scale(1.04);
}

/* Modals */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

.modal-card {
  position: relative;
  background-color: #ffffff;
  border-radius: var(--radius-md);
  max-width: 480px;
  width: 100%;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  overflow: hidden;
}

.modal-head {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-head h3 {
  font-size: 1.1rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.file-preview img {
  max-height: 140px;
  margin: 8px auto 0;
  border-radius: 4px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-bg {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 10px;
  font-size: 0.9rem;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  z-index: 3;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image img { height: 280px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-box img { height: 280px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-list { display: none; }
  .menu-toggle { display: flex; }
  
  .nav-list.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 16px 20px;
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 576px) {
  .category-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .store-features-list { grid-template-columns: 1fr; }
  .top-bar-inner { justify-content: center; text-align: center; }
  .float-wa-text { display: none; }
  .float-wa { padding: 12px; border-radius: 50%; }
}
