/*==========================================
    LUNA BISTRO
    Luxury Restaurant Website
    HTML | CSS | JavaScript
===========================================*/

/*============== GOOGLE FONTS ==============*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

/*============== CSS VARIABLES ==============*/

:root{

    --black:#0d0d0d;
    --dark:#181818;
    --gold:#c8a96a;
    --gold-hover:#e0bb73;
    --white:#ffffff;
    --gray:#b8b8b8;

    --transition:.4s ease;

}

/*============== RESET ==============*/

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:var(--black);
    color:var(--white);
    overflow-x:hidden;

}

img{

    width:100%;
    display:block;

}

ul{

    list-style:none;

}

a{

    text-decoration:none;

}

.container{

    width:90%;
    max-width:1200px;
    margin:auto;

}

/*============== COMMON ==============*/

section{

    padding:100px 0;

}

.section-title{

    text-align:center;
    margin-bottom:70px;

}

.section-title span{

    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:14px;

}

.section-title h2{

    font-family:'Playfair Display',serif;
    font-size:48px;
    margin-top:15px;
    margin-bottom:20px;

}

.section-title p{

    color:var(--gray);
    max-width:650px;
    margin:auto;
    line-height:30px;

}

/*============== BUTTONS ==============*/

.btn{

    display:inline-block;
    padding:15px 35px;
    background:var(--gold);
    color:#111;
    border-radius:40px;
    font-weight:600;
    transition:var(--transition);

}

.btn:hover{

    background:var(--gold-hover);
    transform:translateY(-3px);

}

.btn-outline{

    display:inline-block;
    padding:15px 35px;
    border:2px solid var(--gold);
    color:var(--gold);
    border-radius:40px;
    transition:var(--transition);

}

.btn-outline:hover{

    background:var(--gold);
    color:#111;

}
/*==========================================
            HEADER
==========================================*/

header{

    position:absolute;
    top:0;
    left:0;
    width:100%;
    z-index:999;

}

.navbar{

    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:30px 0;

}

.logo{

    font-family:'Playfair Display',serif;
    font-size:34px;
    color:var(--gold);
    font-weight:700;
    letter-spacing:1px;

}

.nav-links{

    display:flex;
    gap:35px;

}

.nav-links li a{

    color:var(--white);
    font-size:16px;
    transition:var(--transition);
    position:relative;

}

.nav-links li a:hover{

    color:var(--gold);

}

.nav-links li a::after{

    content:'';
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--gold);
    transition:var(--transition);

}

.nav-links li a:hover::after{

    width:100%;

}

/*==========================================
            HERO
==========================================*/

.hero{

   height:100vh;
    background:url("../images/hero.jpg") center center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
}
.hero .container{
    display:flex;
    justify-content:center;
    align-items:center;
    height:100%;
}

.overlay{

    position:absolute;
    inset:0;
    background:rgba(0,0,0,.70);

}

.hero-content{

     position:relative;
    z-index:2;
    max-width:850px;
    width:100%;
    text-align:center;

}

.subtitle{

    color:var(--gold);
    letter-spacing:5px;
    text-transform:uppercase;
    font-size:15px;

}

.hero-content h1{

    font-family:'Playfair Display',serif;
    font-size:78px;
    margin:25px 0;
    line-height:1.2;

}

.hero-content p{

    color:var(--gray);
    line-height:32px;
    font-size:18px;
    margin-bottom:45px;

}

.hero-buttons{

    display:flex;
    justify-content:center;
    gap:20px;

}

/*==========================================
            HERO ANIMATION
==========================================*/

.hero-content{

    animation:fadeUp 1.2s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}
/*==========================================
                ABOUT SECTION
==========================================*/

/* ==========================
   ABOUT SECTION
========================== */

/* =========================
   ABOUT SECTION
========================= */

/* ================= ABOUT SECTION ================= */

.about{
    background:#161616;
    padding:120px 0;
}

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

/* Left Image */
.about-image{
    flex:0 0 55%;
}

