﻿/* ============================================
   NATURAL FLUTE — Symmetrical Royal Theme
   High-Opacity Watermark & Indian Menu Animation
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  /* Royal Classic Colors */
  --royal-blue: #0A1128;
  --royal-blue-light: #162447;
  --gold: #D4AF37;
  --gold-light: #F1D37E;
  --gold-dark: #8C7323;
  --bg-color: #F8F5F0;
  --text-dark: #1A1A1A;
  --text-light: #FFFFFF;
  
  --shadow: 0 10px 30px rgba(0,0,0,0.1);
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  --sidebar-w: 260px;
  --t: 0.4s ease;
}

body.dark-theme {
  --bg-color: #060A1A;
  --text-dark: #fff;
  --text-light: rgba(255,255,255,0.7);
  --royal-blue: #0A1128;
  --royal-blue-light: #162447;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-color);
  color: var(--text-dark);
  min-height: 100vh;
  line-height: 1.8;
  display: flex;
  transition: all var(--t);
  position: relative;
}

/* === HIGH VISIBILITY KRISHNA WATERMARK === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url('../images/krishna_watermark.webp');
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat; 
  opacity: 0.8; /* HIGHEST VISIBILITY */
  z-index: -1;
  pointer-events: none;
}
body.dark-theme::before { opacity: 0.35; }

/* === SIDEBAR === */
.sidebar {
  width: var(--sidebar-w);
  background: var(--royal-blue);
  color: var(--text-light);
  height: 100vh;
  position: fixed;
  top: 0; left: 0;
  display: flex; flex-direction: column;
  padding: 3rem 0;
  z-index: 100;
  box-shadow: 5px 0 20px rgba(0,0,0,0.1);
}

.logo-wrap {
  text-decoration: none; display: flex; flex-direction: column;
  margin-bottom: 4rem; text-align: center; color: var(--gold);
}
.logo-wrap img { width: 140px; max-width: 85%; height: auto; object-fit: contain; border-radius: 8px; margin: 0 auto; }.logo-main { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; line-height: 1; }
.logo-sub { font-family: var(--font-body); font-size: 0.6rem; letter-spacing: 0.4em; margin-top: 5px; text-transform: uppercase; }

.nav-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; padding: 0 1rem; }
.nav-links a {
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 500;
  color: rgba(255,255,255,0.7); text-decoration: none; padding: 1rem 1.5rem;
  border-radius: 8px; transition: all var(--t); display: block;
  position: relative; text-align: center; text-transform: uppercase; letter-spacing: 0.1em;
}

/* Indian Animation on Menu Hover (Mandala/Bindu effect) */
.nav-links a::before {
  content: '❖'; /* Traditional Indian motif */
  position: absolute;
  left: 20px;
  opacity: 0;
  color: var(--gold);
  transform: scale(0) rotate(-180deg);
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.nav-links a:hover::before, .nav-links a.active::before {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--gold); background: rgba(212,175,55,0.1);
}

.sidebar-bottom { text-align: center; padding: 0 1rem; }
.theme-btn {
  background: transparent; border: 1px solid rgba(212,175,55,0.5);
  color: var(--gold); padding: 0.8rem 1.5rem; border-radius: 30px;
  cursor: pointer; font-family: var(--font-body); font-size: 0.8rem;
  transition: all var(--t); text-transform: uppercase; letter-spacing: 0.1em;
}
.theme-btn:hover { background: var(--gold); color: var(--royal-blue); }

/* === MAIN PAGE (SYMMETRICAL) === */
.main-wrapper {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  padding: 4rem;
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; /* FULL SYMMETRY */
}

/* Animations */
.animate-fade-up { opacity: 0; transform: translateY(40px); transition: all 1s ease; }
.animate-fade-up.visible { opacity: 1; transform: translateY(0); }
.floating-img { animation: float 6s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Hero */
.hero {
  position: relative; border-radius: 20px; overflow: hidden;
  box-shadow: var(--shadow); margin-bottom: 2rem; width: 100%; max-width: 1200px;
  background: var(--royal-blue);
}
.hero img { width: 100%; height: 60vh; object-fit: cover; display: block; object-position: center; }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,17,40,0.9) 0%, rgba(10,17,40,0.4) 100%); }
.hero-content {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  justify-content: center; align-items: flex-start; text-align: left; padding: 4rem;
  width: 60%;
}
.hero-tag { font-family: var(--font-body); font-size: 0.9rem; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 1rem; font-weight: 600; text-transform: uppercase; }
.hero-content h1 { font-family: var(--font-heading); font-size: 4rem; font-weight: 700; color: #fff; margin-bottom: 1rem; line-height: 1.1; }
.hero-content p { color: rgba(255,255,255,0.9); font-size: 1.2rem; max-width: 500px; margin-bottom: 2.5rem; line-height: 1.5; }/* Buttons */
.btn-order {
  display: inline-block; font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--gold); color: var(--royal-blue) !important; padding: 1rem 2.5rem; border-radius: 5px; text-decoration: none;
  box-shadow: 0 4px 15px rgba(212,175,55,0.3); transition: all var(--t);
}
.btn-order:hover { transform: translateY(-3px); background: var(--gold-light); }

