/* ========================================
   LABO COS - PREMIUM COSMETICS WEBSITE
   Modern, Luxurious Design System
======================================== */

/* ========================================
   CSS VARIABLES & DESIGN TOKENS
======================================== */
:root {
    /* Premium Color Palette */
    --primary: #1a1a2e;
    --primary-light: #25274d;
    --accent: #e4b87c;
    --accent-light: #f0d4a8;
    --accent-dark: #c9a066;
    --rose: #e8b4b8;
    --rose-light: #f5d5d8;
    --cream: #faf8f5;
    --white: #ffffff;
    --gray-100: #f7f7f7;
    --gray-200: #e8e8e8;
    --gray-300: #d1d1d1;
    --gray-500: #8a8a8a;
    --gray-700: #4a4a4a;
    --gray-900: #1a1a1a;

    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #e4b87c 0%, #f0d4a8 50%, #c9a066 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #25274d 100%);
    --gradient-rose: linear-gradient(135deg, #e8b4b8 0%, #f5d5d8 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 26, 46, 0) 0%, rgba(26, 26, 46, 0.95) 100%);

    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);

    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 25px 80px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 10px 40px rgba(228, 184, 124, 0.3);
    --shadow-glow: 0 0 60px rgba(228, 184, 124, 0.4);

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Noto Sans', sans-serif;

    /* Transitions */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: 0.3s var(--ease-out);
    --transition-medium: 0.5s var(--ease-out);
    --transition-slow: 0.8s var(--ease-out);

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1300px;
    --border-radius: 24px;
    --border-radius-sm: 12px;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-700);
    background: var(--cream);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.5s ease;
}

/* Loading Bar Styles */
#loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #82a292 0%, #a0bfaf 100%);
    z-index: 9999;
    width: 0%;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(130, 162, 146, 0.8);
}

#loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Image Loading Skeleton */
img[style*="opacity: 0"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

ul {
    list-style: none;
}

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

/* ========================================
   CUSTOM CURSOR (Desktop)
======================================== */
.custom-cursor,
.cursor-follower {
    display: none;
}

@media (min-width: 1025px) {
    .custom-cursor {
        display: block;
        position: fixed;
        width: 8px;
        height: 8px;
        background: var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        mix-blend-mode: difference;
        transition: transform 0.1s ease;
    }

    .cursor-follower {
        display: block;
        position: fixed;
        width: 40px;
        height: 40px;
        border: 1px solid var(--accent);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease;
    }

    .custom-cursor.hover,
    .cursor-follower.hover {
        transform: scale(2);
    }
}

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0;
    z-index: 1000;
    transition: var(--transition-medium);
}

.navbar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(250, 248, 245, 0.85);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    opacity: 0;
    transition: var(--transition-medium);
}

.navbar.scrolled::before {
    opacity: 1;
}

.navbar.scrolled {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    transition: var(--transition-medium);
}

.navbar.scrolled .nav-wrapper {
    padding: 18px 0;
}

.logo img {
    height: 65px;
    transition: var(--transition-medium);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.navbar.scrolled .logo img {
    height: 50px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 50px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    padding: 8px 0;
}

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

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

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

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

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    margin-top: 0;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s var(--ease-out);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: slowZoom 20s ease-in-out infinite alternate;
}

@keyframes slowZoom {
    0% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(26, 26, 46, 0.1) 0%,
            rgba(26, 26, 46, 0.2) 50%,
            rgba(26, 26, 46, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    padding-top: 60px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Hero Controls */
.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
    pointer-events: none;
}

.hero-prev,
.hero-next {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-fast);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-prev:hover,
.hero-next:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
    box-shadow: var(--shadow-gold);
}

.hero-dots {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 16px;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
}

.hero-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-dot.active {
    background: var(--accent);
    transform: scale(1.3);
    box-shadow: 0 0 20px rgba(228, 184, 124, 0.5);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: var(--white);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
    0% {
        opacity: 1;
        top: 8px;
    }

    100% {
        opacity: 0;
        top: 24px;
    }
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.7;
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 45px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--primary);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

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

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

/* ========================================
   ANIMATIONS
======================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s var(--ease-out) forwards;
}

.fade-in-up.delay-1 {
    animation-delay: 0.2s;
}

.fade-in-up.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(80px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for grid items */
.reveal:nth-child(1) {
    transition-delay: 0s;
}

