/* =========================
General
========================= */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

html {
scroll-behavior: smooth;
}

body {
font-family: Arial, Helvetica, sans-serif;
background-color: #fffaf5;
color: #333;
line-height: 1.6;
}

a {
text-decoration: none;
}


/* =========================
Navigation
========================= */

.navbar {
width: 100%;
padding: 18px 8%;
display: flex;
justify-content: space-between;
align-items: center;

background-color: #ffffff;
position: sticky;
top: 0;
z-index: 1000;

box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.logo {
font-size: 1.4rem;
font-weight: bold;
}

.navbar > a {
color: #d94f30;
font-weight: bold;
}


/* =========================
Hero Section
========================= */

.hero {
    min-height: 75vh;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 80px 20px;

    background:
        linear-gradient(
            rgba(0, 0, 0, 0.45),
            rgba(0, 0, 0, 0.45)
        ),
        url("cover.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 800px;
}

.welcome {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 20px;
    color: #ffffff;
}

.value-proposition {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    max-width: 650px;
    margin: 0 auto 35px;
    color: #ffffff;
}

.menu-button {
    display: inline-block;
    padding: 13px 30px;

    background-color: #d94f30;
    color: white;

    border-radius: 30px;
    font-weight: bold;

    transition: 0.3s;
}

.menu-button:hover {
    background-color: #b93820;
    transform: translateY(-2px);
}


/* =========================
Menu Section
========================= */

.menu-section {
padding: 90px 8%;
background-color: #ffffff;
}

.section-title {
text-align: center;
margin-bottom: 50px;
}

.section-title p {
color: #d94f30;
font-size: 0.85rem;
font-weight: bold;
letter-spacing: 3px;
}

.section-title h2 {
font-size: clamp(2rem, 5vw, 3rem);
margin-top: 5px;
}


/* =========================
Pizza Cards
========================= */

.pizza-grid {
max-width: 1100px;
margin: auto;

display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
}

.pizza-card {
background-color: #fffaf5;
border-radius: 18px;
overflow: hidden;

box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);

transition: 0.3s;
}

.pizza-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


/* =========================
Pizza Image
========================= */

.pizza-image {
height: 180px;

display: flex;
justify-content: center;
align-items: center;

background-color: #f8e4d5;

overflow: hidden;
}

/* รูปพิซซ่า */
.pizza-image {
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8e4d5;
    overflow: hidden;
}

.pizza-image img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* เอฟเฟกต์ตอนเอาเมาส์วาง */
.pizza-card:hover .pizza-image img {
transform: scale(1.05);
}


/* =========================
Pizza Info
========================= */

.pizza-info {
padding: 22px;
}

.pizza-info h3 {
font-size: 1.3rem;
margin-bottom: 8px;
}

.pizza-info p {
color: #777;
font-size: 0.9rem;
min-height: 45px;
}

.price {
display: block;
margin-top: 15px;

color: #d94f30;
font-size: 1.2rem;
font-weight: bold;
}


/* =========================
Order Section
========================= */

.order-section {
padding: 90px 20px;
text-align: center;

background-color: #d94f30;
color: white;
}

.order-content {
max-width: 650px;
margin: auto;
}

.order-content > p:first-child {
font-size: 0.85rem;
letter-spacing: 3px;
font-weight: bold;
}

.order-content h2 {
font-size: clamp(2rem, 5vw, 3rem);
margin: 10px 0;
}

.order-content > p:not(:first-child) {
margin-bottom: 30px;
}

.order-button {
display: inline-block;

padding: 15px 35px;

background-color: white;
color: #d94f30;

border-radius: 30px;

font-weight: bold;
font-size: 1.1rem;

transition: 0.3s;
}

.order-button:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}


/* =========================
Footer
========================= */

footer {
padding: 25px 20px;
text-align: center;

background-color: #222;
color: #aaa;

font-size: 0.85rem;
}


/* =========================
Responsive — Tablet
========================= */

@media (max-width: 900px) {

.pizza-grid {
grid-template-columns: repeat(2, 1fr);
}

.navbar {
padding: 18px 5%;
}

.menu-section {
padding: 70px 5%;
}

}


/* =========================
Responsive — Mobile
========================= */

@media (max-width: 600px) {

.navbar {
padding: 15px 20px;
}

.logo {
font-size: 1.15rem;
}

.navbar > a {
font-size: 0.9rem;
}

.hero {
min-height: 70vh;
padding: 60px 20px;
}

.hero h1 {
font-size: 3.2rem;
}

.value-proposition {
font-size: 1.05rem;
}

.menu-section {
padding: 60px 20px;
}

.section-title {
margin-bottom: 35px;
}

.pizza-grid {
grid-template-columns: 1fr;
gap: 20px;
}

.pizza-image {
height: 160px;
}

.pizza-image img {
width: 130px;
height: 130px;
}

.order-section {
padding: 70px 20px;
}

.order-button {
width: 100%;
max-width: 300px;
}

footer {
font-size: 0.75rem;
}

}