/* Typography */
.section-label { display: block; font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.3em; color: var(--gold-dark); margin-bottom: 0.5rem; text-transform: uppercase; text-align: center; }
body.dark-theme .section-label { color: var(--gold); }
.section-title { font-family: var(--font-heading); font-size: 3.5rem; color: var(--royal-blue); margin-bottom: 1.5rem; text-align: center; }
body.dark-theme .section-title { color: var(--gold-light); }
.section-sub { margin: 0 auto 4rem auto; text-align: center; max-width: 700px; color: var(--text-dark); opacity: 0.8; font-size: 1.1rem; }

/* Cards (Centered Grid) */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3rem; width: 100%; max-width: 1200px; justify-items: center; }
.product-card {
  background: var(--text-light); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--t); border: 1px solid rgba(212,175,55,0.2); width: 100%; max-width: 400px;
  text-align: center; /* Symmetrical */
}
body.dark-theme .product-card { background: var(--royal-blue-light); }
.product-card:hover { transform: translateY(-10px); }
.product-img-wrap { height: 400px; position: relative; overflow: hidden; background: var(--bg-color); }
.product-img-wrap img { width: 100%; height: 100%; object-fit: contain; object-position: center; transition: transform 0.6s ease; }
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-badge { position: absolute; top: 1rem; right: 1rem; font-family: var(--font-body); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; background: var(--royal-blue); color: white; padding: 0.4rem 1rem; border-radius: 4px; z-index: 2; text-transform: uppercase; }
.product-body { padding: 2.5rem 2rem; }
.product-body h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 0.5rem; }
.product-scales { font-family: var(--font-body); font-size: 0.8rem; color: var(--gold-dark); font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 0.1em; text-transform: uppercase; }
body.dark-theme .product-scales { color: var(--gold); }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: #25D366; color: white; padding: 1rem; border-radius: 5px; font-family: var(--font-body); font-weight: 600; text-decoration: none; transition: all var(--t); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; }
.btn-whatsapp { display: flex; align-items: center; justify-content: center; gap: 0.5rem; background: #25D366; color: white; padding: 1rem; border-radius: 5px; font-family: var(--font-body); font-weight: 600; text-decoration: none; transition: all var(--t); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.05em; }
.btn-whatsapp:hover { background: #1ebd5a; }

/* Contact Card */
.contact-card {
  background: var(--text-light); border: 1px solid rgba(212,175,55,0.2); 
  padding: 4rem; border-radius: 12px; box-shadow: var(--shadow); 
  margin: 2rem 0; width: 100%; max-width: 800px;
}
body.dark-theme .contact-card {
  background: rgba(22, 36, 71, 0.9); /* Dark Royal Blue background for dark mode */
}

/* ===============================
   ALL DEVICE COMPATIBILITY (RESPONSIVE)
=============================== */
.mobile-toggle { display: none; }
.mobile-header { display: none; }


/* TABLET (up to 1024px) */
@media (max-width: 1024px) {
  .hero { height: auto; }
  .hero img { height: auto; object-fit: contain; }
  .hero-content { width: 100%; padding: 2rem; }
  .hero-content h1 { font-size: 2.8rem; }
}
/* TABLET (up to 992px) */
@media (max-width: 992px) {
  .sidebar { transform: translateX(-100%); width: 280px; box-shadow: 10px 0 30px rgba(0,0,0,0.5); padding-top: 80px; z-index: 100; }
  .sidebar.active { transform: translateX(0); }
  
  .mobile-header { 
    display: flex; align-items: center; justify-content: space-between;
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background: var(--royal-blue); padding: 0 1.5rem; z-index: 102;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }
  .mobile-toggle-btn {
    background: none; border: none; color: var(--gold);
    font-size: 1.1rem; cursor: pointer; text-transform: uppercase; letter-spacing: 0.1em;
  }
  .theme-btn-mobile {
    background: none; border: 1px solid var(--gold); border-radius: 5px; color: var(--gold);
    padding: 0.3rem 0.6rem; cursor: pointer; margin-left: 1rem;
  }
    .mobile-logo { margin-left: auto; display: flex; align-items: center; }
  .mobile-logo img { height: 40px; width: auto; object-fit: contain; }

  .main-wrapper { margin-left: 0; width: 100%; padding: 6rem 2rem 4rem 2rem; }
  
  .hero-content { width: 100%; padding: 3rem; }
  .products-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}

/* MOBILE (up to 768px) */
@media (max-width: 768px) {
  .main-wrapper { padding: 5rem 1rem 3rem 1rem; }
  
    /* Mobile Hero: Adaptable without huge gaps, overlaid tag/h1 */
  .hero { 
    position: relative; display: flex; flex-direction: column; 
    background: var(--royal-blue); margin-bottom: 1.5rem; 
    border-radius: 12px; overflow: hidden; 
  }
  body.dark-theme .hero { background: var(--royal-blue-light); }
  
  .hero-content { display: contents; } 
  .hero-gradient { display: none; }
  
  .hero img { order: 1; width: 100%; height: auto; object-fit: contain; display: block; margin: 0; padding: 0; }
  
  /* Overlaid on the image's top-left blank space */
  .hero-tag { 
    position: absolute; top: 1rem; left: 1rem; width: 65%; z-index: 5;
    font-size: 0.85rem; color: #1A1A1A; font-weight: 700; letter-spacing: 0.05em; 
    text-transform: uppercase; text-align: left; margin: 0; line-height: 1.3;
  }
  .hero-content h1 { 
    position: absolute; top: 4.5rem; left: 1rem; width: 65%; z-index: 5;
    font-size: 1.9rem; color: #1A1A1A; margin: 0; text-align: left; line-height: 1.5;
  }  /* Below the image */
  .hero-content p { 
    order: 2; padding: 1.5rem 1.5rem 1rem 1.5rem; font-size: 1rem; 
    line-height: 1.4; margin: 0; text-align: center; color: var(--text-light);
  }
  .btn-order { 
    order: 3; align-self: center; margin-bottom: 2rem; 
  }/* Hide sidebar theme toggle on mobile since it's in the top bar now */
  .sidebar-bottom { display: none; }
  
  /* Typography Scaling */
  .section-title { font-size: 2.2rem; margin-bottom: 1rem; }
  .section-sub { font-size: 1rem; margin-bottom: 2rem; padding: 0 0.5rem; }
  
  /* Cards & Images */
  .contact-card { padding: 2rem 1.2rem; max-width: 100%; }
  
  .products-grid { grid-template-columns: 1fr; gap: 2rem; }
  .product-card { max-width: 100%; } /* Stretch to screen width */
  .product-img-wrap { height: 240px; } /* Shorter image for mobile cards */
  .product-body { padding: 1.5rem; }
  
  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.8rem; } /* 2 columns on mobile */
  .gallery-item { height: 160px; }
  
  /* Payment */
  .qr-frame img { width: 100%; max-width: 220px; }
  .upi-chip { padding: 0.8rem 1rem; font-size: 0.9rem; flex-wrap: wrap; justify-content: center; }
  
  /* Disable floating animation on mobile to save CPU/distraction */
  .floating-img { animation: none !important; transform: none !important; }
}

/* SMALL MOBILE (up to 480px) */
@media (max-width: 480px) {
  .mobile-toggle::after { font-size: 1.2rem; }
  .hero-content h1 { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .gallery-grid { grid-template-columns: 1fr; } /* 1 column for very small phones */
  .gallery-item { height: 220px; }
}

/* ===============================
   THREAD CUSTOMIZATION SECTION
=============================== */
.customization-section {
  margin-top: 6rem;
  background: var(--text-light);
  padding: 5rem 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  border: 1px solid rgba(212,175,55,0.1);
}
body.dark-theme .customization-section {
  background: rgba(22, 36, 71, 0.6);
  border: 1px solid rgba(212,175,55,0.2);
}
.cust-container { max-width: 1000px; margin: 0 auto; text-align: center; }
.cust-title { font-size: 2.5rem; margin-bottom: 1rem; }
.cust-subtitle-wrap { margin-bottom: 3rem; }
.cust-subtitle-hi { color: var(--gold-dark); font-family: var(--font-body); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.5rem; }
body.dark-theme .cust-subtitle-hi { color: var(--gold); }
.cust-subtitle-en { color: var(--wood-light); font-family: var(--font-body); font-weight: 400; font-size: 1rem; font-style: italic; }
.cust-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) {
  .cust-grid { grid-template-columns: 1fr 1fr; }
}
.cust-img-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--gold-light);
  transition: transform 0.4s ease;
}
.cust-img-wrap:hover { transform: translateY(-5px); }
.cust-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cust-img-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--gold-light);
  padding: 1.5rem 1rem 1rem;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ===============================
   GALLERY SLIDESHOW
