/* =========================
   EMRYS DINING STYLE
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    text-decoration:none;
    list-style:none;
}

:root{
    --primary:#d4a373;
    --secondary:#faedcd;
    --dark:#111111;
    --light:#ffffff;
    --gray:#777777;
    --shadow:0 10px 30px rgba(0,0,0,.1);
    --radius:16px;
    --transition:.4s ease;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#fff;
    color:#222;
    overflow-x:hidden;
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

.section{
    padding:100px 0;
}

/* =========================
   HEADER
========================= */

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background:rgba(17,17,17,.9);
    backdrop-filter:blur(10px);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo a{
    color:#fff;
    font-size:1.8rem;
    font-weight:700;
}

.logo span{
    color:var(--primary);
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    color:#fff;
    transition:var(--transition);
}

.nav-links a:hover{
    color:var(--primary);
}

.menu-btn{
    display:none;
    color:#fff;
    font-size:1.5rem;
    cursor:pointer;
}

/* =========================
   HERO
========================= */

.hero{
    min-height:100vh;
    background:url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600')
    center/cover no-repeat;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:#fff;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.6);
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:800px;
    padding:20px;
}

.hero h4{
    color:var(--primary);
    margin-bottom:15px;
    letter-spacing:2px;
}

.hero h1{
    font-size:4rem;
    line-height:1.2;
    margin-bottom:20px;
}

.hero p{
    font-size:1.1rem;
    margin-bottom:30px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
}

.btn{
    padding:14px 30px;
    border-radius:50px;
    transition:var(--transition);
    font-weight:600;
}

.primary-btn{
    background:var(--primary);
    color:#fff;
}

.primary-btn:hover{
    transform:translateY(-8px) scale(1.05);
    box-shadow:0 15px 35px rgba(212,163,115,.5);
}

.secondary-btn{
    border:2px solid #fff;
    color:#fff;
}

.secondary-btn:hover{
    background:#fff;
    color:#111;
}

.hero h1{
    font-size:4rem;
    line-height:1.2;
    margin-bottom:20px;
    text-shadow:
    0 0 10px rgba(212,163,115,.3),
    0 0 20px rgba(212,163,115,.2);
}

/* =========================
   FLOATING SHAPES
========================= */

.floating-shape{
    position:absolute;
    border-radius:50%;
    background:rgba(212,163,115,.15);
    backdrop-filter:blur(10px);
    box-shadow:0 0 40px rgba(212,163,115,.3);
    animation:float 6s infinite ease-in-out;
}

.shape1{
    width:100px;
    height:100px;
    top:20%;
    left:10%;
}

.shape2{
    width:60px;
    height:60px;
    bottom:20%;
    right:15%;
}

.shape3{
    width:80px;
    height:80px;
    top:25%;
    right:20%;
}

@keyframes float{
    0%,100%{
        transform:translateY(0);
    }
    50%{
        transform:translateY(-20px);
    }
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:var(--primary);
    font-weight:600;
}

.section-title h2{
    font-size:2.5rem;
    margin-top:10px;
}

/* =========================
   ABOUT
========================= */

.about-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
    align-items:center;
}