.about-image img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
    border-radius:20px;
    box-shadow:0 20px 40px rgba(0,0,0,.45);
}

/* Right Content */
.about-content{
    flex:0 0 45%;
}

.about-content span{
    color:#d4af37;
    font-size:14px;
    font-weight:600;
    letter-spacing:5px;
    text-transform:uppercase;
}

.about-content h2{
    font-family:'Playfair Display', serif;
    font-size:48px;
    color:#fff;
    line-height:1.2;
    margin:20px 0;
}

.about-content p{
    color:#cfcfcf;
    font-size:18px;
    line-height:1.9;
    margin-bottom:22px;
    max-width: 520px;
}

.about-content .btn{
    margin-top:15px;
}


/*==========================================
                MENU SECTION
==========================================*/

.menu{

    background:var(--black);

}

.menu-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;

}

.menu-card{

    background:var(--dark);
    border-radius:15px;
    overflow:hidden;
     transition:0.4s ease;

}

.menu-card:hover{

    transform:translateY(-10px);
     box-shadow:0 20px 45px rgba(212,175,55,.18);
}



.menu-card img{

     width:100%;
    height:260px;
    object-fit:cover;
    display:block;
    transition:.5s;

}
.menu-card:hover img{
    transform:scale(1.06);
}

.menu-content{

    padding:25px;

}

.menu-content h3{

    font-family:'Playfair Display',serif;
    margin-bottom:15px;
    color:var(--white);

}

.menu-content p{

    color:var(--gray);
    line-height:28px;
    margin-bottom:20px;

}

.menu-content h4{

    color:var(--gold);
    font-size:24px;

}

/*==========================================
                CHEF SECTION
==========================================*/

.chef{

    background:var(--dark);

}

.chef-container{

    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;

}

.chef-content{

    flex:1;

}

.chef-content span{

    color:var(--gold);
    letter-spacing:3px;
    text-transform:uppercase;

}

.chef-content h2{

    font-family:'Playfair Display',serif;
    font-size:46px;
    margin:20px 0;

}

.chef-content p{

    color:var(--gray);
    line-height:30px;
    margin-bottom:20px;

}

.chef-image{

    flex:1;

}

.chef-image img{

    width:100%;
    max-width:650px;
    height:520px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 25px 50px rgba(0,0,0,.45);
    transition:.5s;

}
.chef-image img:hover{
    transform:translateY(-8px) scale(1.02);
    box-shadow:
        0 25px 45px rgba(0,0,0,.45),
        0 0 18px rgba(212,175,55,.28);
}
/*==========================================
                GALLERY
==========================================*/
.gallery{
    background: var(--black);
}

.gallery-grid{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    
}

.gallery-grid img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-grid img:hover{
    transform: scale(1.05);
}

.gallery-item{
    border-radius: 18px;
    transition: .4s ease;
    position: relative;
}

.gallery-item::after{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.15);
    opacity: 0;
    transition: .4s;
}

.gallery-item:hover::after{
    opacity: 1;
}

.gallery-item img{
    width: 100%;
    display: block;
    transition: 0.5s ease;
}

.gallery-item:hover{
    box-shadow:
        0 0 20px rgba(212,175,55,.35),
        0 0 40px rgba(212,175,55,.25),
        0 0 60px rgba(212,175,55,.15);
}
.gallery-item:hover img{
    transform:scale(1.08);
}
/*==========================================
            TESTIMONIALS
==========================================*/

.testimonials{

    background:var(--dark);

}

.testimonial-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;

}

.testimonial-card{

    background:#222;
    padding:35px;
    border-radius:15px;
    transition:var(--transition);
    cursor: pointer;
     border:1px solid transparent;
     min-height: 330px;

}

.testimonial-card:hover{

    transform:translateY(-10px);
    box-shadow:0 0 20px rgba(212,175,55,.25);
      border-color:#d4af37;

}

.testimonial-card i{

    font-size:35px;
    color:var(--gold);
    margin-bottom:20px;
    transition: .4s;

}

