body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #fff;
}

.top-bar {
    background-color: #fff;
    padding: 10px 0;
}

.top-bar .phone {
    color: #e30512;
    font-size: 1rem;
    font-weight: bold;
}

.top-bar .phone i {
    margin-right: 8px;

}

.phone-icon {
    padding: 5px;
    border: 2px solid #e30512;
    border-radius: 50%;
}

.breadcrumb-container {
    background-color: #f7f7f7;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-container nav {
    display: flex;
    align-items: center;
}

.breadcrumb-container .breadcrumb-heading {
    border-left: 4px solid #e30512;
    padding: 0px 5px;
    /* border-bottom: 2px solid #8cc63f; */
    color: #6c757d;
}

.breadcrumb {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.breadcrumb-item.active {
    color: #8cc63f;
}

.breadcrumb .breadcrumb-item a {
    text-decoration: none;
    color: #6c757d;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ">";
    padding: 0 8px;
    color: #6c757d;

}

.page-title {
    font-size: 2rem;
    font-weight: bold;
    margin: 20px 0;
    color: #333;
}

/* Navbar styling */
.navbar {
    padding: 6px 0;
}

.navbar-nav .nav-link {
    color: #333;
    position: relative;
    padding-bottom: 5px;
    /* Add some space for the underline */
}

.navbar-nav .nav-link:hover {
    color: #e30512;
}

.navbar-nav .nav-link.active {
    color: #e30512;
    font-weight: bold;
}

/* Add underline effect on hover */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #e30512;
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Optional: Keep underline for active link */
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.social-icons a {
    color: #e30512;
    margin-left: 10px;
}

/* Call to Order Button Styles */
.call-order {
    background-color: #8cc63f;
    /* Green background */
    position: fixed;
    bottom: 30px;
    right: 20px;
    z-index: 1050;
    width: 90px;
    /* Fixed width */
    height: 90px;
    /* Fixed height (same as width for perfect circle) */
    border-radius: 50%;
    /* Fully rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Subtle shadow */
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    /* Icon color */
    font-size: 35px;
    /* Icon size */
}

.call-order:hover {
    background-color: #7cb342;
    /* Slightly darker green on hover */
    transform: scale(1.05);
    /* Slight grow effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    /* Enhanced shadow on hover */
}

/* Banner Slider Styles */
#bannerSlider .carousel-item {
    height: 75vh;
    min-height: 500px;
}

#bannerSlider .banner-content {
    padding: 2rem;
}

.banner-para {
    color: #8cc63f;
}

.banner-title {
    font-size: 4rem !important;
    font-weight: 700;
    color: #7e7e7e !important;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
}

.banner-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 150px;
    height: 3px;
    background-color: #E30512;
}

