/* ==========================================================================
   DALÔ CONFEITARIA, CAFETERIA & GELATORIA - MAIN CSS DESIGN SYSTEM
   ========================================================================== */

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

:root {
  /* Brand Palette */
  --primary-pink: #E81B63;
  --primary-pink-hover: #D81B60;
  --pink-light: #FFF0F4;
  --pink-glow: rgba(232, 27, 99, 0.25);
  
  --dark-chocolate: #2B1810;
  --chocolate-subtle: #4A332A;
  --cream-bg: #FFF9F6;
  --cream-card: #FFFFFF;
  --warm-sand: #F7EFE9;
  
  --accent-gold: #D4AF37;
  --accent-gold-soft: #F4E8C1;
  --green-open: #10B981;
  --red-closed: #EF4444;
  
  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(43, 24, 16, 0.04);
  --shadow-card: 0 10px 30px rgba(43, 24, 16, 0.08);
  --shadow-hover: 0 20px 40px rgba(232, 27, 99, 0.15);
  --shadow-pink: 0 8px 25px rgba(232, 27, 99, 0.35);
  
  /* Transitions */
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream-bg);
  color: var(--dark-chocolate);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

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

/* Typography Utilities */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--pink-light);
  color: var(--primary-pink);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--dark-chocolate);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--primary-pink);
  font-style: italic;
}

.section-subtitle {
  color: var(--chocolate-subtle);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  max-width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--primary-pink);
  color: #FFFFFF;
  box-shadow: var(--shadow-pink);
}

.btn-primary:hover {
  background: var(--primary-pink-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(232, 27, 99, 0.45);
}

.btn-secondary {
  background: var(--dark-chocolate);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: #1F110B;
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.btn-outline {
  background: transparent;
  color: var(--dark-chocolate);
  border: 2px solid var(--dark-chocolate);
}

.btn-outline:hover {
  background: var(--dark-chocolate);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.btn-ifood {
  background: #EA1D2C;
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(234, 29, 44, 0.3);
}

.btn-ifood:hover {
  background: #C91623;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(234, 29, 44, 0.45);
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 20px 0;
}

.header.scrolled {
  background: rgba(255, 249, 246, 0.92);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 12px 0;
  box-shadow: 0 4px 25px rgba(43, 24, 16, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-brand img {
  width: 56px;
  height: 56px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-pink);
  box-shadow: var(--shadow-pink);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-brand:hover img {
  transform: scale(1.08);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-chocolate);
  transition: var(--transition-fast);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-pink);
  transition: var(--transition-fast);
  border-radius: var(--radius-full);
}

.nav-link:hover {
  color: var(--primary-pink);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--dark-chocolate);
  background: none;
  flex-shrink: 0;
}

.status-badge-live,
.status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
}

.status-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  padding-top: 150px;
  padding-bottom: 80px;
  position: relative;
  overflow-x: clip;
  background: radial-gradient(circle at 80% 20%, rgba(232, 27, 99, 0.06) 0%, rgba(255, 249, 246, 0) 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.75fr;
  grid-template-areas:
    "content media"
    "features media";
  gap: 28px 50px;
  align-items: center;
  min-width: 0;
  width: 100%;
}

.hero-content {
  z-index: 2;
  min-width: 0;
  grid-area: content;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-chocolate);
  margin-bottom: 24px;
  border: 1px solid rgba(232, 27, 99, 0.15);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-open);
  box-shadow: 0 0 10px var(--green-open);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.15;
  color: var(--dark-chocolate);
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-title .highlight {
  color: var(--primary-pink);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--chocolate-subtle);
  margin-bottom: 36px;
  max-width: 520px;
  overflow-wrap: break-word;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-features {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(74, 51, 42, 0.1);
  grid-area: features;
  min-width: 0;
  max-width: 100%;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.feature-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--dark-chocolate);
  overflow-wrap: break-word;
}

.feature-text span {
  font-size: 0.85rem;
  color: var(--chocolate-subtle);
  overflow-wrap: break-word;
}

/* Hero Media Showcase */
.hero-media {
  position: relative;
  max-width: 420px;
  width: 100%;
  justify-self: end;
  grid-area: media;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(43, 24, 16, 0.15);
  border: 8px solid #FFFFFF;
}

.hero-image-card img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image-card:hover img {
  transform: scale(1.04);
}

/* ==========================================================================
   MENU & DELIGHTS SECTION
   ========================================================================== */
.delights-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.section-header {
  text-align: center;
}

