/* =========================
   ROOT & RESET
========================= */

html { scroll-behavior: smooth; }

:root {
  --max-width: 1905px;
  --accent: #e53935;
  --muted: #666;
  --card-bg: #fff;
  --radius: 14px;
  --container-padding: 20px;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: #222;
  background: linear-gradient(180deg, #f7f9fb, #fff);
  opacity: 0;
  transition: opacity .6s ease;
}

body.loaded { opacity: 1; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* =========================
   LOADER
========================= */

#loader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  transition: opacity .4s ease, visibility .4s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box { text-align: center; }

.loader-box img { width: min(48vw, 150px); }

.loader-text {
  margin-top: 15px;
  font-size: 48px;
  color: #fff;
  font-family: "Lavishly Yours", cursive;
  opacity: 0;
  transform: translateY(15px);
  animation: fadeUp 1.2s ease forwards .4s;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  z-index: 1000;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.brand-logo {
  height: 50px;   /* Desktop */
  width: auto;
}

/* Mobile */
@media (max-width: 768px) {
  .brand-logo {
    height: 36px;
    margin-left: -50px;   /* left shift */
  }
}

/* Header shrink on scroll */
.site-header.shrink {
  height: 56px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(22px);
}

.site-header.shrink .brand-logo {
  height: 40px;
}

.site-header,
.brand-logo {
  transition: all .35s ease;
}

/* Slider dots */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  transition: transform .3s ease, background .3s ease;
}

.slider-dots button.active {
  background: #fff;
  transform: scale(1.3);
}
/* =========================
   SLIDER ARROWS
========================= */

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,1);
  color: #111;
  font-size: 28px;
  cursor: pointer;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .25s ease, background .25s ease;
}

.slider-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

/* Hide arrows on mobile */
@media (max-width: 768px) {
  .slider-arrow { display: none; }
}


/* =========================
   OFF-CANVAS MENU (FINAL)
========================= */

/* Menu button */
.menu-toggle {
  position: absolute;
  left: 14px;
  background: transparent;
  border: 1px solid rgba(0,0,0,.15);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
  z-index: 1100;
}

/* Side menu panel */
.side-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #fff;
  z-index: 3000;
  padding: 24px 20px;
  box-shadow: 8px 0 30px rgba(0,0,0,0.25);
  transition: left 0.4s ease;
}

.side-menu.active {
  left: 0;
}

/* Close button */
.close-menu {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 30px;
}

/* Menu links */
.side-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-nav a {
  text-decoration: none;
  font-size: 18px;
  color: #111;
  transition: color 0.3s ease, transform 0.3s ease;
}

.side-nav a:hover {
  color: var(--accent);
  transform: translateX(6px);
}

/* Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  z-index: 2500;
  transition: opacity 0.3s ease;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}



.order-btn {
  position: absolute;
  right: 14px;
  background: var(--accent);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .3s ease, box-shadow .3s ease;
}

.order-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 24px rgba(229,57,53,.45);
}

/* =========================
   HERO SLIDER (NIC STYLE)
========================= */
.hero {padding-top: 64px; /* header height */
}

.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero::after {
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.05),
    rgba(0,0,0,.05)
  );
  z-index:2;
}
.hero::after {
  pointer-events: none; }

.hero-slider { position:absolute; inset:0; }

.hero-slide {
  position:absolute;
  inset:0;
  opacity:0;
  transform: scale(1.08);
  transition: opacity 1.2s ease, transform 5s ease;
}

.hero-slide.active {
  opacity:1;
  transform: scale(1);
  z-index:1;
}

.hero-slide img {
  width:100%;
  height:100%;
  object-fit:cover;
}
.hero,
.slider-arrow,
.slider-dots {
  user-select: none;
}


.desktop { display:block; }
.mobile { display:none; }

@media(max-width:768px){
  .desktop{display:none;}
  .mobile{display:block;}
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}


.hero {
  position: relative;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}


/*FORCE TEST DOTS */
.test-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99999;
}

.test-dots button {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: yellow;   
  border: none;
}


/* =========================
   FEATURES
========================= */

.hero-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  padding:100px 0;
}

.hero-media img {
  width:100%;
  border-radius:16px;
}

.hero-copy { padding:20px; }

.hero-copy h3 {
  font-size:1.2rem;
  margin-bottom:16px;
  color:#F3FFD7;
}

