/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--primary-red);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: transform 0.8s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.loading-screen.hide {
    transform: translateY(100%);
}

.loading-logo {
    width: 200px;
    height: auto;
    opacity: 0;
    transform: scale(0.8);
    animation: logoAppear 1s ease-out 0.5s forwards;
}

@keyframes logoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hide body content until loading is complete */
.loading body {
    overflow: hidden;
}

@font-face {
    font-family: 'Avenir';
    src: url('assets/fonts/Avenir.ttc') format('truetype-collection');
    font-weight: normal;
    font-style: normal;
}


body {
    font-family: 'Avenir', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Custom Font Face */
@font-face {
    font-family: 'Analogue';
    src: url('assets/fonts/Analogue.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Analogue';
    src: url('assets/fonts/Analogue-Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}



/* Color Variables (from Pantone colors) */
:root {
    --primary-red: #B73E3E;        /* PANTONE 7621 C */
    --secondary-turquoise: #5DAEA7;  /* PANTONE 564 C */
    --accent-orange: #E85D33;       /* PANTONE 7417 C */
    --accent-yellow: #F4D03F;       /* PANTONE 1345 C */
    --accent-coral: #FF5722;        /* PANTONE 171 C */
    --text-dark: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --background-light: #F8F8F8;
    --gold: #D4A574;

    --accent-yellow-alt:#ffcf85; /* lighter yellow */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1rem 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8rem;
    padding-left:4rem;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 10em;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 4rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-white);
    font-weight: 500;
    font-size: 1.1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7); */
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--accent-yellow-alt);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter:grayscale(0.3);
    /* transform:rotate(90deg) */
}

/* .hero-bg.home {
    display:none;
    background-image: url('assets/images/savoury-taste-restaurant-interior.jpg');
    background-size: cover;
    background-position: center;
    filter:grayscale(0.3);
} */

.hero-content{
    width:100%;
}

.hero-content-text{
    display:flex;
    flex-direction:column;
    align-items: center;
}

.hero-banner {
    position: relative;
    top:200px;
    z-index: 2;
    width: 100%;
    /* max-width: 1200px; */
    margin: 0 auto;
    /* padding: 0 2rem; */
    display:grid;
    grid-template-columns: 1fr 1fr;
    /* height:8rem; */
}

.hero-content .hero-pattern{
    background: url('assets/images/pattern-horizontal.png');
    background-repeat:no-repeat;
    background-size:cover;
    height:100%;
    /* flex:1; */
}

.hero-overlay {
    width:100%;
    height:100%;
    padding: 1.8rem 2rem;
    background: var(--primary-red);
    color: var(--accent-yellow-alt);
    /* margin-left: auto;
    margin-right: auto; */
    font-size: 1.2rem;
    /* 
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.6; */
}

.hero-overlay p{
    max-width: 480px;
    margin: 0 50px;
}

.hero-overlay::before {
    /* content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 80px;
    background-repeat: repeat-y;
    background-size: 60px auto;
    opacity: 0.8; */
}

.section-title {
    font-family: 'Analogue', serif;
    font-style:normal;
    font-weight:normal;
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-title-section {
    position: absolute;
    top: 15%;
    right: 5%;
    z-index: 3;
    max-width: 450px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-white);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    line-height: 1.1;
    text-align: right;
    letter-spacing: 1px;
}

/* About Preview Section */
.about-section {
    padding: 6rem 2rem;
    background: var(--accent-yellow-alt);
    min-height:70vh;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.about-section .container{
    max-width: 1200px;
    margin: 0 auto;
}

.about-section-title{
    font-family: 'Analogue', serif;
    font-style:normal;
    font-weight:normal;
    font-size: 6rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
    line-height: 5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    height:100%;
}

.food-img {
    height:100%;
    width: 100%;
    object-fit: cover;
}

.section-subtitle {
    color: var(--accent-coral);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}



.btn {
    display: inline-block;
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    font-size:0.8rem;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--accent-yellow-alt);
}

.btn-primary:hover {
    background: #9a3434;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--accent-coral);
    color: var(--accent-yellow-alt);
}

.btn-secondary:hover {
    background: #d54c27;
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--text-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature {
    display:flex;
    flex-direction:row;
    align-items: center;
}

.feature-icon {
    width:90px;
    object-fit:contain;
    margin-right:20px;
}

.feature-text{
    text-align:left;
}

.feature h3 {
    font-size: 1.3rem;
    margin-bottom: 0px;
    color: var(--primary-red);
    font-family: 'Avenir', serif;
    font-weight:normal;
    font-style:normal;
}

.feature p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Chef Recommend Section */
.chef-recommend {
    /* padding: 6rem 0;
    background: linear-gradient(135deg, var(--accent-coral), var(--accent-orange));
    position: relative; */
}

.chef-recommend .container{
    display:flex;
    flex-direction:row;
    align-items: center;
}


/* .chef-recommend::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 120px;
    background: url('assets/images/pattern-vertical.png');
    background-repeat: repeat-y;
    background-size: 80px auto;
    opacity: 0.7;
} */

.chef-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    /* gap: 4rem; */
    align-items: center;
    position:relative;
}

.chef-content .chef-recommend-pattern{
    background: url('assets/images/pattern-vertical.png');
    background-repeat:no-repeat;
    background-size:cover;
    flex:1;
    width:120px;
    height:100%;
    position:absolute;
    background-color:orange;
}
.chef-image {
    width: 100%;
    height:100%;
    /* object-fit: cover; */
    background-size:cover;
    background-image:url('assets/images/happy-customer-dining.png');
}

.chef-text {
    color: var(--text-white);
    background-color: var(--primary-red);
    padding:3rem 2rem;
    padding-left:5rem;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content: center;
}

.chef-text p{
    width:80%;
}

.chef-text .btn{
    margin-top:2rem;
    width:150px;
}

.chef-text .section-subtitle {
    /* color: var(--accent-yellow);
     */
     color:#ff5a35;
}

.chef-text .section-title {
    font-family: 'Analogue', serif;
    font-style:normal;
    font-weight:normal;
    font-size: 4rem;
    color: var(--accent-yellow-alt);
    margin-bottom: 1.5rem;
    line-height: 3.5rem;
}

.chef-description {
    font-size:1.1rem;
    margin-top: 1rem;
    opacity: 0.9;
}

/* About Page Styles */
.about-hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    filter:grayscale(0.2);
}

