/* 
    NİKS GRUP - Premium Redesign
    Design tokens and modern styling system
*/

:root {
    /* Brand Colors */
    --primary: #cdc52b;
    /* Niks Green-Yellow */
    --primary-rgb: 205, 197, 43;
    --secondary: #48484a;
    /* Niks Charcoal */
    --secondary-rgb: 72, 72, 74;

    /* Neutral Palette */
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-text: #1a1a1c;
    --gray-text: #666668;
    --border: rgba(0, 0, 0, 0.08);

    /* Midnight Gold Palette */
    --midnight: #0a0a0b;
    --gold: #d4af37;
    --gold-light: #f1d592;

    /* Effects */
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.12);

    /* Spacing */
    --container: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

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

.container-sm {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 900px) {

    .grid-2,
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

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

.section-tag {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.highlight {
    background: linear-gradient(to right, #fbf5b7, #d4af37, #b8860b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* Header & Navbar */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--white);
    /* White for NİKS */
}

.logo-subtext {
    font-weight: 400;
    color: var(--primary);
    /* Gold for GRUP */
}

/* Scrolled state */
header.scrolled .logo {
    color: #48484a;
    /* Back to charcoal when scrolled */
}

header:not(.scrolled) .logo {
    color: #fff;
}

/* Navbar Elements */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

#main-nav ul {
    display: flex;
    gap: 3rem;
}

header nav ul a {
    font-weight: 500;
    color: var(--white);
}

header.scrolled nav ul a {
    color: var(--secondary);
}

nav ul a:hover {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: flex-start;
    /* Move from center to top */
    padding-top: 15rem;
    /* Shifting content further down */
    position: relative;
    padding-bottom: 0;
    color: var(--white);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* Faded black overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
}

.hero h1 {
    font-size: 5rem;
    /* Slightly smaller for better fit */
    margin-bottom: 1.5rem;
    line-height: 1.05;
    font-weight: 800;
    max-width: 650px;
    /* Narrower to clear the background logo */
    margin-left: 0;
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 3.5rem;
    max-width: 600px;
    /* Restrict subtext width */
    opacity: 0.95;
    line-height: 1.5;
    margin-left: 0;
}

/* Ensure Hero Visibility regardless of animation */
.hero .fade-in {
    opacity: 1;
    transform: none;
}

/* --- Responsive Media Queries --- */

/* Tablet & Smaller (768px) */
@media (max-width: 768px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    #main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--dark-bg);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    #main-nav.active {
        right: 0;
    }

    #main-nav ul {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    #main-nav ul li a {
        font-size: 1.8rem;
        color: var(--white);
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        z-index: 1000;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 2px;
        background: var(--primary);
        transition: 0.3s;
    }

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

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

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

    /* Hide desktop button in navbar if needed, or keep for mobile CTA */
    .nav-actions .btn.sm {
        display: none;
    }

    /* Grids to 1 Column */
    .about-body,
    .product-grid,
    .sus-grid,
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .hero p {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    section {
        padding: 5rem 0;
    }

    /* About Section Contrast Fix */
    .about {
        padding: 6rem 0;
    }

    .about-content-wrapper {
        background: rgba(0, 0, 0, 0.6);
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
        backdrop-filter: blur(8px);
        margin: 0 1rem;
    }

    .about-content-wrapper h2 {
        color: #fff;
    }

    .about-paragraphs p {
        color: rgba(255, 255, 255, 0.9) !important;
        font-size: 1rem;
    }

    .vm-card {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* Mobile Small (480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .mascot-container {
        width: 55px;
        height: 55px;
        bottom: 10px;
        right: 10px;
    }
}

/* Stats */
.stats {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

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

.stat-number-wrap {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-number {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 800;
}

.plus {
    font-size: 2.5rem;
    font-weight: 700;
    margin-left: 2px;
}

.stat-label {
    opacity: 0.8;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    font-weight: 600;
}

/* About Section - Full Background Version */
.about {
    position: relative;
    background: url('assets/Arkaplan1.jpg') no-repeat center right / cover;
    padding: 10rem 0;
    overflow: hidden;
}

.about-content-wrapper {
    max-width: 600px;
    z-index: 2;
    position: relative;
    margin-left: 0;
    /* Explicitly far left */
}

.about-body {
    margin-top: 3rem;
}

.about-paragraphs p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray-text);
}

.vission-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1000px;
}

.vm-card {
    padding: 3rem;
    background: rgba(10, 10, 11, 0.85);
    /* Darker background for contrast */
    border-radius: 40px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    backdrop-filter: blur(20px);
    transition: 0.3s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.vm-card:hover {
    transform: translateY(-8px);
    background: rgba(10, 10, 11, 0.95);
    border-color: var(--primary);
}

.vm-card h3 {
    font-size: 1.4rem;
    /* Larger title */
    color: var(--primary);
    margin-bottom: 1rem;
}

.vm-card p {
    font-size: 1.1rem;
    color: #eee;
    /* Brighter text */
    line-height: 1.8;
}

.image-stack {
    position: relative;
    height: 500px;
}

/* Old image styles removed as we now use a section background */

/* Product Gallery (Black Background Version) */
.products-gallery {
    background: #000;
    padding: 10rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.product-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: 0.4s ease;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-img {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    overflow: hidden;
    border-radius: 8px;
}

.product-img img {
    max-height: 100%;
    object-fit: contain;
}

.product-info h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-info p {
    font-size: 0.9rem;
    color: var(--gray-text);
}

.link {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Sustainability Section - Premium Upgrade */
.sustainability {
    position: relative;
    background: url('assets/Arkaplan1.jpg') no-repeat center / cover;
    /* Using Arkaplan1 for consistency */
    padding: 12rem 0;
    overflow: hidden;
}

.sustainability::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.sus-main-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(205, 197, 43, 0.2);
    padding: 5rem 4rem;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.sus-header {
    max-width: 700px;
    margin: 0 auto 5rem;
}

.sus-header h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.sus-intro {
    color: var(--gray-text);
    font-size: 1.15rem;
    line-height: 1.8;
}

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

.sus-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.sus-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(205, 197, 43, 0.5);
    transform: translateY(-10px);
}

.sus-icon {
    width: 70px;
    height: 70px;
    background: rgba(205, 197, 43, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(205, 197, 43, 0.3);
    transition: 0.4s;
}

.sus-item:hover .sus-icon {
    background: var(--primary);
    color: #000;
    transform: scale(1.1) rotate(10deg);
}

.sus-icon svg {
    width: 30px;
    height: 30px;
}

.sus-item h4 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sus-item p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .sus-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .sus-main-card {
        padding: 3rem 1.5rem;
    }
}

/* Instagram Mosaic Grid */
.insta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    gap: 1.5rem;
}

.insta-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: 0.5s ease;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.insta-item:hover img {
    transform: scale(1.1);
}

.insta-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
}

.insta-item:nth-child(2) {
    grid-column: span 1;
    grid-row: span 1;
}

.insta-item:nth-child(3) {
    grid-column: span 1;
    grid-row: span 2;
}

.insta-item:nth-child(4) {
    grid-column: span 1;
    grid-row: span 1;
}

.insta-item:nth-child(5) {
    grid-column: span 1;
    grid-row: span 1;
}

.insta-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
}

.insta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s ease;
    color: #fff;
    font-weight: 600;
}

