/* General body styling */ 
body { 
    background-image: url('bgpizza.jfif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Arial', sans-serif;
    margin: 0; 
    padding: 0; 
}

/* Navigation bar styling */
nav { 
    background-color: rgba(210, 35, 35, 0.9); /* Semi-transparent red */
    padding: 10px;
    text-align: center; 
}
nav ul {
    list-style: none; 
    margin: 0; 
    padding: 0;
}
nav ul li {
    display: inline-block;
    margin-right: 15px; 
} 
nav ul li a { 
    color: white;
    text-decoration: none;
    font-weight: bold; 
}
nav ul li a:hover {
    color: #ffcc00;
}

/* Header section */
.header {
    height: 250px;
    text-align: center;
    color: white; 
}
header h1 {
    padding-top: 80px;
    font-size: 50px;
    text-shadow: 2px 2px #000;
}

/* Welcome Section */
#welcome {
    text-align: center;
    border-bottom: 2px solid #d22323; 
    padding: 20px;
}
#welcome h2 { 
    font-size: 28px;
    color: #d22323; 
}
#welcome p {
    font-size: 18px;
    color: #fff;  /* White text to contrast */
}
#welcome .btn {
    display: inline-block;
    background-color: #d22323;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}
#welcome .btn:hover {
    background-color: #ffcc00;
    color: #333;
}

/* Featured Offers Section */
#featured-offers {
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    padding: 40px;
    text-align: center;
    color: #fff; /* White text */
}
#featured-offers h2 {
    font-size: 28px;
    color: #ffcc00;
}
.offers-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.offer-item {
    width: 250px;
    margin: 20px;
    padding: 15px;
    background-color: rgba(255, 255, 255, 0.2); /* Slightly transparent */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    border-radius: 10px;
    color: #fff; /* White text */
}
.offer-item img {
    width: 100%;
    height: auto;
    border-radius: 8px; 
}
.offer-item h3 {
    font-size: 20px;
    margin: 10px 0;
    color: #ffcc00;
} 
.offer-item p {
    font-size: 16px;
    color: #ddd;
}

/* Customer Testimonials Section */
#testimonials {
    background-color: rgba(0, 0, 0, 0.7); /* Dark semi-transparent background */
    padding: 40px;
    text-align: center;
    color: #fff;
}
#testimonials h2 {
    font-size: 28px;
    color: #ffcc00;
    margin-bottom: 20px;
}
.testimonial {
    font-style: italic;
    color: #ddd;
    margin: 20px auto;
    padding: 15px;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.1); /* Light semi-transparent background */
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Call to Action Section */
#cta {
    background-color: rgba(210, 35, 35, 0.9);
    color: white;
    padding: 40px;
    text-align: center;
}
#cta h2 {
    font-size: 28px;
    margin-bottom: 10px;
}
#cta p {
    font-size: 18px;
    margin-bottom: 20px;
}
#cta .btn {
    background-color: #ffcc00;
    color: #333;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}
#cta .btn:hover {
    background-color: white;
    color: #d22323;
}

/* Footer Styling */
footer {
    background-color: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    font-size: 16px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 50px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex-basis: 22%;
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.footer-section p, .footer-section a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color: #ffcc00;
    text-decoration: underline;
}

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

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.social-icons {
    display: flex;
    justify-content: center;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    background-color: #222;
    padding: 20px 0;
    color: #aaa;
    font-size: 14px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    margin: 5px 0;
}

.footer-bottom a {
    color: #ffcc00;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}
