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

/* ============================================================
   MALO CAFE — MAIN STYLESHEET
   Sections:
   1.  Reset & Root Variables
   2.  Base Styles
   3.  Navbar
   4.  Logo
   5.  Hero
   6.  Sections & Layout
   7.  Grid
   8.  Highlight Cards
   9.  Menu Cards
   10. Review Carousel
   11. Gallery
   12. About
   13. Contact
   14. Booking Form
   15. Footer
   16. Animations
   17. Find Us
   18. Preloader
   19. Admin
   20. Review Form (star rating, upload)
   21. Responsive overrides
   ============================================================ */


/* ===== 1. RESET & ROOT VARIABLES ===== */

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

:root {
  --background:          hsl(36, 33%, 97%);
  --foreground:          hsl(25, 20%, 16%);
  --card:                hsl(37, 36%, 95%);
  --card-foreground:     hsl(25, 20%, 16%);
  --primary:             hsl(25, 40%, 32%);
  --primary-foreground:  hsl(36, 33%, 97%);
  --secondary:           hsl(85, 20%, 85%);
  --secondary-foreground:hsl(25, 20%, 16%);
  --muted:               hsl(35, 20%, 90%);
  --muted-foreground:    hsl(25, 10%, 45%);
  --accent:              hsl(85, 25%, 72%);
  --accent-foreground:   hsl(25, 20%, 16%);
  --border:              hsl(30, 15%, 85%);
  --cafe-warm:           hsl(30, 50%, 92%);
  --cafe-brown:          hsl(25, 40%, 32%);
  --cafe-cream:          hsl(38, 40%, 95%);
  --cafe-green:          hsl(85, 25%, 72%);
  --cafe-green-dark:     hsl(85, 30%, 40%);
  --cafe-gold:           hsl(38, 60%, 55%);
  --radius:              0.75rem;
}


/* ===== 2. BASE STYLES ===== */

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background: var(--background);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; font-family: inherit; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }


/* ===== 3. NAVBAR ===== */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.3s;
}