.hero-copy p {
  line-height:1.6;
}

.features {
  display: flex;
  gap: 30px;
  margin-top: 40px;
}

#Features {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.features p {
  color: #F9FAFC;
}

.feature {
  flex: 1;
  padding: 20px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  transition: .35s ease;
}

/* 1st Box Color */
.features .feature:nth-child(1) {
  background: #633C80; /* Purple */
}

/* 2nd Box Color */
.features .feature:nth-child(2) {
  background: #3C8065; /* Greenish Teal */
}

/* 3rd Box Color (Anchor .feature-link) */
.features .feature:nth-child(3) {
  background: #80553C; /* Brownish */
}

.feature img {
  max-width:80px;
  margin-bottom:12px;
}

.feature:hover {
  transform:translateY(-8px);
  box-shadow:0 18px 45px rgba(0,0,0,.25);
}

.feature:hover h3 { color:var(--accent); }

.feature-link { color:inherit; text-decoration:none; }

@media(max-width:768px){
  .hero-grid { grid-template-columns:1fr; }
  .features { flex-direction:column; }
}

/* ============================================================
   FLAVOUR SLIDER CONTAINER
============================================================ */
.flavour-slider {
  position: relative;
  padding: 40px;
  min-height: calc(100vh - 64px);
  overflow: visible;   /* IMPORTANT */
}


#flavour-slider {
  scroll-margin-top: 10px; /* fixed header safe */
}

.slider-title {
    font-size: 42px;
    color: #f14a59;
    font-weight: 700;
    margin-bottom: 25px;
}

/* ============================================================
   SLIDER WRAPPER â€“ HORIZONTAL SCROLL
============================================================ */
.slider-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 100px;

  max-width: 1400px;   /* 4 cards ke hisaab se */
  margin: 0 auto;      /* CENTER THE VISIBLE AREA */

  scroll-snap-type: x mandatory;
}




/* ============================================================
   ICE CARD â€“ container for scoop + cup
============================================================ */
.ice-card {
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ice-img-wrap {
  position: relative;
  width: 260px;        /* card ke barabar */
  height: 240px;
perspective: 800px;
  overflow: hidden;

}

.scoop {
  position: absolute;
  top: 40px;
  left: 50%;
  width: 167px;

  /* SAME BASE TRANSFORM */
  transform: translateX(-50%);
  transform-origin: center center;

  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) {
  .ice-card:hover .scoop {
    transform:
      translateX(-50%)
      translateY(-30px)
      rotate(25deg);
  }
}


.cup {
  position: absolute;
  left: 50%;
  bottom: -130px;       /* push down */
  transform: translateX(-50%);
  width: 170px;
  z-index: 2;
}

.ice-text {
  margin-top: 5px;
  text-align: center;
}
.ice-text h3 {
  font-size: 20px;
  margin: 10px 0 6px;
  color:rgba(243,27,31,1.00);
}



/* =========================================
   SLIDER CONTROLS - PREMIUM DESIGN
========================================= */

/* SLIDER CONTROLS */
.slider-controls {
  position:static;
  top: 50%;
  right: 40px;
  display: flex;
  gap: 12px;
  transform: translateY(-50%);
  z-index: 10;
}

.flavour-slider button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 92, 130, 0.9);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.slider-controls button:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 10px 25px rgba(255, 92, 130, 0.35);
}


/*newend*/



/* =========================
   ABOUT
========================= */

.about-section {
  min-height:100vh;
  background:url("../images/about-us.jpg") center/cover no-repeat;
  position:relative;
  color:#fff;
  display:flex;
  align-items:center;
}

.about-section::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}

.about-content {
  position:relative;
  max-width:900px;
}

/* MOBILE IMAGE */
@media (max-width: 768px) {
  .about-section {
    background: url("../images/about-us-mobile.jpg")) center / cover no-repeat;
    min-height: 100svh; /* better for mobile browser */
  }
}
/* =========================
   ORDER BUTTONS
========================= */
.order p {text-align: center; font-size: 20px; font-weight: 600}
.order h2 {text-align: center; font-size: 40px; font-weight: 900; color: rgba(142,148,21,1.00)}

/* FORCE vertical layout inside order section */
.order.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 0 00px;   /* top zyada, bottom thoda kam */
	height: 100vh;
}

