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

/* Font Face */
@font-face {
    font-family: 'Garet';
    src: url('../font-garet/Garet-Book.woff2') format('woff2'),
         url('../font-garet/Garet-Book.woff') format('woff'),
         url('../font-garet/Garet-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: 'Garet', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    font-weight: normal;
    padding-top: 100px; /* Espacio para la navbar fixed */
}

/* Top Navigation Bar */
.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: #F5F1E8;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
}

.navbar-flags-decorative {
    display: flex;
    align-items: center;
    gap: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.navbar-flags-decorative img {
    width: 55px;
    height: auto;
}

.navbar-lang {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-lang a {
    font-size: 1rem;
    font-weight: 500;
    color: #5C4033;
    text-decoration: none;
    letter-spacing: 1px;
    transition: opacity 0.3s ease;
}

.navbar-lang a:hover {
    opacity: 0.7;
}

.navbar-lang a.active {
    font-weight: 700;
}

.lang-separator {
    color: rgba(92, 64, 51, 0.4);
    font-weight: 300;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

/* Animaciones de entrada */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
                url('../images/hero1.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 8rem;
    font-weight: bold;
    letter-spacing: 40px;
    color: #FFFFFF;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.hero-line {
    width: 400px;
    height: 1px;
    background: #FFFFFF;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #FFFFFF;
    margin-top: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Hero flags removed - now in top navbar */

/* Why Section */
.why-section {
    background: #F5F1E8;
    padding: 80px 60px;
}

.why-section h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: #1a1a1a;
    font-weight: 600;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 80px;
    max-width: 1400px;
    margin: 0 auto;
}

.why-item {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.why-icon {
    flex-shrink: 0;
}

.why-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.why-item h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4a4a4a;
}

/* Pillars Section */
.pillars-section {
    background: #9B7C68;
    padding: 0;
}

.pillars-image {
    height: 200px;
    background: url('../images/adonorno1.png') center/cover;
}

.pillars-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 80px 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.pillar-card {
    background: #FFFFFF;
    padding: 50px 40px;
    text-align: center;
    border-radius: 0;
}

.pillar-icon {
    margin-bottom: 25px;
}

.pillar-icon img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

.pillar-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4a4a4a;
}

.pillars-decorative-images {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #F5F1E8;
}

.decorative-row {
    width: 100%;
    display: flex;
}

.decorative-row-left {
    justify-content: flex-start;
}

.decorative-row-right {
    justify-content: flex-end;
}

.decorative-image {
    width: 60%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.decorative-chips {
    background-image: url('../images/imagen3.png');
}

.decorative-powder {
    background-image: url('../images/imagen4.png');
}

/* Products Section */
.products-section {
    background: #F5F1E8;
    padding: 80px 60px;
}

/* Desktop version visible by default, mobile hidden */
.products-desktop {
    display: block;
}

.products-mobile {
    display: none;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 400px;
    margin: 0 auto;
}

.products-mobile .products-title {
    margin-bottom: 40px;
}

.products-mobile .product-card-horizontal {
    flex-direction: column;
    text-align: center;
    gap: 15px;
}

.products-mobile .product-image {
    width: 100%;
    max-width: 320px;
    height: 250px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    max-width: 1600px;
    margin: 0 auto;
    align-items: center;
}

.products-column-left,
.products-column-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.product-card-horizontal {
    display: flex;
    align-items: center;
    gap: 20px;
}

.product-card-reverse {
    flex-direction: row-reverse;
}

.product-image {
    width: 280px;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    flex-shrink: 0;
}

.product-g1 {
    background-image: url('../images/imagen5.png');
}

.product-g2 {
    background-image: url('../images/imagen6.png');
}

.product-g3 {
    background-image: url('../images/imagen7.png');
}

.product-g5 {
    background-image: url('../images/imagen8.png');
}

.products-title {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 60px;
}

.products-title h2 {
    font-size: 4rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    letter-spacing: 4px;
    line-height: 1.3;
}

.product-info {
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 10px;
    min-width: 180px;
}

.product-info h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 3px;
}

.product-info .mesh {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.product-info .size {
    font-size: 0.9rem;
    color: #4a4a4a;
}

/* Packaging Section */
.packaging-section {
    background: #F5F1E8;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.packaging-content {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 50px;
}

.packaging-icon {
    flex-shrink: 0;
}

.packaging-icon img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.packaging-section h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 2px;
    margin: 0;
}

.qr-code {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
    align-items: center;
    justify-content: center;
}

.qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Download Button */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 35px;
    background-color: #5C4033;
    color: #F5F1E8;
    border: 2px solid #5C4033;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.3);
}

.btn-download:hover {
    background-color: #F5F1E8;
    color: #5C4033;
    border-color: #5C4033;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(92, 64, 51, 0.4);
}

.btn-download:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(92, 64, 51, 0.3);
}

