/*
 * Pizza Shop - Professional HTML Template
 * Version: 1.0
 * Author: Pizza Shop Team
 * 
 * TABLE OF CONTENTS:
 * 1. Global Styles & Variables
 * 2. Header & Navigation
 * 3. Hero Section
 * 4. About Section
 * 5. Menu Section
 * 6. Offers Section
 * 7. Services Section
 * 8. Gallery Section
 * 9. Features Section
 * 10. Testimonials Section
 * 11. Team Section
 * 12. Blog Section
 * 13. Reservation Section
 * 14. Contact Section
 * 15. Newsletter Section
 * 16. Footer Section
 * 17. Responsive Styles
 */

/* ========== 1. GLOBAL STYLES & VARIABLES ========== */
:root {
    --primary-color: #ff6b35; /* Tangy orange */
    --secondary-color: #ff3b3f; /* Tomato red */
    --accent-green: #2ecc71; /* Basil green */
    --accent-yellow: #ffd166; /* Cheese yellow */
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --text-color: #666;
    --heading-color: #333;
    --white: #ffffff;
    --success-color: #28a745;
    --danger-color: #dc3545;
    
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    
    --transition: all 0.3s ease;
    --box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--heading-color);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 100px 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.section-description {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-color: transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-light {
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* ========== 2. HEADER & NAVIGATION ========== */
.header .navbar {
    background: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 32px;
}

.navbar-nav .nav-link {
    color: var(--heading-color);
    font-weight: 500;
    padding: 8px 20px;
    margin: 0 5px;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color);
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: 0;
    right: 5px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 12px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-order {
    margin-left: 15px;
}

/* ========== 3. HERO SECTION ========== */
.hero-section {
    margin-top: 76px;
}

.hero-slide {
    height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-content {
    color: var(--white);
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 50%;
    opacity: 1;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* ========== 4. ABOUT SECTION ========== */
.about-image {
    position: relative;
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
}

.experience-badge h3 {
    font-size: 48px;
    color: var(--white);
    margin: 0;
}

.experience-badge p {
    margin: 0;
    font-size: 14px;
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 24px;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-item p {
    margin: 0;
    font-size: 14px;
}

/* ========== 5. MENU SECTION ========== */
.menu-filter {
    margin-bottom: 30px;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 30px;
    margin: 5px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.menu-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.menu-image {
    position: relative;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-image img {
    transform: scale(1.1);
}

.menu-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
}

.veg-badge {
    background: var(--accent-green);
}

.non-veg-badge {
    background: var(--danger-color);
}

.menu-content {
    padding: 25px;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.menu-header h4 {
    font-size: 20px;
    margin: 0;
}

.price {
    font-size: 24px;
    font-weight: 700;
    color: var(--secondary-color);
}

.rating {
    margin: 15px 0;
    color: #ffc107;
}

.rating span {
    color: var(--text-color);
    margin-left: 5px;
}

/* ========== 6. OFFERS SECTION ========== */
.offer-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
    position: relative;
}

.offer-card:hover {
    transform: translateY(-10px);
}

.offer-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-yellow));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    z-index: 1;
}

.offer-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.offer-content {
    padding: 25px;
}

.offer-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.offer-code {
    background: var(--light-color);
    padding: 15px;
    border-radius: var(--border-radius);
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offer-code strong {
    color: var(--primary-color);
    font-size: 20px;
}

/* ========== 7. SERVICES SECTION ========== */
.service-card {
    padding: 40px 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 25px;
}

.service-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* ========== 8. GALLERY SECTION ========== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,107,53,0.9), rgba(255,59,63,0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay i {
    color: var(--white);
    font-size: 48px;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* ========== 9. FEATURES SECTION ========== */
.feature-box {
    padding: 30px 20px;
}

.feature-icon-box {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--box-shadow);
}

.feature-icon-box i {
    font-size: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-box h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* ========== 10. TESTIMONIALS SECTION ========== */
.testimonial-card {
    background: var(--white);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 20px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.testimonial-author img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.testimonial-author h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-author p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
}

#testimonialsCarousel .carousel-control-prev,
#testimonialsCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
}

/* ========== 11. TEAM SECTION ========== */
.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.team-card:hover .team-social {
    bottom: 20px;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.team-social a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.team-content {
    padding: 25px;
    text-align: center;
}

.team-content h4 {
    font-size: 20px;
    margin-bottom: 5px;
}

.team-content p {
    margin: 0;
    color: var(--primary-color);
}

/* ========== 12. BLOG SECTION ========== */
.blog-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    margin-bottom: 30px;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-date span:first-child {
    font-size: 24px;
    font-weight: 700;
}

.blog-date span:last-child {
    font-size: 14px;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 14px;
    color: var(--text-color);
}

.blog-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.blog-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.blog-content h4 a {
    color: var(--heading-color);
}

.blog-content h4 a:hover {
    color: var(--primary-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    margin-left: 10px;
}

/* ========== 13. RESERVATION SECTION ========== */
.reservation-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-yellow);
}

.info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.info-box h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.info-box p {
    margin: 0;
    font-size: 14px;
}

.reservation-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-top: 4px solid var(--accent-green);
}

.reservation-form h3 {
    font-size: 28px;
    margin-bottom: 30px;
}

/* ========== 14. CONTACT SECTION ========== */
.contact-form-wrapper {
    padding-right: 30px;
}

.contact-map {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* ========== 15. NEWSLETTER SECTION ========== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.newsletter-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-content p {
    color: var(--white);
    opacity: 0.9;
}

.newsletter-form .form-control {
    height: 55px;
    border: none;
    padding: 0 25px;
}

.newsletter-form .btn {
    height: 55px;
    padding: 0 40px;
}

.newsletter-form .form-check-label {
    color: var(--white);
    font-size: 14px;
}

/* ========== 16. FOOTER SECTION ========== */
.footer-section {
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-widget p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
}

.footer-widget h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

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

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

.footer-contact {
    list-style: none;
    padding: 0;
}

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

.footer-contact i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* ========== BACK TO TOP BUTTON ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
}

/* ========== 17. RESPONSIVE STYLES ========== */
@media (max-width: 991px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-slide {
        height: 500px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .navbar-nav .nav-link {
        padding: 10px 15px;
    }
    
    .btn-order {
        margin-left: 0;
        margin-top: 10px;
    }
}

@media (max-width: 767px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 16px;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 24px;
    }
    
    .hero-text {
        font-size: 16px;
    }
    
    .menu-item {
        margin-bottom: 20px;
    }
    
    .contact-form-wrapper {
        padding-right: 0;
        margin-bottom: 30px;
    }
    
    .footer-bottom-links {
        justify-content: flex-start;
        margin-top: 15px;
    }
}

@media (max-width: 575px) {
    .hero-buttons .btn {
        display: block;
        margin: 10px 0 !important;
    }
    
    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