.testimonial-card p{

    color:var(--gray);
    line-height:28px;
    margin-bottom:20px;

}

.testimonial-card h3{

    color:var(--white);

}
.testimonial-card h4{
    color:#d4af37;
}
.testimonial-card:hover h4{
    color:#d4af37;
}
.stars{
    color:#d4af37;
    font-size:18px;
    margin:20px 0;
}
.client{
    display:flex;
    align-items:center;
    gap:15px;
    margin-top: 25px;
}

.client img{
    width:80px;
    height:80px;
    border-radius:50%;
    object-fit:cover;
     border:3px solid var(--gold);
}

.client h4{
    color:#fff;
    margin-bottom:5px;
}

.client span{
    color:#aaa;
    font-size:15px;
}
.testimonial-card .fa-quote-left{
    font-size:50px;
    color:var(--gold);
    opacity:.8;
}


/*==========================================
            RESERVATION
==========================================*/

.reservation{

    background:var(--black);

}



.reservation-form{

    max-width:800px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;

}

.reservation-form input{

    padding:16px;
    border:none;
    outline:none;
    background:#222;
    color:#fff;
    border-radius:10px;
     

}

.reservation-form button{

    grid-column:1/3;

}
.reservation-form input:focus,
.reservation-form select:focus,
.reservation-form textarea:focus{
    outline:none;
    border:1px solid var(--gold);
    box-shadow:0 0 18px rgba(212,175,55,.25);
}
.reserve-btn{
    transition:.4s ease;
}

.reserve-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 0 30px rgba(212,175,55,.45);
}
.reservation-form input::placeholder{
    color:#8d8d8d;
}
.reservation-form input{
    border:1px solid rgba(255,255,255,.08);
}
.reservation-form input:hover{
    border-color:rgba(212,175,55,.4);
}
.reservation{
    padding:100px 0;
}

/*==========================================
                CONTACT
==========================================*/

.contact{

    background:var(--dark);

}

.contact-container{

    display:flex;
    gap:50px;
    align-items:center;

}

.contact-info{

    flex:1;

}

.contact-info span{

    color:var(--gold);
    text-transform:uppercase;
    letter-spacing:3px;

}

.contact-info h2{

    font-family:'Playfair Display',serif;
    font-size:45px;
    margin:20px 0;

}

.contact-info p{

    color:var(--gray);
    margin-bottom:15px;
    line-height:28px;

}

.contact-map{

    flex:1;

}

.contact-map iframe{

    width:100%;
    height:520px;
    border:none;
    border-radius:15px;
     transition:0.4s ease;;

}
.contact-info p i{
    color: var(--gold);
    margin-right: 12px;
    width: 20px;
}
.map iframe{
    width:100%;
    border-radius:18px;
    transition:.4s ease;
}

.map iframe:hover{
    transform:scale(1.02);
    box-shadow:0 0 30px rgba(212,175,55,.35);
}
.contact-info p{
     display:flex;
    align-items:center;
    gap:15px;
    margin:22px 0;
}

/*==========================================
                FOOTER
==========================================*/

footer{

    background:#090909;
    padding-top:80px;

}


.footer-container{

    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:50px;

}

.footer-logo h2{

    color:var(--gold);
    font-family:'Playfair Display',serif;
    margin-bottom:20px;

}

.footer-logo p{

    color:var(--gray);
    line-height:28px;

}
.footer-logo h2{
    transition:.3s ease;
}

.footer-logo h2:hover{
    color:var(--gold);
    text-shadow:0 0 15px rgba(212,175,55,.5);
}

.footer-links h3,
.footer-social h3{

    margin-bottom:20px;

}

.footer-links a{

    display:block;
    color:var(--gray);
    margin-bottom:12px;
    transition:var(--transition);

}

.footer-links a:hover{
    color:var(--gold);
    padding-left:8px;
}

.footer-social a{

    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:45px;
    height:45px;
    background:#222;
    color:var(--gold);
    border-radius:50%;
    margin-right:10px;
    transition:var(--transition);

}

