/* —— RESET & BASE —— */
*,
*::before,
*::after {
  margin: 0; padding: 0; box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background: #FCFBF6;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* —— VARIABLES —— */
:root {
  --color-primary:   #FF7A00;
  --color-secondary: #7A301E;
  --bg-light:        #FCFBF6;
  --text-muted:      #666666;
  --border-line:     #D8C4B0;
  --radius:          4px;
  --radius-card:     24px;
  --spacing:         16px;
  --max-width:       1200px;
}

/* —— CONTAINER —— */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing) 0;
}

/* —— HEADER / NAV —— */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.5rem; font-weight: 700; color: var(--color-secondary);
}
.nav-menu {
  list-style: none;
  display: flex; 
  gap: 2rem;
  
}
.nav-menu a {
  font-weight: 500; color: #333;
}
.contact-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius);
  color: var(--color-primary);
  font-weight: 500;
}
.contact-btn:hover {
  background: var(--color-primary);
  color: #fff;
}

/* —— HERO & SIDEBAR —— */
.detail-hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--spacing);
  align-items: start;
  margin-bottom: var(--spacing);
}
.detail-text h1 {
  font-size: 2rem; margin-bottom: 0.5em;
}
.detail-text p {
  max-width: 600px;
  color: var(--text-muted);
  margin-bottom: var(--spacing);
  line-height: 1.5;
}
.detail-text .btn {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
}
.detail-sidebar .timings-card {
  border: 1px solid var(--border-line);
  padding: var(--spacing);
  border-radius: var(--radius);
  background: #fff;
}
.timings-card h3 {
  margin-bottom: 0.5em;
  color: var(--color-secondary);
}
.timings-card p {
  margin-bottom: 0.5em;
  font-size: 0.95rem;
}
.timings-card p strong {
  color: #000;
}

/* —— SLIDER —— */
.slides {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
  }
  
  .slide {
    flex: 0 0 60%;                
    scroll-snap-align: center;
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
  }
  
  .slide img {
    border-radius: 20px;
    width: 90%;
    height: 90%;
    object-fit: cover;
    display: block;
  }
  
  
  .slides::-webkit-scrollbar {
    display: none;
  }
  .slides {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  /* dots */
  .dots {
    text-align: center;
    margin-top: 0.5rem;
  }
  .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background: var(--border-line);   
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
  }
  .dot.active {
    background: var(--color-primary); 
  }
  

/* —— INCLUDES & NOTES —— */
.includes h2,
.notes h2 {
  margin-bottom: var(--spacing);
  color: var(--color-secondary);
}
.includes-grid ul,
.notes-grid ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 2rem;
}

.includes-grid li,
.notes-grid li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}
.includes-grid li::before,
.notes-grid li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* —— DESCRIPTION CTA —— */
.description {
  text-align: center;
  margin-bottom: 2rem;
}
.description p {
  max-width: 800px;
  margin: 0 auto var(--spacing);
  color: var(--text-muted);
  line-height: 1.6;
}
.description .btn {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 500;
}


/* —— TESTIMONIALS —— */
.testimonials-slider {
  background-color: #7A301E;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  overflow: hidden;
}

.testimonials-slider .subtitle {
  color: #F5EDE4;
  font-weight: 600;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 0.5rem;
}

.testimonials-slider h2 {
  margin-bottom: 2rem;
}

/* Scrollable container */
.testimonials-slider .cards-container {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0 1rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.testimonials-slider .cards-container::-webkit-scrollbar {
  display: none;
}
.testimonials-slider .cards-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Card styling */
.testimonials-slider .card {
  background: #fff;
  color: #333;
  padding: 1.25rem;
  border-radius: 12px;
  min-width: 280px;
  max-width: 300px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  text-align: left;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.testimonials-slider .card p:first-of-type {
  color: #FFD700;
  margin-bottom: 0.5em;
  font-size: 1.1rem;
}

.testimonials-slider .card p:last-of-type {
  margin-bottom: 1em;
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonials-slider .card h4 {
  margin-top: auto;
  font-weight: 600;
  color: #7A301E;
}

/* Responsive: Slightly wider cards on smaller devices */
@media (max-width: 768px) {
  .testimonials-slider .cards-container {
    padding: 1rem;
  }

  .testimonials-slider .card {
    min-width: 85vw;
    max-width: 90vw;
  }
}


/* —— FOOTER —— */
.site-footer {
  background: var(--bg-light);
  padding-top: var(--spacing);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr repeat(3, minmax(150px,1fr));
  gap: var(--spacing);
  padding-bottom: var(--spacing);
}
.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-secondary);
}
.footer-col h4 {
  margin-bottom: 0.5em;
  color: var(--color-secondary);
}
.footer-col a {
  display: block;
  margin-bottom: 0.25em;
  color: #333;
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing) 0;
  font-size: 0.85rem;
  color: #999;
}
.footer-bottom .social img {
  width: 1.25rem;
  margin-left: var(--spacing);
}

/* —— RESPONSIVE —— */
@media (max-width: 768px) {
  .detail-hero { grid-template-columns: 1fr; }
  .includes-grid,
  .notes-grid { grid-template-columns: 1fr; }
  .testimonial-cards { flex-direction: column; }
}
/* —— RESPONSIVE —— */

/* Tablet (medium screens) */
@media (max-width: 992px) {
  .nav-menu {
    gap: 1rem;
  }
  .detail-hero {
    grid-template-columns: 1fr;
  }
  .includes-grid,
  .notes-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Mobile (small screens) */
@media (max-width: 600px) {
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .contact-btn {
    width: 100%;
    text-align: center;
  }

  .slide {
    flex: 0 0 90%;
  }

  .testimonial-cards {
    flex-direction: column;
    align-items: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-bottom .social {
    justify-content: center;
  }
}


/* Hamburger */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-secondary);
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu,
  .contact-btn {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: left;
    margin-top: 0.5rem;
  }

  .nav-menu.show,
  .contact-btn.show {
    display: flex;
  }

  .nav-menu {
    gap: 0.5rem;
  }
}
/* Force navbar horizontal alignment on mobile */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Hamburger icon styling */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-secondary);
}

/* Responsive navbar layout */
@media (max-width: 768px) {
  .nav-menu,
  .contact-btn {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  .nav-menu.show,
  .contact-btn.show {
    display: flex;
  }

  .hamburger {
    display: block;
    margin-left: auto; /* Pushes hamburger to right */
  }

  .detail-header {
    flex-wrap: wrap; /* allows next rows to wrap */
  }

  .logo {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* prevent wrapping */
  }

  .logo {
    flex: 0 0 auto; /* Don't let it grow or shrink */
    justify-content: flex-start;
    text-align: left;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    color: var(--color-secondary);
    cursor: pointer;
  }

  .nav-menu,
  .contact-btn {
    display: none;
    flex-direction: column;
    width: 100%;
    text-align: left;
    margin-top: 1rem;
  }

  .nav-menu.show,
  .contact-btn.show {
    display: flex;
  }
}

/* Force header layout */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Logo must NOT be centered */
.logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
}

.logo img {
  display: block;
  height: 50px;
  margin: 0;
  padding: 0;
}
