/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #1E88E5;
    --secondary-blue: #64B5F6;
    --dark-blue: #0D47A1;
    --light-blue: #E3F2FD;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --bg-light: #f8f9fa;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    transform: translateZ(0); /* prevents subpixel jumps */
    will-change: transform;
    backface-visibility: hidden;
    width: 100%;
    background-color: transparent;    
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo img {
    height: 100px;
    width: auto;
    object-fit: contain; /* ensures the image keeps aspect ratio */
    border-radius: 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    font-size: larger;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s;
}

.nav-menu li a:hover {
    color: var(--primary-blue);
}

.nav-menu li a:hover:after {
    width: 100%;
}

/* === Clean Minimal Hamburger === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 35px;
  height: 28px;
  cursor: pointer;
  z-index: 1100;
  background: transparent !important;
  border: none;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--text-dark);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.hamburger:hover {
  background: transparent !important;
}

/* Optional hover line color */
.hamburger:hover span {
  background: var(--primary-blue);
}

/* Hero Section */
.hero {
    height: 100dvh;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    z-index: 5;
}

.hero-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* ensures the image keeps aspect ratio */
  border-radius: 20px;
  opacity: 0.6;
}

.hero-overlay video {
  height: 100%;
  width: auto; /* maintain vertical aspect ratio */
  object-fit: contain; /* prevent cropping */
}

.hero-content {
    position: relative;
    z-index: 10;
    padding: 2rem 3rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6); /* optional extra contrast */
    text-align: center;
    max-width: 90%;
    margin-top: 10rem;
}

.hero h1 {
    font-size: 5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary-blue);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.scroll-indicator i {
    color: var(--white);
    font-size: 2rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Fade in animations */
.fade-in {
    animation: fadeIn 1s ease-in;
}

.fade-in-delay {
    animation: fadeIn 1s ease-in 0.3s both;
}

.fade-in-delay-2 {
    animation: fadeIn 1s ease-in 0.6s both;
}

.fade-in-delay-3 {
    animation: fadeIn 1s ease-in 0.9s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
    margin: 0 auto 20px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .intro-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.features {
    display: grid;
    gap: 30px;
    margin-top: 40px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    min-width: 50px;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 0.95rem;
    padding-top: 6px;
}

.about-image {
    height: 500px;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.image-placeholder i {
    font-size: 5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.image-placeholder p {
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 500;
}

.image-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* ensures the image keeps aspect ratio */
  border-radius: 20px;
}

/* Menu Section */
#home {
  scroll-margin-top: 120px; /* Adjust offset as needed */
}

#about {
  scroll-margin-top: 120px; /* Adjust offset as needed */
}

#menu {
  scroll-margin-top: 120px; /* Adjust offset as needed */
}

#contact {
  scroll-margin-top: 120px; /* Adjust offset as needed */
}

#gallery {
  scroll-margin-top: 120px; /* Adjust offset as needed */
}

.menu {
    background: var(--white);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 12px 30px;
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    cursor: pointer;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.menu-tab:hover {
    background: var(--light-blue);
}

.menu-tab.active {
    background: var(--primary-blue);
    color: var(--white);
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
    animation: fadeIn 0.5s ease-in;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-blue);
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.item-header h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
}

.price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.menu-item p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Gallery Section */
.gallery {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
    height: 100%;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.gallery-placeholder img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* ensures the image keeps aspect ratio */
  border-radius: 20px;
}

.gallery-item:hover .gallery-placeholder {
    transform: scale(1.1);
}

.gallery-placeholder i {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.gallery-placeholder p {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 2rem;
    color: var(--primary-blue);
    min-width: 40px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-item a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.footer-contact-item a {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-contact-item a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 20px;
}

.contact-form h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--secondary-blue);
}

.footer-section p {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--secondary-blue);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #555;
    color: #999;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 20px 0;
        font-size: larger;
    }

    .nav-menu.active {
        left: 0;
        margin-top: 4.5rem;
    }

    .hamburger {
        display: flex;
    }

.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

    .hero h1 {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 400px;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .menu-items {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .hero-overlay {
        margin-top: 10rem;
    }

    .hero-content {
        margin-top: 12rem;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    section {
        padding: 60px 0;
    }

    .contact-form {
        padding: 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .menu-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Transparent at top */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background-color: transparent;
    backdrop-filter: blur(10px);  /* Causes the background blur */
   transform: translateZ(0); /* prevents subpixel jumps */
    will-change: transform;
    backface-visibility: hidden;
    box-shadow: none;
    transition: all 0.3s ease;
    z-index: 999;
}

/* Solid background when scrolled */
#navbar.scrolled {
  background-color: rgba(255,255,255,0.98);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  backdrop-filter: blur(8px);
}

.pdf-menu-container {
    max-width: 800px;
    margin: 0 auto;
}

.mobile-pdf-download {
    display: block;
    text-align: center;
    margin-top: 2rem;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .pdf-menu-container {
        display: none; /* Hide iframe on mobile */
    }

    .mobile-pdf-download {
        display: block;
    }
}

#btnMenu{
    margin-top: 2rem;
}

.modal-confirm {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hero-video::-webkit-media-controls,
.hero-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
}

#navbar.compact .logo img {
  height: 60px;
}

#navbar.compact .nav-container {
  padding: 0.3rem 20px;
}

a[href^="mailto:"] {
  color: var(--secondary-blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

a[href^="mailto:"]:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Map Container */
.map-container {
margin-top: 3rem;
  border-radius: 20px;
  overflow: hidden; /* rounds the iframe corners */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect (subtle pop) */
.map-container:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 45px rgba(0, 0, 0, 0.25);
}

/* Responsive iframe */
.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Adjust height for mobile */
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}
