/* CSS Variables - Color Schema */
:root {
    --patagonian-navy: #1a365d;
    --glacier-blue: #2c5282;
    --mountain-charcoal: #1a202c;
    --alpine-white: #ffffff;
    
    /* Typography */
    --font-headings: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    
    /* Spacing */
    --container-max-width: 1200px;
    --section-padding: 80px 0;
    --mobile-section-padding: 60px 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--mountain-charcoal);
    background-color: var(--alpine-white);
    line-height: 1.6;
    font-size: 16px;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    color: var(--patagonian-navy);
}

h2 {
    font-size: 2.5rem;
    color: var(--patagonian-navy);
}

h3 {
    font-size: 1.8rem;
    color: var(--glacier-blue);
}

h4 {
    font-size: 1.4rem;
    color: var(--glacier-blue);
}

p {
    margin-bottom: 1rem;
    color: var(--mountain-charcoal);
}

/* Navigation */
.navbar {
    background-color: var(--patagonian-navy);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(26, 54, 93, 0.1);
}

.nav-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h2 {
    color: var(--alpine-white);
    font-size: 1.5rem;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--alpine-white);
    text-decoration: none;
    font-family: var(--font-headings);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--glacier-blue);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--alpine-white);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--patagonian-navy) 0%, var(--glacier-blue) 100%);
    color: var(--alpine-white);
    padding: var(--section-padding);
    text-align: center;
}

.hero-content h1 {
    color: var(--alpine-white);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--alpine-white);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background-color: #f8f9fa;
}

.filter-container {
    text-align: center;
}

.filter-container h3 {
    margin-bottom: 2rem;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background-color: var(--alpine-white);
    border: 2px solid var(--glacier-blue);
    color: var(--glacier-blue);
    font-family: var(--font-headings);
    font-weight: 600;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--glacier-blue);
    color: var(--alpine-white);
}

/* Products Section */
.products-section {
    padding: var(--section-padding);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background-color: var(--alpine-white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(26, 54, 93, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(26, 54, 93, 0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background-color: var(--glacier-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--alpine-white);
    font-size: 3rem;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    color: var(--patagonian-navy);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.product-category {
    color: var(--glacier-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.product-description {
    color: var(--mountain-charcoal);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--patagonian-navy);
    margin-bottom: 1rem;
}

.product-button {
    background-color: var(--patagonian-navy);
    color: var(--alpine-white);
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    font-family: var(--font-headings);
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s ease;
}

.product-button:hover {
    background-color: var(--glacier-blue);
}

/* CTA Section */
.cta-section {
    background-color: var(--patagonian-navy);
    color: var(--alpine-white);
    padding: var(--section-padding);
    text-align: center;
}

.cta-content h2 {
    color: var(--alpine-white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--alpine-white);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: var(--glacier-blue);
    color: var(--alpine-white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #2a4f7a;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background-color: var(--mountain-charcoal);
    color: var(--alpine-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--alpine-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--glacier-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--patagonian-navy);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-section {
        padding: var(--mobile-section-padding);
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .products-section {
        padding: var(--mobile-section-padding);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .cta-section {
        padding: var(--mobile-section-padding);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
    
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .product-content {
        padding: 1rem;
    }
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mb-1 {
    margin-bottom: 1rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-icon {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(37, 211, 102, 0.7);
    }
}