.footer-social a:hover{
    background:var(--gold);
    color:#111;
    transform:translateY(-5px);
    box-shadow:0 0 20px rgba(212,175,55,.45);
}

.copyright{
    text-align:center;
    padding:25px 0;
    border-top:1px solid #222;
    margin-top:60px;
    color:var(--gray);
    letter-spacing:.5px;
}


/*==========================================
            BACK TO TOP
==========================================*/

#topBtn{

    position:fixed;
    right:30px;
    bottom:30px;
    width:50px;
    height:50px;
    border:none;
    border-radius:50%;
    background:var(--gold);
    color:#111;
    cursor:pointer;
    display:none;
    transition:var(--transition);

}

#topBtn:hover{

    background:var(--gold-hover);
    transform:translateY(-5px);

}
.hero{
    height:100vh;
    background:url("../images/hero.jpg.png") center center/cover no-repeat;
}
.hero{
    height:100vh;
    background:url("../images/hero.jpg.png") center center/cover no-repeat;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}
.hero-buttons{
    flex-direction:column;
    align-items:center;
}

.hero-buttons .btn{
    width:100%;
    max-width:320px;
}
@media (max-width:992px){

    .hero-content,
    .about-content,
    .contact-content{
        grid-template-columns:1fr;
        text-align:center;
    }

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

    .reservation-form{
        grid-template-columns:1fr;
    }

    .reservation-form button{
        grid-column:1;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-social{
        justify-content:center;
    }

}
@media (max-width:768px){

    section{
        padding:70px 0;
    }

    .section-title h2{
        font-size:42px;
    }

    .hero-content,
    .about-content,
    .contact-content{
        grid-template-columns:1fr;
        gap:40px;
    }

    .menu-grid,
    .gallery-grid,
    .testimonial-grid{
        grid-template-columns:1fr;
    }

    .reservation-form{
        grid-template-columns:1fr;
    }

    .reservation-form button{
        grid-column:1;
    }

    .footer-container{
        grid-template-columns:1fr;
        text-align:center;
    }

    .footer-social{
        display:flex;
        justify-content:center;
    }

    .contact-info{
        text-align:center;
    }

    .contact-info p{
        justify-content:center;
    }

}
@media (max-width:480px){

    .container{
        width:90%;
    }

    .section-title h2{
        font-size:34px;
    }

    .hero-text h1{
        font-size:48px;
    }

    .btn{
        width:100%;
    }

    .gallery-grid img{
        height:220px;
    }

    .testimonial-card{
        padding:25px;
    }

    .footer-logo h2{
        font-size:34px;
    }

}
@media (max-width:768px){

    .hero-content h1{
        font-size:48px;
        line-height:1.1;
    }

    .hero-content p{
        font-size:18px;
    }

    .hero-buttons{
        display:flex;
        flex-direction:column;
        gap:15px;
    }

    .hero-buttons .btn{
        width:100%;
    }

}
@media (max-width:768px){

    .navbar{
        flex-direction: column;
        gap:20px;
        padding:20px 0;
    }

    .nav-links{
        flex-wrap: wrap;
        justify-content: center;
        gap:15px;
    }

    .logo{
        font-size:30px;
    }

}
@media(max-width:768px){

.hero{
    min-height:100vh;
    height:auto;
    padding:150px 0 80px;
}

}
.menu-toggle{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
}

@media (max-width:768px){

    .menu-toggle{
        display:block;
    }

    .navbar{
        position:relative;
    }

    .nav-links{
    position:absolute;
    top:70px;
    left:0;
    width:100%;
    background:#111;
    display:none;
    flex-direction:column;
    align-items:center;
    gap:25px;
    padding:30px 0;
    border-radius:10px;
    z-index:1000;
}

    .nav-links.active{
        display:flex;
    }

    .navbar .btn{
    display:none;
}
/* Contact Responsive */

.contact-container{
    flex-direction:column;
    gap:40px;
    align-items:stretch;
}

.contact-info,
.contact-form,
.contact-map{
    width:100%;
}

.contact-map iframe{
    width:100%;
    height:300px;
}

.contact-info{
    text-align:center;
}

.contact-info p{
    justify-content:center;
}
}
@media (max-width:768px){

    .hero{
        padding-top:120px;
    }

    .hero-content h1{
        font-size:55px;
        line-height:1.1;
    }

    .hero-content p{
        font-size:18px;
        line-height:30px;
    }

}
/*==============================
STICKY NAVBAR
==============================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    transition:0.4s ease;
}

header.sticky{
    background:rgba(9,9,9,.95);
    backdrop-filter:blur(15px);
    box-shadow:0 10px 30px rgba(0,0,0,.3);
}

header.sticky .navbar{
    padding:18px 0;
}
html{
    scroll-behavior: smooth;
}
.nav-links a.active{
    color: var(--gold);
}

.nav-links a.active::after{
    width:100%;
}
/*==============================
BACK TO TOP BUTTON
==============================*/

.back-to-top{
    position:fixed;
    right:25px;
    bottom:25px;
    width:50px;
    height:50px;
    background:var(--gold);
    color:#111;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:20px;
    text-decoration:none;
    opacity:0;
    visibility:hidden;
    transition:.4s ease;
    z-index:999;
    box-shadow:0 0 20px rgba(212,175,55,.4);
}

.back-to-top:hover{
    transform:translateY(-5px);
    box-shadow:0 0 30px rgba(212,175,55,.7);
}

.back-to-top.show{
    opacity:1;
    visibility:visible;
}
/*==============================
COUNTER SECTION
==============================*/

.counter{
    background:#111;
    padding:80px 0;
}

.counter-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:30px;
    text-align:center;
}

