/* ==========================================
   FAST BURGER
   PART 1
   RESET + HEADER + HERO
========================================== */

*{
margin:0;
padding:0;
box-sizing:border-box;
scroll-behavior:smooth;
}

body{

font-family:'Poppins',sans-serif;
background:#111;
color:#fff;
overflow-x:hidden;

}

img{

max-width:100%;
display:block;

}

a{

text-decoration:none;
color:inherit;

}

ul{

list-style:none;

}

.container{

width:90%;
max-width:1300px;
margin:auto;

}

/* HEADER */

header{

position:fixed;
top:0;
left:0;
width:100%;

padding:20px 0;

background:rgba(15,15,15,.45);

backdrop-filter:blur(12px);

z-index:1000;

transition:.35s;

}

header .container{

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

}

.logo{

font-size:30px;
font-weight:800;

color:#fff;

}

.logo span{

color:#ff3b30;

}

.menu-toggle{
display:none;
}

nav{

flex:1;
display:flex;
justify-content:center;

}

nav ul{

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

}

nav a{

font-weight:500;
position:relative;
transition:.35s;

}

nav a::after{

content:"";

position:absolute;

left:0;
bottom:-7px;

width:0;
height:2px;

background:#ff3b30;

transition:.35s;

}

nav a:hover::after{

width:100%;

}

.order-btn{

display:inline-flex;
align-items:center;
justify-content:center;

padding:14px 30px;

background:#ff3b30;

border-radius:40px;

font-weight:700;
white-space:nowrap;

transition:.35s;

}

.order-btn:hover{

background:#ff5722;

transform:translateY(-4px);

box-shadow:0 18px 35px rgba(255,59,48,.35);

}

/* HERO */

.hero{

height:100vh;

display:flex;

justify-content:center;

align-items:center;

text-align:center;

background:
linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
url("images/fastfood-hero.jpg");

background-size:cover;

background-position:center;

background-repeat:no-repeat;
}

.hero h1{

font-size:80px;
font-weight:800;

line-height:1.1;

margin-bottom:25px;

}

.hero p{

font-size:22px;

line-height:1.8;

color:#ececec;

margin-bottom:40px;

}

.hero-buttons{

display:flex;

justify-content:center;

gap:20px;

flex-wrap:wrap;

}

.btn-primary{

padding:18px 45px;

background:#ff3b30;

border-radius:50px;

font-weight:700;

transition:.35s;

}

.btn-primary:hover{

background:#ff5722;

transform:translateY(-5px);

}

.btn-secondary{

padding:18px 45px;

border:2px solid #fff;

border-radius:50px;

transition:.35s;

}

.btn-secondary:hover{

background:#fff;

color:#111;

}

/* SECTION */

section{

padding:120px 0;

}

.section-title{

text-align:center;

margin-bottom:70px;

}

.section-title h2{

font-size:48px;

margin-bottom:15px;

}

.section-title p{

font-size:18px;

color:#d5d5d5;

}

/* ABOUT */

.about{

background:#181818;

}

.about .container{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

}

.about-image img{

border-radius:20px;

box-shadow:0 20px 40px rgba(0,0,0,.35);

}

.about-text h2{

font-size:44px;

margin-bottom:20px;

}

.about-text p{

font-size:18px;

line-height:1.9;

color:#ddd;

margin-bottom:35px;

}