/* .about-hero .hero-bg img {
    object-position: calc(90% + 100px);
} */

.about-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pattern-overlay {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 300px;
    background: var(--secondary-turquoise);
    opacity: 0.8;
}

.pattern-overlay::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 0;
    bottom: 0;
    width: 80px;
    background: url('assets/images/pattern-vertical.png');
    background-repeat: repeat-y;
    background-size: 60px auto;
    opacity: 0.8;
}

.hero-text {
    background: var(--primary-red);
    padding: 3rem;
    max-width: 600px;
    margin-left: auto;
    color: var(--text-white);
}

.about-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-white);
}

/* Restaurant Interior Section */
.restaurant-interior {
    /* padding: 6rem 0; */
    /* background: var(--text-white); */
}

.restaurant-interior .restaurant-container{
    /* max-width:1200px;
    margin:0 auto; */
    display:flex;
    flex-direction:row;
}

 .about-pattern{
    background: url('assets/images/pattern-vertical.png');
    background-repeat:no-repeat;
    background-size:cover;
    height:457px;
    width:100px;
    /* flex:1; */
}

.interior-content {
    /* display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem; */
    align-items: center;
    background-color:var(--primary-red);
    flex:1;
    padding-top:7rem;
    padding-bottom:5rem;
}

.interior-content .upper-text{
    display:flex;
    flex-direction:column;
    align-items: center;
}