.navbar.scrolled {
  background: rgba(248, 246, 243, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.75rem 0;
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar-brand svg { width: 28px; height: 28px; color: var(--primary); }
.navbar-brand span { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 2rem; }

.nav-links a {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--foreground);
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover { color: var(--primary); }

/* Active page — oval pill indicator */
.nav-links a.active {
  color: var(--primary);
  background: var(--cafe-warm);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  background: var(--primary);
  color: var(--primary-foreground);
  transition: all 0.2s;
}
.btn:hover         { opacity: 0.9; }
.btn-lg            { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-secondary     { color: #000; background-color: rgb(211, 211, 211); }
.btn-full          { width: 100%; }
.btn-primary       { transition: transform 0.2s, box-shadow 0.2s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); }

/* ===== COFFEE BOOKING BUTTON ===== */

/* Desktop — cup + steam (hidden on tablet/mobile) */
.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1.35rem;
  background: var(--primary);
  color: white !important;
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  transition: background 0.25s, transform 0.2s, color 0.2s;
}
.btn-book:hover { background: #8b5c2c; transform: translateY(-1px); color: black !important; }

.btn-book .cup-svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: visible;
}

/* Steam animation */
.btn-book .steam-1,
.btn-book .steam-2,
.btn-book .steam-3 {
  stroke: var(--primary-foreground);
  stroke-width: 1.5;
  stroke-linecap: round;
  fill: none;
  opacity: 0;
}
.btn-book:hover .steam-1 { animation: cupsteam 1.2s ease-in-out infinite; stroke: black; }
.btn-book:hover .steam-2 { animation: cupsteam 1.2s ease-in-out 0.2s infinite; stroke: black; }
.btn-book:hover .steam-3 { animation: cupsteam 1.2s ease-in-out 0.4s infinite; stroke: black; }
@keyframes cupsteam {
  0%   { opacity: 0;   transform: translateY(0px)   scaleX(1); }
  30%  { opacity: 0.9; transform: translateY(-3px)  scaleX(1.1); }
  70%  { opacity: 0.5; transform: translateY(-7px)  scaleX(0.9); }
  100% { opacity: 0;   transform: translateY(-11px) scaleX(1); }
}

/* Mobile/tablet — pill only, no icon */
.btn-book-mobile {
  display: none;
  align-items: center;
  padding: 0.6rem 1.35rem;
  background: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Lato', sans-serif;
  text-decoration: none;
  transition: background 0.25s;
  width: 100%;
  justify-content: center;
}
.btn-book-mobile:hover { background: #8b5c2c; color: white; }

/* Hide desktop button on tablet/mobile, show pill */
@media (max-width: 768px) {
  .btn-book       { display: none; }
  .btn-book-mobile{ display: inline-flex; }
}

/* Hamburger & mobile menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.hamburger input { display: none; }
.hamburger svg {
  height: 2.25rem;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger .line {
  fill: none;
  stroke: var(--foreground);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
  transition:
    stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger .line-top-bottom { stroke-dasharray: 12 63; }
.hamburger input:checked + svg { transform: rotate(-45deg); }
.hamburger input:checked + svg .line-top-bottom {
  stroke-dasharray: 20 300;
  stroke-dashoffset: -32.42;
}
/* On home page, stroke is white when navbar is transparent */
.home-page .navbar:not(.scrolled) .hamburger .line { stroke: white; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: rgba(248, 246, 243, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  padding: 1.5rem 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1rem; font-weight: 500; color: var(--muted-foreground); }
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--primary); }

/* Home page — transparent navbar over hero */
.home-page .navbar { background: transparent; }
.home-page .navbar .nav-links a:not(.btn) { color: white; background: none; }
.home-page .navbar .nav-links a:not(.btn):hover { color: rgba(255,255,255,0.75); background: none; }
.home-page .navbar .nav-links a.active:not(.btn) { color: white; background: rgba(255,255,255,0.15); }
.home-page .navbar .btn { background: var(--primary); color: white; }
.home-page .navbar .btn:hover { background: #8b5c2c; color: white; }

/* Home page — coffee button transparent state: white icon + text */
.home-page .navbar:not(.scrolled) .btn-book {
  background: transparent;
  color: white !important;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 999px;
}
.home-page .navbar:not(.scrolled) .btn-book .line,
.home-page .navbar:not(.scrolled) .btn-book .cup-svg path { stroke: white; }
.home-page .navbar:not(.scrolled) .btn-book:hover {
  background: rgba(255,255,255,0.15);
  color: white !important;
  border-color: white;
  transform: translateY(-1px);
}

/* Home page — scrolled state */
.home-page .navbar.scrolled { background: rgba(248, 246, 243, 0.95); }
.home-page .navbar.scrolled .nav-links a:not(.btn) { color: var(--foreground); }
.home-page .navbar.scrolled .nav-links a:not(.btn):hover { color: var(--primary); }
.home-page .navbar.scrolled .nav-links a.active:not(.btn) { color: var(--primary); background: var(--cafe-warm); }
.home-page .navbar.scrolled .btn { color: white; }
.home-page .navbar.scrolled .btn:hover { background: #8b5c2c; color: white; }

/* Home page — scrolled: coffee button becomes solid brown pill */
.home-page .navbar.scrolled .btn-book{
  background: var(--primary);
  color: rgb(0, 0, 0) !important;
  border: 2px solid rgba(248, 246, 243, 0.95) ;
  border-radius: 999px;
}


.home-page .navbar.scrolled .btn-book:hover  {
  background: #8b5c2c;
  color: #8b5c2c !important;
  transform: translateY(-1px);
  border-color: #8b5c2c;

}


/* ===== 4. LOGO ===== */

.logo-img {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: all 0.3s ease;
}

.navbar-brand:hover .logo-img {
  transform: scale(1.05);
  opacity: 0.9;
}


/* ===== 5. HERO ===== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(46, 34, 25, 0.5); }

.hero-content { position: relative; z-index: 10; max-width: 640px; }

.hero-content h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--primary-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content p {
  font-size: 1.125rem;
  color: rgba(248, 246, 243, 0.9);
  margin-bottom: 2rem;
  line-height: 1.7;
}


/* ===== 6. SECTIONS & LAYOUT ===== */

.section          { padding: 6rem 0; }
.section-card     { background: var(--card); position: relative; padding-bottom: 2rem; text-align: center; }
.section-primary  { background: var(--primary); color: var(--primary-foreground); text-align: center; }

.section-title    { font-size: clamp(1.875rem, 3vw, 2.5rem); font-weight: 700; text-align: center; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--muted-foreground); max-width: 32rem; margin: 0 auto 4rem; }

.page-header        { padding-top: 6rem; }
.page-header .section { padding: 5rem 0; }

/* "Leave a Review" button inside section-card */
.section-card .btn.review { display: inline-block; margin-top: 1.5rem; color: #000; background-color: rgb(211, 211, 211); }


/* ===== 7. GRID ===== */

.grid-2 { display: grid; gap: 3rem; }
.grid-3 { display: grid; gap: 1.5rem; }
.grid-4 { display: grid; gap: 2rem; }


/* ===== 8. HIGHLIGHT CARDS ===== */

.highlight-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--background);
  border: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.highlight-card:hover { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }

.highlight-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.highlight-icon svg { width: 28px; height: 28px; color: var(--accent-foreground); }

.highlight-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.5rem; }
.highlight-card p  { font-size: 0.875rem; color: var(--muted-foreground); }


/* ===== 9. MENU CARDS ===== */

.menu-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
}
.menu-card .img-wrap { aspect-ratio: 4/3; overflow: hidden; }
.menu-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.menu-card:hover img { transform: scale(1.1); }
.menu-card .info { padding: 1.25rem; display: flex; align-items: center; justify-content: space-between; }
.menu-card .info h3   { font-size: 1.125rem; font-weight: 600; }
.menu-card .info span { font-size: 1.125rem; font-weight: 700; color: var(--primary); }


/* ===== 10. REVIEW CAROUSEL ===== */

.review-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 3rem 0;
}

