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

/* =============== VARIABLES CSS =============== */
:root {
  /* Increased header height for larger logo */
  --header-height: 5.5rem;

  /* ========== Colors ========== */
  /* HSL (Hue, Saturation, Lightness) */
  --first-color: hsl(46, 65%, 52%);
  /* Classic Gold #D4AF37 */
  --first-color-alt: hsl(46, 70%, 45%);
  --title-color: hsl(0, 0%, 95%);
  --text-color: hsl(0, 0%, 80%);
  --text-color-light: hsl(0, 0%, 65%);

  --body-color: hsl(0, 0%, 6%);
  /* #0F0F0F */
  --container-color: hsla(0, 0%, 12%, 0.8);
  /* Glass effect base */
  --border-color: hsla(46, 65%, 52%, 0.2);

  --gradient-gold: linear-gradient(135deg, hsl(46, 70%, 60%), hsl(46, 50%, 40%));
  --glass-bg: hsla(0, 0%, 100%, 0.05);

  /* ========== Font and Typography ========== */
  --body-font: 'Outfit', sans-serif;
  --title-font: 'Playfair Display', serif;

  --big-font-size: 3rem;
  --h1-font-size: 2rem;
  --h2-font-size: 1.75rem;
  --h3-font-size: 1.25rem;
  --normal-font-size: 1rem;
  --small-font-size: .875rem;
  --smaller-font-size: .75rem;

  /* ========== Font weight ========== */
  --font-light: 300;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* ========== Z index ========== */
  --z-tooltip: 10;
  --z-fixed: 100;
}