.banner-text {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.btn-primary {
    padding: 12px 30px;
    background-color: #e30512;
    border: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #c30410;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#bannerSlider .banner-image {
    height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#bannerSlider .banner-image img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}


span.carousel-control-prev-icon {
    background-color: #e30512;
}

span.carousel-control-next-icon {
    background-color: #e30512;
}


.brands-section span.carousel-control-prev-icon {
    background-color: #8cc63f !important;
}

.brands-section span.carousel-control-next-icon {
    background-color: #8cc63f !important;
}


/* Responsive Adjustments */
@media (max-width: 992px) {
    #bannerSlider .carousel-item {
        height: auto;
        padding: 2rem 0;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .banner-title::after {
        width: 100px;
    }
}

@media (max-width: 768px) {
    #bannerSlider .row {
        flex-direction: column-reverse;
    }

    .banner-title {
        font-size: 1.8rem;
    }

    .banner-content {
        text-align: center;
        padding-top: 2rem !important;
    }

    .banner-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}

/* Features  */
.features-section {
    background-color: #8cc63f;
    color: white;
    padding: 30px 0;
}

.feature-box {
    text-align: left;
    padding: 10px 20px;
}

.feature-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-title {
    font-weight: bold;
}

.feature-text {
    font-size: 14px;
    margin-top: 5px;
}



/* Services Section - Full Overlay Glass Effect */
.hero-section-services {
    padding: 4rem 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e30512;
    margin: 1rem auto 0;
}

.content-wrapper-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-left-services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-item-services,
.large-image-services {
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item-services {
    height: 0;
    padding-bottom: 100%;
}

.grid-item-services:hover,
.large-image-services:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.grid-item-services img,
.large-image-services img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.grid-item-services:hover img,
.large-image-services:hover img {
    transform: scale(1.1);
}

/* Full Overlay Glass Effect */
.grid-item-services .overlay,
.large-image-services .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(121, 121, 121, 0.6);
    /* Semi-transparent red */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.grid-item-services:hover .overlay,
.large-image-services:hover .overlay {
    opacity: 1;
}

.overlay h3 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.grid-item-services:hover .overlay h3,
.large-image-services:hover .overlay h3 {
    transform: scale(1);
}

/* Large image specific styles */
.large-image-services {
    height: 100%;
    min-height: 500px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .content-wrapper-services {
        grid-template-columns: 1fr;
    }

    .grid-left-services {
        order: 2;
    }

    .large-image-services {
        height: 400px;
        min-height: auto;
        order: 1;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .grid-left-services {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .overlay h3 {
        font-size: 1.4rem;
    }
}


/* Products Section */
.products {
    margin-top: 2rem;
    background-color: #f0f0f0;
    padding: 3rem 0;
}

.product-img img {
    height: 170px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 1rem;
    border-radius: 4px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.product-img img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}


.product-title {
    background-color: #e30512;
    text-align: center;
    text-transform: uppercase;
    padding: 10px 0;
}

.product-title a {
    text-decoration: none;
    display: inline-block;
    color: #fff;
}

.feature-box {
    padding: 1rem;
}

.banner-title-product {
    font-size: 2rem;
    color: #e30512;
}

/* Make the "Mas Productos" button responsive */
.btn-secondary {
    padding: 10px 30px;
    background-color: #8cc63f;
    border: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.btn-secondary:hover {
    background-color: #8cc63f;
    /* same color, no change */
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Media Queries for responsiveness */
@media (max-width: 1200px) {
    .col-md-2 {
        flex: 1 1 30%;
        /* Adjusts the size of each product to be 30% on medium screens */
    }
}

@media (max-width: 992px) {
    .col-md-2 {
        flex: 1 1 45%;
        /* Adjusts to 45% on medium screens like tablets */
    }
}

@media (max-width: 768px) {
    .col-md-2 {
        flex: 1 1 100%;
        /* Full width on small screens like mobile */
    }

    .product-img img {
        height: 150px;
        /* Adjusts image height on mobile */
    }
}

@media (max-width: 576px) {
    .product-title {
        font-size: 14px;
        /* Adjust font size for small screens */
    }

    .btn-secondary {
        width: 100%;
        /* Makes the button full width on small screens */
    }
}



/* Footer  */

/* Features  */
footer {
    position: relative;
    text-align: center; /* Centrar la imagen */
}
/* Estilo para el texto superpuesto */
.footer-caption {
    position: absolute;
    bottom: 20px; /* Distancia desde abajo */
    left: 50%; /* Centrar horizontalmente */
    transform: translateX(-50%); /* Ajuste fino de centrado */
    color: white;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    background-color: rgba(0, 0, 0, 0.3); /* Fondo semitransparente */
    border-radius: 4px;
    z-index: 1;
}


.footer-section {
    background-color: #fff;
    color: rgb(77, 77, 77);
    padding: 30px 0;
}

.footer-box {
    text-align: left;
    padding: 10px 20px;
}

.footer-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-icon {
    font-size: 32px;
    flex-shrink: 0;
    margin-top: 5px;
    color: #e30512;
}

.footer-title {
    font-weight: bold;
}

.footer-text {
    font-size: 14px;
    margin-top: 5px;
}

.footer-image {
    width: 100%;
    height: 150px;
    /* Set a small height for the image */
    object-fit: cover;
    /* Ensures the image covers the space while maintaining its aspect ratio */
    margin-top: 20px;
    /* Adds some space between the footer and the image */
}
 
/* Mission Section  */
.mission-section {
    padding: 40px 0;
    background-color: #fff;
}

.mission-header {
    font-size: 42px;
    font-weight: 700;
    color: #e30512;
    display: inline-block;
    margin: 0;
    padding-right: 30px;
}

.section-header .header-decoration {
    position: absolute;
    right: calc(50% - 100px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    font-weight: 300;
    color: #333;
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-column {
    flex: 1;
}

.mission-image {
    width: 100%;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mission-image:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}


.text-column {
    flex: 1;
    font-size: 16px;
    line-height: 1.4;
    color: #555;
}

.text-column p {
    margin-bottom: 25px;
}

@media (max-width: 992px) {
    .content-wrapper {
        flex-direction: column;
    }

    .image-column,
    .text-column {
        flex: none;
        width: 100%;
    }

    .section-header h1 {
        font-size: 32px;
        padding-right: 20px;
    }

    .section-header .header-decoration {
        right: calc(50% - 80px);
        font-size: 32px;
    }
}

.historia {
    background-color: #8cc63f;
}

.historia p {
    color: #fff;
}


.operacion {
    background-color: rgb(241, 241, 241);
}



/* Products Page  */

.hero-banner {
    background-image: url(images/FULL-PIZZA.jpeg);
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    position: relative;
    color: white;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
}

.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    background-color: #fff;
    text-align: start;
}

.banner-title {
    color: #e30512;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.banner-subtitle {
  font-size: calc(1.0vw + 0.5rem);
  line-height: 1.0; /* para mejorar la legibilidad */
  text-align: left; /* opcional */
	color: #333;
}

@media (max-width: 768px) {
    .hero-banner {
        padding: 70px 0;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .banner-subtitle {
        font-size: 1.0rem;
    }
}



/* Product Section  */

.hero-card {
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)), url('images/catalogo.png') center/cover;
    color: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    height: 400px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e30512;
}

.hero-btn {
    background-color: #0069d9;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    margin-top: 1rem;
}

.hero-btn:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #e30512;
}

.category-select {
    margin-bottom: 1.5rem;
}

.product-table {
    font-size: 0.85rem;
}

.product-table th,
.product-table td {
    padding: 0.4rem 0.75rem;
}

.border-bottom-red {
    border-bottom: 2px solid #dc3545 !important;
}

.small {
    font-size: 0.85rem;
}


.category-select {
    max-width: 300px;
}

.form-select {
    border: 2px solid #e30512;
}

@media (max-width: 768px) {
    .product-table {
        font-size: 0.8rem;
    }

    .product-table th,
    .product-table td {
        padding: 0.3rem 0.5rem;
    }

    .section-title {
        font-size: 1.3rem;
    }
}



/* Call center  */
.call-center-container {
    width: 50%;
    margin: 4rem auto;
    background-color: #e30512;
    padding: 20px 0;
    font-family: 'Arial', sans-serif;
    border-radius: 10px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.call-center-container:hover {
    transform: scale(1.03);
    filter: brightness(0.95);
}


.call-center-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.call-center-icon {
    color: white;
    font-size: 50px;
    margin-right: 10px;
}

.call-center-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0;
	text-decoration: none;
}

.call-center-text strong {
    font-weight: 800;
}

@media (max-width: 768px) {
    .call-center-content {
        flex-direction: column;
        gap: 8px;
    }

    .call-center-icon {
        font-size: 24px;
        margin-right: 0;
        margin-bottom: 5px;
    }

    .call-center-text {
        font-size: 18px;
        text-align: center;
		text-decoration: none;
    }
}



/* Froms De  */

.contact-section {
    padding: 5rem 0;
    background-color: #f8f9fa;
    font-family: 'Arial', sans-serif;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    color: #e30512;
    text-align: center;
    margin-bottom: 30px;
}

.contact-card {
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: white;
    height: 100%;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.contact-card:hover {
    transform: scale(1.03);
    filter: brightness(0.98);
}

.card-image {
    height: 120px;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.contact-card:hover .card-image {
    transform: scale(1.1);
}


.card-body {
    padding: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background-color: #8cc63f;
}

.card-text {
    font-size: 15px;
    color: #555;
    margin-bottom: 15px;
}

.schedule {
    margin-top: 15px;
}

.schedule-title {
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.schedule-item {
    margin-bottom: 5px;
    color: #555;
}


@media (max-width: 768px) {
    .card-image {
        height: 150px;
    }

    .section-title {
        font-size: 24px;
    }
}



/* MArcas Lineres  */

.hero-banner-marcas {
    background-image: url('images/Banner pasta.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
    color: white;
}

.hero-banner-marcas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.banner-content-marcas {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: start;
}

.banner-title-marcas {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.brands-row img {
    transition: transform 0.3s ease, filter 0.3s ease;
    border-radius: 6px;
}

.brands-row img:hover {
    transform: scale(1.05);
    filter: brightness(0.9);
}


.brands-row {
    width: 80%;
    margin: 0 auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.brands-row:hover {
    transform: scale(1.03);
    filter: brightness(0.98);
}


/* Contact section  */

.hero-banner-contact {
    background-image: url(images/como-hacer-pizzas-caseras-saludables.jpeg);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
    position: relative;
    color: white;
}

.hero-banner-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
}

.banner-content-contact {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    text-align: start;
}

.banner-title-contact {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}


.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: 'Arial', sans-serif;
    gap: 40px;
}

.contact-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.confirmation-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}

.contact-form {
    flex: 1;
    background-color: #fff;
    padding: 40px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.row-group {
    display: flex;
    gap: 20px;
}

.row-group .form-group {
    flex: 1;
}

@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-content,
    .contact-form {
        padding: 30px;
    }
}

@media (max-width: 576px) {
    .row-group {
        flex-direction: column;
        gap: 0;
    }

    .contact-content,
    .contact-form {
        padding: 20px;
    }
}



/* Brands SEctions  */
.brands-section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #e30512;
    text-transform: uppercase;
}

.brand-card {
    text-align: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.brand-logo {
    height: 400px;
    /* Increased from 100px */
    width: auto;
    max-width: 400px;
    /* Increased from 200px */
    margin-bottom: 0px;
    object-fit: contain;
}

.brand-name {
    font-size: 25px;
    font-weight: 700;
    color: #8cc63f;
    margin-top: 10 px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    color: #333;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(192, 192, 192, 0.521);
    border-radius: 50%;
    padding: 15px;
    background-size: 60%;
}

.carousel-wrapper {
    border: 2px solid rgb(235, 235, 235);
    padding: 15px;
    height: 100%;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 22px;
    }

    .brand-logo {
        height: 80px;
        margin-bottom: 15px;
    }

    .brand-name {
        font-size: 18px;
    }

    .carousel-wrapper {
        padding: 10px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 10px;
    }


    .home-slider .carousel-control-prev,
    .home-slider .carousel-control-next

    {
        margin-left: 14px;
        margin-right: 14px;
        width: 50px !important;
        height: 50px !important;
    }


}