.carousel-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}

.carousel-card {
  position: absolute;
  width: 320px;
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s ease-in-out;
}

.carousel-card.center {
  z-index: 30;
  transform: translateX(0) scale(1);
  opacity: 1;
  background: var(--primary);
  color: var(--primary-foreground);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.carousel-card.side {
  z-index: 10;
  opacity: 0.4;
  filter: blur(2px);
  background: var(--primary);
  color: var(--primary-foreground);
}

.carousel-card.hidden-card {
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

.carousel-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 0.75rem;
  background: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.carousel-avatar svg { width: 2.5rem; height: 2.5rem; color: var(--muted-foreground); }

.carousel-stars             { display: flex; gap: 0.25rem; margin-bottom: 0.75rem; }
.carousel-stars svg         { width: 16px; height: 16px; }
.carousel-stars svg.filled  { fill: var(--cafe-gold); color: var(--cafe-gold); }
.carousel-stars svg.empty   { fill: none; stroke: currentColor; opacity: 0.3; }

/* Review text — clamp to 5 lines */
.carousel-card .review-text {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.9;

  /* Line clamp — limits text to 5 lines */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  overflow: hidden;
}

.carousel-card .review-author   { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1rem; }
.carousel-card .review-role     { font-size: 0.875rem; color: var(--accent); margin-top: 0.25rem; }
.carousel-card .review-location { font-size: 0.75rem; opacity: 0.7; margin-top: 0.125rem; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: opacity 0.2s;
}
.carousel-arrow:hover { opacity: 0.7; }
.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.5rem; }

.carousel-dot {
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  background: var(--primary);
  transition: all 0.3s;
}
.carousel-dot.active      { width: 1.5rem; opacity: 1; }
.carousel-dot:not(.active){ width: 0.5rem; opacity: 0.3; }

/* Quote decoration & badges */
.quote-icon {
  font-size: 3rem;
  opacity: 0.1;
  position: absolute;
  top: 10px;
  left: 15px;
}

.avatar-initials {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.verified {
  font-size: 0.75rem;
  color: #4CAF50;
  margin-top: 0.5rem;
  font-weight: 500;
}

.verified-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  background: rgba(0, 150, 0, 0.1);
  color: rgb(50, 156, 50);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}


/* ===== 11. GALLERY ===== */

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 34, 25, 0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
}
.gallery-item:hover .gallery-overlay { background: rgba(46, 34, 25, 0.4); }

