/* MOXZ Website Styles */
:root {
    --primary-color: #CF0D65;
    --secondary-color: #002F53;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
}

/* Remove all default margins from images */
img {
    display: block;
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Article Section Styles */
.article-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.main-article {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-top: 4px solid var(--primary-color);
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--gray-light);
}

.article-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.article-lead {
    font-size: 1.25rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.article-content {
    line-height: 1.8;
}

.article-content h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 30px 0 15px 0;
    font-weight: 600;
    position: relative;
    padding-left: 20px;
}

.article-content h3:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: var(--primary-color);
    border-radius: 2px;
}

.article-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--gray-dark);
    text-align: justify;
}

.article-cta {
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), #e91e63);
    border-radius: 8px;
    text-align: center;
    color: var(--white);
}

.article-cta p {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.article-cta .btn {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    font-weight: 600;
    padding: 15px 30px;
    font-size: 1.1rem;
    transition: var(--transition);
}

.article-cta .btn:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-section {
        padding: 40px 0;
    }
    
    .main-article {
        padding: 25px;
        margin: 0 10px;
    }
    
    .article-header h2 {
        font-size: 2rem;
    }
    
    .article-lead {
        font-size: 1.1rem;
    }
    
    .article-content h3 {
        font-size: 1.3rem;
    }
    
    .article-content p {
        font-size: 1rem;
        text-align: left;
    }
    
    .article-cta {
        padding: 20px;
        margin: 0 -10px;
    }
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 3px solid var(--primary-color);
    z-index: 1000;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    height: 70px;
    width: 100%;
}

.logo img {
    height: 50px;
    width: auto;
}

.navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
    margin-left: 460px;
}

.nav-link {
    text-decoration: none;
    color: var(--gray-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--gray-dark);
    margin: 3px 0;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-overlay ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-menu-overlay li {
    margin-bottom: 20px;
}

.mobile-menu-overlay a {
    display: block;
    padding: 15px;
    text-decoration: none;
    color: var(--gray-dark);
    font-size: 18px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.mobile-menu-overlay a:hover {
    color: var(--primary-color);
    background: var(--gray-light);
}

.mobile-menu-overlay .nav-item-dropdown {
    margin: 20px 0;
}

.mobile-menu-overlay .lang-dropdown-btn {
    width: 100%;
    justify-content: center;
    padding: 10px;
}

/* Slider Styles */
.slider-section {
    position: relative;
    overflow: hidden;
    height: 85vh;
    min-height: 600px;
}

.slider-container {
    position: relative;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: calc(100% + 100px);
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Remove any inline spacing */
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
}

.slide-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 3;
}

.slider-prev,
.slider-next {
    background: rgba(255,255,255,0.8);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--white);
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #a00a50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207,13,101,0.3);
}

.btn-secondary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #a00a50;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(207,13,101,0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Sections */
section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--primary-color);
}

