/* 
    Fonts: Open Sans and Playfair Display
    pwede rin pala to i-dl if trip niyo para no need na for net connection
*/
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #5C1C1C; /* deep burgundy */
    --secondary-color: #F8F1E5; /* warm beige */
    --accent-color: #D4AF37; /* gold */
    --neutral-color: #333333; /* charcoal */
}

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

html {
    font-family: 'Open Sans', sans-serif;
    scroll-behavior: smooth;
    background-color: var(--secondary-color);
    color: var(--neutral-color);
}

h1, h2, h3,
h4, h5, h6 {
    font-family: "Playfair Display", serif;
    color: var(--primary-color);
}

/* contact & form—lagyan ko ganto para masmadali ma-identify kung para san*/
.contact-header {
    background-image: url('../images/about/restaurant-facade.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 8rem 2rem;
}

.contact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-header h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    color: #ffffff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    margin: 0;
    position: relative;
    z-index: 2;
}


.contact-bg {
    background-color: var(--secondary-color);
    color: var(--neutral-color);
}

.cont-contact {
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 80%;
    margin: auto;
    padding: 20px;
}

.contact {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-deets {
    background-color: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.contact-deets img {
    height: 20px;
    padding-right: 10px;
}

.contact-deets p {
    display: flex;
    align-items: center;
    font-size: 1.125rem;
    line-height: 2.2;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.contact-deets img {
    height: 20px;
    margin-right: 10px;
}

.contact-form {
    background-color: var(--secondary-color);
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid var(--neutral-color);
    border-radius: 5px;
    font-size: 16px;
    background-color: var(--secondary-color);
    color: var(--neutral-color);
}

.contact-form textarea {
    height: 100px;
}

.contact-form button {
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

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

.contact-map {
    flex: 1;
    padding: 50px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 5px;
}
/* contact & form */

@media (max-width: 768px) {
/* contact & form */
.cont-contact {
    width: 100%;
    flex-direction: column;
    gap: 10px;
}

.contact-map {
    padding: 20px 0;
}

.contact-map iframe {
    height: 350px;
}
/* contact & form */
}

/* Start: About Page */
.about-page {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--neutral-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
}

/* HEADER */
.about-page-header {
    background-image: url('../images/about/restaurant-facade.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 5rem 1rem;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 8rem 2rem;
}

.about-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); 
    z-index: 1;
}

.about-page-header h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    color: #ffffff;
    margin: 0;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.about-page-header p {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 1.75rem); 
    margin-top: 1rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
    position: relative;
    z-index: 2;
}

.about-page-content {
    max-width: 1200px;
    margin: auto;
    padding: 2rem;
}

.about-page-section {
    margin-bottom: 3rem;
}

.about-page-section h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-page-section p {
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

/* HISTORY SECTION */
.about-page-history,
.about-page-mission {
    background-color: var(--secondary-color);
    padding: 2rem 0 2rem 2rem;
    border-left: 4px solid var(--accent-color);
}

.about-page-history h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-page-history p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify; 
}

.about-page-content-wrapper {
    display: block;
    margin-bottom: 1.5rem;
}

.about-page-history-image {
    float: left; 
    width: 40%; 
    margin: 0 1rem 1rem 0; 
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-page-history-image.right {
    float: right; 
    margin: 0 0 1rem 1rem;
}

.about-page-history-image img {
    width: 100%;
    border-radius: 10px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


/* TEAM SECTION */
.about-page-team {
    text-align: left;
    background-color: var(--secondary-color);
}

.about-page-team h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.about-page-team p {
    font-size: 1.2rem;
    color: var(--neutral-color);
    line-height: 1.8;
    margin-bottom: 2rem;
}


.about-page-image-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}


.about-page-image-item {
    flex: 1 1 calc(33.333% - 1rem);
    max-width: calc(33.333% - 1rem);
    text-align: center;
    padding: 1rem;
    background-color: var(--white-color);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}


.about-page-image-item:hover {
    transform: translateY(-5px);
}


.about-page-image-item img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}


.about-page-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}


.about-page-description {
    font-size: 1rem;
    color: var(--neutral-color);
    line-height: 1.6;
}
/*footer*/
.about-page-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-align: center;
    padding: 2rem 1rem;
}

.about-page-footer p {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .about-page-history {
        padding: 1.5rem 0 1.5rem 1.5rem;
    }
    
    .about-page-header h1 {
        font-size: 2.5rem;
    }

    .about-page-history p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .about-page-section h2 {
        font-size: 2rem;
    }

    .about-page-history-image {
        width: 100%;
        max-width: 100%;
    }
    
    .about-page-content-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .about-page-image-item {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}
/* End: About Page */

/* Start: Gallery Page */
.food-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 130px 50px 50px;
    border-bottom: 2px solid transparent; 
    border-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0)); 
    border-image-slice: 1; 
    margin-bottom: 20px;
}

.food-item img {
    max-width: 100%;
}

.food-item-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
    padding-right: 50px;
}

.gallery-hero-title {
    font-size: clamp(1.5rem, 5vw, 3rem);
}

.venue-text h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
}

.menu-button {
    background-color: #5C1C1C;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    align-self: flex-start;
}
.menu-button:hover {
    background-color: var(--accent-color); /* Slightly lighter red for hover effect */
    transform: scale(1.05); /* Adds a subtle zoom effect */
    cursor: pointer; /* Changes cursor to indicate interactivity */
}