.gallery-overlay .caption {
  padding: 1.25rem;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.gallery-item:hover .gallery-overlay .caption { transform: translateY(0); }

.gallery-overlay .cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(248, 246, 243, 0.8);
}
.gallery-overlay .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-foreground);
}


/* ===== 12. ABOUT ===== */

.about-grid { display: grid; gap: 3rem; align-items: center; }
.about-grid img { border-radius: var(--radius); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); width: 100%; }
.about-grid h2 { font-size: 1.875rem; font-weight: 700; margin-bottom: 1.5rem; }
.about-grid p  { color: var(--muted-foreground); margin-bottom: 1rem; line-height: 1.7; }

.value-item { border-left: 4px solid var(--accent); padding-left: 1rem; margin-bottom: 1.5rem; }
.value-item h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 0.25rem; }
.value-item p  { font-size: 0.875rem; color: var(--muted-foreground); }


/* ===== 13. CONTACT ===== */

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }

.contact-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; color: var(--accent-foreground); }
.contact-item h3 { font-family: 'Playfair Display', serif; font-weight: 600; margin-bottom: 0.25rem; }
.contact-item p  { font-size: 0.875rem; color: var(--muted-foreground); }

.social-links { display: flex; gap: 1rem; margin-top: 0.5rem; }

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--primary-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.social-link:hover { opacity: 0.9; }
.social-link svg { width: 20px; height: 20px; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); height: 400px; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }


/* ===== 14. BOOKING FORM ===== */

.form-wrap {
  max-width: 36rem;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) - 2px);
  font-size: 0.875rem;
  font-family: 'Lato', sans-serif;
  background: var(--background);
  color: var(--foreground);
  transition: border-color 0.2s;
}

.image-upload-area img {
  width: 60px;      
  height: 60px;      
  object-fit: cover;  
  border-radius: 8px; 
  display: block;
  margin: 0 auto;    
}

.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--primary); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.success-screen {
  text-align: center;
  max-width: 28rem;
  margin: 0 auto;
  padding: 2rem;
}
.success-icon     { width: 64px; height: 64px; color: var(--cafe-green-dark); margin: 0 auto 1.5rem; }
.success-screen h2{ font-size: 1.875rem; font-weight: 700; margin-bottom: 1rem; }
.success-screen p { color: var(--muted-foreground); font-size: 1.125rem; }


/* ===== 15. FOOTER ===== */

.footer { background: var(--primary); color: var(--primary-foreground); padding: 4rem 0 0; }
.footer-grid { display: grid; gap: 2.5rem; }
 
.footer-brand { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.footer-brand svg  { width: 24px; height: 24px; }
.footer-brand span { font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 700; }
 
.footer p  { font-size: 0.875rem; opacity: 0.8; line-height: 1.7; }
.footer h4 { font-family: 'Playfair Display', serif; font-size: 1.125rem; font-weight: 600; margin-bottom: 1rem; }
 
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a       { font-size: 0.875rem; opacity: 0.8; transition: opacity 0.2s; }
.footer-links a:hover { opacity: 1; }
 
.footer-contact      { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.875rem; opacity: 0.8; }
.footer-contact-item { display: flex; align-items: center; gap: 0.5rem; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; }
 
/* ===== FOOTER SOCIAL ICONS ===== */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
 
/* Desktop — fill bubble effect */
.footer-social-btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
 
.footer-social-btn:hover {
  color: white;
  box-shadow: 3px 2px 45px rgba(0,0,0,0.2);
}
 
.footer-social-btn svg {
  position: relative;
  z-index: 1;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  transition: stroke 0.3s;
}
 
/* Fill layer — rises from bottom on hover */
.footer-social-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  transition: height 0.3s ease-in-out;
  z-index: 0;
}
.footer-social-btn:hover .footer-social-fill { height: 100%; }
 
