:root {
    --primary: #d35400; 
    --bg-light: #f9f7f2;
    --bg-dark: #0d0d0d;
    --text-dark: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #777;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; overflow-x: hidden; position: relative; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--text-dark); line-height: 1.5; -webkit-font-smoothing: antialiased; }

.container { max-width: 1400px; margin: 0 auto; padding: 0 5vw; position: relative; width: 100%; }
h1, h2, h3, .logo-text, .price { font-family: 'Playfair Display', serif; }

.title-lg { font-size: clamp(3rem, 10vw, 7rem); line-height: 0.9; letter-spacing: -2px; }
.sub-title { display: block; text-transform: uppercase; font-weight: 700; letter-spacing: 5px; color: var(--primary); font-size: 0.8rem; margin-bottom: 25px; }
.section-padding { padding: 160px 0; }

.btn-primary { background: var(--primary); color: white; padding: 22px 50px; border-radius: 4px; text-decoration: none; font-weight: 800; display: inline-block; transition: 0.4s; border: none; cursor: pointer; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; }
.btn-primary:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(211, 84, 0, 0.4); }

.btn-outline { border: 1px solid var(--bg-dark); color: var(--bg-dark); padding: 18px 40px; border-radius: 4px; text-decoration: none; font-weight: 600; display: inline-block; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.btn-outline:hover { background: var(--bg-dark); color: white; }

#main-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 2000; transition: 0.5s; display: flex; flex-direction: column; }
.top-bar { background: var(--bg-dark); color: rgba(255,255,255,0.6); text-align: center; padding: 12px 0; font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; }
.top-bar a { color: white; font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--primary); }
header nav { height: 100px; display: flex; align-items: center; justify-content: space-between; transition: 0.4s; padding: 0 5vw; width: 100%; }

header.scrolled { background: rgba(249, 247, 242, 0.98); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: 0 4px 30px rgba(0,0,0,0.08); }
header.scrolled nav { height: 80px; }
header.scrolled nav .logo-text, header.scrolled nav .logo-text span, header.scrolled nav .nav-links li a { color: var(--bg-dark) !important; }
header.scrolled .mobile-toggle span { background: var(--bg-dark); }
header:not(.scrolled) .nav-links li a, header:not(.scrolled) .logo-text { color: white; }
.order-page-body header:not(.scrolled) .nav-links li a, 
.order-page-body header:not(.scrolled) .logo-text,
.order-page-body header:not(.scrolled) .logo-text span { color: var(--bg-dark) !important; }

.logo-text { font-size: 2.2rem; color: white; display: flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 900; }
.logo-text span { color: var(--primary); }
.nav-links { list-style: none; display: flex; gap: 50px; }
.nav-links li a { text-decoration: none; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.hero-section { position: relative; height: 100vh; display: flex; align-items: center; overflow: hidden; clip-path: polygon(0 0, 100% 0, 100% 90vh, 0% 100%); background: #000; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; }
.hero-bg::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.85), rgba(0,0,0,0.2)); }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }

.hero-content { position: relative; z-index: 2; width: 100%; display: flex; flex-direction: column; justify-content: center; height: 100%; padding-top: 100px; }
.hero-header { text-align: left; max-width: 1000px; }
.hero-title { font-size: clamp(3.2rem, 12vw, 8.5rem); color: white; line-height: 0.8; margin-bottom: 40px; }
.hero-footer { text-align: left; max-width: 700px; }
.hero-footer p { color: rgba(255,255,255,0.9); font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin-bottom: 50px; line-height: 1.4; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 100px; align-items: center; }
.about-images { position: relative; height: 650px; }
.about-images img { max-width: 100%; }
.img-main { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.img-accent { position: absolute; bottom: -60px; right: -40px; width: 65%; height: 75%; object-fit: cover; border-radius: 4px; border: 12px solid var(--bg-light); box-shadow: 0 30px 80px rgba(0,0,0,0.2); z-index: 2; }

.ingredients-grid, .how-to-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; margin-top: 80px; }
.ingredient-item, .step-card { padding: 60px 40px; background: white; border: 1px solid rgba(0,0,0,0.06); border-radius: 4px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.step-number { font-family: 'Playfair Display', serif; font-size: 4rem; color: var(--primary); opacity: 0.2; display: block; margin-bottom: -20px; font-weight: 900; }
.icon-xl { font-size: 4rem; display: block; margin-bottom: 20px; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); gap: 80px; }
.pizza-card { display: flex; gap: 30px; align-items: center; padding: 20px; background: white; border-radius: 8px; border: 1px solid rgba(0,0,0,0.04); }
.card-image-circle { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.card-image-circle img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.pizza-card:hover .card-image-circle img { transform: scale(1.1); }
.price { color: var(--primary); font-weight: 800; font-size: 1.6rem; margin-top: 10px; display: block; }

.impact-section { position: relative; padding: 200px 0; background: var(--bg-dark); color: white; text-align: center; overflow: hidden; }
.impact-section .hero-bg { opacity: 0.4; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.gallery-item { height: 45vh; overflow: hidden; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: 0.8s; }
.gallery-item:hover img { filter: grayscale(0); transform: scale(1.05); }

.booking-card { background: white; padding: clamp(40px, 8vw, 80px); max-width: 1000px; margin: 0 auto; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 40px 100px rgba(0,0,0,0.05); border-radius: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.booking-form input, .booking-form select { 
    width: 100%; 
    padding: 22px; 
    border: 1px solid #e0e0e0; 
    background: #fdfdfd; 
    font-family: 'Inter', sans-serif; 
    font-size: 0.95rem; 
    border-radius: 4px; 
    transition: 0.3s;
    color: var(--text-dark);
}
.booking-form input:focus, .booking-form select:focus { 
    border-color: var(--primary); 
    background: white; 
    outline: none; 
    box-shadow: 0 5px 20px rgba(211, 84, 0, 0.05);
}
.booking-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d35400' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
}
.partner-grid-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }

.bg-white { background: #fff !important; }
footer { background: var(--bg-dark); color: white; padding: 120px 0 60px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 80px; }
.footer-brand .logo-text { font-size: 2.5rem; margin-bottom: 30px; }
.footer-grid h4 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--primary); margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 15px; }
.footer-grid ul li a { color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; font-size: 0.9rem; }
.footer-grid ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact p { color: rgba(255,255,255,0.7); margin-bottom: 10px; font-size: 0.9rem; }

