/* Importing Google fonts*/

@import url('https://fonts.googleapis.com/css2?family=Miniver&family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

:root {
    /*Colors*/
    --white-color: #ffffff;
    --dark-color: #252525;
    --primary-color: #3b141c;
    --secondary-color: #f3961c;
    --light-pink-color: #faf4f5;
    --medium-gray-color: #ccc;
    /* Font size */
    --font-size-s: 0.9rem;
    --font-size-n: 1rem;
    --font-size-m: 1.12rem;
    --font-size-l: 1.5rem;
    --font-size-xl: 2rem;
    --font-size-xxl: 2.3rem;
    /* Font weight */
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    /*Border radius */
    --border-radius-s: 8px;
    --border-radius-m: 30px;
    --border-radius-circle: 50%;
    /* Site max width */
    --site-max-width: 1300px;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}


/* Stylings for whole site */

ul {
    list-style: none;
}

a {
    text-decoration: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

img {
    width: 100%;
}

.section-content {
    margin: 0 auto;
    padding: 0 20px;
    max-width: var(--site-max-width);
}

.section-title {
    text-align: center;
    padding: 60px 0 100px;
    text-transform: uppercase;
    font-size: var(--font-size-xl);
}

.section-title::after {
    content: "";
    width: 80px;
    height: 5px;
    display: block;
    margin: 10px auto 0;
    border-radius: var(--border-radius-s);
    background: var(--secondary-color);
}


/* Navbar styling */

header {
    display: flex;
    position: fixed;
    width: 100%;
    z-index: 5;
    background: var(--primary-color);
}

header .navbar {
    display: flex;
    padding: 20px;
    align-items: center;
    justify-content: space-between;
}

.navbar .nav-logo {
    color: var(--white-color);
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.nav-logo {
    margin-left: 0;
}

.logo-text {
    color: var(--white-color);
    font-size: var(--font-size-l);
}

.navbar .nav-menu {
    display: flex;
    gap: 15px;
}

.nav-menu {
    margin-left: 300px;
}

.navbar .nav-menu .nav-link {
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
}

.navbar .nav-menu .nav-link:hover {
    color: var(--primary-color);
    background: var(--secondary-color);
}

.navbar :where(#menu-close-button,
#menu-open-button) {
    display: none;
}

.header-logo-img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}


/*Hero section styling */

.hero-section {
    min-height: 100vh;
    background: var(--primary-color);
}

.hero-section .section-content {
    display: flex;
    align-items: center;
    min-height: 100vh;
    color: var(--white-color);
    justify-content: space-between;
}

.hero-section .hero-details .title {
    font-size: var(--font-size-xxl);
    color: var(--secondary-color);
    font-family: "Miniver", sans-serif;
}

.hero-section .hero-details .subtitle {
    margin-top: 8px;
    max-width: 70%;
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
}

.hero-section .hero-details .description {
    max-width: 70%;
    margin: 24px 0 40px;
    font-size: var(--font-size-m);
}

.hero-section .hero-details .buttons {
    display: flex;
    gap: 23px;
}

.hero-section .hero-details .button {
    padding: 10px 26px;
    border: 2px solid transparent;
    color: var(--primary-color);
    border-radius: var(--border-radius-m);
    background: var(--secondary-color);
    font-weight: var(--font-weight-medium);
    transition: 0.3s ease;
}

.hero-section .hero-details .button:hover,
.hero-section .hero-details .contact-us {
    color: var(--white-color);
    border-color: var(--white-color);
    background: transparent;
}

.hero-section .hero-details .contact-us:hover {
    color: var(--primary-color);
    border-color: var(--secondary-color);
    background: var(--secondary-color);
}

.hero-section .hero-image-wrapper {
    max-width: 500px;
    margin-right: 30px;
}

/* About section styling */
.about-section {
    padding: 120px 0;
    background: var(--light-pink-color);
}

.about-section .section-content {
    display: flex;
    gap: 50px;
    align-items: center;
    justify-content: space-between;
}

.about-section .about-image-wrapper .about-image {
    width: 400px;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius-circle);
}

.about-section .social-link-list {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.about-section .social-link-list .social-link {
    color: var(--primary-color);
    font-size: var(--font-size-l);
    transition: 0.2s ease;
}

.about-section .social-link-list .social-link:hover {
    color: var(--secondary-color);
}


/* Contact info links styling */
.contact-link,
.contact-phone {
    color: var(--dark-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-bottom 0.2s;
}
.contact-link:hover,
.contact-link:focus,
.contact-phone:hover,
.contact-phone:focus {
    color: var(--secondary-color);
    border-bottom: 2px solid var(--secondary-color);
}

/* Menu section styling */
.menu-section {
    color: var(--dark-color);
    background: var(--white-color);
    padding: 50px 0 100px;
}

.menu-list .menu-item {
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-radius: 16px;
    background: var(--primary-color);
    color: var(--white-color);
    margin-bottom: 30px;
    padding: 18px 0 10px 0;
    position: relative;
    transition: box-shadow 0.2s;
}
.menu-list .menu-item .menu-image:hover {
    box-shadow: 0 4px 18px rgba(243,150,28,0.15);
    transform: scale(2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu-list .menu-item .menu-image {
    max-width: 120px;
    margin: 0 auto 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.menu-section .menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.menu-section .menu-list .menu-item {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% /3 - 110px);
}

.menu-section .menu-list .menu-item .menu-image {
    max-width: 83%;
    aspect-ratio: 1;
    margin: 15px;
    object-fit: contain;
}

.menu-section .menu-list .menu-item .name {
    margin: 12px 0;
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-semibold);
}

.menu-section .menu-list .menu-item .text {
    font-size: var(--font-size-s);
}

/* Gallery section styling */
.gallery-section {
    padding: 50px 0 100px;
    background-color: var(--medium-gray-color);
}

.gallery-section .gallery-list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.gallery-section .gallery-list .gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius-s);
    width: calc(100% / 3 - 32px);
    /* Default state - visible */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Hidden state for animation - only applied when JS is ready */
.gallery-section .gallery-list .gallery-item.animate-ready {
    opacity: 0;
    transform: translateY(3rem);
}

.gallery-section .gallery-list .gallery-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Page load animation - dramatic entrance effect */
.gallery-section .gallery-list .gallery-item.page-load-animate {
    animation: galleryPageLoad 1.5s ease-out forwards;
}

@keyframes galleryPageLoad {
    0% {
        opacity: 0;
        transform: translateY(4rem) scale(0.7);
    }
    50% {
        opacity: 0.6;
        transform: translateY(2rem) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.gallery-section .gallery-item .gallery-image {
    width: 100%;
    height: 12rem;
    object-fit: cover;
    cursor: zoom-in;
    transition: 0.3s ease;
}

.gallery-section .gallery-item:hover .gallery-image {
    transform: scale(1.3);
}

/* Gallery animation delays for staggered effect */
.gallery-section .gallery-list .gallery-item:nth-child(1) {
    transition-delay: 0.1s;
    animation-delay: 0.1s;
}

.gallery-section .gallery-list .gallery-item:nth-child(2) {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.gallery-section .gallery-list .gallery-item:nth-child(3) {
    transition-delay: 0.3s;
    animation-delay: 0.3s;
}

.gallery-section .gallery-list .gallery-item:nth-child(4) {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.gallery-section .gallery-list .gallery-item:nth-child(5) {
    transition-delay: 0.5s;
    animation-delay: 0.5s;
}

.gallery-section .gallery-list .gallery-item:nth-child(6) {
    transition-delay: 0.6s;
    animation-delay: 0.6s;
}

/* Contact us section styling */
.contact-section {
    padding: 50px 0 100px;
    background: var(--light-pink-color);
}

.contact-section .section-content {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    justify-content: space-between;
}

.contact-section .contact-info-list .contact-info {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    align-items: center;
}

.contact-section .contact-info-list .contact-info i {
    font-size: var(--font-size-m);
}

.contact-section .contact-form .form-input {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    outline: none;
    margin-bottom: 16px;
    background: var(--white-color);
    border-radius: var(--border-radius-s);
    border: 1px solid var(--medium-gray-color);
}

.contact-section .contact-form {
    max-width: 50%;
}

.contact-section .contact-form .form-input:focus {
    border-color: var(--secondary-color);
}

.contact-section .contact-form textarea .form-input {
    height: 100px;
    padding: 12px;
    resize: vertical;
}

.contact-section .contact-form .submit-button {
    padding: 10px 26px;
    margin-top: 10px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    font-weight: var(--font-weight-medium);
    background: var(--primary-color);
    border-radius: var(--border-radius-m);
    border: 1px solid var(--primary-color);
    transition: 0.3s ease;
}

.contact-section .contact-form .submit-button:hover {
    color: var(--primary-color);
    background: transparent;
}

/* Footer styling */
.footer-section {
    padding: 20px 0;
    background: var(--dark-color);
}

.footer-section .section-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-section :where(.copyright-text, .social-link, .policy-link) {
    color: var(--white-color);
    transition: 0.2s ease;
}

.footer-section .social-link-list {
    display: flex;
    gap: 25px;
}

.footer-section .social-link-list .social-link {
    font-size: var(--font-size-l);
}

.footer-section .social-link-list .social-link:hover,
.footer-section .policy-text .policy-link:hover {
    color: var(--secondary-color);
}

.footer-section .policy-text .separator {
    margin: 0 5px;
    color: var(--white-color);
}

/* Responsive screen media query code for max width 1024px */
@media screen and (max-width: 1024px){
    .menu-section .menu-list {
        gap: 20px;
    }

    .menu-section .menu-list .menu-item {
        width: calc(100% /3 - 60px);
    }
}

/* Responsive screen media query code for max width 900px */
@media screen and (max-width: 900px) {
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  }
  .navbar {
    position: relative;
    width: 100%;
    z-index: 1001;
    background: var(--primary-color);
  }
  .navbar #menu-open-button {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2000; /* make sure it's above everything */
    background: rgba(0,0,0,0.08); /* subtle background for visibility */
    color: #fff; /* white icon for dark backgrounds */
    font-size: 32px;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    padding: 8px 10px;
}
  .navbar .nav-menu {
    display: none;
    background: #fff !important;
    position: fixed;
    top: 0; left: -220px;
    width: 220px; height: 100vh;
    margin: 0; padding-left: 0;
    box-shadow: 2px 0 20px rgba(0,0,0,0.10);
    z-index: 1200;
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    flex-direction: column;
    align-items: center; justify-content: flex-start;
    padding-top: 40px; padding-bottom: 20px;
  }
  .navbar #menu-close-button {
    display: block;
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 1300;
    background: none;
    color: var(--primary-color);
    font-size: 28px;
    border: none;
    pointer-events: auto;
    margin-right: 4px;
  }
  body.show-mobile-menu .navbar .nav-menu {
    display: flex;
    left: 0;
    background: #fff !important;
  }
  .navbar .nav-menu .nav-link {
    color: var(--dark-color);
    font-size: 18px;
    margin: 18px 0;
    text-align: center;
    width: 100%;
    display: block;
    padding: 12px 0;
    border-radius: 0;
    border-bottom: 1px solid #eee;
    transition: background 0.2s, color 0.2s;
  }
  .navbar .nav-menu .nav-link:last-child {
    border-bottom: none;
  }
  .navbar .nav-menu .nav-link:hover {
    padding: 10px 18px;
    color: var(--white-color);
    font-size: var(--font-size-m);
    border-radius: var(--border-radius-m);
    transition: 0.3s ease;
  }

  body.show-mobile-menu {
    overflow: hidden;
  }

  body.show-mobile-menu header::before {
    content:"";
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    backdrop-filter: blur(5px);
    background: rgba(0, 0, 0, 0.2);
}

body.nav-logo-center .navbar .logo-text {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    text-align: center;
    width: max-content;
    z-index: 1001;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .hero-section .section-content {
    gap: 50px;
    text-align: center;
    padding: 30px 20px 20px;
    flex-direction: column-reverse;
    justify-content: center;
  }
    .hero-section .hero-details :is(.subtitle , .description), 
    .about-section .about-details, .contact-section .contact-form {
    max-width: 100%;
    }
    .hero-section .hero-details .buttons {
    justify-content: center;
    }

   .hero-section .hero-image-wrapper {
    max-width: 270px;
    margin-right: 0;
    }

    .about-section .section-content {
        gap: 70px;
        flex-direction: column-reverse;
    }

    .about-section .about-image-wrapper .about-image {
        width: 100%;
        height: 100%;
        max-width: 250px;
        aspect-ratio: 1;
    }

    .menu-section .menu-list {
        gap: 20px;
    }

    .menu-section .menu-list .menu-item {
        width: calc(100% /2 - 30px);
    }

    .menu-section .menu-list .menu-item .menu-image {
        max-width: 200px;
    }

    .gallery-section .gallery-list {
        gap: 30px;
    }

    .gallery-section .gallery-list .gallery-item {
        width: calc(100% / 2 - 30px);
    }

    .contact-section .section-content {
        align-items: center;
        flex-direction: column-reverse;
    }
}

/* Responsive screen media query code for max width 640px */
@media screen and (max-width: 640px) {
    .navbar #menu-open-button {
        right: 12px;
    }
    .menu-section .menu-list {
        gap: 8px;
    }
    .menu-section .menu-list .menu-item {
        padding: 6px 0;
        min-height: 60px;
        gap: 3px;
    }
    .gallery-section .gallery-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    .gallery-section .gallery-list .gallery-item {
        width: calc(50% - 5px);
        box-sizing: border-box;
        margin: 0;
        padding: 0;
    }
    .footer-section .section-content {
        flex-direction: column;
        gap: 20px;
    }
    .menu-section .menu-list .menu-item .menu-image {
        max-width: 150px;
        height: 160px;
        aspect-ratio: 1;
        margin: 0 auto 6px;
    }
    .menu-section .menu-list .menu-item .name {
        font-size: 0.95rem;
    }
    .menu-section .menu-list .menu-item .text {
        font-size: 0.65rem;
    }
    .gallery-section .gallery-list .gallery-item .gallery-image {
        width: 100%;
        height: 200px;
        object-fit: cover;
        display: block;
    }
}

/* Page fade-out animation for transitions */
.page-fade-out {
    animation: fadeOutPage 0.7s forwards;
}

@keyframes fadeOutPage {
    to {
        opacity: 0;
        transform: scale(0.98);
        filter: blur(2px);
    }
}

/* Gallery Filter Buttons and Gallery Layout */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.gallery-filter-btn {
  background: #fff;
  color: #7c4a1a;
  border: 0.125rem solid #c19a6b;
  border-radius: 2rem;
  padding: 0.5rem 1.5rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
  margin-bottom: 0.5rem;
}
.gallery-filter-btn.active,
.gallery-filter-btn:hover {
  background: #c19a6b;
  color: #fff;
  border-color: #7c4a1a;
}
.gallery-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}
.gallery-item {
  transition: transform 0.3s, opacity 0.3s;
}
.gallery-item[style*="display: none"] {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem; /* more space above arrows */
  gap: 2.5rem;
}

.gallery-arrow {
  background: #fff;
  color: #7c4a1a;
  border: 0.2rem solid #c19a6b;
  border-radius: 50%;
  width: 4rem;         /* larger width */
  height: 4rem;        /* larger height */
  font-size: 2.5rem;   /* larger arrow */
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.2rem 0.6rem rgba(0,0,0,0.08); /* subtle shadow */
}

.gallery-arrow:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.gallery-arrow:not(:disabled):hover {
  background: #c19a6b;
  color: #fff;
  border-color: #7c4a1a;
  box-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.12);
}

.menu-item {
  opacity: 0;
  transform: translateX(0) scale(0.96);
  transition: opacity 1s cubic-bezier(.4,0,.2,1), transform 1s cubic-bezier(.4,0,.2,1);
}

.menu-item.menu-animate-left {
  opacity: 1;
  transform: translateX(-10rem) scale(1);
}

.menu-item.menu-animate-right {
  opacity: 1;
  transform: translateX(10rem) scale(1);
}

.menu-item.menu-animate {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.reservation-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  margin-top: 110px;
}

.reservation-header-text {
  flex: 1 1 0;
}

.reservation-logo-wrapper.reservation-logo-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@keyframes logo-slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-80px) scale(0.7) rotate(-10deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1) rotate(0deg);
  }
}

