/* ========================================
   Pane e Cipudda — Design System
   ======================================== */

:root {
  --color-yellow: #8C5022;
  --color-green: #8C8522;
  --color-brown: #8C2229;
  --color-white: #ffffff;
  --color-cream: #fff8e1;
  --font-display: "Berthold Block", "Alfa Slab One", "Arial Black", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 24px;
  --radius-md: 32px;
  --radius-lg: 40px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-yellow);
  color: var(--color-green);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: 92%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
  line-height: 1.1;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 600;
  border: 2px solid #fbc515;
  background: #fbc515;
  color: var(--color-white);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 20px rgba(251, 197, 21, 0.25);
}

.btn--small {
  padding: 0.5rem 1.25rem;
  font-size: 0.95rem;
}

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

.btn--outline {
  background: transparent;
  color: #fbc515;
  border-color: #fbc515;
}

.btn--outline:hover {
  background: #fbc515;
  color: var(--color-white);
}

/* ========================================
   Header
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 4vw;
  background: #8C8522;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header__logo img {
  height: 48px;
  width: auto;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-weight: 600;
}

.header__nav a:not(.btn) {
  position: relative;
  color: #fbc515;
}

.header__nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--color-brown);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.header__nav a:not(.btn):hover::after,
.header__nav a:not(.btn).is-active::after {
  width: 100%;
}

/* ========================================
   Hero
   ======================================== */
.hero {
  padding: 7rem 4vw 3rem;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: var(--radius-lg);
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__title {
  position: absolute;
  left: 4vw;
  bottom: 6rem;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 7rem);
  color: var(--color-white);
  text-shadow: 2px 4px 0 rgba(0,0,0,0.25);
  line-height: 1;
  letter-spacing: 0.02em;
}

.hero__actions--desktop {
  position: absolute;
  left: 4vw;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero__actions--mobile {
  display: none;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

/* ========================================
   Marquee
   ======================================== */
.marquee {
  background: var(--color-green);
  color: var(--color-yellow);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee__track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee__content {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 2rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================
   Menu invite
   ======================================== */
.menu-invite {
  position: relative;
  padding: 5rem 0 6rem;
  color: #fbc515;
  background-image: url('assets/sala 1.jpeg');
  background-size: cover;
  background-position: center;
}

.menu-invite::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.menu-invite__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

.menu-invite__inner p {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.menu-invite__inner .btn {
  margin-top: 1.5rem;
}

/* ========================================
   CTA Quote
   ======================================== */
.cta-quote {
  padding: 5rem 0 6rem;
  background: var(--color-green);
  color: var(--color-yellow);
  text-align: center;
}

.cta-quote__inner blockquote {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

/* ========================================
   About
   ======================================== */
.about {
  padding: 5rem 0 6rem;
  background: var(--color-cream);
  border-top: 4px solid var(--color-brown);
  border-bottom: 4px solid var(--color-brown);
}

.about__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about__media {
  height: 100%;
  min-height: 500px;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 3px solid var(--color-brown);
}

.about__content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 50ch;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-green);
  color: #fbc515;
  padding: 4rem 0 1.5rem;
}

.footer a:hover {
  text-decoration: underline;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer__logo {
  height: 180px;
  width: auto;
  margin-bottom: 0.75rem;
}

.footer__brand p {
  opacity: 0.95;
}

.footer h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer__bottom {
  text-align: center;
  border-top: 2px solid rgba(251, 197, 21, 0.3);
  padding-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================================
   WhatsApp pill
   ======================================== */
.whatsapp-pill {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 1001;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #25D366;
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-pill:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.whatsapp-pill svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  .header__logo img {
    height: 26px;
    
  }

  .hero__title {
    position: absolute;
    bottom: 1.5rem;
    left: 5vw;
    text-shadow: 2px 4px 0 rgba(0,0,0,0.25);
  }

  .hero__actions--desktop {
    display: none;
  }

  .hero__actions--mobile {
    display: flex;
    position: static;
    margin-bottom: 1rem;
  }

  .hero__actions--mobile .btn,
  .hero__actions--desktop .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

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

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

  .whatsapp-pill {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }
}

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