=============================== */
.slideshow-container {
  max-width: 900px;
  position: relative;
  margin: 3rem auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
  border: 2px solid var(--gold-light);
  background: var(--text-light);
}
body.dark-theme .slideshow-container {
  background: #111;
  box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}
.mySlides {
  display: none;
  height: 600px; /* Fixed height for uniform slideshow */
  width: 100%;
}
.mySlides img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Keep full image visible without cropping */
}
/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: var(--gold);
  font-weight: bold;
  font-size: 24px;
  transition: 0.3s ease;
  border-radius: 0 8px 8px 0;
  user-select: none;
  background: rgba(0,0,0,0.5);
  text-decoration: none;
}
.next {
  right: 0;
  border-radius: 8px 0 0 8px;
}
.prev:hover, .next:hover {
  background-color: var(--gold);
  color: #fff;
}
/* Dots */
.dot-container {
  text-align: center;
  padding: 1rem;
  background: rgba(0,0,0,0.05);
}
body.dark-theme .dot-container { background: rgba(255,255,255,0.05); }
.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
}
.active, .dot:hover {
  background-color: var(--gold);
}
/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 0.8s;
}
@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}
@media (max-width: 768px) {
  .mySlides { height: 400px; }
}

/* ===============================
   GALLERY MEDIUM GRID (Folder Look)
=============================== */
.gallery-medium-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 15px;
  background: var(--text-light);
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.05), 0 5px 15px rgba(0,0,0,0.1);
  border: 1px solid rgba(212,175,55,0.2);
}
@media (min-width: 768px) {
  .gallery-medium-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
  }
}
body.dark-theme .gallery-medium-grid {
  background: #1a1a1a;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.2), 0 5px 15px rgba(0,0,0,0.4);
}
.folder-img {
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  border: 3px solid #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}
body.dark-theme .folder-img {
  border-color: #333;
  background: #333;
}
.folder-img:hover {
  transform: scale(1.05) translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 2;
}
.folder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/* === FOOTER === */
.site-footer {
  margin-top: 5rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(212,175,55,0.2);
  font-family: var(--font-body);
  color: var(--text-dark);
  font-size: 0.9rem;
  background: transparent;
}
body.dark-theme .site-footer {
  color: rgba(255,255,255,0.7);
}
.site-footer p {
  margin-bottom: 0.5rem;
}
.site-footer a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.site-footer a:hover {
  text-decoration: underline;
}



/* FINAL OVERRIDE FOR SIDEBAR COLOR */
.sidebar, .sidebar.active, .mobile-header {
    background-color: #0A1128 !important;
    background: #0A1128 !important;
}

/* === FAQ SECTION === */
.faq-section {
  max-width: 800px; margin: 4rem auto; padding: 0 2rem;
}
.faq-title {
  text-align: center; font-family: var(--font-heading); color: var(--royal-blue); font-size: 2.5rem; margin-bottom: 2rem;
}
body.dark-theme .faq-title { color: var(--gold-light); }

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.1); margin-bottom: 1rem;
}
body.dark-theme .faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); }