.footer-attribution { margin-top: 80px; font-size: 0.8rem; opacity: 0.5; text-align: center; color: white; border-top: 1px solid rgba(255,255,255,0.08); padding-top: 40px; }
.footer-attribution a { color: var(--primary); text-decoration: none; font-weight: 700; }

.mobile-toggle { display: none; flex-direction: column; justify-content: space-between; width: 35px; height: 22px; background: none; border: none; cursor: pointer; z-index: 2200; }
.mobile-toggle span { display: block; width: 100%; height: 2px; background: white; transition: 0.3s; }
.mobile-menu-overlay { position: fixed; top: 0; left: 100%; width: 100%; height: 100vh; background: rgba(13, 13, 13, 0.99); z-index: 2100; display: flex; align-items: center; justify-content: center; -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
.mobile-nav ul li a { color: white; font-size: clamp(2rem, 8vw, 3.5rem); text-decoration: none; font-family: 'Playfair Display', serif; }

.order-page-body { background: #fdfdfd; padding-top: 180px; overflow-x: hidden; }
.order-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 80px; padding: 0 5vw; width: 100%; }
.product-item { background: white; padding: 25px; display: flex; gap: 30px; align-items: center; border: 1px solid rgba(0,0,0,0.06); margin-bottom: 25px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); width: 100%; }
.product-item img { width: clamp(80px, 20vw, 140px); height: clamp(80px, 20vw, 140px); object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.add-btn { background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 12px 25px; cursor: pointer; border-radius: 4px; transition: 0.3s; font-size: 0.85rem; font-weight: 800; text-transform: uppercase; }
.add-btn:hover { background: var(--primary); color: white; transform: translateY(-3px); }
.checkout-sidebar { background: white; padding: 40px; border: 1px solid rgba(0,0,0,0.1); height: fit-content; position: sticky; top: 150px; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,0.05); width: 100%; }
.order-form-group input, .order-form-group select { 
    width: 100%; 
    padding: 18px; 
    margin-bottom: 12px; 
    border: 1px solid #e0e0e0; 
    background: #fdfdfd; 
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: 0.3s;
    color: var(--text-dark);
}
.order-form-group input:focus, .order-form-group select:focus { 
    border-color: var(--primary); 
    outline: none; 
    background: white;
    box-shadow: 0 5px 20px rgba(211, 84, 0, 0.05);
}
.order-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23d35400' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}
.total-row { display: flex; justify-content: space-between; font-size: 1.8rem; font-weight: 900; margin-top: 30px; padding-top: 20px; border-top: 3px solid var(--bg-dark); }
.btn-whatsapp { width: 100%; padding: 22px; background: #25D366; color: white; border: none; font-weight: 900; border-radius: 4px; cursor: pointer; font-size: 1.1rem; text-transform: uppercase; }

.floating-letter { position: absolute; font-size: 35vw; color: var(--primary); opacity: 0.04; z-index: 0; pointer-events: none; font-weight: 900; }
.float-o { top: 110vh; left: -10vw; }
.float-e { top: 220vh; right: -10vw; }

.reveal-up, .fade-up { opacity: 1; }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }
.w-full { width: 100%; }
.img-rounded { border-radius: 8px; }
.text-primary { color: var(--primary) !important; }

@media (max-width: 1100px) {
    .order-container { grid-template-columns: 1fr; }
    .checkout-sidebar { position: relative; top: 0; }
    .partner-grid-alt { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .desktop-menu { display: none; }
    .mobile-toggle { display: flex; }
    .hero-section { clip-path: none; height: auto; min-height: 100vh; padding: 160px 0 80px; }
    .hero-bg::after { background: rgba(0,0,0,0.7); }
    .hero-content { text-align: center; }
    .hero-header, .hero-footer { text-align: center; margin: 0 auto; }
    .hero-title { font-size: clamp(2.8rem, 12vw, 4.5rem); line-height: 1; }
    .about-grid, .footer-grid, .gallery-grid, .form-row { grid-template-columns: 1fr; }
    .about-images { height: 400px; display: flex; flex-direction: column; gap: 20px; }
    .img-main { height: 300px; width: 100%; }
    .img-accent { position: static; width: 100%; height: 250px; border: none; margin-top: -50px; transform: translateX(20px); }
    .gallery-item { height: 350px; }
    .booking-card { padding: 40px 20px; }
    .menu-grid { grid-template-columns: 1fr; }
    .pizza-card { flex-direction: column; text-align: center; gap: 20px; }
    .card-image-circle { width: 150px; height: 150px; }
    .floating-letter { display: none; }
    .order-container { gap: 40px; }
    .product-item { padding: 15px; flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .title-lg { font-size: 2.2rem; }
}