.insta-item:hover .insta-overlay {
    opacity: 1;
}

/* Floating Mascot */
.mascot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    cursor: pointer;
    transition: 0.3s ease;
}

.mascot-img {
    width: 60px;
    /* Small Mascot */
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mascot-container:hover .mascot-img {
    transform: scale(1.1);
}

.mascot-bubble {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #1a1a1c;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 1;
    /* Always visible or hover-only? User said 'kafasında yazsın' */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mascot-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid #fff;
}

/* Show popup on mascot hover - using JS for better control but CSS for basics */
.contact-popup {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 320px;
    background: #1a1a1c;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    visibility: hidden;
    pointer-events: none;
}

.contact-popup.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: all;
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.popup-header h3 {
    font-size: 1.2rem;
    color: var(--primary);
}

.close-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.close-btn:hover {
    opacity: 1;
    color: var(--primary);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--primary);
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.contact-form-popup input,
.contact-form-popup textarea {
    width: 100%;
    padding: 0.8rem;
    background: #252528;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 0.9rem;
}

.contact-form-popup input:focus,
.contact-form-popup textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.w-100 {
    width: 100%;
}

/* Contact Section - Full Modernization */
.contact {
    position: relative;
    background: url('assets/products/Arkplan%20son%20sayfa.png') no-repeat center / cover;
    padding: 12rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85));
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
}

