/* =========================================================
   THRISSPICE – PREMIUM IMMERSIVE STYLESHEET
   Updated with real logo & products
   ========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background-color: #0f0e0c;
  color: #f5f0e8;
  line-height: 1.6;
  overflow-x: hidden;
}

:root {
  --bg-dark: #0f0e0c;
  --bg-card: #1a1814;
  --saffron: #e8a838;
  --saffron-dark: #c4861f;
  --forest: #2d4a3e;
  --cream: #f5f0e8;
  --muted: #a89f91;
}

/* ---------- HEADER ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0.8rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(15, 14, 12, 0.95);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(232, 168, 56, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--saffron);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--saffron);
}

.logo-tagline {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 1px;
}

.main-nav a {
  color: var(--cream);
  text-decoration: none;
  margin-left: 1.8rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--saffron);
}

.nav-cta {
  background: var(--saffron);
  color: #0f0e0c !important;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
}

/* ---------- HERO ---------- */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem 5% 4rem;
  position: relative;
  background: 
    radial-gradient(ellipse at 30% 20%, rgba(45, 74, 62, 0.35) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(232, 168, 56, 0.12) 0%, transparent 45%),
    var(--bg-dark);
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.4rem;
  color: var(--cream);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 2.2rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--saffron);
  color: #0f0e0c;
}

.btn-primary:hover {
  background: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(232, 168, 56, 0.35);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-whatsapp:hover {
  background: #1ebe57;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-large {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* ---------- PRODUCTS – 3D MANDALA ---------- */
.products-section {
  padding: 5rem 5%;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #141210 100%);
}

.section-header h2 {
  font-size: 2.2rem;
  color: var(--saffron);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.carousel-stage {
  width: 100%;
  max-width: 900px;
  height: 460px;
  margin: 0 auto;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  width: 170px;
  height: 260px;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.1s ease-out;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 170px;
  height: 260px;
  background: var(--bg-card);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(232, 168, 56, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.carousel-item:hover {
  border-color: var(--saffron);
  box-shadow: 0 20px 50px rgba(232, 168, 56, 0.25);
}

.carousel-item img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  display: block;
  image-rendering: -webkit-optimize-contrast;
}

.carousel-item h3 {
  padding: 0.7rem 0.6rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
}

/* Launching Soon badge */
.carousel-item .badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--saffron);
  color: #0f0e0c;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hint {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------- TILT MODAL ---------- */
.tilt-modal {
  position: fixed;
  inset: 0;
  background: rgba(10, 9, 8, 0.93);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tilt-modal.active {
  opacity: 1;
  visibility: visible;
}

.tilt-modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  width: 92%;
  gap: 1.8rem;
  position: relative;
}

.close-btn {
  position: absolute;
  top: -10px;
  right: 0;
  background: transparent;
  border: none;
  color: var(--cream);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  z-index: 10;
}

.close-btn:hover {
  color: var(--saffron);
}

.tilt-container {
  width: 340px;
  height: 420px;
  perspective: 1000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tiltImage {
  width: 100%;
  height: 100%;
  object-fit: contain;          /* show full product without heavy crop */
  background: #1a1814;
  border-radius: 18px;
  box-shadow: 
    0 25px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(232, 168, 56, 0.15);
  transition: transform 0.1s ease-out;
  transform-style: preserve-3d;
  image-rendering: -webkit-optimize-contrast;
}

.tilt-info {
  text-align: center;
  max-width: 480px;
}

.tilt-info h2 {
  font-size: 1.7rem;
  color: var(--saffron);
  margin-bottom: 0.7rem;
}

.tilt-info p {
  color: var(--muted);
  margin-bottom: 1.6rem;
  font-size: 1.02rem;
}

/* ---------- ABOUT ---------- */
.about-section {
  padding: 5.5rem 5%;
  background: 
    radial-gradient(ellipse at center, rgba(45, 74, 62, 0.2) 0%, transparent 70%),
    var(--bg-dark);
  text-align: center;
}

.about-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 3px solid var(--saffron);
  object-fit: cover;
}

.about-content {
  max-width: 680px;
  margin: 0 auto;
}

.about-content h2 {
  font-size: 1.9rem;
  color: var(--saffron);
  margin-bottom: 1.3rem;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  font-size: 1.08rem;
}

/* ---------- ORDER ---------- */
.order-section {
  padding: 5.5rem 5%;
  text-align: center;
  background: #141210;
}

.order-section h2 {
  font-size: 1.9rem;
  margin-bottom: 0.9rem;
  color: var(--cream);
}

.order-section > p {
  color: var(--muted);
  margin-bottom: 2.2rem;
}

.contact-details {
  margin-top: 2.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-details p {
  margin: 0.3rem 0;
}

/* ---------- FOOTER ---------- */
.site-footer {
  padding: 1.8rem 5%;
  text-align: center;
  border-top: 1px solid rgba(232, 168, 56, 0.1);
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .carousel-stage {
    height: 340px;
    perspective: 900px;
  }
  
  .carousel {
    width: 130px;
    height: 200px;
  }
  
  .carousel-item {
    width: 130px;
    height: 200px;
  }
  
  .carousel-item img {
    height: 150px;
  }
  
  .carousel-item h3 {
    font-size: 0.75rem;
    padding: 0.4rem 0.3rem;
  }
}

@media (max-width: 600px) {
  .carousel-stage {
    height: 290px;
    perspective: 700px;
  }
  
  .carousel {
    width: 115px;
    height: 175px;
  }
  
  .carousel-item {
    width: 115px;
    height: 175px;
  }
  
  .carousel-item img {
    height: 125px;
  }
  
  .tilt-container {
    width: 240px;
    height: 300px;
  }
  
  .main-nav a {
    margin-left: 0.8rem;
    font-size: 0.82rem;
  }
  
  .logo-img {
    width: 38px;
    height: 38px;
  }
  
  .logo-text {
    font-size: 1.25rem;
  }
  
  .hero {
    min-height: 75vh;
    padding: 6rem 4% 3rem;
  }
  
  .section-header h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 480px) {
  .logo-tagline {
    display: none;
  }
  
  .main-nav .nav-cta {
    display: none;
  }
  
  .hero h1 {
    font-size: 1.9rem;
  }
  
  .hero-subtitle {
    font-size: 0.95rem;
  }
  
  .carousel-stage {
    height: 250px;
  }
  
  .carousel {
    width: 100px;
    height: 155px;
  }
  
  .carousel-item {
    width: 100px;
    height: 155px;
  }
  
  .carousel-item img {
    height: 110px;
  }
  
  .carousel-item h3 {
    font-size: 0.68rem;
    padding: 0.3rem 0.2rem;
  }
  
  .hint {
    font-size: 0.78rem;
  }
  
  .tilt-container {
    width: 220px;
    height: 280px;
  }
  
  .tilt-info h2 {
    font-size: 1.3rem;
  }
  
  .tilt-info p {
    font-size: 0.88rem;
  }
}

/* ---------- FSSAI in Footer ---------- */
.fssai-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.fssai-logo {
  height: 28px;
  width: auto;
}

.fssai-block span {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.3px;
}

/* ---------- Instagram / Social ---------- */
.social-links {
  margin-bottom: 1.2rem;
}

.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.instagram-link:hover {
  color: var(--saffron);
}

.instagram-link svg {
  stroke: currentColor;
}