.scooter-marquee {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0;
}

/* SCOOTER */
.scooter-img {
  position: absolute;
  bottom: 10px;
  width: 280px;

  /* animation */
  animation: scooter-move 20s linear infinite;
}

/* DESKTOP ANIMATION */
@keyframes scooter-move {
  from {
    left: -320px;
  }
  to {
    left: 100%;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .scooter-marquee {
    height: 400px;
  }

  .scooter-img {
    width: 220px;
    bottom: 5px;
    animation-duration: 9s;
  }
}

.order h2 {
  margin: 8px 0 6px;
  line-height: 1.1;
}

.order p {
  margin: 0;
  line-height: 1.3;
}

.order img {
  width: 400px;
  max-width: 90%;
  height: auto;
  margin-bottom: 0px;
}

@media (max-width: 768px) {
  .order img {
    width: 220px;
  }

  .order h2 {
    font-size: 30px;
  }
}

@media (max-width: 768px) {
  .order h2 {
    margin-top: 6px;
    margin-bottom: 4px;
  }

  .order p {
    font-size: 16px;
  }
}

.order-marquee {
  overflow: hidden;
  width: 100%;
  padding: 15px 0;
}

/* marquee row */
.order-links {
  display: flex;
  align-items: center;
  gap: 50px;                 /* CONTROL spacing here */
  width: max-content;
  animation: marquee 110s linear infinite;
}

/* pause on hover */
.order-marquee:hover .order-links {
  animation-play-state: paused;
}

/* logo container */
.order-partner {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* LOGO SIZE â€” THIS FIXES YOUR ISSUE */
.order-partner img {
  height: 25px;              /* FIXED height */
  width: auto;
  display: block;
  transition: transform .25s ease;
}

.order-partner:hover img {
  transform: translateY(-4px);
}

/* animation */
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =========================
   FOOTER
========================= */

.site-footer {
  margin-top: auto;                 /* STICKY FOOTER */
  background: #5f3d7a;
  color: #ffffff;
  padding: 18px 0;                  /* SLIMMER FOOTER */
  position: relative;
}

/* =========================
   THIN TOP DIVIDER
========================= */

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.25); /* subtle premium divider */
}

/* =========================
   FOOTER LAYOUT
========================= */

.site-footer {
  margin-top: auto;
  background: #5f3d7a;
  color: #ffffff;
  padding: 18px 0;
  position: relative;
  width: 100%;

}

/* Thin top divider */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.25);
}

/* =========================
   GRID LAYOUT (2 COLUMNS)
========================= */

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;   /* LEFT | RIGHT */
  align-items: center;               /* FIXES upar-neeche */
  gap: 20px;
}

/* =========================
   LEFT: BRAND
========================= */

.footer-brand {
  text-align: left;
}

.footer-brand strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand span {
  display: block;
  font-size: 13px;
  opacity: 0.85;
  line-height: 1.2;
}

/* =========================
   RIGHT: SOCIAL
========================= */

.footer-social {
  text-align: right;
}

.social-title {
  margin: 0 0 6px;      /* remove default <p> gap */
  font-size: 13px;
  font-weight: 600;
}

.social-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