.category-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--cream-bg);
  color: var(--dark-chocolate);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  border: 1px solid rgba(74, 51, 42, 0.08);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--primary-pink);
  color: #FFFFFF;
  border-color: var(--primary-pink);
  box-shadow: var(--shadow-pink);
}

.delights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.delight-card {
  background: var(--cream-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.delight-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.card-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.delight-card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(43, 24, 16, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.card-tag.pink {
  background: var(--primary-pink);
}

.card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--dark-chocolate);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 0.92rem;
  color: var(--chocolate-subtle);
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(74, 51, 42, 0.08);
}

.card-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-pink);
}

.btn-card-order {
  padding: 8px 18px;
  font-size: 0.88rem;
  border-radius: var(--radius-full);
  background: var(--pink-light);
  color: var(--primary-pink);
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-card-order:hover {
  background: var(--primary-pink);
  color: #FFFFFF;
}

/* ==========================================================================
   ABOUT & EXPERIENCE SECTION
   ========================================================================== */
.about-section {
  padding: 100px 0;
  background: var(--cream-bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallery-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-card);
}

.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-img:hover img {
  transform: scale(1.06);
}

.gallery-img.tall {
  grid-row: span 2;
  height: 100%;
}

.about-content h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--dark-chocolate);
  margin-bottom: 20px;
  line-height: 1.2;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--chocolate-subtle);
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.highlight-box {
  background: #FFFFFF;
  padding: 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-subtle);
  border-left: 4px solid var(--primary-pink);
}

.highlight-box h5 {
  font-size: 1.1rem;
  color: var(--dark-chocolate);
  margin-bottom: 6px;
}

.highlight-box p {
  font-size: 0.88rem;
  color: var(--chocolate-subtle);
  margin: 0;
}

/* ==========================================================================
   LOCATION & HOURS SECTION
   ========================================================================== */
.location-section {
  padding: 100px 0;
  background: var(--warm-sand);
}

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.info-card {
  background: #FFFFFF;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  height: 100%;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--pink-light);
  color: var(--primary-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.info-text h4 {
  font-size: 1.15rem;
  color: var(--dark-chocolate);
  margin-bottom: 4px;
}

.info-text p {
  font-size: 0.98rem;
  color: var(--chocolate-subtle);
}

.map-wrapper {
  position: relative;
  min-height: 420px;
  height: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 6px solid #FFFFFF;
}

.map-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   FLOATING WHATSAPP CTA
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: #FFFFFF;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(8deg);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
  color: #FFFFFF;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: var(--dark-chocolate);
  color: #FFFFFF;
  padding: 70px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 2px solid var(--primary-pink);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: var(--primary-pink);
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
}

.footer-credit {
  margin-top: 8px;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: var(--primary-pink);
}

.order-band {
  margin-top: 48px;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: #FFFFFF;
  text-align: center;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(232, 27, 99, 0.12);
}

.order-band h3 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: var(--dark-chocolate);
  margin-bottom: 10px;
}

.order-band p {
  color: var(--chocolate-subtle);
  max-width: 540px;
  margin: 0 auto 22px;
}

.empty-note {
  text-align: center;
  color: var(--chocolate-subtle);
  padding: 24px 0 8px;
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .container {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .header {
    padding: 10px 0;
  }

  .header.scrolled {
    padding: 8px 0;
  }

  .header nav {
    width: 0;
    height: 0;
    overflow: visible;
    flex: 0 0 0;
  }

  .logo-brand img {
    width: 48px;
    height: 48px;
    max-width: none;
  }

  .nav-actions {
    gap: 0;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    z-index: 1002;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: min(80vw, 320px);
    height: 100vh;
    background: #FFFFFF;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    gap: 24px;
  }

  .nav-menu.active {
    display: flex;
  }

  .hero {
    padding-top: 96px;
    padding-bottom: 48px;
    overflow: visible;
  }

  .hero-grid,
  .about-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-grid {
    grid-template-areas:
      "content"
      "media"
      "features";
  }

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2.2rem);
    line-height: 1.25;
  }

  .hero-title br {
    display: none;
  }

  .hero-description {
    font-size: 0.98rem;
    max-width: 100%;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero-features {
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero-media {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero-image-card {
    border-width: 6px;
  }

  .hero-image-card img {
    height: min(62vh, 520px);
    min-height: 360px;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2rem);
  }

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

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }

  .hero-image-card img {
    height: min(56vh, 440px);
    min-height: 320px;
  }
}
