:root {
    --primary-blue: #5B8DB8;
    --primary-orange: #CC8456;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --dark-gray: #333333;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
}

/* Header Pattern Background */

#FOTOHEADER{
    background-color: #4D729D;
    display: flex; justify-content: space-between;
}


#FOTOHEADER img{
    width: 120px;
    margin: 20px 58px 20px 0px;
}

#MASCARAIZQUIERDA{
    width: 500px;
    background-image: url("../images/FOTOHEADERIZQUIERDA.svg");
    background-size: 520px;
    background-position: -40px -340px;
    background-repeat: no-repeat;
}

#MASCARADERECHA{
    width: 500px;
    background-image: url("../images/FOTOHEADERDERECHA.svg");
    background-size: 520px;
    background-position: -10px;
    background-repeat: no-repeat;
}

header nav{
    height: 40px;
    background-color: #CC8456;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

header nav a{
    color: #FFFFFF;
    text-decoration: none;
}

header nav a:hover{
    color: #223A2C;
    font-weight: bold;
}


/* Welcome Section */
.welcome-section {
    height: 955px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
}

.welcome-section:hover {
    transform: scale(1.02);
    background-size: 110% auto;
}

.welcome-overlay {
    text-align: center;
}

.welcome-title {
    color: white;
   font-family: "lubaline", sans-serif;
   font-size: 138px;
    font-weight: 300;
    font-style: normal;
}

.welcome-line {
    width: 300px;
    height: 4px;
    background: white;
    margin: 0 auto;
}

/* Section Styles */
.section-title-orange {
    color: var(--primary-orange);
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
    font-family: "lubaline-light-tile-solo", sans-serif;
    font-style: normal;
}

.content-wrapper {
    padding: 60px 100px;
}

/* History Section */
.history-section {
    background: white;
    margin-top: 52px;
}

.history-content {
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.history-content .content-wrapper {
    color: white;
}

.history-content .section-title-orange {
     color: white;
   font-family: "lubaline", sans-serif;
   font-size: 138px;
    font-weight: 300;
    font-style: normal;
    line-height: 100px;
}

.history-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    width: 570px;
}

.history-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url("../images/HISTORIA.jpg") center/cover no-repeat;
    min-height: 500px;
}





.BOTONMENSAJE {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 75px;
    right: 75px;
    background: #25D366;
    border-radius: 50px;
    box-shadow: 0px 2px 15px rgba(0,0,0,0.8);

}






/* Catalog Section */
.catalog-section {
    background: url(../images/ILUSTRACIONESPAGINA.svg) center/cover no-repeat;
     background-size: 3000px;
    background-repeat: no-repeat;
    padding: 80px 0;
}