.social-icons img {
  width: 35px;
  height: 35px;
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* Brand color hover */
.social-icons a:nth-child(1):hover img {
  filter: drop-shadow(0 0 6px #1877F2);
  transform: translateY(-2px);
}
.social-icons a:nth-child(2):hover img {
  filter: drop-shadow(0 0 6px #E4405F);
  transform: translateY(-2px);
}
.social-icons a:nth-child(3):hover img {
  filter: drop-shadow(0 0 6px #25D366);
  transform: translateY(-2px);
}
/* COPYRIGHT */
.copyright {
  text-align: center;
  margin-top: 30px;
  font-size: .9rem;
  color: #F4EFFF;
}

/* ANIMATION */
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}


/* ===============================
   CONTACT POPUP – COMPLETE CSS
================================ */

/* POPUP WRAPPER */
.contact-popup {
  position: fixed;
  inset: 0;
  display: none;                 /* default hidden */
  align-items: center;
  justify-content: center;
  z-index: 999999;
}

/* ACTIVE STATE */
.contact-popup.active {
  display: flex;
}

/* OVERLAY */
.contact-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

/* POPUP BOX */
.contact-popup__box {
  position: relative;
  background: #ffffff;
  width: 100%;
  max-width: 1024px;
  border-radius: 16px;
  padding: 32px;
  z-index: 2;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

/* CLOSE BUTTON */
.contact-popup__close {
  position: absolute;
  top: 12px;
  right: 16px;
  border: none;
  background: none;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* LAYOUT */
.popup-layout {
  display: flex;
  gap: 32px;
  align-items: center;
}

/* LEFT IMAGE */
.popup-image {
  flex: 0 0 60%;
  text-align: center;
}

.popup-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 14px;
}

/* RIGHT FORM */
.popup-form {
  flex: 1;
}

/* TITLE */
.popup-title {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
}

/* FORM ELEMENTS */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  box-sizing: border-box;
  font-family: inherit;
}

.contact-form textarea {
  resize: none;
}

/* FOCUS STATE */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ff3f8e;
}

/* TWO COLUMN (PHONE + EMAIL) */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* SUBMIT BUTTON */
.btn-submit {
  width: 100%;
  padding: 15px;
  border-radius: 12px;
  border: none;
  background: #ff3f8e;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-submit:hover {
  background: #e7337d;
}

/* ================================
   MOBILE POPUP HEIGHT FIX
================================ */

/* Popup container */
.contact-popup {
  align-items: center;
  justify-content: center;
}

/* Popup box */
.contact-popup__box {
  max-height: 90vh;        /* screen ke andar */
  overflow-y: auto;       /* vertical scroll allow */
  -webkit-overflow-scrolling: touch;
}

/* Image size control */
.popup-image img {
  max-width: 700px;
  height: auto;
}

/* Mobile layout */
@media (max-width: 768px) {

  .popup-layout {
    flex-direction: column;
    align-items: stretch;
  }

  .popup-image {
    text-align: center;
    margin-bottom: 12px;
  }

  .popup-image img {
    max-width: 300px;
  }

  .popup-form {
    width: 100%;
  }

  .contact-form {
    padding-bottom: 10px;
  }
}



/* ============================================================
   MOBILE ONLY RULES â€“ CONSOLIDATED (FINAL)
============================================================ */

/* FLAVOUR */

@media (max-width: 768px) {

  .flavour-slider {
    height: auto;
    padding: 20px 0;
    overflow: hidden;
  }
	@media (max-width: 768px) {
  .slider-controls {
    display: none !important;
  }
}


  /* IMPORTANT: no side padding here */
  .slider-wrapper {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    padding: 0;
  }

  .slider-wrapper::-webkit-scrollbar {
    display: none;
  }

  /* each slide = full viewport */
  .ice-card {
    flex: 0 0 auto;
    width: 100vw;
    scroll-snap-align: start;
    align-items: center;
  }

  /* image frame */
  .ice-img-wrap {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
    text-align: center;

  }

  /* LOCK IMAGE */
  .scoop,
  .cup {
    position: absolute !important;
    left: 50%;
    transform: translateX(-50%) 
    transition: none !important;
  }

  /* BIG SCOOP CENTER */
  .scoop {
    width: 250px;
    top: 50px;
    z-index: 1;
  }

  /* HALF CONE */
  .cup {
    width: 250px;
    bottom: -210px;   /* ðŸ‘ˆ half visible */
    z-index: 2;
  }

  .ice-text {
    margin-top: 20px;
    padding: 0 20px;
    text-align: center;
  }
}

@media (hover: none) {
  .ice-card.hovered .scoop {
    transform:
      translateX(-50%)
      translateY(-30px);
  }
}


/* ORDER */
@media (max-width: 600px) {
  .order-links {
    gap: 30px;
    animation-duration: 110s;
  }

  .order-partner img {
    height: 36px;
  }
}


/* =========================
   MOBILE FOOTER – LEFT RIGHT
========================= */

@media (max-width: 768px) {

  .footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;   /* LEFT | RIGHT */
    align-items: center;
    gap: 12px;
  }

  .footer-brand {
    text-align: left;
  }

  .footer-social {
    text-align: right;
  }

  .social-icons {
    justify-content: flex-end;
  }

  .social-title {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .footer-brand strong {
    font-size: 15px;
  }

  .footer-brand span {
    font-size: 12px;
  }

  .social-icons img {
    width: 24px;
    height: 24px;
  }
}