.about-image img{
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.about-content h2{
    margin:15px 0;
    font-size:2.5rem;
}

.about-content p{
    margin-bottom:20px;
    color:var(--gray);
}

/* =========================
   DISHES
========================= */

.dish-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.dish-card{
    background:#fff;
    border-radius:var(--radius);
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:.4s;
}

.dish-card:hover{
    transform:translateY(-10px);
}

.dish-card img{
    height:250px;
    object-fit:cover;
}

.dish-info{
    padding:20px;
}

.dish-info h3{
    margin-bottom:10px;
}

.dish-info span{
    color:var(--primary);
    font-weight:700;
}

/* =========================
   WHY US
========================= */

.why-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.why-card{
    text-align:center;
    padding:40px 25px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.why-card i{
    font-size:2rem;
    color:var(--primary);
    margin-bottom:20px;
}

/* =========================
   GALLERY
========================= */

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.gallery-grid img{
    height:280px;
    object-fit:cover;
    border-radius:var(--radius);
    transition:.4s;
}

.gallery-grid img:hover{
    transform:scale(1.05);
}

/* =========================
   STATS
========================= */

.stats{
    background:#111;
    color:#fff;
    padding:80px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:30px;
    text-align:center;
}

.stat-box h2{
    font-size:3rem;
    color:var(--primary);
}

/* =========================
   TESTIMONIALS
========================= */

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:25px;
}

.testimonial-card{
    padding:30px;
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.testimonial-card h4{
    margin-top:15px;
    color:var(--primary);
}

/* =========================
   RESERVATION
========================= */

.reservation{
    padding:120px 0;
    text-align:center;
    color:#fff;
    background:url('https://images.unsplash.com/photo-1559339352-11d035aa65de?w=1600')
    center/cover no-repeat;
    position:relative;
}

.reservation::before{
    content:'';
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.65);
}

.reservation .container{
    position:relative;
    z-index:2;
}

.reservation h2{
    font-size:3rem;
    margin-bottom:20px;
}

.reservation p{
    margin-bottom:25px;
}

/* =========================
   FOOTER
========================= */

.footer{
    background:#111;
    color:#fff;
    padding-top:80px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h4,
.footer h3{
    margin-bottom:15px;
}

.footer ul li{
    margin-bottom:10px;
}

.footer a{
    color:#ddd;
}

.socials{
    display:flex;
    gap:15px;
    margin-top:15px;
}

.socials a{
    width:40px;
    height:40px;
    border-radius:50%;
    background:#222;
    display:flex;
    align-items:center;
    justify-content:center;
}

.copyright{
    text-align:center;
    padding:20px;
    margin-top:50px;
    border-top:1px solid rgba(255,255,255,.1);
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:991px){

    .hero h1{
        font-size:3rem;
    }

    .about-grid{
        grid-template-columns:1fr;
    }

    .nav-links{
        position:absolute;
        top:80px;
        left:-100%;
        width:100%;
        background:#111;
        flex-direction:column;
        text-align:center;
        padding:30px;
        transition:.4s;
    }

    .nav-links.active{
        left:0;
    }

    .menu-btn{
        display:block;
    }
}

@media(max-width:768px){

    .hero h1{
        font-size:2.3rem;
    }

    .section-title h2{
        font-size:2rem;
    }

    .reservation h2{
        font-size:2rem;
    }
}
/* FOOTER ANIMATION */

.footer{
    animation: footerFade 1.2s ease;
}

.footer-grid > div{
    animation: footerUp 1s ease forwards;
}

.footer-grid > div:nth-child(1){
    animation-delay: .2s;
}

.footer-grid > div:nth-child(2){
    animation-delay: .4s;
}

.footer-grid > div:nth-child(3){
    animation-delay: .6s;
}

.socials a{
    display:inline-block;
    transition:.3s;
}

.socials a:hover{
    transform:translateY(-6px) scale(1.1);
}

@keyframes footerFade{
    from{
        opacity:0;
    }
    to{
        opacity:1;
    }
}

@keyframes footerUp{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}
/* NAVIGATION HOVER EFFECT */

.footer ul li a{
    color:#fff;
    text-decoration:none;
    display:inline-block;
    transition:all .3s ease;
}

.footer ul li a:hover{
    color:#D4A24C;
    transform:translateX(8px);
}

/* SOCIAL ICON HOVER EFFECT */

.socials a{
    display:inline-flex;
    justify-content:center;
    align-items:center;
    width:45px;
    height:45px;
    border-radius:50%;
    color:#fff;
    transition:all .4s ease;
}

.socials a:hover{
    background:#D4A24C;
    color:#fff;
    transform:translateY(-8px) rotate(10deg) scale(1.15);
    box-shadow:0 10px 20px rgba(212,162,76,.4);
}

/* FOOTER TITLE HOVER */

.footer h3,
.footer h4{
    transition:.3s;
    cursor:pointer;
}

.footer h3:hover,
.footer h4:hover{
    color:#D4A24C;
    letter-spacing:2px;
}
.menu-hero{
    background:url('https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1600')
    center/cover no-repeat;
}

.contact-form{
    max-width:700px;
    margin:0 auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:15px;
    border:1px solid #ddd;
    border-radius:10px;
}

.contact-form textarea{
    min-height:180px;
}