.upper-text .unique-taste{
    color:var(--accent-yellow-alt);
    font-family: 'Analogue', serif;
    font-style:normal;
    font-weight:normal;
    font-size: 6rem;
    margin-bottom: 1.5rem;
    line-height: 5.2rem;
    text-align: center;
    
}
.upper-text .unique-taste-description{
    width:30%;
    text-align:center;
    color:white;
    margin-bottom:5rem;
}

.bottom-text{
    display:grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap:3rem;
    position:relative;
    left:-40px;
}

.interior-image img {
    width: 100%;
    /* height: 400px; */
    object-fit: cover;
    filter:grayscale(0.4);
}

.interior-text{
    padding:100px 0px;
}

.interior-text .section-title {
    font-size: 3.8rem;
    color: white;
    line-height: 3.3rem;
    margin-bottom: 1.5rem;
}

.interior-description {
    font-size: 1.1rem;
    color: white;
    width:50%;
    line-height: 1.3;
}

/* About Description Section */
.about-description {
    font-size:1.1rem;
    margin-bottom:3rem;
}

.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Page Styles */
.contact-hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-hero-title {
    font-family: 'Analogue', serif;
    font-style:normal;
    font-weight:normal;
    font-size: 5rem;
    color: var(--text-white);
    margin-bottom: 3rem;
    line-height: 2.5rem;
}

.stars {
    font-size: 3.5rem;
    color: var(--accent-yellow-alt);
    line-height:2rem;
    /* margin-bottom: 2rem; */
    letter-spacing: 0.2rem;
}