/* Responsive Typography */
@media screen and (min-width: 968px) {
  :root {
    --big-font-size: 5rem;
    --h1-font-size: 2.75rem;
    --h2-font-size: 2.25rem;
    --h3-font-size: 1.5rem;
    --normal-font-size: 1.125rem;
    --small-font-size: .95rem;
    --smaller-font-size: .813rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1,
h2,
h3 {
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

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

/* =============== REUSABLE CSS CLASSES =============== */
.container {
  max-width: 1400px;
  margin-right: 1.5rem;
  margin-left: 1.5rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding: 5rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: 2rem;
  text-align: left;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background: var(--first-color);
  bottom: -8px;
  left: 0;
}

.section__title-center {
  text-align: center;
  display: block;
}

.section__title-center::after {
  left: 50%;
  transform: translateX(-50%);
}

.text-gradient {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* =============== HEADER & NAV =============== */
.header {
  width: 100%;
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: .4s;
}

.scroll-header {
  background: hsla(0, 0%, 6%, 0.85);
  /* Slightly transparent background */
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px hsla(0, 0%, 0%, 0.1);
  border-bottom: 1px solid hsla(46, 65%, 52%, 0.1);
}

.nav {
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo-img {
  height: 70px;
  /* Adjust based on logo WB png */
}

.nav__toggle,
.nav__close {
  color: var(--title-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for Mobile */
@media screen and (max-width: 767px) {
  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    top: -100%;
    left: 0;
    width: 100%;
    height: 100vh;
    padding: 6rem 0 0;
    transition: .4s;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
  }
}

.nav__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.nav__link {
  color: var(--title-color);
  font-size: var(--h3-font-size);
  font-family: var(--title-font);
  transition: .3s;
}

.nav__link:hover {
  color: var(--first-color);
  letter-spacing: 1px;
}

.nav__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.show-menu {
  top: 0;
  opacity: 1;
  visibility: visible;
}

.active-link {
  color: var(--first-color);
}

/* =============== BUTTONS =============== */
.button {
  display: inline-block;
  background: var(--gradient-gold);
  color: var(--body-color);
  padding: 1rem 2rem;
  border-radius: .25rem;
  /* slightly less rounded for modern look */
  font-weight: var(--font-semi-bold);
  transition: .3s;
  box-shadow: 0 4px 12px hsla(46, 65%, 52%, 0.3);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px hsla(46, 65%, 52%, 0.4);
}

.button--flex {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.button--small {
  padding: .75rem 1.5rem;
}

/* =============== HERO =============== */
.home {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.home__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.home__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.home__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, hsla(0, 0%, 6%, 0.4) 0%, hsla(0, 0%, 6%, 0.9) 100%);
}

.home__container {
  height: 100%;
  display: grid;
  align-content: center;
}

.home__content {
  text-align: center;
}

.home__title {
  font-size: var(--big-font-size);
  margin-bottom: 1rem;
  opacity: 0;
  /* JS reveal */
  transform: translateY(20px);
}

.home__description {
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  transform: translateY(20px);
}

.reveal-text.active {
  opacity: 1;
  transform: translateY(0);
  transition: 1s;
}

.delay-1 {
  transition-delay: .2s;
}

.delay-2 {
  transition-delay: .4s;
}

/* =============== FEATURES =============== */
.features__container {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: -4rem;
  /* Overlap hero */
  position: relative;
  z-index: 10;
}

.features__card {
  background-color: var(--container-color);
  padding: 2.5rem 1.5rem;
  text-align: center;
  border-radius: 1rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  transition: .4s;
  opacity: 0;
  transform: translateY(30px);
}

.features__card:hover {
  transform: translateY(-10px);
  border-color: var(--first-color);
}

.features__icon {
  font-size: 2.5rem;
  color: var(--first-color);
  margin-bottom: 1rem;
}

.features__title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

/* =============== ABOUT =============== */
.about__container {
  align-items: center;
  gap: 3rem;
}

.about__data {
  text-align: center;
  opacity: 0;
  transform: translateX(-30px);
}

.about__description b {
  color: var(--first-color);
}

.about__decoration {
  position: relative;
  height: 350px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateX(30px);
}

.about__box {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 2px solid var(--first-color);
}

.about__box--filled {
  background: var(--glass-bg);
  transform: rotate(45deg);
  z-index: -1;
  border: none;
  backdrop-filter: blur(5px);
}

/* =============== MENU =============== */
.menu__container {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.menu__card {
  background: var(--container-color);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  transition: .4s;
  opacity: 0;
  transform: translateY(30px);
}

.menu__card:hover {
  border-color: var(--first-color);
  box-shadow: 0 10px 20px hsla(0, 0%, 0%, 0.3);
}

.menu__img-wrapper {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

.menu__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.menu__card:hover .menu__img {
  transform: scale(1.1);
}

.menu__data {
  padding: 1.5rem;
  text-align: center;
}

.menu__title {
  font-size: var(--h3-font-size);
  margin-bottom: .5rem;
}

.menu__description {
  font-size: var(--small-font-size);
  margin-bottom: 1rem;
  color: var(--text-color-light);
}

.menu__price {
  display: block;
  font-size: var(--h2-font-size);
  font-family: var(--title-font);
  color: var(--first-color);
}

/* =============== TESTIMONIALS =============== */
.testimonial__card {
  background: linear-gradient(135deg, hsla(0, 0%, 20%, 0.4), hsla(0, 0%, 10%, 0.6));
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--first-color);
  opacity: 0;
  transform: translateY(20px);
}

.testimonial__quote {
  color: var(--first-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.testimonial__text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial__name {
  font-size: var(--normal-font-size);
  margin-bottom: .5rem;
}

.testimonial__rating {
  color: var(--first-color);
  font-size: .8rem;
}

/* =============== CONTACT =============== */
.contact__container {
  gap: 3rem;
}

.contact__card {
  display: flex;
  /* Horizontal on mobile for better space usage? No, stack is fine. */
  flex-direction: column;
  align-items: center;
  background: var(--container-color);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1rem;
  text-align: center;
  border: 1px solid var(--border-color);
}

.contact__card-description {
  color: var(--text-color);
}

.contact__map {
  border-radius: 1rem;
  overflow: hidden;
  border: 2px solid var(--border-color);
  opacity: 0;
  transform: scale(0.9);
  height: 100%;
  /* Fill the grid cell */
  min-height: 350px;
  /* Ensure minimum height on mobile */
}

.contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* =============== FOOTER =============== */
.footer {
  background: #000;
  padding: 4rem 0 2rem;
  margin-top: 3rem;
}

.footer__container {
  text-align: center;
  gap: 2rem;
}

.footer__title {
  color: var(--first-color);
}

.footer__list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}

.footer__link {
  color: var(--first-color);
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__social-link {
  font-size: 1.5rem;
  color: var(--first-color);
  transition: .3s;
}

.footer__social-link:hover {
  transform: translateY(-3px);
}

/* =============== SCROLL UP =============== */
.scrollup {
  position: fixed;
  right: 1.5rem;
  bottom: -30%;
  background: var(--first-color);
  color: var(--body-color);
  padding: .6rem;
  border-radius: .25rem;
  font-size: 1.25rem;
  z-index: var(--z-tooltip);
  transition: .4s;
}

.scrollup:hover {
  background: var(--first-color-alt);
  transform: translateY(-3px);
}

.show-scroll {
  bottom: 3rem;
}

/* =============== ANIMATION CLASSES (JS) =============== */
.active-reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: 1s ease;
}

/* =============== MEDIA QUERIES =============== */
@media screen and (min-width: 576px) {
  .about__container {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .about__data {
    text-align: left;
  }

  .testimonials__container {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact__container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 767px) {
  .nav {
    height: calc(var(--header-height) + 1.5rem);
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .nav__list {
    flex-direction: row;
    gap: 3rem;
  }

  .nav__link {
    font-size: var(--normal-font-size);
    font-family: var(--body-font);
    font-weight: var(--font-medium);
  }

  .home__container {
    align-content: center;
    padding-top: 6rem;
  }

  .menu__container {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .container {
    margin-left: auto;
    margin-right: auto;
  }

  .features__container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
  }
}