/* general body styling */
body {
    background-image: url('PIZZABACKGROUND.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
   /* display: flex; */
    justify-content: center;
    align-items: center;
   /* flex-direction: column;*/
}


html, body {
    height: 100%;
}

/* navbar style */
.navbar {
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    position: relative;


}

.nav-link {
    color: black !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6347 !important;
}

a.nav-link.active {
    font-weight: bold;
    color: red !important;
}

.section-box {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px; /* space between the box and the cards */
}

h3 {
    margin: 0;
    font-weight: bold;
    color: #d64045; /* Deep red for the header text */
}

/* transparent intro box */
.intro {
    background: rgba(255, 255, 255, 0.8);
    color: black;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 80%;
    max-width: 600px;
    margin: 200px auto 50px;

}

/* header styling */
h1, h3 {
    font-weight: bold;
    color: #d64045; /* A deep red for headers */
}

/* list styling */
ul {
    list-style-type: none;
    padding: 0;
}

ul li {
    margin: 5px 0;
}

/* Hover effects for intro text */
.intro:hover {
    background: rgba(255, 0, 0, 0.8); 
    transform: scale(1.05); 
    transition: all 0.3s ease-in-out;
    color: white;
}

h3:hover {
    color: white !important; /* Change title color to white */
    transition: color 0.3s ease-in-out;
}

/* Global hover effect for all elements when hovering over titles */
h1:hover,
h1:hover ~ * {
    color: white !important; /* Change all text to white on hover */
    transition: color 0.3s ease-in-out;
}

/* Input and Textarea styling */
input.form-control, textarea.form-control {
    transition: all 0.3s ease;
}

/* Change text color when hovering over the input or textarea */
input.form-control:hover,
textarea.form-control:hover {
    color: white !important;
    background-color: rgba(255, 0, 0, 0.8); /* Change background on hover */
}

input.form-control:focus,
textarea.form-control:focus {
    color: white !important;
    background-color: rgba(255, 0, 0, 0.8); /* Change background when focused */
}

/* pizza and pasta box style */
.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
}

.card-text {
    font-size: 1rem;
}

/* adjustments for layout */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col-md-6 {
    flex: 1;
    padding: 15px;
}

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

.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 0;
    left: 0;
}

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

.footer-section {
    flex: 1;
    padding: 10px;
    min-width: 250px;
}

.footer h3 {
    color: #ff6347; /* Tomato red */
    margin-bottom: 10px;
}

.footer p {
    margin: 5px 0;
}