/* css variable */
:root{
    --primary-color: #e74c3c;
    --secondary-color: #2c3e50;
    --accent-color: #3498db;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --light-text: #666;
    --border-radius: 5px;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --trasition: all 0.3s ease;
}

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

html{
    scroll-behavior: smooth;
}

body{
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
}

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

.header{
    background-color: var(--secondary-color);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* height: 14vh; */
}

.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.2rem;
}

.logo .tagline{
    font-size: 0.9rem;
    opacity: 0.8;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a{
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.nav-links a:hover{
    background-color: rgba(255, 255, 255, 0.1);
}

.scroll{
    scroll-margin-top: 10vh;
}
.home{
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(images/hotleBackground.jpg) center / cover;
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.home-content h2{
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px; 
}

.home-content p{
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.home-buttons{
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn{
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary{
    background-color: var(--primary-color);
    color: white;
}

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

.btn-secondary{
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover{
    background-color: white;
    color: var(--secondary-color);
}

.menu{
    padding: 5rem 0;
    background-color: var(--light-bg);
    height: 100vh;
}

.section-title{
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle{
    text-align: center;
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 3rem;
}

.menu-category{
    margin-bottom: 3rem;
}

.menu-category h3{
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.menu-items{
    display: grid;
    gap: 1.5rem;
}

.menu-item{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.menu-item:hover{
    transform: translateY(-3px);
}

.menu-item-info h4{
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.menu-item-info p{
    color: var(--light-text);
    line-height: 1.4;
}

.price{
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 1rem;
}

.about{
    padding: 5rem 0;
    background-color: white;
}

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

.about-text h3{
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.about-text p{
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.about-image img{
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: 30% 70%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact{
    padding: 5rem 0;
    background-color: var(--light-bg);
}

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

.contact-info h3, .contact-form h3{
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-item{
    margin-bottom: 1rem;    
}

.contact-form strong{
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

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

.form-group label{
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: var(--secondary-color);
}

.form-group input, .form-group select, .form-group textarea{
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.footer{
    background-color: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-content{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4{
    margin-bottom: 1rem;
    color: white;
}

.footer-section ul{
    list-style: none;
}

.footer-section ul li{
    margin-bottom: 0.5rem;
}

.footer-section ul a{
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--trasition);
}

.footer-section ul a:hover{
    color: var(--primary-color);
}

.social-links{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.social-link{
    color: #bdc3c7;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--trasition);
}

.social-link:hover{
    background-color: var(--primary-color);
    color: white;
}

.footer-bottom{
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* reposive design */
/* for tablets */
@media (max-width: 768px){
    .home-content h2{
        font-size: 2.5rem;
    }

    .home-buttons{
        flex-direction: column;
        align-items: center;
    }

    .btn{
        width: 80%;
        text-align: center;
    }

    .about-content, .contact-content{
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar{
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links{
        gap: 1rem;
    }
}

/* for phone */
/* @media (max-width: 480px){
    .home-content h2{
        font-size: 2rem;
    }

    .container{
        padding: 0 15px;
    }

    .nav-links{
        flex-direction: column;
        gap: 0.5rem;
    }
} */

/* animation */
@keyframes fadeInUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }

    to{
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft{
    from{
        opacity: 0;
        transform: translateX(-50px);
    }

    to{
        opacity: 1;
        transform: translateX(0);
    }
}

.home-content{
    animation: fadeInUp 1s ease-out;
}

.menu-item{
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.menu-item:nth-child(1){animation-delay: 0.1s;}
.menu-item:nth-child(2){animation-delay: 0.2s;}
.menu-item:nth-child(3){animation-delay: 0.1s;}

.about-image{
    animation: fadeInUp 0.8s ease-out 0.3s both;
}