.reveal:nth-child(2) {
    transition-delay: 0.1s;
}

.reveal:nth-child(3) {
    transition-delay: 0.2s;
}

.reveal:nth-child(4) {
    transition-delay: 0.3s;
}

.reveal:nth-child(5) {
    transition-delay: 0.4s;
}

.reveal:nth-child(6) {
    transition-delay: 0.5s;
}

/* Scale-up reveal variation */
.reveal-scale {
    opacity: 0;
    transform: scale(0.9) translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Slide-in from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

/* Slide-in from right */
.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   SECTION STYLES
======================================== */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title.light {
    color: var(--white);
}

.title-underline {
    width: 80px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 0 auto 70px;
    border-radius: 3px;
    position: relative;
}

.title-underline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: var(--shadow-gold);
}

.title-underline.light {
    background: rgba(255, 255, 255, 0.5);
}

.title-underline.light::before {
    background: var(--white);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

/* ========================================
   INTRO SECTION
======================================== */
.intro-section {
    background: var(--white);
    text-align: center;
    padding: 100px 0 120px;
}

.intro-text {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    max-width: 800px;
    margin: 0 auto;
    line-height: 2;
    color: var(--gray-600);
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 80px;
}

.feature-image-card {
    position: relative;
    height: 450px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
}

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

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

.feature-image-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-overlay);
    z-index: 1;
    transition: var(--transition-medium);
}

.feature-image-card:hover::before {
    background: linear-gradient(180deg, rgba(228, 184, 124, 0.1) 0%, rgba(26, 26, 46, 0.9) 100%);
}

.feature-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 30px;
    z-index: 2;
    transform: translateY(20px);
    transition: var(--transition-medium);
}

.feature-image-card:hover .feature-overlay {
    transform: translateY(0);
}

.feature-overlay h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.feature-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-medium);
    transition-delay: 0.1s;
}

.feature-image-card:hover .feature-overlay p {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   SERVICES SECTION
======================================== */
.services-section {
    background: var(--cream);
    position: relative;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 50px 35px;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: var(--transition-medium);
    border: 1px solid var(--gray-200);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-dark);
    opacity: 0;
    transition: var(--transition-medium);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: var(--gradient-gold);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-medium);
    box-shadow: var(--shadow-gold);
}

.service-card:hover .service-icon {
    background: var(--white);
    transform: rotate(-5deg) scale(1.05);
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition-fast);
}

.service-card:hover .service-icon i {
    color: var(--accent);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    transition: var(--transition-fast);
}

.service-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    transition: var(--transition-fast);
}

.service-card:hover h3,
.service-card:hover p {
    color: var(--white);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transform: translateY(100%);
    transition: var(--transition-medium);
    border-radius: var(--border-radius);
}

.service-card:hover .service-overlay {
    opacity: 1;
    transform: translateY(0);
}

.service-overlay p {
    color: var(--primary);
    font-size: 1rem;
    line-height: 1.8;
}

/* ========================================
   LAB GALLERY SECTION
======================================== */
.lab-gallery-section {
    background: var(--white);
    padding: 120px 0;
}

.gallery-intro {
    text-align: center;
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-top: -50px;
    margin-bottom: 60px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(26, 26, 46, 0.9) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: var(--transition-medium);
}

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

.gallery-content h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.gallery-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.gallery-content i {
    display: inline-block;
    color: var(--accent);
    font-size: 1.5rem;
    margin-top: 15px;
}

/* ========================================
   ADVANTAGES SECTION
======================================== */
.advantages-section {
    background: var(--gradient-dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.advantages-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(228, 184, 124, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.advantage-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.advantage-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.advantage-item h4 {
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Certifications */
.certifications {
    text-align: center;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.certifications h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.cert-slider {
    padding: 20px 0;
}

.cert-track {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

.cert-track img {
    height: 120px;
    width: auto;
    object-fit: contain;
    background: white;
    padding: 30px 50px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-fast);
}

.cert-track img:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
}

/* Hide duplicated certification logos (only show first 3) */
.cert-track img:nth-child(n+4) {
    display: none;
}

/* ========================================
   PRODUCTS SECTION
======================================== */
.products-section {
    background: var(--cream);
    padding: 120px 0;
}

.products-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}

.showcase-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
}

.showcase-image {
    width: 100%;
    height: 100%;
    position: relative;
}

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

.showcase-item:hover .showcase-image img {
    transform: scale(1.05);
}

.showcase-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--gradient-gold);
    color: var(--primary);
    padding: 10px 25px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-gold);
}