.about-boxes{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.about-boxes div{

background:#202020;

padding:25px;

border-radius:18px;

text-align:center;

transition:.35s;

}

.about-boxes div:hover{

transform:translateY(-8px);

border:1px solid #ff3b30;

}

.about-boxes h3{

font-size:32px;

color:#ff3b30;

margin-bottom:8px;

}

/* ==========================================
   PART 2
   MENU + GALLERY
==========================================*/

/* ================= MENU ================= */

.menu{

background:#111;

}

.menu-grid{

width:90%;
max-width:1300px;

margin:auto;

display:grid;
grid-template-columns:repeat(4,1fr);

gap:30px;

}

.food-card{

background:#1d1d1d;

border-radius:22px;

overflow:hidden;

border:1px solid rgba(255,255,255,.08);

transition:.4s;

cursor:pointer;

}

.food-card:hover{

transform:translateY(-12px);

border-color:#ff3b30;

box-shadow:0 25px 45px rgba(255,59,48,.25);

}

.food-card img{

width:100%;

height:250px;

object-fit:cover;

transition:.45s;

}

.food-card:hover img{

transform:scale(1.08);

}

.food-card h3{

font-size:24px;

padding:22px 22px 10px;

}

.food-card span{

display:inline-block;

margin:0 22px 25px;

padding:10px 18px;

background:#ff3b30;

border-radius:30px;

font-weight:700;

font-size:15px;

}

/* ================= GALLERY ================= */

.gallery{

background:#181818;

}

.gallery-grid{

width:90%;
max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:repeat(3,1fr);

gap:20px;

}

.gallery-grid img{

width:100%;

height:280px;

object-fit:cover;

border-radius:18px;

cursor:pointer;

transition:.4s;

}

.gallery-grid img:hover{

transform:scale(1.05);

box-shadow:0 20px 45px rgba(255,59,48,.25);

}

/* ================= EXTRA ================= */

.food-card::before{

content:"";

position:absolute;

}

.food-card h3{

transition:.35s;

}

.food-card:hover h3{

color:#ff3b30;

}

.gallery-grid img{

filter:brightness(.95);

}

.gallery-grid img:hover{

filter:brightness(1.1);

}

/* ================= MOBILE ================= */

@media(max-width:1200px){

.menu-grid{

grid-template-columns:repeat(2,1fr);

}

.gallery-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.menu-grid{

grid-template-columns:1fr;

}

.gallery-grid{

grid-template-columns:1fr;

}

.food-card img{

height:240px;

}

}

/* ==========================================
   PART 3
   REVIEWS + CONTACT + FORM
==========================================*/

/* ================= REVIEWS ================= */

.reviews{

background:#111;

}

.reviews-grid{

width:90%;
max-width:1300px;

margin:auto;

display:grid;
grid-template-columns:repeat(3,1fr);

gap:30px;

}

.review-card{

background:#1d1d1d;

padding:35px;

border-radius:20px;

text-align:center;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.review-card:hover{

transform:translateY(-10px);

border-color:#ff3b30;

box-shadow:0 20px 40px rgba(255,59,48,.22);

}

.stars{

margin-bottom:20px;

}

.stars i{

color:#FFD700;

font-size:20px;

margin:0 2px;

}

.review-card p{

color:#d6d6d6;

line-height:1.8;

margin-bottom:20px;

}

.review-card h3{

font-size:20px;

color:#ff3b30;

}

/* ================= CONTACT ================= */

.contact{

background:#181818;

}

.contact-container{

width:90%;
max-width:1300px;

margin:auto;

display:grid;

grid-template-columns:1fr 1fr;

gap:50px;

}

.contact-info{

display:flex;

flex-direction:column;

gap:25px;

}

.info-box{

display:flex;

align-items:center;

gap:20px;

background:#222;

padding:25px;

border-radius:18px;

border:1px solid rgba(255,255,255,.08);

transition:.35s;

}

.info-box:hover{

transform:translateX(10px);

border-color:#ff3b30;

}

.info-box i{

width:60px;
height:60px;

display:flex;
justify-content:center;
align-items:center;

background:#ff3b30;

border-radius:50%;

font-size:22px;

}

.info-box h3{

margin-bottom:6px;

}

.info-box p{

color:#d4d4d4;

}

/* ================= FORM ================= */

.contact-form{

background:#222;

padding:40px;

border-radius:20px;

border:1px solid rgba(255,255,255,.08);

display:flex;

flex-direction:column;

gap:18px;

}

.contact-form input,
.contact-form textarea{

padding:18px;

border:none;

outline:none;

background:#2c2c2c;

border-radius:12px;

color:#fff;

font-size:16px;

transition:.35s;

}

.contact-form textarea{

height:170px;

resize:none;

}

.contact-form input:focus,
.contact-form textarea:focus{

border:1px solid #ff3b30;

}

.contact-form button{

padding:18px;

border:none;

background:#ff3b30;

border-radius:12px;

font-size:18px;

font-weight:700;

color:#fff;

cursor:pointer;

transition:.35s;

}

.contact-form button:hover{

background:#ff5722;

transform:translateY(-4px);

box-shadow:0 18px 35px rgba(255,59,48,.25);

}

/* ================= RESPONSIVE ================= */

@media(max-width:992px){

.reviews-grid{

grid-template-columns:1fr;

}

.contact-container{

grid-template-columns:1fr;

}

}

/* ==========================================
   PART 4
   MAP + FOOTER + RESPONSIVE + ANIMATIONS
==========================================*/

/* ================= MAP ================= */

.map{

width:100%;
height:450px;

}

.map iframe{

width:100%;
height:100%;
border:none;

filter:grayscale(20%);

}

/* ================= FOOTER ================= */

footer{

background:#0c0c0c;

padding:70px 0 25px;

}

.footer-container{

width:90%;
max-width:1300px;
margin:auto;

display:grid;
grid-template-columns:2fr 1fr 1fr;

gap:60px;

}

.footer-logo h2{

font-size:34px;
font-weight:800;

}

.footer-logo span{

color:#ff3b30;

}

.footer-logo p{

margin-top:15px;

color:#cfcfcf;

line-height:1.8;

}

.footer-links{

display:flex;
flex-direction:column;

gap:15px;

}

.footer-links h3,
.footer-social h3{

margin-bottom:15px;

}

.footer-links a{

color:#d7d7d7;

transition:.3s;

}

.footer-links a:hover{

color:#ff3b30;

padding-left:8px;

}

.footer-social a{

display:inline-flex;
align-items:center;
justify-content:center;

width:48px;
height:48px;

margin-right:12px;

border-radius:50%;

background:#202020;

transition:.35s;

}

.footer-social a:hover{

background:#ff3b30;

transform:translateY(-5px);

}

.copyright{

margin-top:50px;

padding-top:20px;

text-align:center;

border-top:1px solid rgba(255,255,255,.08);

color:#999;

}

/* ================= TOP BUTTON ================= */

#topBtn{

position:fixed;

right:30px;
bottom:30px;

width:55px;
height:55px;

border:none;

background:#ff3b30;

color:#fff;

border-radius:50%;

font-size:22px;

cursor:pointer;

display:none;

transition:.35s;

z-index:999;

}

#topBtn:hover{

transform:translateY(-6px);

background:#ff5722;

box-shadow:0 20px 35px rgba(255,59,48,.35);

}