/* Instagram gradient fill */
.social-instagram .footer-social-fill {
  background: linear-gradient(45deg, #405de6, #5b51db, #b33ab4, #e1306c, #fd1f1f);
}
 
/* Facebook fill */
.social-facebook .footer-social-fill { background: #4267B2; }
 
/* Tooltip */
.footer-social-tooltip {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-size: 11px;
  font-family: 'Lato', sans-serif;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.25s;
}
.footer-social-btn:hover .footer-social-tooltip {
  opacity: 1;
  visibility: visible;
  top: -44px;
}
 
/* Mobile/tablet — strip animation, show simple icons only */
@media (max-width: 768px) {
  .footer-social-btn {
    background: transparent;
    width: 32px;
    height: 32px;
  }
  .footer-social-fill { display: none; }
  .footer-social-tooltip { display: none; }
  .footer-social-btn:hover { box-shadow: none; }
  .footer-social-btn svg { width: 18px; height: 18px; }
}
 
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(248, 246, 243, 0.2);
  padding: 1.5rem 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; opacity: 0.6; }
 
 


/* ===== 16. ANIMATIONS ===== */

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

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

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); }
  40%           { transform: scale(1); }
}


/* ===== 17. FIND US ===== */

.find-us { text-align: center; }
.find-us .icon-title { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; }
.find-us .icon-title svg { width: 24px; height: 24px; color: var(--primary); }
.find-us h2 { font-size: 1.875rem; font-weight: 700; }
.find-us p  { color: var(--muted-foreground); font-size: 1.125rem; }


/* ===== 18. PRELOADER ===== */

#preloader {
  position: fixed;
  inset: 0;
  background-color: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
  transition: opacity 0.5s ease;
}

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

#preloader img {
  max-width: 200px;
  width: 50%;
  height: auto;
  margin-bottom: 20px;
}

#preloader h1 { font-size: 2rem; margin-bottom: 10px; color: #333; }
#preloader p  { font-size: 1rem; color: #555; margin-bottom: 20px; }

#main-content { display: none; }
body.loaded #main-content { display: block; }

.dots { display: flex; gap: 5px; justify-content: center; }

.dot {
  width: 10px;
  height: 10px;
  background-color: #007bff;
  border-radius: 50%;
  animation: bounce 1s infinite;
}
.dot:nth-child(2) { animation-delay: 0.2s; }
.dot:nth-child(3) { animation-delay: 0.4s; }


/* ===== 19. ADMIN ===== */

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.admin-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  transition: all 0.2s;
}
.admin-tab.active          { background: var(--primary); color: var(--primary-foreground); }
.admin-tab:hover:not(.active){ background: var(--muted); }

.admin-panel        { display: none; }
.admin-panel.active { display: block; }

/* Stat cards */
.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }

.stat-card { border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.5rem; background: var(--card); }
.stat-card .label { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1rem; }
.stat-card .value { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; }

/* Data table */
.data-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.data-table th { text-align: left; padding: 0.75rem 1rem; background: var(--muted); font-family: 'Playfair Display', serif; font-weight: 600; }
.data-table td { padding: 0.75rem 1rem; border-top: 1px solid var(--border); }
.data-table tr:hover { background: rgba(0, 0, 0, 0.02); }

/* Status badges */
.status-badge     { padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 500; text-transform: capitalize; }
.status-confirmed { background: hsl(85 25% 72% / 0.3); color: hsl(85 30% 40%); }
.status-pending   { background: hsl(38 60% 55% / 0.2); color: hsl(38 60% 45%); }
.status-cancelled { background: hsl(0 84% 60% / 0.15); color: hsl(0 84% 50%); }

/* Review management cards */
.review-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }

.review-card { border: 1px solid var(--border); border-radius: 0.75rem; padding: 1.25rem; background: var(--card); display: flex; flex-direction: column; }
.review-card .initials {
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--primary); color: var(--primary-foreground);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.875rem;
}
.review-actions     { display: flex; gap: 0.5rem; margin-top: auto; padding-top: 0.75rem; }
.review-actions .btn{ flex: 1; font-size: 0.75rem; padding: 0.375rem 0.75rem; }

/* Gallery grid (admin) */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

/* Newsletter */
.newsletter-box { max-width: 500px; margin: 0 auto; border: 1px solid var(--border); border-radius: 0.75rem; padding: 2rem; text-align: center; background: var(--card); }
.newsletter-box .input-row { display: flex; gap: 0.5rem; }

/* Admin booking dashboard */
.admin-page   { padding: 2rem 1rem; min-height: 100vh; max-width: 1400px; margin: 0 auto; }
.admin-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.admin-header h1 { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; }

/* Toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-bottom: 1.25rem; }

.toolbar input[type="date"] {
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  background: var(--background);
  color: var(--foreground);
  font-family: 'Lato', sans-serif;
}
.toolbar input[type="date"]:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px hsla(25, 40%, 32%, 0.12);
}

/* Extended status badges (booking dashboard) */
.badge           { display: inline-flex; align-items: center; gap: 0.25rem; padding: 0.125rem 0.5rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 600; text-transform: capitalize; border: 1px solid transparent; }
.badge-confirmed { background: hsla(85,25%,72%,0.3); color: hsl(85,30%,40%); border-color: hsl(85,25%,72%); }
.badge-done      { background: hsla(85,25%,72%,0.4); color: hsl(85,30%,35%); border-color: hsl(85,25%,72%); }
.badge-cancelled { background: hsla(0,84%,60%,0.12); color: hsl(0,60%,45%); border-color: hsla(0,84%,60%,0.25); }
.badge-rescheduled{ background: hsla(38,60%,55%,0.2); color: hsl(38,55%,40%); border-color: hsla(38,60%,55%,0.3); }

.demo-badge { background: hsla(38,60%,55%,0.2); color: hsl(38,55%,40%); border-color: hsla(38,60%,55%,0.3); font-size: 0.75rem; padding: 0.25rem 0.75rem; border-radius: 9999px; border: 1px solid; }

/* Booking table */
.booking-table-wrap { border: 1px solid var(--border); border-radius: 0.75rem; overflow: hidden; background: var(--card); }
.booking-table { width: 100%; border-collapse: collapse; font-size: 0.8125rem; }
.booking-table th {
  text-align: left; padding: 0.75rem 0.875rem; background: var(--muted);
  font-family: 'Playfair Display', serif; font-weight: 600; font-size: 0.8125rem;
  color: var(--foreground); white-space: nowrap;
}
.booking-table td { padding: 0.625rem 0.875rem; border-top: 1px solid var(--border); vertical-align: middle; }
.booking-table tr:nth-child(even) { background: hsla(35,20%,90%,0.3); }
.booking-table tr:hover           { background: hsla(35,20%,90%,0.6); }

/* Editable inputs inside table */
.table-input {
  width: 7rem; padding: 0.25rem 0.5rem;
  border: 1px solid var(--border); border-radius: 0.375rem;
  font-size: 0.75rem; font-family: 'Lato', sans-serif;
  background: var(--background); color: var(--foreground);
}
.table-input:focus    { outline: none; border-color: var(--primary); box-shadow: 0 0 0 2px hsla(25,40%,32%,0.12); }
.table-input:disabled { opacity: 0.5; cursor: not-allowed; }

/* Action buttons */
.action-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  border: 1px solid var(--border); border-radius: 0.375rem;
  font-size: 0.6875rem; font-weight: 600;
  font-family: 'Lato', sans-serif; cursor: pointer;
  background: var(--background); color: var(--foreground);
  transition: all 0.15s; white-space: nowrap;
}
.action-btn:hover    { background: var(--muted); }
.action-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.action-btn.done-btn  { color: hsl(85,30%,40%); border-color: hsl(85,25%,72%); }
.action-btn.done-btn:hover { background: hsla(85,25%,72%,0.2); }
.action-btn.cancel-btn  { color: hsl(0,60%,45%); border-color: hsla(0,84%,60%,0.25); }
.action-btn.cancel-btn:hover { background: hsla(0,84%,60%,0.08); }
.action-btn.save-btn { background: var(--primary); color: var(--primary-foreground); border-color: var(--primary); }
.action-btn.save-btn:hover { opacity: 0.9; }

.actions-cell { display: flex; flex-wrap: wrap; gap: 0.375rem; align-items: center; }

/* Inline reschedule inputs */
.reschedule-inputs               { display: flex; gap: 0.375rem; align-items: center; }
.reschedule-inputs input         { padding: 0.25rem 0.375rem; border: 1px solid var(--border); border-radius: 0.375rem; font-size: 0.75rem; font-family: 'Lato', sans-serif; background: var(--background); }
.reschedule-inputs input:focus   { outline: none; border-color: var(--primary); }
.reschedule-inputs input[type="date"] { width: 8rem; }
.reschedule-inputs input[type="time"] { width: 6rem; }

