:root {
    --primary-color: #0032A0;
    --text-dark: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --GlobalFontFamilySemiBold: "Montserrat", sans-serif;
    --GlobalTextColor: #223341;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
header {
    background: var(--white);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0;
    border-bottom: 1px solid #eee;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.header-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    position: absolute;
    right: 40px;
    top: 10px;
    z-index: 1001;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
}

.lang-selector img {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.search-icon {
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 50px;
    height: 90px;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 25px;
    height: 100%;
    align-items: stretch;
}

.nav-links li {
    display: flex;
    align-items: stretch;
}

.nav-item-dropdown {
    position: static;
}

.nav-links a {
    font-family: var(--GlobalFontFamilySemiBold, "Montserrat");
    font-size: 17px;
    font-weight: 600;
    color: var(--GlobalTextColor, #223341);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 0 5px;
    border-bottom: 3px solid transparent;
    margin-bottom: -1px;
}

.nav-links a:hover,
.nav-item-dropdown:hover>a {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid #eee;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px 0;
    z-index: 999;

    /* Animation Properties: Slower sheet-like folding using clip-path */
    opacity: 0;
    visibility: hidden;
    clip-path: inset(0 0 100% 0);
    /* Hidden at the top */
    /* Transition for closing: background folds up slowly after content fades out */
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s,
        opacity 0.6s ease 0.3s,
        visibility 0s linear 1.1s;
    pointer-events: none;
}

.mega-menu-container {
    opacity: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    /* Transition for closing: content fades out first */
    transition: opacity 0.4s ease 0s;
}

.mega-menu::before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.nav-item-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    clip-path: inset(0 0 0 0);
    /* Fully visible */
    /* Transition for opening: background unfolds slowly first */
    transition: clip-path 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0s,
        opacity 0.6s ease 0s,
        visibility 0s linear 0s;
    pointer-events: auto;
}

.nav-item-dropdown:hover .mega-menu-container {
    opacity: 1;
    /* Transition for opening: content fades in slowly after background is partially open */
    transition: opacity 0.6s ease 0.5s;
}

.mega-menu-col {
    position: relative;
}

.mega-menu-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    top: 0;
    height: 100%;
    width: 1px;
    background: #eee;
}

.mega-menu-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: #6c757d;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.mega-menu-col ul li {
    margin-bottom: 12px;
}

.mega-menu-col ul li a {
    font-size: 15px;
    font-weight: 400;
    color: #444;
    border-bottom: none !important;
    padding: 0 !important;
}

.mega-menu-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.mega-menu-footer {
    max-width: 1400px;
    margin: 30px auto 0;
    padding: 20px 20px 0;
}

.all-products-link {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-bottom: none !important;
}

/* Slider Section */
.slider-section {
    margin-top: 90px;
    /* Matches header height exactly */
    width: 100%;
    height: auto;
    overflow: hidden;
}

.slider-section img {
    width: 100%;
    height: auto;
    display: block;
}

/* Hero Section */
.hero {
    margin-top: 50px;
    height: 500px;
    background: #f2f2f2;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-dna {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1920&q=80') no-repeat right center;
    background-size: contain;
    opacity: 0.15;
    z-index: 1;
}

.hero-woman {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 35%;
    background: url('https://images.unsplash.com/photo-1596755094514-f87e34085b2c?auto=format&fit=crop&w=800&q=80') no-repeat center center;
    background-size: cover;
    z-index: 2;
}

.hero-content-wrapper {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-text-area {
    text-align: center;
    max-width: 700px;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    color: #444;
    margin-bottom: 10px;
}

.hero-title strong {
    font-weight: 800;
}

.hero-subtitle {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.btn-keşfet {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 12px 35px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 4;
}

.hero-product {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    height: 85%;
    z-index: 4;
}

.nouveau-tag {
    position: absolute;
    right: 120px;
    top: 100px;
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    font-weight: 700;
    font-size: 18px;
    z-index: 5;
}

.hero-disclaimer {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 11px;
    color: #888;
    z-index: 5;
}

/* Products Section */
.section {
    padding: 80px 0;
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #223341;
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background: #eee;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.product-card {
    background: var(--white);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    padding: 24px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 50, 160, 0.1);
    border-color: rgba(0, 50, 160, 0.1);
}

.product-img-wrapper {
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    transition: all 0.4s ease;
    border: 1px solid #f5f5f5;
}

.product-card:hover .product-img-wrapper {
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-color: rgba(0, 50, 160, 0.05);
}

.product-img-wrapper img {
    max-height: 80%;
    max-width: 80%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.05));
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.1);
}

.product-tag {
    background: rgba(0, 50, 160, 0.05);
    color: var(--primary-color);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    display: inline-block;
    margin-bottom: 16px;
    align-self: flex-start;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.product-card:hover .product-tag {
    background: var(--primary-color);
    color: var(--white);
}

.product-series {
    font-size: 12px;
    font-weight: 500;
    color: #9ca3af;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    font-size: 19px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    line-height: 1.4;
    height: 54px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-volume {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 24px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.product-rating i {
    color: #fbbf24;
    font-size: 12px;
}

.product-rating .review-count {
    color: #9ca3af;
    font-size: 13px;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #888;
}