*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display:flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
}

.header {
    z-index: 1000;
    width: 100%;
    max-width: 100%;
    height: 80px;
    position: fixed;
    display: block;
    background-color: #fff5ec;
    color:#c44536;
    padding-left: 20px;
    font-family:'Playfair Display';
    font-size:30px;
    letter-spacing:-2px;
    font-weight: bold;    
    transition: transform 0.3s ease;
}

#header-logo {
    position: fixed;
    display: block;
    background-color: #fff5ec;
    color:#c44536;
    margin: 20px;
    margin-top: 20px;
    font-family:'Playfair Display';
    font-size:30px;
    font-weight: bold;   
    text-decoration: none;
    padding: 10px;
    border-width: 1.5px;
    border-radius: 0px;    
    transition:0.5s;
}

#header-logo:hover{
    color: white;
    background-color: #c44536;
    transition:0.5s;    
}

.header--hidden {
    transform: translateY(-100%);
}

.links {
    display: block;
    position: absolute;
    top: 30%;
    right: 5%;
}

#links {
    text-decoration: none;
    color: black;
    padding: 10px;
    border-width: 1.5px;
    border-radius: 0px;
    border-style:solid;
    border-top: 0px;
    border-left: 0px;
    border-right: 0px;
    transition:0.5s;
}

#links:hover {
    color: white;
    background-color: #c44536;
    transition:0.5s;
}

.hero{
    flex: 1;
    width: 100%;
    max-width: 100%;
    margin-top: 11vh;
    padding-bottom: 50vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    background:
    linear-gradient(rgba(0, 0, 0, 0.454),rgba(0,0,0,0.65)),
    url("https://images.pexels.com/photos/1566837/pexels-photo-1566837.jpeg") center/cover;
    color:white;
    position:relative;
}

#hero-button{
    padding: 10px;
    font-family:'Playfair Display';
    font-size: 30px;
    font-weight: bold;
    color: black;
    background-color: #fff5ec;
    border-style:none;
    border-radius: 20px;
    text-decoration: none;
    transition:0.5s;
}

#hero-button:hover{
    color: white;
    background-color: #c44536;
    transition:0.5s;    
}

#hero-button-order{
    margin-top: 20px;
    display: inline-block;
    padding: 10px;
    font-family:'Playfair Display';
    font-size: 25px;
    font-weight: bold;
    color: black;
    background-color: #fac79c;
    border-style:none;
    border-radius: 20px;
    text-decoration: none;
    transition:0.5s;
}

#hero-button-order:hover{
    color: white;
    background-color: #c44536;
    transition:0.5s;    
}

.hero h1{
    font-family:'Playfair Display';
    font-size:70px;
    letter-spacing:-2px;
}

.hero p{
    margin-top:10vh;
    font-size:22px;
}

.section-title {
    text-align: center;
    color: #FF8C00;
}

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

.menu-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.pizza-card{
    background:#fff5ec;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.1);
    transition:.4s;
}

.pizza-card-about{
    background:#fff5ec;
    border-radius:25px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,.1);
    transition:.4s;
}

.pizza-card:hover{
    transform:translateY(-15px) scale(1.02);
    box-shadow:
    0 30px 40px rgba(196,69,54,0.2),
    0 0 40px rgba(243,179,61,0.25);
}

.pizza-card-about:hover{
    transform:translateY(-15px) scale(1.02);
    box-shadow:
    0 30px 40px rgba(196,69,54,0.2),
    0 0 40px rgba(243,179,61,0.25);
}

.pizza-card img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:.8s;
}

.pizza-card-about img{
    width:100%;
    height:500px;
    object-fit:cover;
    transition:.8s;
}

.pizza-card:hover img{
    transform:scale(1.1) rotate(2deg);
}

.pizza-card-about:hover img{
    transform:scale(1.1) rotate(2deg);
}

.pizza-info{
    padding:20px;
    text-align:center;
}

.pizza-info h3{
    color:#c44536;
    font-size:22px;
}

.ingredients{
    font-size:14px;
    color:#777;
    margin:10px 0;
}

.ingredients-about{
    font-size:20px;
    color:black;
    margin:10px 0;
}

.price-medium{
    font-weight:700;
    font-size:22px;
    margin-bottom:10px;
    color: rgb(25, 121, 23);
}

.price-large{
    font-weight:700;
    font-size:22px;
    margin-bottom:10px;
    color: #ff6f00;
}

/* Maps Section */
#map {
    margin: 2rem auto;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fac79c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(2, 136, 209, 0.2);
    max-width: 1000px;
}

#maps-link {
    text-decoration: none;
    color: #c44536;
}

/* Loading screen for maps */
.loader {
    display: block;
    align-items: center;
}

.bar {
    display: inline-block;
    width: 10px;
    height:60px;
    background-color: black;
    border-radius: 10px;
    animation: scale-up4 1s linear infinite;
}

.bar:nth-child(2) {
    height: 35px;
    margin: 0 5px;
    animation-delay: .25s;
}