.counter-box h2{
    font-size:55px;
    color:var(--gold);
    margin-bottom:10px;
    font-family:'Playfair Display', serif;
}

.counter-box p{
    color:var(--gray);
    font-size:18px;
}

@media(max-width:768px){

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

}

@media(max-width:480px){

    .counter-grid{
        grid-template-columns:1fr;
    }

}
.loader{
    position:fixed;
    inset:0;
    background:#111;
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:99999;
    transition:.6s;
}

.loader.hide{
    opacity:0;
    visibility:hidden;
}

.spinner{
    width:70px;
    height:70px;
    border:5px solid rgba(255,255,255,.2);
    border-top:5px solid #d4af37;
    border-radius:50%;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{
        transform:rotate(360deg);
    }
}
.contact-form form{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px 18px;
    background:#1a1a1a;
    border:1px solid #333;
    color:#fff;
    border-radius:10px;
    outline:none;
    font-size:16px;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#d4af37;
}

.contact-form textarea{
    resize:none;
}


.contact-form .btn{
    width:100%;
}
.contact-form input,
.contact-form textarea{
    border-radius:14px;
    transition:.3s;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#d4af37;
    box-shadow:0 0 15px rgba(212,175,55,.3);
}
/* ================= LIGHTBOX ================= */

.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
}

.lightbox.active{
    opacity:1;
    visibility:visible;
}

.lightbox-img{
    max-width:90%;
    max-height:85%;
    border-radius:15px;
    box-shadow:0 0 30px rgba(0,0,0,.6);
}

.close-lightbox{
    position:absolute;
    top:30px;
    right:40px;
    font-size:45px;
    color:#fff;
    cursor:pointer;
    transition:.3s;
}

.close-lightbox:hover{
    color:var(--gold);
}
.form-message{
    margin-top:15px;
    color:#4CAF50;
    font-size:16px;
    font-weight:600;
    display:none;
    text-align:center;
}
/*================ SCROLL PROGRESS BAR ================*/

.scroll-progress{
    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:4px;
    background:linear-gradient(90deg,#d4af37,#f8d77b);
    z-index:99999;
    transition:width 0.15s linear;
}