.btn-download svg {
    transition: transform 0.3s ease;
}

.btn-download:hover svg {
    transform: scale(1.1);
}

/* Footer */
.footer {
    background: #3D3D3D;
    color: #FFFFFF;
    padding: 60px 60px 40px;
}

.footer-content {
    display: flex;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-logo {
    flex: 1;
    background-image: url('../images/logo_footer.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: invert(1);
    min-height: 200px;
}

.footer-logo h3 {
    font-size: 2.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.2;
}

.footer-logo img {
    width: 300px;
    height: 300px;
    object-fit: contain;
    filter: invert(1);
}

.footer-info {
    flex: 1;
    padding-left: 60px;
}

.footer-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.footer-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    margin-top: 20px;
}

.footer-info p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #ccc;
}

/* Responsive */

/* Prevent horizontal overflow */
html, body {
    overflow-x: hidden;
}

@media (max-width: 1200px) {
    /* Switch to mobile version of products */
    .products-desktop {
        display: none;
    }
    
    .products-mobile {
        display: block;
    }
    
    .hero-content h1 {
        font-size: 5rem;
        letter-spacing: 20px;
    }
    
    .top-navbar {
        padding: 0 30px;
        height: 90px;
    }
    
    .navbar-logo img {
        height: 100px;
    }
    
    .navbar-flags-decorative img {
        width: 40px;
    }
    
    .navbar-flags-decorative {
        gap: 12px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .pillars-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .products-title {
        padding: 0 20px;
    }
    
    .products-title h2 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    .top-navbar {
        height: 80px;
        padding: 0 15px;
    }
    
    .navbar-logo img {
        height: 70px;
    }
    
    .navbar-flags {
        gap: 0;
    }
    
    .navbar-flags-decorative {
        gap: 8px;
    }
    
    .navbar-flags-decorative img {
        width: 30px;
    }
    
    .navbar-lang {
        gap: 8px;
    }
    
    .navbar-lang a {
        font-size: 0.85rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
        letter-spacing: 5px;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-line {
        width: 200px;
    }
    
    .why-section {
        padding: 50px 20px;
    }
    
    .why-section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
        word-break: break-word;
        hyphens: auto;
    }
    
    .why-grid {
        gap: 40px;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .why-icon img {
        width: 60px;
        height: 60px;
    }
    
    .why-item h3 {
        font-size: 1rem;
    }
    
    .why-item p {
        font-size: 0.9rem;
    }
    
    .pillars-content {
        padding: 60px 20px;
    }
    
    .pillar-card {
        padding: 40px 25px;
    }
    
    .pillar-icon img {
        width: 100px;
        height: 100px;
    }
    
    .pillar-card h3 {
        font-size: 1.3rem;
    }
    
    .pillar-card p {
        font-size: 0.9rem;
    }
    
    .decorative-image {
        width: 100%;
        height: 180px;
    }
    
    .products-section {
        padding: 50px 20px;
    }
    
    .products-grid {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    
    .products-column-left,
    .products-column-right {
        gap: 30px;
    }
    
    .products-title {
        order: -1;
        padding: 0;
        margin-bottom: 20px;
    }
    
    .products-title h2 {
        font-size: 2rem;
        letter-spacing: 2px;
        word-break: break-word;
    }
    
    .product-card-horizontal {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .product-image {
        width: 100%;
        max-width: 320px;
        height: 250px;
    }
    
    .product-info h4 {
        font-size: 1.5rem;
    }
    
    .product-info .mesh {
        font-size: 0.95rem;
    }
    
    .product-info .size {
        font-size: 0.85rem;
    }
    
    .packaging-section {
        padding: 50px 20px;
    }
    
    .packaging-content {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .packaging-icon img {
        width: 80px;
        height: 80px;
    }
    
    .packaging-section h2 {
        font-size: 1.5rem;
        text-align: center;
        word-break: break-word;
    }
    
    .qr-code {
        width: 200px;
        height: 200px;
    }
    
    .footer {
        padding: 40px 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-logo {
        min-height: 150px;
        border-right: none;
        padding-bottom: 30px;
        border-bottom: 1px solid #666;
    }
    
    .footer-info {
        padding-left: 0;
    }
    
    .footer-info h4 {
        font-size: 1.2rem;
    }
    
    .footer-info p {
        font-size: 0.9rem;
    }
}