.gallery-container {
    position: relative;
    text-align: center;
}

.image-gallery {
    position: relative;
    width: 100%;
    height: 300px; 
}

.image-gallery img {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 300px;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-gallery img.active {
    opacity: 1;
}

.gallery-dots {
    text-align: center;
    margin-top: 10px;
}

.dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #bbb;
    border-radius: 50%;
    margin: 3px;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #717171;
}

@media (max-width: 650px) {
    .food-item {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        text-align: center;
        padding: 100px 20px 50px;
    }

    .food-item-text {
        padding: 0;
        align-items: center;
    }

    .image-grid {
        grid-row: 2; 
    }

    .menu-button {
        align-self: center;
        margin-bottom: 20px;
    }

}

.venue {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    padding: 50px;
}

.venue-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 100%;
    
}

.venue-images img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

#Dining-Area {
    transform-origin: left;
}

#Interior {
    transform-origin: center;
}

#Dining-Table {
    transform-origin: right;
}

.venue-images img:hover {
    transform: scale(1.2); 
}

.venue-text {
    padding-left: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
}

.inquire-button {
    background-color: #5C1C1C;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    align-self: flex-start;
}
.inquire-button:hover {
    background-color: var(--accent-color); /* Slightly lighter red for hover effect */
    transform: scale(1.05); /* Adds a subtle zoom effect */
    cursor: pointer; /* Changes cursor to indicate interactivity */
}

@media (max-width: 650px) {
    .venue {
        padding: 50px 20px;
    }

    .venue-text {
        text-align: center;
        padding-left: 0;
        align-items: center;
    }

    .inquire-button {
        align-self: center;
        margin-bottom: 20px;
    }

    .venue-images img {
        transform-origin: left; 
    }

    .venue-images img:hover {
        transform: scale(2.2); 
    }
}
/* End: Gallery Page */


/* Start: Menu Page */
.menu-container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    padding-top: 175px;
}

.menu-category {
    margin-bottom: 30px;
    scroll-margin-top: 80px;
}

.menu-category h2 {
    font-size: 28px;
    font-family: "Playfair Display", serif;
    color: var(--primary-color);
    margin-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.menu-item {
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    overflow: hidden;
}

.menu-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(92, 28, 28, 0.3);
}

.menu-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.menu-item h3 {
    margin: 10px 0;
    font-size: 20px;
    color: var(--primary-color);
}

.menu-item h4 {
    margin: 10px 0;
    font-size: 20px;
    color: var(--accent-color);
}

.description {
    display: none;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    font-size: 14px;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    font-family:"Roboto", serif;
}

@media (hover: hover) {
    .menu-item:hover .description {
        display: block;
        opacity: 1;
    }
}

@media (hover: none) {
    .menu-item:active .description {
        display: block;
        opacity: 1;
    }
}
/* End: Menu Page */


/* individual menu navbar style */
.menu-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 5%;
    background-color: #5c1c1ce6;
    transition: background-color 0.4s ease-in-out, padding 0.3s ease-in-out;
}

.header-container {
    max-width: 1200px;
    margin: auto auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    max-width: 100%;
}

nav {
    flex-grow: 1;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
}

nav ul li a {
    color: #F8F1E5;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #D4AF37;
}

@media (max-width: 1024px) {
    nav ul {
        gap: 30px;
    }
}

.nav-close-item {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: #F8F1E5;
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 8px;
    z-index: 1001;
    position: relative;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    nav ul {
        display: none;
        position: fixed;
        inset: 0;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 32px;
        background-color: rgba(92, 28, 28, 0.97);
        z-index: 1002;
        padding-top: 80px;
        margin: 0;
    }

    nav ul.open {
        display: flex;
    }

    nav ul li {
        display: block;
    }

    nav ul li a {
        font-size: 1.4rem;
    }

    .nav-close-item {
        display: block;
        position: absolute;
        top: 20px;
        right: 5%;
    }

    .nav-close {
        background: none;
        border: none;
        color: #F8F1E5;
        font-size: 1.6rem;
        cursor: pointer;
        padding: 4px 8px;
    }

    nav:has(ul.open) .hamburger {
        display: none;
    }
}

body:has(nav ul.open) .menu-nav {
    z-index: 999;
}

@media (max-width: 480px) {
    header {
        padding: 15px 5%;
    }
}

/* + menu */
.menu-nav {
    position: fixed;
    top: 85px;
    width: 100%;
    z-index: 1;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Menu Navigation Buttons */
.menu-nav button {
    background-color: #ffffff;
    color: #333;
    border: 2px solid var(--accent-color);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.menu-nav button:hover {
    background-color: var(--accent-color);
    color: #ffffff;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .menu-nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .menu-nav button {
        font-size: 0.9rem;
    }
}

@media (max-width: 628px) {
    .menu-nav {
        top: 85px;
        z-index: 1001;
        transition: top 0.3s ease;
    }

    .menu-nav.scrolled {
        top: 0;
    }

    .menu-container {
        padding-top: 220px;
    }

    .menu-category {
        scroll-margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .menu-nav button {
        font-size: 0.85rem;
    }
}

/* individual gallery navbar style */
.gallery-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 20px 5%;
    background-color: #5c1c1ce6;
    transition: background-color 0.4s ease-in-out, padding 0.3s ease-in-out;
}