.contact-section {
    padding: 6rem 0;
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-header{
    display:flex;
    flex-direction:row;
    align-items: center;
}

.reservation-header {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.keep-close,
.book-now {
    color: var(--accent-coral);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.keep-close{
    margin-right:10px;
}

.stars-small {
    color: var(--accent-yellow);
    font-size: 2rem;
    letter-spacing: 0.3rem;
    line-height:1rem;
    /* margin-bottom: 1rem; */
}

.contact-description {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.contact-info {
    margin: 2rem 0;
}

.contact-info p {
    margin-bottom: 0rem;
    color: var(--text-dark);
}

.social-follow {
    margin-top: 3rem;
    display:flex;
    flex-direction:row;
    color: var(--accent-coral);
}

.follow-us {
    color: var(--accent-coral);
    margin-right: 0.5rem;
    font-family: 'Avenir', sans-serif;
}

.social-follow .social-icons-contact a {
    color: var(--accent-coral);
    /* color: black; */
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Reservation Form */
.reservation-form-container {
    /* background: var(--text-white); */
    padding: 0rem 2rem;
    border-radius: 8px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0rem;
}

.form-group {
    margin-bottom: 0.7rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: 'Avenir', sans-serif;
    background-color:#f2f1f1;
    border:none;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group input::placeholder {
    color: var(--text-light);
}

.reservation-btn {
    width: 100%;
}

.reservation-btn:hover {
    background: #9a3434;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--accent-coral);
    color: var(--text-white);
    padding: 2rem 0;
}

.footer .container{
    max-width:initial;
    padding:0 100px;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top:50px;
}

.footer-text {
    flex: 1;
    max-width: 600px;
}

.footer-social {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size:0.9rem;
}

.social-icons {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
    margin-top: 1rem;
}
.social-icons-contact {
    display: flex;
    gap: 0.7rem;
    justify-content: flex-end;
}

.social-icons a {
    color: var(--text-white);
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-yellow);
    transform: translateY(-2px);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Header & Navigation */
    .navbar {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }
    
    .logo img {
        height: 6rem;
    }
    
    .nav-menu {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .nav-menu a {
        font-size: 0.9rem;
    }

    /* Hero Sections */
    .hero {
        height: 70vh;
        text-align: center;
    }
    
    .hero-banner {
        grid-template-columns: 1fr;
        top: 150px;
        height: auto;
        gap: 0;
    }
    
    .hero-pattern {
        height: 60px;
    }
    
    .hero-overlay {
        padding: 1.5rem;
    }
    
    .hero-overlay p {
        margin: 0;
        max-width: 100%;
        font-size: 1rem;
    }

    /* About Section */
    .about-section {
        padding: 4rem 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-section-title {
        font-size: 3.5rem;
        line-height: 3rem;
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
        font-size: 1rem;
    }

    /* Features */
    .features {
        padding: 4rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
    }

    .feature-text{
        text-align:center;
    }
    
    .feature-icon {
        width: 60px;
        margin-right: 0;
        margin-bottom: 1rem;
    }

    /* Chef Recommend */
    .chef-content {
        grid-template-columns: 1fr;
    }
    
    .chef-image {
        height: 250px;
        order: 1;
    }
    
    .chef-text {
        order: 2;
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .chef-text .section-title {
        font-size: 2.5rem;
        line-height: 2.2rem;
    }
    
    .chef-text p {
        width: 100%;
    }

    /* About Page */
    .about-hero {
        height: 50vh;
    }
    
    .restaurant-container {
        flex-direction: column;
    }
    
    .about-pattern {
        /* height: 60px;
        width: 100%; */
        display:none;
    }
    
    .interior-content {
        padding: 3rem 1rem;
    }
    
    .upper-text .unique-taste {
        font-size: 3rem;
        line-height: 2.8rem;
    }
    
    .upper-text .unique-taste-description {
        width: 90%;
        margin-bottom: 3rem;
    }
    
    .bottom-text {
        grid-template-columns: 1fr;
        left: 0;
        gap: 2rem;
    }
    
    .interior-text {
        padding: 2rem 0;
        text-align: center;
    }
    
    .interior-text .section-title {
        font-size: 2.5rem;
        line-height: 2.2rem;
    }
    
    .interior-description {
        width: 100%;
    }

    /* Contact Page */
    .contact-hero-title {
        font-size: 3rem;
        line-height: 2.5rem;
        margin-bottom:0px;
    }
    
    .stars {
        font-size: 2.5rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        /* grid-auto-flow: column-reverse; */
    }
    
    .contact-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .keep-close {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .reservation-header {
        align-items: flex-start;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-form-container {
        padding: 0;
    }

    /* Footer */
    .footer .container {
        padding: 0 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .social-icons {
        justify-content: center;
    }

    .chef-content .chef-recommend-pattern{
        display:none;
    }

    .btn-primary,.btn-secondary, .reservation-btn, .chef-text .btn{
        width:100%;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
    }
    
    .logo img {
        height: 5rem;
    }
    
    .hero {
        height: 60vh;
    }
    
    .hero-banner {
        top: 100px;
    }
    
    .hero-overlay {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .about-section-title {
        font-size: 2.5rem;
        line-height: 2.2rem;
    }
    
    .contact-hero-title {
        font-size: 2.2rem;
        line-height: 2rem;
        margin-bottom:0px;
    }
    
    .unique-taste {
        font-size: 2.2rem !important;
        line-height: 2rem !important;
    }
    
    .interior-text .section-title {
        font-size: 2rem !important;
        line-height: 1.8rem !important;
    }
    
    .chef-text .section-title {
        font-size: 2rem !important;
        line-height: 1.8rem !important;
    }
    
    .stars {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .interior-content {
        padding: 2rem 1rem;
    }
    
    .chef-text {
        padding: 1.5rem 1rem;
    }
    
    .about-section {
        padding: 3rem 1rem;
    }
    
    .features {
        padding: 3rem 1rem;
    }
}

/* Animation and Transitions */
/* .hero-overlay,
.pattern-overlay {
    animation: slideInLeft 1s ease-out;
}

.hero-title,
.about-hero-title {
    animation: fadeInUp 1.2s ease-out 0.3s both;
} */

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}