/* Global container */
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    height: auto;
}

*{
    box-sizing: border-box;
}

/* Header */
header{
    position:relative;
    padding:20px 0;
    min-height: 180px;
}

/* Header layout */


.header-inner{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:12px;
    min-height: 180px;
}



/* Logo centered */
.logo{
    position:static;
    transform:none;
}

.logo img{
    height:92px;
}

.MakeReservation{
    
}

/* Navigation */


/* Button style */
.nav-button{
    display:inline-block;
    padding:14px 22px;
    background:#e8491d;
    color:white;
    text-decoration:none;
    font-weight:bold;
    border-radius:5px;
    transition:0.3s;
}

/* Hover effect */
.nav-button:hover{
    background:#c73c15;
}


#showcase{
    width: 100%;
    min-height: 400px;
    margin: auto;
    position: relative;
    overflow: hidden;

    background: #e5e5e5; /* grey background */
}

/* Orange diagonal shape */
#showcase::before{
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: #e84a1b;

    clip-path: polygon(0 30%, 100% 0, 100% 100%, 0% 100%);
}

/* Food image */
.food-img{
    position: absolute;
    top: 50%;
    left: 50%;
    width: min(550px, 75vw);

    transform: translate(-50%, -50%) rotate(-10deg);
}



/* Newsletter */
#newsletter{
    background:#222;
    color:white;
    padding:30px 0;
    text-align:center;

}

#newsletter input{
    padding:10px;
    width:250px;
}

.button_1{
    padding:10px 20px;
    border:none;
    background:#e8491d;
    color:white;
    cursor:pointer;
}


/* Section layout */
.restaurant-section{
    display:flex;
    gap:30px;
    padding:20px;
    margin:20px auto;
    max-width:1200px;
}

/* Boxes */
.restaurant-box{
    flex:1;
    min-height:400px;
    position:relative;
    background-size:cover;
    background-position:center;
    border-radius:8px;
    background:#f4f4f4;
}

/* Background images */
.restaurant1{
  
    background-image:url("../img/restaurant1.jpg");
    background-size: cover;        /* makes image fill the area */
    background-position: center;   /* keeps image centered */
    background-repeat: no-repeat;  /* prevents tiling */

}

.restaurant2{
   
    background-image:url("../img/restaurant2.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Button styling */
.box-btn{
    position:absolute;
    bottom:20px;
    left:20px;
    padding:12px 25px;
    border:none;
    background:#e8491d;
    color:white;
    font-weight:bold;
    cursor:pointer;
    border-radius:4px;
}

.box-btn:hover{
    background:#c73c15;
}

/* Newsletter Section */
#newsletter {
    background: #222;            /* dark background */
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    margin: 50px auto;
}

/* Heading */
#newsletter h1 {
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Centered form */
#newsletter form {
    display: flex;
    justify-content: center;     /* center horizontally */
    align-items: center;         /* vertical alignment if multiple lines */
    gap: 15px;                   /* space between input and button */
    flex-wrap: wrap;             /* wraps on small screens */
}

/* Input styling */
#newsletter input[type="email"] {
    padding: 12px 15px;
    width: min(300px, 100%);
    max-width: 100%;
    border: none;
    border-radius: 5px;
    font-size: 16px;
}

#newsletter input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 5px #e8491d;
}

/* Button styling */
.button_1 {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    background: #e8491d;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.button_1:hover {
    background: #c73c15;
    transform: translateY(-2px);
}

/* Footer */
footer{
    text-align:center;
    padding:20px;
    background:#111;
    color:white;
}
@media (max-width: 768px){
    header{
        min-height: 160px;
    }

    .header-inner{
        min-height: 160px;
    }

    .logo img{
        height: 84px;
    }

    #showcase{
        width: 100%;
        min-height: 280px;
    }

    #showcase::before{
        height: 60%;
    }

    .food-img{
        width: min(360px, 80vw);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-10deg);
    }

    .restaurant-section{
        gap: 20px;
    }

    .restaurant-box{
        min-height:300px;
    }
}

/* 📱 MOBILE (phones) */
@media (max-width: 576px){
    

    .header-inner{
        flex-direction:column;
        gap:10px;
        justify-content:center;
        min-height: 160px;
    }

    #showcase{
        width: 100%;
        min-height: 240px;
    }

    #showcase::before{
        height: 60%;
    }

    .food-img{
        width: min(305px, 85vw);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) rotate(-10deg);
    }

   
    .restaurant-section{
        flex-direction:column;
        padding: 14px;
        gap: 14px;
    }

    .restaurant-box{
        width:100%;
        min-height:220px;
    }

    #newsletter{
        margin: 30px auto;
        padding: 40px 16px;
    }

    #newsletter h1{
        font-size: 24px;
        margin-bottom: 20px;
    }

    #newsletter form{
        flex-direction: column;
        gap: 10px;
    }

    #newsletter input[type="email"],
    .button_1{
        width:100%;
        max-width: 360px;
    }

    .logo{
        position: static;
        transform: none;
    }

    .logo img{
        height:100px;
        padding: 0;
    }

    .nav-button {
        padding: 14px 20px;
    }

}

/* 📲 TABLET */
@media (min-width: 577px) and (max-width: 992px){

    .restaurant-section{
        flex-direction:column;
    }

    .restaurant-box{
        width:100%;
        min-height:300px;
    }

    

}