.bar:nth-child(3) {
    animation-delay: .5s;
}

@keyframes scale-up4 {
    20% {
        background-color: red;
        transform: scaleY(1.5);
    }
    40% {
        transform: scaleY(1);
    }
}

.footer {
    font-family:'Playfair Display';
    width: 100%;
    max-width: 100%;
    font-size: 1rem;
    background-color: #fac79c;
    text-align: center;
    align-items: center;
    font-weight:bold;
}

.social-icons {
    justify-content: center;
    display: flex;
    gap: 20px;
    margin: 1rem 0;
}

.social-icon {
    color: black;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.social-icon-contact {
    color: #0277bd;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.536);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover .social-icon {
    color: orange;
}

/* =====================
   MOBILE MEDIA QUERIES
   ===================== */
 
/* Tablet — up to 768px */
@media (max-width: 768px) {
 
    .header {
        height: 80px;
        font-size: 24px;
        padding-left: 15px;
    }
 
    #header-logo {
        font-size: 22px;
        margin: 15px;
        margin-top: 15px;
        padding: 8px;
    }
 
    .links {
        top: 28%;
        right: 3%;
    }
 
    #links {
        padding: 8px;
        font-size: 14px;
    }
 
    .hero {
        margin-top: 10vh;
        padding-bottom: 30vh;
    }
 
    .hero h1 {
        font-size: 48px;
        letter-spacing: -1px;
    }
 
    .hero p {
        font-size: 18px;
        margin-top: 6vh;
        padding: 0 20px;
    }
 
    #hero-button {
        font-size: 22px;
        padding: 10px 18px;
    }
 
    .container {
        padding: 40px 16px;
    }
 
    /* Two pizza/meal cards per row on tablet */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
 
    /* Keep about section as single column on tablet */
    .pizza-card-about {
        grid-column: 1 / -1;
    }
 
    .pizza-card-about img {
        height: 350px;
    }
 
    .ingredients-about {
        font-size: 17px;
    }
 
    #map {
        height: 45vh;
        margin: 1.5rem 16px;
        border-radius: 12px;
    }
 
    .footer {
        font-size: 0.9rem;
    }
}
 
/* Mobile — up to 480px */
@media (max-width: 480px) {
 
    .header {
        height: 70px;
        font-size: 50px;
        padding-left: 10px;
    }
 
    #header-logo {
        font-size: 20px;
        margin: 12px;
        margin-top: 12px;
        padding: 6px 8px;
    }
 
    .links {
        top: 25%;
        right: 2%;
        display: flex;
        gap: 4px;
    }
 
    #links {
        padding: 6px 8px;
        font-size: 15px;
    }
 
    .hero {
        margin-top: 9vh;
        padding-bottom: 20vh;
        padding-left: 16px;
        padding-right: 16px;
    }
 
    .hero h1 {
        font-size: 34px;
        letter-spacing: -0.5px;
    }
 
    .hero p {
        font-size: 16px;
        margin-top: 4vh;
    }
 
    #hero-button {
        font-size: 18px;
        padding: 8px 16px;
        border-radius: 14px;
    }
 
    .container {
        padding: 30px 12px;
    }
 
    /* Two pizza/meal cards per row on mobile */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
 
    /* Keep about section as single column on mobile */
    .pizza-card-about {
        grid-column: 1 / -1;
    }
 
    .pizza-card img {
        height: 130px;
    }
 
    .pizza-card-about img {
        height: 260px;
    }
 
    .pizza-info {
        padding: 10px;
    }
 
    .pizza-info h3 {
        font-size: 20px;
        margin: 4px 0;
    }
 
    .ingredients {
        font-size: 11px;
        margin: 4px 0;
    }
 
    .ingredients-about {
        font-size: 15px;
    }
 
    .price {
        font-size: 15px;
    }
 
    #map {
        height: 40vh;
        margin: 1rem 12px;
        border-radius: 10px;
    }
 
    .footer {
        font-size: 0.8rem;
        padding: 0 12px;
    }
 
    .social-icons {
        gap: 12px;
    }
 
    .social-icon,
    .social-icon-contact {
        width: 32px;
        height: 32px;
    }
}
 
/* Extra small — up to 360px */
@media (max-width: 360px) {
 
    #header-logo {
        font-size: 16px;
        margin: 10px;
        padding: 5px 6px;
    }
 
    #links {
        padding: 5px 6px;
        font-size: 11px;
    }
 
    .hero h1 {
        font-size: 28px;
    }
 
    .hero p {
        font-size: 14px;
    }
 
    #hero-button {
        font-size: 16px;
        padding: 7px 12px;
    }
 
    /* Still two per row but tighter on very small screens */
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
 
    .pizza-card img {
        height: 110px;
    }
 
    .pizza-card-about img {
        height: 220px;
    }
 
    .pizza-info h3 {
        font-size: 12px;
    }
 
    .ingredients {
        font-size: 10px;
    }
 
    .price {
        font-size: 13px;
    }
}