.contact-header {
    margin-bottom: 5rem;
}

.contact-header h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.contact-header p {
    color: var(--gray-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(205, 197, 43, 0.2);
    padding: 3.5rem 2rem;
    border-radius: 30px;
    text-align: center;
    transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background: rgba(205, 197, 43, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    border: 1px solid rgba(205, 197, 43, 0.3);
    transition: 0.4s;
}

.contact-card:hover .contact-icon {
    background: var(--primary);
    color: #1a1a1c;
    transform: scale(1.1);
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.contact-card h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.contact-card p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact {
        padding: 8rem 0;
    }
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: #1a1a1c;
    /* Dark text for gold button */
    border: none;
}

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

.btn-outline:hover {
    background: var(--white);
    color: #1a1a1c;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease-out forwards;
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.animated .fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Modern Language Switcher */
.lang-switcher-wrap {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 10002;
    font-family: 'Inter', sans-serif;
}

.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(205, 197, 43, 0.3);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
}

.lang-toggle-btn:hover {
    background: rgba(205, 197, 43, 0.1);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.lang-dropdown {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 0;
    width: 250px;
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(205, 197, 43, 0.2);
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lang-dropdown.active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.lang-search {
    margin-bottom: 0.8rem;
}

.lang-search input {
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-size: 0.85rem;
    outline: none;
    transition: 0.3s;
}

.lang-search input:focus {
    border-color: var(--primary);
    background: rgba(205, 197, 43, 0.05);
}

.lang-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 5px;
}

.lang-list::-webkit-scrollbar {
    width: 4px;
}

.lang-list::-webkit-scrollbar-thumb {
    background: rgba(205, 197, 43, 0.3);
    border-radius: 10px;
}

.lang-list li {
    padding: 0.7rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: 0.2s;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.lang-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
}

.lang-list li .flag {
    font-size: 1.1rem;
}

/* E-Catalog Section */
.catalog-section {
    background: #0a0a0b;
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
}

.catalog-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.catalog-card-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    background: transparent;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-card-wrapper:hover {
    transform: translateY(-10px) scale(1.01);
}

.catalog-cover-img {
    width: 100%;
    height: auto;
    background: transparent;
    position: relative;
}

.catalog-cover-img img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    /* Apply shadow to the image itself */
    border-radius: 10px;
    z-index: 2;
}

.catalog-placeholder {
    display: none;
    /* Hide placeholder when img is priority */
}

.catalog-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: #000;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.catalog-content h2 {
    color: var(--white);
    margin-bottom: 2rem;
}

.catalog-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 500px;
}

.catalog-card-link {
    text-decoration: none;
    display: block;
}

@media (max-width: 991px) {
    .catalog-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .catalog-content {
        order: 1;
    }

    .catalog-image {
        order: 2;
        max-width: 450px;
        margin: 0 auto;
    }

    .catalog-card-wrapper {
        height: auto;
        max-width: 450px;
        margin: 0 auto;
    }
}