.products-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.products-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.products-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.products-image:hover img {
    transform: scale(1.03);
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.products-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content i {
    font-size: 3rem;
    color: var(--white);
}

.products-info {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.product-category {
    background: var(--white);
    padding: 35px;
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
    transition: var(--transition-fast);
}

.product-category:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-header i {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
}

.category-header h3 {
    font-size: 1.25rem;
    margin: 0;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.product-list li {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-100);
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    background: var(--white);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--gray-200);
}

.feature-box i {
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-box h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   MARKETING SECTION
======================================== */
.marketing-section {
    background: var(--white);
    padding: 120px 0;
}

.marketing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.marketing-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.marketing-content .highlight {
    font-size: 1.25rem;
    color: var(--accent-dark);
    font-weight: 600;
    margin-bottom: 20px;
}

.marketing-content p {
    margin-bottom: 30px;
    color: var(--gray-600);
}

.marketing-list {
    display: grid;
    gap: 15px;
}

.marketing-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.0625rem;
}

.marketing-list i {
    width: 30px;
    height: 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 0.75rem;
}

.marketing-images {
    position: relative;
}

.marketing-image.main-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.marketing-image.main-image img {
    width: 100%;
    transition: var(--transition-slow);
}

.marketing-image.main-image:hover img {
    transform: scale(1.03);
}

.marketing-image-small {
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 200px;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    background: var(--gradient-dark);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(228, 184, 124, 0.15) 0%, transparent 60%);
}

.cta-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    background: var(--cream);
    padding: 120px 0;
}

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

.contact-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition-medium);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.contact-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.contact-link {
    font-size: 1.5rem;
    color: var(--accent-dark);
    font-weight: 600;
}

.contact-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ========================================
   BRAND SECTION
======================================== */
.brand-section {
    background: var(--white);
    padding: 120px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    margin-bottom: 100px;
}

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

.brand-option h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
}

.brand-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 30px;
    cursor: pointer;
}

.brand-image img {
    width: 100%;
    transition: var(--transition-slow);
}

.brand-image:hover img {
    transform: scale(1.05);
}

.brand-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.brand-image:hover .brand-overlay {
    opacity: 1;
}

.overlay-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.brand-description {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 30px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Process Timeline */
.process-section {
    padding-top: 80px;
    border-top: 1px solid var(--gray-200);
}

.process-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 60px;
}

.timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gray-200);
}

.timeline-item {
    text-align: center;
    position: relative;
    flex: 1;
}

.timeline-number {
    width: 60px;
    height: 60px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-gold);
}

.timeline-content h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    background: var(--gradient-dark);
    padding: 100px 0;
}

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

.stat-item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-medium);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-gold);
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-number::after {
    content: '+';
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========================================
   FOOTER
======================================== */
.footer {
    background: var(--primary);
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-links span {
    color: rgba(255, 255, 255, 0.3);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ========================================
   BACK TO TOP
======================================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 55px;
    height: 55px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--primary);
    box-shadow: var(--shadow-gold);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-fast);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* Skip Link */
.skip-link {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 0 0 10px 10px;
    z-index: 10000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 992px) {
    :root {
        --section-padding: 80px;
    }

    .container {
        padding: 0 30px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-medium);
    }

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

    .nav-link {
        font-size: 1.5rem;
    }

    .intro-features {
        grid-template-columns: 1fr;
    }

    .feature-image-card {
        height: 350px;
    }

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

    .gallery-item.large {
        grid-row: span 1;
    }

    .products-content {
        grid-template-columns: 1fr;
    }

    .marketing-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .marketing-images {
        order: -1;
    }

    .marketing-image-small {
        position: static;
        width: 100%;
        margin-top: 20px;
    }

    .brand-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        flex-direction: column;
        gap: 40px;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 30px;
        width: 2px;
        height: 100%;
    }

    .timeline-item {
        text-align: left;
        padding-left: 90px;
    }

    .timeline-number {
        position: absolute;
        left: 0;
        margin: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }

    .container {
        padding: 0 20px;
    }

    .hero-controls {
        padding: 0 15px;
    }

    .hero-prev,
    .hero-next {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .products-showcase {
        grid-template-columns: 1fr;
    }

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

    .product-features {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .product-list {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}