@keyframes logo-pulse {
  0%   { transform: scale(1) rotate(0deg);}
  50%  { transform: scale(1.12) rotate(0deg);}
  100% { transform: scale(1) rotate(0deg);}
}

.reservation-logo-img {
  max-width: 150px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem #c19a6b22;
  opacity: 0;
  transform: translateX(-80px) scale(0.7) rotate(-10deg);
  transition: box-shadow 0.3s;
  cursor: pointer;
}

.reservation-logo-img.visible {
  animation: logo-slide-in-left 1.5s cubic-bezier(.4,0,.2,1) forwards, logo-pulse 1.0s 0.8s infinite alternate;
  opacity: 1;
}

.reservation-logo-img:hover {
  animation: none;
  transform: scale(1.18) rotate(0deg);
  opacity: 1;
  z-index: 2;
}

@media (max-width: 700px) {
  .reservation-header-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .reservation-logo-wrapper.reservation-logo-right {
    justify-content: center;
    margin-top: 1rem;
  }
}

#scrollToTopBtn {
    position: fixed;
    bottom: 24px;
    right: 18px;
    z-index: 3000;
    background: #e91e63;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    font-size: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
#scrollToTopBtn.show {
    opacity: 1;
    pointer-events: auto;
}
#scrollToTopBtn:hover {
    background: #ad1457;
}
