/* General Styling */
body {
    background-image: url('pizzabilde/pizzabackground.png'); /* Replace with your background image */
    background-size: cover; /* Ensure the image covers the viewport */
    background-repeat: no-repeat; /* Prevent tiling */
    background-position: center; /* Center the image */
    background-attachment: fixed; /* Fixed background for parallax effect */
    color: #fff; /* Default text color */
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffcc00;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo {
    max-width: 150px;
    height: auto;
}

/* About Us Section */
section.about-us {
    background-image: url('pizza-background.png'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 30px 20px; /* Adjust padding for a more compact section */
    min-height: 60vh; /* Reduced height to 60% of the viewport height */
    display: flex;
    align-items: center; /* Center the content vertically */
}

/* Overlay Effect */
section.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text visibility */
    z-index: 1;
}

/* Text Box Styling */
section.about-us .container {
    position: relative; /* Ensure text is above the overlay */
    z-index: 2;
}

section.about-us h2 {
    font-size: 2.5rem; /* Reduced size */
    font-weight: 700;
    color: #ffcc00; /* Highlighted yellow for the heading */
}

section.about-us p {
    font-size: 1.1rem; /* Reduced size */
    line-height: 1.6;
    color: #fff; /* White text for contrast */
}

/* Responsive Design */
@media (max-width: 768px) {
    section.about-us h2 {
        font-size: 1.8rem; /* Smaller heading on smaller screens */
    }

    section.about-us p {
        font-size: 1rem; /* Smaller paragraph text on smaller screens */
    }

    section.about-us {
        padding: 20px 15px; /* Adjust padding for smaller screens */
        min-height: 50vh; /* Even smaller height for mobile */
    }

    /* Stack the columns on smaller screens */
    section.about-us .row {
        flex-direction: column;
    }
}

/* Contact Us Section */
section.contact-us {
    position: relative;
    min-height: 100vh; /* Ensure the section fills the entire height of the viewport */
    background-image: url('pizzabilde/contact\ us\ banner.jpg'); /* pizza background image */
    background-size: fill;
    background-position: left;
    background-repeat: no-repeat;
}

/* Right side with text placed over the banner image */
section.contact-us .contact-info {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%; /* The text takes up the right 50% */
    height: 100%; /* Full height of the section */
    /*background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for text visibility */
    color: #fff; /* White text for readability */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertically center the text */
}

/* Styling for the text */
section.contact-us h2 {
    font-size: 3rem; /* Adjust heading size */
    font-weight: 700;
    color: #ffcc00; /* Highlighted yellow for the heading */
}

section.contact-us p {
    font-size: 1.1rem; /* Adjusted font size */
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    section.contact-us {
        flex-direction: column;
    }

    /* Adjust the contact-info section on smaller screens */
    section.contact-us .contact-info {
        width: 100%; /* Full width on smaller screens */
        padding: 15px;
    }

    section.contact-us h2 {
        font-size: 2rem; /* Smaller heading on smaller screens */
    }

    section.contact-us p {
        font-size: 1rem; /* Smaller paragraph text on smaller screens */
    }
}








/* Section Styling */
section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin: 50px auto;
    padding: 50px 20px;
    width: 90%;
    background-color: rgba(0, 0, 0, 0.6); /* Transparent black background */
    clip-path: polygon(0 0, 100% 10%, 100% 90%, 0 100%);
    color: #fff;
    overflow: hidden;
}

section.alternate {
    flex-direction: row-reverse;
    background-color: rgba(255, 255, 255, 0.6); /* Transparent white background */
    color: #333; /* Dark text for contrast */
}

/* Section Content */
section .text {
    flex: 1;
    z-index: 2;
    padding: 20px;
}

section .image {
    flex: 1;
    text-align: center;
    z-index: 2;
    padding: 20px;
}

section .image img {
    max-width: 80%;
    border-radius: 50%; /* Circular images */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.5); /* Add depth */
}

/* Full-Background Menu Section */
section.menu {
    background-image: url('pizzabilde/menupng.png'); /* Replace with your background image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 100vh; /* Full viewport height */
    padding: 50px 0;
}

/* Overlay Effect */
section.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for visibility */
    z-index: 1;
}

/* Text Content */
section.menu .container {
    position: relative;
    z-index: 2; /* Ensures text appears above overlay */
}

section.menu .row {
    align-items: center; /* Center-aligns content vertically */
}

section.menu .col-md-6 {
    text-align: left; /* Aligns text to the left */
}

section.menu h2 {
    font-size: 3rem;
    font-weight: 700;
}

section.menu p, section.menu li {
    font-size: 1.25rem;
}

.text-box {
    background-image: url('pizzabilde/pizzatext.jpg'); /* Replace with a wood texture image */
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Light border for definition */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5); /* Adds depth */
    border-radius: 10px; /* Soft corners */
    color: #fff; /* White text for contrast */
    position: relative;
    z-index: 2; /* Ensures it appears above the background */
}

.text-box h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffcc00; /* Highlighted yellow for the heading */
}

.text-box p, .text-box li {
    font-size: 1.25rem;
    line-height: 1.6;
}



/* Gradient Overlay for Sections */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.2));
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Footer */
footer {
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent footer */
    color: #ccc;
    font-size: 0.9rem;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .text-box {
        padding: 20px;
    }

    .text-box h2 {
        font-size: 2rem;
    }

    .text-box p, .text-box li {
        font-size: 1rem;
    }
}
