/* ===== CSS VARIABLES & RESET ===== */
:root {
    --primary: #CC0000;         /* Deep Red */
    --primary-hover: #990000;
    --accent: #FFD500;          /* Bhai Pizza Yellow */
    --accent-hover: #E6C000;
    --text-dark: #2E1A0F;       /* Deep Brown/Black */
    --text-muted: #5A4435;
    --bg-light: #FDFDF9;        /* Warm off-white */
    --white: #FFFFFF;
    --border: #E8DECD;
    
    --shadow-sm: 0 4px 6px rgba(46, 26, 15, 0.05);
    --shadow-md: 0 10px 20px rgba(46, 26, 15, 0.08);
    --shadow-lg: 0 20px 40px rgba(46, 26, 15, 0.12);
    
    --font-sans: 'Outfit', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    --font-cursive: 'Dancing Script', cursive;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography Utility */
.cursive-font { font-family: var(--font-cursive); }
.primary-color { color: var(--primary); }
.accent-color { color: var(--accent); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-15 { margin-bottom: 15px; }

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 80px 0;
}

/* Global Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* Loader Overlay */
.loader {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-light);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.pizza-slice {
    width: 0;
    height: 0;
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-top: 60px solid var(--accent);
    border-radius: 50%;
    animation: spin-spin 1s infinite linear;
    margin-bottom: 20px;
}

@keyframes spin-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    font-family: var(--font-cursive);
    color: var(--primary);
    font-size: 2rem;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    overflow: hidden;
}

.wa-text {
    position: absolute;
    right: 65px;
    background: white;
    color: #25D366;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: var(--shadow-md);
    pointer-events: none;
}

.floating-wa:hover {
    transform: scale(1.1);
}

.floating-wa:hover .wa-text {
    opacity: 1;
    transform: translateX(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 80px;
    background: rgba(253, 253, 249, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1;
}

.logo .cursive-font {
    font-size: 1.8rem;
    margin-bottom: -5px;
}

.logo-bold {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 120px;
    padding-bottom: 80px;
    background-color: var(--accent);
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at right, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 60%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tagline {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.main-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-desc {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(46, 26, 15, 0.8);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    max-width: 100%;
    width: 450px;
    z-index: 2;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.2));
}

.floating-anim {
    animation: float-hero 6s ease-in-out infinite;
}

@keyframes float-hero {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.hero-badge {
    position: absolute;
    top: 20px;
    right: 10px;
    background: var(--white);
    border-radius: 50%;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    border: 5px solid var(--primary);
    transform: rotate(15deg);
    animation: pulse-badge 2s infinite alternate;
}

@keyframes pulse-badge {
    0% { transform: scale(1) rotate(15deg); }
    100% { transform: scale(1.05) rotate(15deg); }
}

.hero-badge .cursive-font {
    font-size: 1.6rem;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 5px;
}

.price-badge {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
}

/* Info Banner */
.info-banner {
    background: var(--text-dark);
    color: var(--white);
    padding: 30px 0;
    position: relative;
    z-index: 10;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.banner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.banner-item i {
    font-size: 2.5rem;
    color: var(--accent);
}

.banner-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.banner-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
}

/* Section Headings */
.section-heading {
    margin-bottom: 50px;
}

.section-heading .cursive-font {
    font-size: 3rem;
    margin-bottom: -10px;
}

.section-heading h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Deals Section */
.deals-section {
    background-color: var(--white);
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 30px 30px;
}

.major-deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.deal-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
    padding: 40px 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.deal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 6px;
    background: var(--primary);
}

.deal-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.deal-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--primary);
    color: var(--white);
    padding: 5px 40px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
    transform: rotate(45deg);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.deal-content h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.deal-items {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
    min-height: 90px;
}

.deal-price-wrapper {
    background: var(--accent);
    padding: 10px 25px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: var(--shadow-sm);
}

.deal-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.midnight-bg { border-top-color: var(--text-dark); }
.midnight-bg::before { background: var(--text-dark); }
.midnight-bg .deal-badge { background: var(--text-dark); }

.plater-bg { border-top-color: #D35400; }
.plater-bg::before { background: #D35400; }
.plater-bg .deal-badge { background: #D35400; }


.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.small-deal-card {
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.small-deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.sd-head {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.sd-body {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 15px;
    flex-grow: 1;
}

.sd-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: bold;
    align-self: flex-start;
    background: var(--accent);
    padding: 2px 10px;
    border-radius: 6px;
}

.special-deal { border-left: 4px solid var(--primary); }
.party-deal { border-left: 4px solid #D35400; }

/* Menu Section */
.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--white);
    border: 2px solid var(--border);
    padding: 12px 25px;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--text-dark);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.2);
}

.menu-tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.menu-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu-category-col {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.category-title {
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    border-bottom: 2px dashed var(--border);
    padding-bottom: 10px;
}

.pizza-pricing-header {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    padding-right: 10px;
    font-family: var(--font-heading);
}

.pizza-pricing-header span {
    width: 60px;
    text-align: right;
}

.menu-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.item-name {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.img-thumb {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
    border: 2px solid var(--accent);
    flex-shrink: 0;
}

.img-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-name h4 {
    font-size: 1.1rem;
    font-weight: 600;
}

.item-prices {
    display: flex;
    gap: 20px;
    font-family: var(--font-heading);
    font-weight: 700;
}

.item-prices span {
    width: 60px;
    text-align: right;
}

.notice-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--text-dark);
    font-weight: bold;
    padding: 5px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.local-pizzas-list {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.flavor-list {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.flavor-list li { margin-bottom: 8px; }

.local-pizza-prices {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-box {
    background: var(--bg-light);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 120px;
}

.price-box span {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.price-box strong {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-dark);
}

.fancy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.fancy-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.fancy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.fancy-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--accent);
}

.fancy-card-body {
    padding: 25px 20px 10px;
}

.fancy-card-body h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.fancy-price {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--bg-light);
    padding: 5px 20px;
    border-radius: 30px;
    border: 1px solid var(--border);
}

.simple-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.simple-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 3px solid transparent;
    transition: var(--transition);
}

.simple-item:hover {
    background: #fff;
    border-left-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.simple-item span {
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.simple-item strong {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
}

.highlight-item {
    border: 1px solid var(--accent);
    background: #FFFAEE;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin: 20px 0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.footer-links h3, .footer-contact h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 25px;
    color: var(--accent);
    text-transform: uppercase;
}

.footer-links ul, .footer-contact ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

.footer-contact i {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 3px;
}

.footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 20px 0;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* Scroll Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-left {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.reveal-up.active, .reveal-left.active {
    opacity: 1;
    transform: translate(0);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image-wrapper {
        margin-top: 50px;
    }
    
    .hero-desc {
        margin: 0 auto 30px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .major-deals-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-category-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .main-title {
        font-size: 3.5rem;
    }
    
    .tagline {
        font-size: 2rem;
    }
    
    .hero-img {
        width: 100%;
        max-width: 350px;
    }
}