/* Products Grid */
.products-section {
    background: var(--gray-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.product-card {
    background: var(--white);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    aspect-ratio: 1 / 1;
    position: relative;
    border: 1px solid #eee;
}

.product-card:hover {
    transform: none;
}

.product-image {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.product-card:hover .product-content {
    transform: translateY(0);
}

.product-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.product-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.product-content .btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Info Card */
.info-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
}

.info-content {
    text-align: center;
    padding: 2rem;
}

.info-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-content h3 {
    margin-bottom: 1rem;
}

.info-content .btn-outline {
    color: var(--white);
    border-color: var(--white);
}

.info-content .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* How it works */
.how-it-works {
    background: var(--white);
}

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

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

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

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

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

body.menu-open .mobile-menu {
    transform: translateY(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 1rem 0;
}

.mobile-menu li {
    border-bottom: 1px solid var(--gray-light);
}

.mobile-menu a {
    display: block;
    padding: 1rem 2rem;
    text-decoration: none;
    color: var(--gray-dark);
    transition: var(--transition);
}

.mobile-menu a:hover {
    background: var(--gray-light);
    color: var(--primary-color);
}

/* Header scrolled state */
.header.scrolled {
    padding: 0.5rem 0;
}

/* Responsive - ALLEEN voor mobiel */
@media (max-width: 768px) {
    /* Header mobile */
    .header .container {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Hide desktop navigation */
    .navigation ul {
        display: none !important;
    }
    
    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Navigation mobile layout */
    .navigation {
        justify-content: flex-end;
        margin-left: 0 !important; /* Reset margin on mobile */
    }
    
    /* Slider mobile */
    .slider-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
    
    /* Products mobile */
    .section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        max-width: 100%;
    }
    
    /* Steps mobile */
    .steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Footer mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
    
    /* Container mobile */
    .container {
        padding: 0 15px;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .navigation ul {
        gap: 5px;
    }
    
    .nav-link {
        font-size: 12px;
        padding: 4px 6px;
    }
    
    .slide-content h1 {
        font-size: 1.2rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

/* Language Switcher Styles */
.language-switcher-inline {
    display: inline-flex;
    gap: 8px;
    margin-left: 20px;
    align-items: center;
}

.language-switcher-inline .lang-flag {
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    border-radius: 3px;
    overflow: hidden;
    display: inline-block;
}

.language-switcher-inline .lang-flag img {
    width: 30px;
    height: 20px;
    display: block;
    border-radius: 3px;
}

.language-switcher-inline .lang-flag:hover {
    opacity: 1;
    transform: scale(1.1);
}

.language-switcher-inline .lang-flag.active {
    opacity: 1;
    border-color: #007bff;
}

/* Fix navigation layout */
.navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
    align-items: center;
}

/* Language Dropdown Styles */
.lang-dropdown-wrapper {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.lang-dropdown-btn {
    background: white;
    border: 1px solid #ddd;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.lang-dropdown-btn:hover {
    background-color: #f5f5f5;
    border-color: #ccc;
}

.lang-dropdown-btn img {
    width: 25px;
    height: 17px;
    border-radius: 2px;
}

.lang-dropdown-arrow {
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
}

.lang-dropdown-wrapper:hover .lang-dropdown-arrow {
    transform: rotate(180deg);
}

.lang-dropdown-content {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 150px;
    margin-top: 5px;
    z-index: 1000;
}

.lang-dropdown-wrapper:hover .lang-dropdown-content {
    display: block !important;
}

/* Fix navigation layout */
.navigation {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 1;
    flex-wrap: nowrap !important;
    margin-left: 360px;
}

.navigation > ul {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
    align-items: center;
    flex-wrap: nowrap !important;
}

.header .container {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Ensure dropdown stays inline */
.navigation > div {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0;
}

/* Language Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

.lang-dropdown-btn {
    background: rgb(255, 255, 255);
    border: 1px solid rgb(221, 221, 221);
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 1;
    font-size: 12px;
}

.lang-dropdown-btn img {
    width: 20px;
    height: 14px;
    vertical-align: middle;
}

.lang-dropdown-arrow {
    margin-left: 5px;
    font-size: 10px;
}

.lang-dropdown-content {
    display: none !important;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    min-width: 120px;
    margin-top: 5px;
    z-index: 10000; /* High z-index to ensure it's on top */
}

/* Show dropdown on hover as fallback */
.nav-item-dropdown:hover .lang-dropdown-content {
    display: block !important;
}

/* Also show on focus for accessibility */
.lang-dropdown-btn:focus + .lang-dropdown-content,
.lang-dropdown-content:hover {
    display: block !important;
}

.lang-dropdown-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
    font-size: 12px;
    transition: background 0.2s;
}

.lang-dropdown-link:hover {
    background: #f5f5f5;
}

.lang-dropdown-link img {
    width: 20px;
    height: 14px;
}

.lang-dropdown-link span {
    line-height: 1;
}

.lang-dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s ease;
}

.lang-dropdown-link:hover {
    background-color: #f5f5f5;
}

.lang-dropdown-link img {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

.lang-dropdown-link span {
    font-size: 14px;
}

/* Show dropdown when active class is added by JavaScript */
.nav-item-dropdown.active .lang-dropdown-content {
    display: block !important;
}

/* Ensure dropdown button is clickable */
.lang-dropdown-btn:focus {
    outline: 2px solid #CF0D65;
    outline-offset: 2px;
}

/* Fix for mobile/touch devices */
@media (pointer: coarse) {
    .nav-item-dropdown:hover .lang-dropdown-content {
        display: none !important;
    }
    
    .nav-item-dropdown.active .lang-dropdown-content {
        display: block !important;
    }
}
}