:root {
    --color-primary-dark: #46518C;
    --color-primary: #5080BF;
    --color-secondary: #50BFBF;
    --color-accent: #4EBF6B;
    --color-dark: #0D0D0D;
    --color-light: #ffffff;
    --color-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-dark);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: var(--color-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-primary-dark);
    font-weight: 600;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--color-secondary);
}

.lang-selector select {
    padding: 0.5rem;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    color: var(--color-primary-dark);
    outline: none;
    background-color: transparent;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-secondary) 100%);
    color: var(--color-light);
    padding: 120px 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-light);
    box-shadow: 0 4px 15px rgba(78, 191, 107, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 13, 13, 0.4);
}

/* Products */
.products {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    color: var(--color-primary-dark);
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

/* Featured Product & Badges */
.badge-new {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #FF4B2B, #FF416C);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.4);
    z-index: 10;
    letter-spacing: 0.5px;
}

.product-card.featured {
    border: 2px solid var(--color-secondary);
    position: relative;
    transform: scale(1.02);
    box-shadow: 0 15px 35px rgba(80, 191, 191, 0.15);
}

.product-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(80, 191, 191, 0.2);
    pointer-events: none;
}

.product-card.featured:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 20px 45px rgba(80, 191, 191, 0.25);
}

.product-card {
    background: var(--color-light);
    border-radius: 10px;
    padding: 2.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 4px solid var(--color-primary);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.product-card p {
    color: var(--color-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    text-align: center;
    padding: 30px 0;
    margin-top: auto;
}

footer p {
    opacity: 0.8;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--color-primary-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Responsive */
@media (max-width: 768px) {
    .navbar .container {
        position: relative;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--color-light);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition);
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li a {
        font-size: 1.5rem;
    }

    .lang-selector {
        order: 2;
        margin-right: 15px;
        margin-left: auto;
    }

    .menu-toggle {
        display: flex;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    /* Animation for hamburger to X */
    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

.whatsapp-float svg {
    width: 35px;
    height: 35px;
    fill: currentColor;
}

/* WhatsApp Modal */
.wa-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.wa-modal.show {
    display: flex;
}

.wa-modal-content {
    background-color: var(--color-light);
    padding: 2.5rem;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.wa-close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #999;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.wa-close-modal:hover {
    color: var(--color-dark);
}

.wa-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Lightbox Styles */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox-modal.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 85%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.8);
    background-color: #000;
}

.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}


.lightbox-close:hover {
    color: var(--color-secondary);
    transform: rotate(90deg);
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 50px;
    font-weight: 200;
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    z-index: 3100;
}

.lightbox-arrow:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--color-secondary);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

@media (max-width: 768px) {
    .lightbox-arrow {
        width: 45px;
        height: 45px;
        font-size: 30px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
}

.gallery-grid img {
    cursor: pointer;
    transition: var(--transition);
}

.gallery-grid img:hover {
    filter: brightness(1.1);
}