.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 1rem 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; color: var(--text-dark);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform var(--t);
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height var(--t);
}
.faq-answer p {
  padding-bottom: 1rem; color: var(--text-dark); opacity: 0.8; font-family: var(--font-body); line-height: 1.6;
}

.faq-link { color: var(--royal-blue); text-decoration: underline; font-weight: bold; }
body.dark-theme .faq-link { color: var(--gold); }

/* === FAQ SECTION PREMIUM REDESIGN === */
.faq-section {
  max-width: 800px; margin: 4rem auto; padding: 3rem;
  background: var(--royal-blue) !important; 
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  border: 1px solid var(--gold);
}
.faq-title {
  text-align: center; font-family: var(--font-heading); color: var(--gold) !important; font-size: 2.5rem; margin-bottom: 2.5rem;
}
.faq-item {
  border-bottom: 1px solid rgba(212,175,55,0.3) !important; margin-bottom: 1rem;
}
.faq-question {
  width: 100%; text-align: left; background: none; border: none; padding: 1rem 0;
  font-family: var(--font-body); font-weight: 600; font-size: 1.2rem; color: #ffffff !important;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question::after {
  content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform 0.4s ease;
}
.faq-item.active .faq-question::after { transform: rotate(45deg); }
.faq-answer p {
  padding-bottom: 1.5rem; padding-top: 0.5rem; color: rgba(255,255,255,0.9) !important; font-family: var(--font-body); line-height: 1.6; font-size: 1.05rem;
}
.faq-link { color: var(--gold) !important; text-decoration: underline !important; font-weight: bold !important; }

/* === FAQ ITEM ACTIVE FIX === */
.faq-item.active { background-color: transparent !important; }