/* ================= SCROLLBAR ================= */

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#111;

}

::-webkit-scrollbar-thumb{

background:#ff3b30;

border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

background:#ff5722;

}

/* ================= ANIMATIONS ================= */

@keyframes fadeUp{

0%{

opacity:0;
transform:translateY(50px);

}

100%{

opacity:1;
transform:translateY(0);

}

}

.hero-content,
.about,
.menu,
.gallery,
.reviews,
.contact{

animation:fadeUp 1s ease;

}

/* ================= RESPONSIVE ================= */

@media(max-width:1100px){

.footer-container{

grid-template-columns:1fr;

text-align:center;

}

}

@media(max-width:768px){

header .container{
justify-content:flex-start;
gap:14px;
}

.menu-toggle{
display:flex;
align-items:center;
justify-content:center;
order:-1;
font-size:30px;
line-height:1;
color:#fff;
cursor:pointer;
z-index:9999;
}

.logo{
font-size:26px;
}

nav{
display:none;
position:absolute;
top:100%;
left:0;
width:100%;
background:#111;
padding:25px 0;
z-index:9999;
}

nav.active{
display:block;
}

nav.active ul{
display:flex;
flex-direction:column;
align-items:center;
justify-content:center;
gap:20px;
list-style:none;
margin:0;
padding:0;
}

nav.active li{
width:100%;
text-align:center;
}

nav.active a{
display:block;
width:100%;
padding:14px 0;
font-size:18px;
font-weight:600;
color:#fff;
}

.order-btn{
display:inline-flex;
margin-left:auto;
padding:11px 18px;
font-size:14px;
border-radius:28px;
}

.hero p{

font-size:18px;

}

.hero-buttons{

flex-direction:column;

align-items:center;

}

.about .container{

grid-template-columns:1fr;

}

.about-boxes{

grid-template-columns:1fr;

}

.section-title h2{

font-size:38px;

}

section{

padding:90px 0;

}

}



@media(max-width:500px){

.logo{

font-size:24px;

}

.hero h1{

font-size:34px;

}

.hero p{

font-size:16px;

}

.btn-primary,
.btn-secondary{

padding:15px 30px;

}

.order-btn{
padding:10px 14px;
font-size:13px;
}

}

.back-btn{
position:fixed;
top:70px;
left:30px;
display:flex;
align-items:center;
gap:10px;
padding:14px 24px;
background:#fff;
color:#111;
border-radius:50px;
font-weight:600;
box-shadow:0 10px 25px rgba(0,0,0,.15);
z-index:9999;
transition:.3s;
}

.back-btn:hover{
background:#111;
color:#fff;
transform:translateY(-4px);
}