.catalog-line {
    height: 4px;
    background: rgba(211, 144, 83, 1);
    margin: 0 auto;
}
.catalog-title {
      color: #252522;
   font-family: "lubaline", sans-serif;
   font-size: 112px;
    font-weight: 300;
    font-style: normal;
    line-height: 100px;
    margin-top: 52px;
    margin-bottom: 60px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.catalog-item1 {
    background: var(--primary-orange);
    background: url(../images/AZULMALBEC.jpg)center/cover no-repeat;
    height: 200px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.catalog-item2 {
    background: var(--primary-orange);
    background: url(../images/AZULRESERVA.jpg)center/cover no-repeat;
    height: 200px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.catalog-item3 {
    background: var(--primary-orange);
    background: url(../images/AZULJAURIA.jpg)center/cover no-repeat;
    height: 200px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.catalog-item4 {
    background: var(--primary-orange);
    background: url(../images/ELBP.jpg)center/cover no-repeat;
    height: 200px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.catalog-item5 {
    background: var(--primary-orange);
    background: url(../images/AZULSB.jpg)center/cover no-repeat;
    height: 200px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.catalog-item6 {
    background: var(--primary-orange);
    background: url(../images/ELBPC.jpg)center/cover no-repeat;
    height: 200px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}



.catalog-item1:hover {
    transform: translateY(-5px);
}

.catalog-item2:hover {
    transform: translateY(-5px);
}

.catalog-item3:hover {
    transform: translateY(-5px);
}

.catalog-item4:hover {
    transform: translateY(-5px);
}

.catalog-item5:hover {
    transform: translateY(-5px);
}

.catalog-item6:hover {
    transform: translateY(-5px);
}



.catalog-navigation {
    margin-bottom: 30px;
}

.nav-btn {
    background: rgba(34, 58, 44, 1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-orange);
}


.btn-ver-mas,
.btn-ver-mas-dark {
    background: rgba(177, 119, 67, 1);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-ver-mas:hover,
.btn-ver-mas-dark:hover {
    background: rgba(34, 58, 44, 1);
    transform: translateY(-2px);
}

/* La Azul Section */
.azul-section {
    background: white;
}

.azul-image {
    background: url("../images/BODEGASLAAZUL.jpg") center/cover no-repeat;
    min-height: 500px;
}

.azul-content {
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.azul-content .content-wrapper {
    color: white;
}

.azul-content .section-title-orange {
      color: white;
   font-family: "lubaline", sans-serif;
   font-size: 138px;
    font-weight: 300;
    font-style: normal;
    line-height: 100px;
     }

.azul-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
    width: 570px;
}

.VERMASBOTON {
    color: #FFFFFF;
    text-decoration: none;
}

/* Work Section */
.work-section {
    background: white;
    margin: 52px 0px 52px 0px;
}

.work-content {
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.work-content .content-wrapper {
    color: white;
}

.work-content .section-title-orange {
      color: white;
   font-family: "lubaline", sans-serif;
   font-size: 138px;
    font-weight: 300;
    font-style: normal;
    line-height: 120px;
}

.work-text {
     font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
    width: 570px;
}

.work-image {
    background: url("../images/COMOTRABAJAMOS.jpg") center/cover no-repeat;
    min-height: 500px;
}

/* Corral Section */
.corral-section {
    background: white;
    margin: 0px 0px 52px 0px;
}

.corral-image {
    background: url("../images/BODEGACORRAL.jpg") center/cover no-repeat;
    min-height: 500px;
}

.corral-content {
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.corral-content .content-wrapper {
    color: white;
}

.corral-content .section-title-orange {
       color: white;
   font-family: "lubaline", sans-serif;
   font-size: 100px;
    font-weight: 300;
    font-style: normal;
    line-height: 100px;
}

.corral-text {
     font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
    width: 570px;
}

/* Final History Section */
.final-history-section {
    background: white;
    margin: 0px 0px 100px 0px;
}

.final-history-content {
    background: var(--primary-orange);
    display: flex;
    align-items: center;
    min-height: 500px;
}

.final-history-content .content-wrapper {
    color: white;
}

.final-history-content .section-title-orange {
      color: white;
   font-family: "lubaline", sans-serif;
   font-size: 100px;
    font-weight: 300;
    font-style: normal;
    line-height: 100px;
}

.final-history-text {
     font-size: 1.1rem;
    line-height: 1.8;
    color: white;
    margin-bottom: 30px;
    width: 570px;
}

.final-history-image {
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)),
                url("../images/CALIDAD.jpg") center/cover no-repeat;
    min-height: 500px;
}

/* Footer */
.footer-blue {
    background: var(--primary-blue);
    color: white;
    padding: 60px 0 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-logo {
     background-image: url(../images/LOGO\ PAGINA.svg);
   width: 190px;
   height: 100px;
}



.footer-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin: -10px 0 0 0;
    letter-spacing: 3px;
    font-family: "lubaline-light-tile-solo", sans-serif;
    font-style: normal;
}

.footer-info {
    display: flex;
    gap: 80px;
}

.footer-section h5 {
    font-weight: 600;
    margin-bottom: 5px;
}

.footer-section p {
    font-weight: 300;
}

.ICONOYTELEFONO {
display: flex;
margin: 20px 0px 0px 0px;
}

.IMGTELEFONO {
    width: 20px;
    margin: -15px 8px 0px 0px;
}

.ICONOYCONTACTO {
    display: flex;
    margin: 20px 0px 0px 0px;
}

.IMGCONTACTO {
    width: 20px;
    margin: -15px 8px 0px 0px;
}

.footer-nav {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 768px) {


    .header-pattern {
        padding: 20px 0;
    }
    
    .logo-section {
        margin-bottom: 20px;
    }
    
    .brand-name {
        font-size: 2rem;
    }
    
    .brand-subtitle {
        font-size: 1.2rem;
    }
    
    .main-nav {
        gap: 20px;
        align-items: center;
    }
    
    .nav-item {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .welcome-section {
        height: 50vh;
    }
    
    .welcome-title {
        font-size: 2.5rem;
    }
    
    .section-title-orange {
        font-size: 2rem;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .content-wrapper {
        padding: 40px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .footer-info {
        justify-content: center;
    }
    
    .footer-nav a {
        display: block;
        margin: 10px 0;
    }


}

@media (max-width: 576px) {
    .brand-name {
        font-size: 1.8rem;
    }
    
    .brand-subtitle {
        font-size: 1rem;
    }
    
    .main-nav
    
    .welcome-section {
        height: 40vh;
    }
    
    .welcome-title {
        font-size: 4rem;
    }

    .welcome-line {
        height: 2px;
    }
    

    .history-image {
        min-height: 300px;
    }

    .history-content .section-title-orange {
        font-size: 100px;
    }

    .history-text {
        font-size: 0.875rem;
        width: fit-content;
    }

    .catalog-section {
     background-size: 100px;
   
}

    .catalog-line {
        width: 400px;
    }

    .catalog-title {
        font-size: 54px;
        line-height: 50px;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .azul-image {
        min-height: 300px;
    }

    .azul-content .section-title-orange {
        font-size: 100px;
    }

    .azul-text {
        font-size: 0.875rem;
        width: fit-content;
    }

     .work-image {
        min-height: 300px;
    }

    .work-content .section-title-orange {
        font-size: 90px;
        line-height: 68px;
    }

    .work-text {
        font-size: 0.875rem;
        width: fit-content;
    }

     .corral-image {
        min-height: 300px;
    }

    .corral-content .section-title-orange {
        font-size: 70px;
        line-height: 68px;
    }

    .corral-text {
        font-size: 0.875rem;
        width: fit-content;
    }


     .final-history-image {
        min-height: 300px;
    }

    .final-history-content .section-title-orange {
        font-size: 70px;
        line-height: 68px;
    }

    .final-history-text {
        font-size: 0.875rem;
        width: fit-content;
    }

    .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 20px;
    }

}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}