.booking-count { font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.75rem; }
.empty-state   { text-align: center; padding: 3rem 1rem; color: var(--muted-foreground); }


/* ===== 20. REVIEW FORM ===== */

.review-form { animation: fadeUp 0.6s ease; }

.star-rating-input {
  display: flex;
  gap: 0.4rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  cursor: pointer;
}

.star-btn {
  transition: transform 0.2s, color 0.2s;
  color: #ccc;
  cursor: pointer;
  user-select: none;
}
/* Hover preview — orange, slightly bigger */
.star-btn.hover {
  color: #f4a822 !important;
  transform: scale(1.25);
}
/* Clicked/selected — solid gold */
.star-btn.active {
  color: #f4a822 !important;
  transform: scale(1.1);
}
/* When hovering over a star, active stars that are NOT in hover range go slightly dim */
.star-rating-input:hover .star-btn:not(.hover) {
  color: #ccc;
}
/* But keep active stars gold when not hovering at all */
.star-rating-input:not(:hover) .star-btn.active {
  color: #f4a822 !important;
}

.rating-text {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--foreground);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  transition: color 0.3s;
}

/* Rating icon — inline SVG wrapper */
.rating-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex-shrink: 0;
}
.rating-icon svg {
  width: 24px;
  height: 24px;
  transition: stroke 0.3s;
}

/* Animations — each rating gets its own personality */
@keyframes r-pulldown  { 0%,100%{transform:translateY(0)}   50%{transform:translateY(3px)} }
@keyframes r-rock      { 0%,100%{transform:rotate(0deg)}    33%{transform:rotate(-8deg)} 66%{transform:rotate(8deg)} }
@keyframes r-bob       { 0%,100%{transform:translateY(0)}   50%{transform:translateY(-4px)} }
@keyframes r-pulse     { 0%,100%{transform:scale(1)}        50%{transform:scale(1.2)} }
@keyframes r-starspin  { 0%{transform:rotate(0deg) scale(1)} 50%{transform:rotate(20deg) scale(1.25)} 100%{transform:rotate(0deg) scale(1)} }

.rating-icon.anim-poor    { animation: r-pulldown 1.2s ease-in-out infinite; }
.rating-icon.anim-okay    { animation: r-rock     1.6s ease-in-out infinite; }
.rating-icon.anim-good    { animation: r-bob      1.0s ease-in-out infinite; }
.rating-icon.anim-great   { animation: r-pulse    0.9s ease-in-out infinite; }
.rating-icon.anim-amazing { animation: r-starspin 0.7s ease-in-out infinite; }

.image-upload-area {
  border: 2px dashed var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}
.image-upload-area.dragover { border-color: var(--primary); background: rgba(0, 0, 0, 0.03); }

.upload-prompt { display: flex; flex-direction: column; gap: 0.5rem; }

.image-preview { display: none; position: relative; }
.image-preview img { width: 100%; border-radius: 0.75rem; }

.remove-image {
  position: absolute;
  top: 10px; right: 10px;
  background: red;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px; height: 28px;
  cursor: pointer;
}


/* ===== 21. RESPONSIVE ===== */

/* Grid breakpoints */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* About two-column layout */
@media (min-width: 768px) {
  .about-grid       { grid-template-columns: 1fr 1fr; }
  .footer-grid      { grid-template-columns: repeat(3, 1fr); }
  .carousel-card    { width: 360px; }
  .carousel-prev    { left: 3rem; }
  .carousel-next    { right: 3rem; }
}

/* Navbar: hide links, show hamburger */
@media (max-width: 768px) {
  .nav-links  { display: none; }
  .hamburger  { display: block; }
  .logo-img   { height: 32px; }
}

@media (max-width: 480px) {
  .logo-img { height: 28px; }
}

/* Preloader small screen */
@media (max-width: 600px) {
  #preloader img { max-width: 150px; }
  #preloader h1  { font-size: 1.5rem; }
  #preloader p   { font-size: 0.9rem; }
}

/* Admin table scroll on small screens */
@media (max-width: 768px) {
  .booking-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .booking-table      { min-width: 900px; }
  .admin-header       { flex-direction: column; align-items: flex-start; }
}