/* =====================================================
   SOFFIO PIZZERIA — stylesheet
   ===================================================== */
/* Fonts Didot */
@font-face {
    font-family: 'Didot';
    src: url('./assets/fonts/Didot.woff2') format('woff2'),
        url('./assets/fonts/Didot.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Didot';
    src: url('./assets/fonts/Didot-Bold.woff2') format('woff2'),
        url('./assets/fonts/Didot-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Didot';
    src: url('./assets/fonts/Didot-Italic.woff2') format('woff2'),
        url('./assets/fonts/Didot-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Didot Title';
    src: url('./assets/fonts/DidotTitle.woff2') format('woff2'),
        url('./assets/fonts/DidotTitle.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Font Gabarito */
@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-Black.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-Bold.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-ExtraBold.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-ExtraBold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-Medium.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-Regular.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-SemiBold.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gabarito';
    src: url('./assets/fonts/Gabarito-Regular_1.woff2') format('woff2'),
        url('./assets/fonts/Gabarito-Regular_1.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/*Font Aleo*/
@font-face {
    font-family: 'Aleo';
    src: url('./assets/fonts/Aleo-Bold.woff2') format('woff2'),
        url('./assets/fonts/Aleo-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aleo';
    src: url('./assets/fonts/Aleo-BoldItalic.woff2') format('woff2'),
        url('./assets/fonts/Aleo-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aleo';
    src: url('./assets/fonts/Aleo-Light.woff2') format('woff2'),
        url('./assets/fonts/Aleo-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aleo';
    src: url('./assets/fonts/Aleo-Italic.woff2') format('woff2'),
        url('./assets/fonts/Aleo-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aleo';
    src: url('./assets/fonts/Aleo-LightItalic.woff2') format('woff2'),
        url('./assets/fonts/Aleo-LightItalic.woff') format('woff');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Aleo';
    src: url('./assets/fonts/Aleo-Regular.woff2') format('woff2'),
        url('./assets/fonts/Aleo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}


/* BASE */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

#menu,
#reservas,
#contato {
    scroll-margin-top: 120px;
}

body {
  font-family: 'Gabarito', Georgia, serif;
  font-weight: 400;
  color: #616160;
  background: #ffffff;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { text-decoration: none; color: inherit; }

/* =====================================================
   HEADER
   ===================================================== */
#header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #ffffff;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 300px;
}

/* Logo (script font) */
.logo {
  font-family: 'Great Vibes', cursive;
  font-size: 80px;
  line-height: 1;
  color: #616160;
  letter-spacing: 0.01em;
}

.logo img{
  max-width: 150px;
}

/* Nav */
#main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

#main-nav a {
  font-family: 'Gabarito';
  font-weight: 300;
  font-size: 23px;
  letter-spacing: 0.12em;
  color: #616160;
  text-transform: lowercase;
  transition: opacity 0.2s;
}

#main-nav a:hover { opacity: 0.5; }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 28px;
  height: 28px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: #616160;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================================================
   SHARED — outline button
   ===================================================== */
.btn-outline {
  display: inline-block;
  font-family: 'Gabarito';
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.2em;
  color: #616160;
  border: 1px solid #616160;
  padding: 11px 60px;
  border-radius: 15px;
  text-transform: lowercase;
  transition: background 0.25s, color 0.25s;
  cursor: pointer;
  margin-top:20px;
}

.btn-outline:hover {
  background: #616160;
  color: #ffffff;
}

/* =====================================================
   SECTION 1 — HERO
   ===================================================== */
.s-hero { /* full bleed — no padding */ }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
  padding:50px;
}

.hero-img {
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    padding-right: 50px;
}

.hero-img img {
  width:72%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.hero-text {
  display: flex;
  align-items: flex-end;
  padding: 68px 240px 0px 0px;
  justify-content: flex-start;
}

.hero-text p {
  font-family: 'Gabarito';
  font-weight: normal;
  font-style: normal;
  font-size: 32px;
  text-align: justify;
  color: #616160;
  line-height: 42px;
}

/* Awards bar */
.awards-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 80px 52px;
  background: #f0f0f0;
}

.awards-bar span {
  font-family: 'Gabarito';
  font-weight: 300;
  font-size: 19px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #616160;
  text-align: center;
  line-height: 35px;
}

/* =====================================================
   SECTION 2 — CHEF
   ===================================================== */
.s-chef { /* no top padding */ }

.chef-full-img {
  width: 100%;
  height: auto;
  overflow: hidden;
  background: #f0f0f0;
  padding-bottom: 60px;
}

.chef-full-img img {
  width: 69%;
  height: 613px;
  object-fit: cover;
  object-position: center;
  margin: 0 auto;
}

.chef-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 100px 300px 100px;
  gap: 0;
  align-items: start;
  background-color: #ffffff;
}

.chef-bio-left {
  padding-right: 64px;
}

.chef-name {
  font-family: 'Didot';
  font-weight: 300;
  font-style: italic;
  font-size: clamp(80px, 8.8vw, 162px);
  line-height: 120px;
  letter-spacing: -0.02em;
  color: #020304;
  margin-bottom: 80px;
  margin-top: 20px;
}

.chef-bio-left p {
  text-align: justify;
  margin-bottom: 35px;
}

.p-aleo-300{
  line-height: 40px;
  font-family: 'Aleo';
  font-weight: 300;
  font-size: 37px;
  font-style: italic;
}

.p-aleo-200{
  line-height: 40px;
  font-family: 'Aleo';
  font-weight: 200;
  font-size: 27.5px;
  font-style: italic;
  margin-bottom: 0!important;
}

.chef-bio-right {
  overflow: hidden;
  height: 1000px;
}

.chef-bio-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  max-height: 1000px;
}

/* =====================================================
   SECTION 3 — MENU
   ===================================================== */
.s-menu { /* no padding wrapper — subsections have own padding */ }

.menu-intro {
  max-width: 100%;
  margin: 0 auto;
  padding: 96px 300px 80px;
  text-align: center;
  background: #f0f0f0;
}

.menu-intro p {
  font-family: 'Gabarito';
  font-size: 26px;
  line-height: 32px;
  text-align: center;
  color: #616160;
  margin-bottom: 0px;
  letter-spacing: 2px;
}

.menu-banner {
  width: 100%;
  overflow: hidden;
}

.menu-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Reserve sub-section */
.s-reserve {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  padding: 90px 300px 25px;
  align-items: start;
  background: #f0f0f0;
}

.reserve-heading {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-style: normal;
}

.reserve-title {
  font-family: 'Didot';
  font-weight: 600;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #020304;
  display: block;
  margin-top: 100px;
}

.reserve-heading em {
  font-family: 'Didot';
  font-weight: 400;
  font-style: italic;
  font-size: 38px;
  line-height: 46px;
  color: #020304;
  display: block;
}

.reserve-left p {
  font-family: 'Gabarito';
  font-style: normal;
  font-size: 20px;
  line-height: 30px;
  color: #616160;
  padding-right: 50px;
  margin-top: 20px;
}

.reserve-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  height: 420px;
}

.reserve-imgs img {
  width: 100%;
  height: 345px;
  object-fit: cover;
  object-position: center;
}

/* =====================================================
   SECTION 4 — CONTATO
   ===================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 88px 300px 93px 300px;
  justify-content: space-between;
  justify-items: end;
}

.contact-form-col {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-title {
  font-family: 'Didot';
  font-weight: 300;
  font-style: normal;
  font-size: 3vw;
  line-height: 1;
  letter-spacing: 0.01em;
  color: #0E0E0E;
  margin-bottom: 52px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field label {
  font-family: 'Gabarito';
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: #616160;
  text-transform: lowercase;
}

.field input {
  font-family: 'Gabarito';
  font-size: 16px;
  font-style: italic;
  color: #616160;
  background: transparent;
  border: none;
  border-bottom: 2px solid #616160;
  border-radius: 0;
  outline: none;
  padding: 6px 0 8px;
  width: 100%;
  resize: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.field textarea {
  font-family: 'Gabarito';
  font-size: 16px;
  font-style: italic;
  color: #616160;
  background: transparent;
  border: none;
  border: 2px solid #616160;
  border-radius: 15px;
  outline: none;
  padding: 6px 0 8px;
  width: 100%;
  resize: none;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
  height: 140px;
  padding: 15px;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: #616160;
}

.contact-form .btn-outline {
  align-self: flex-start;
  margin-top: 8px;
  background: none;
  border-color: #616160;
  color: #616160;
}

.contact-img-col {
  overflow: hidden;
}

.contact-img-col img {
  width: 560px;
  height: 673px;
  object-fit: cover;
  object-position: center;
  margin-left: 70px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: #4a4948;
  padding: 52px 260px 48px;
}

.footer-top {
  display: flex;
  align-items: center;
  gap: 44px;
  margin-bottom: 40px;
}

.footer-logo {
  color: #ffffff;
  font-size: 80px;
  line-height: 1;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-links img {
  width: 30px;
  height: 30px
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0f0f0;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.social-icon:hover { opacity: 1; }

.social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    border-bottom: 1px solid #ffffff;
    padding-bottom: 30px;
    align-content: space-around;
    align-items: flex-end;
    justify-content: space-between;
}

.footer-col {
    flex: 1;
    max-width: 415px;
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-label {
  font-family: 'Aleo';
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.footer-col p:not(.footer-label) {
  font-family: 'Aleo';
  font-weight: 300;
  font-size: 17px;
  letter-spacing: 0.15em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

.footer-col a {
  color: inherit;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 0.65; }

.logo-rodape img{ max-height: 140px;}

/* =====================================================
   RESPONSIVE — tablet 1440px
   ===================================================== */
@media (max-width: 1440px) {

  .header-inner {
      padding: 40px 50px;
  }

  .chef-bio {
    background-color: #ffffff;
    padding: 100px 50px 100px;
  }

  .chef-full-img img {
    width: 90%;
  }

  .s-reserve {
    padding: 90px 65px 25px;
  }

  .hero-text {
      padding: 68px 20px 28px 0px;
  }

  .contact-grid {
      display: grid;
      padding: 88px 70px 93px 52px;
      justify-content: space-between;
      justify-items: end;
  }

  .site-footer {
      padding: 52px 70px 48px;
  }

  .menu-intro {
    padding: 96px 209px 80px;
  }

  .hero-img img {
    width: 96%;
    height: auto;
  }
}

/* =====================================================
   RESPONSIVE — tablet 1024px
   ===================================================== */
@media (max-width: 1024px) {

  .hero-img { padding-right: 0px; }
  .header-inner { padding: 16px 36px; }

  .hero-text { padding: 56px 48px; }
  .hero-text p {
    font-size: 22px;
    line-height: 30px;
  }

  .chef-bio { padding: 72px 36px 80px; }
  .chef-bio-left { padding-right: 40px; }

  .menu-intro { padding: 72px 32px 64px; }

  .s-reserve { padding: 64px 36px 80px; gap: 40px; }

  .contact-form-col { padding: 0px 48px 72px 0px; }

  .site-footer { padding: 48px 36px 44px; }
  .footer-bottom { gap: 32px; }

  .chef-name {
      font-size: 8vw;
      line-height: 71px;
      letter-spacing: 6px;
      color: #020304;
      margin-bottom: 70px;
  }

  .chef-bio-left p {
      font-size: 20px;
      line-height: 35px;
      text-align: justify;
      color: #020304;
      margin-bottom: 20px;
  }

  .logo img {
    max-width: 70px;
  }

  .chef-bio-right {
    height: auto;
  }

  .contact-img-col img{
    margin-left: 0;
  }

  .hero-img img {
    width: 100%;
    height: auto;
  }

  .reserve-imgs img {
    width: 100%;
    height: 100%;
  }
}

/* =====================================================
   RESPONSIVE — mobile 768px
   ===================================================== */
@media (max-width: 768px) {
  /* Header */
  .header-inner { padding: 14px 24px; }
  .logo { font-size: 38px; }

  #main-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 240px;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 32px;
    padding: 48px 32px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0,0,0,0.08);
  }

  #main-nav.open { transform: translateX(0); }

  #main-nav a {
    font-size: 22px;
    letter-spacing: 0.15em;
  }

  .menu-toggle { display: flex; }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 25px;
  }

  .section-title{
    font-size: 40px;
  }

  .hero-img { height: 56vw; min-height: 220px; padding-right: 0px; }
  .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-text { padding: 44px 0px 40px; }
  .hero-text p {
    font-size: 25px;
    max-width: 100%;
    text-align: justify;
  }
  .awards-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 24px;
  }

  .awards-bar .sep { display: none; }

  /* Chef */
  .chef-full-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: right;
    margin: 0 auto;
  }
  

  .chef-name {
    font-size: 10vw;
    line-height: 60px;
    letter-spacing: -0.02em;
    color: #020304;
    margin-bottom: 20px;
    text-align: left;
  }

  .chef-bio {
    grid-template-columns: 1fr;
    padding: 48px 24px 56px;
    gap: 36px;
    background-color: #ffffff;
  }

  .chef-bio-left { padding-right: 0; }

  .chef-bio-right { height: auto; }

  .chef-bio-left p {
    text-align: justify;
    display: flex;
    justify-content: space-between;
    align-items: unset;
    font-size: 21px;
  }

  /* Menu */
  .menu-intro { padding: 56px 24px 48px; }
  .menu-intro p {
    font-size: 15px;
    line-height: 30px;
  }
  
  .awards-bar span {
    font-size: 17px;
    line-height: 22px;
    margin: 20px 0;
  }

  .menu-banner { height: 50vw; min-height: 200px; }

  .s-reserve {
    grid-template-columns: 1fr;
    padding: 48px 24px 56px;
    gap: 36px;
    text-align: center;
  }

  .reserve-imgs {
    grid-template-columns: 1fr 1fr;
    height: 220px;
    gap: 8px;
  }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  .contact-form-col { padding: 48px 0; }

  .contact-img-col {
    height: auto;
    min-height: 220px;
  }

  /* Footer */
  .site-footer { padding: 44px 24px 40px; }

  .footer-top { flex-wrap: wrap; gap: 28px; }

  .footer-bottom { 
    gap: 28px; 
    text-align: center; 
    align-items: flex-end;
    justify-content: center;
  }

  .footer-col {
    flex: 0 0 calc(100% - 14px);
    min-width: 140px;
    height: 140px;
    margin-top: 50px;
  }

  .social-links {
      display: flex;
      align-items: center;
      justify-content: center;
  }

  .contact-grid {
    display: grid;
    padding: 0px 25px 78px 25px;
    justify-content: space-between;
    justify-items: center;
    margin-top: 120px;
  }

  .btn-outline{
    padding: 11px 50px;
  }

  .reserve-left p{
    padding-right: 0px;
  }

  .contact-img-col img {
    width: 720px;
  }

  .logo-rodape{
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .reserve-heading em {
    font-size: 30px;
  }

  .section-title {
    font-size: 35px;
    text-align: center;
  }

  .reserve-left p {
    font-size: 18px;
  }
}

/* =====================================================
   RESPONSIVE — small mobile 480px
   ===================================================== */
@media (max-width: 480px) {
  .footer-col { flex: 0 0 100%; }

  .s-reserve { gap: 32px; }

  .reserve-imgs {
    grid-template-columns: 1fr 1fr;
    height: 180px;
  }

  .chef-full-img { height: 62vw; }

  .chef-name {
    font-size: 18vw;
    line-height: 60px;
    letter-spacing: -0.02em;
    color: #020304;
    margin-bottom: 20px;
    text-align: left;
  }
}

/*Banner*/
.slider-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 800px;
}

.slider-container img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: object-position 0.8s ease-in-out;
  transform: scale(1.1);
}

.slider-container img.active {
  display: block;
  animation: fadeIn 0.8s ease-in-out;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  color: white;
  border: none;
  padding: 20px 15px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
  transition: background 0.3s;
}

.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.5);
}

.prev-arrow {
  left: 0;
  border-radius: 0 5px 5px 0;
}

.next-arrow {
  right: 0;
  border-radius: 5px 0 0 5px;
}

@media (max-width: 1440px) {
  .slider-container img {
    object-fit: cover;
    object-position: center;
    transition: object-position 0.8s ease-in-out;
  }
}

@media (max-width: 1024px) {
  .slider-container img {
    object-fit: cover;
    object-position: center;
    transition: object-position 0.8s ease-in-out;
  }
}

@media (max-width: 768px) {
  .slider-container {
    height: 400px;
  }
}


@media (max-width: 430px) {
  .slider-arrow {
    position: absolute;
    top: 28%;
  }

  .slider-container img {
    object-fit: cover;
    object-position: center;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}