/* ========================================
   GLK Medical - Modern Minimalist Design
   Clean, Elegant, Professional
   Colors: #f4b02e (Gold) | #32231e (Dark)
   ======================================== */

:root {
    /* Primary Colors */
    --primary: #f4b02e;
    --primary-light: #f8c55a;
    --primary-dark: #d99a1f;
    --primary-rgb: 244, 176, 46;

    /* Dark Colors */
    --dark: #32231e;
    --dark-light: #4a3a32;
    --dark-rgb: 50, 35, 30;

    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #fafafa;
    --cream: #f9f7f4;
    --gray-50: #fafaf9;
    --gray-100: #f5f5f4;
    --gray-200: #e7e5e4;
    --gray-300: #d6d3d1;
    --gray-400: #a8a29e;
    --gray-500: #78716c;
    --gray-600: #57534e;
    --gray-700: #44403c;

    /* Text Colors */
    --text: #1c1917;
    --text-secondary: #57534e;
    --text-muted: #a8a29e;

    /* Border & Shadow */
    --border: #e7e5e4;
    --border-light: #f5f5f4;

    /* Shadows - Subtle */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;

    /* Spacing */
    --section-padding: 120px;
    --container-padding: 24px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   HEADER - Clean & Minimal
   ======================================== */
#top-header {
    background: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

#top-header.scrolled {
    box-shadow: var(--shadow-md);
}

.main-header {
    padding: 0;
    min-height: 80px;
}

/* Main Content - Add padding for fixed header */
main {
    padding-top: 80px;
}

.index-logo {
    display: flex;
    align-items: center;
}

.index-logo img {
    max-height: 56px;
    transition: var(--transition);
}

.index-logo:hover img {
    opacity: 0.8;
}

/* Navigation - Minimal Style */
.index-menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.megamenu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.megamenu > li {
    position: relative;
}

.megamenu > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 28px 20px;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    position: relative;
    transition: var(--transition);
}

/* Underline effect - only for non-dropdown items */
.megamenu > li:not(.dropdown) > a::after {
    content: '';
    position: absolute;
    bottom: 24px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.megamenu > li > a:hover,
.megamenu > li.active > a {
    color: var(--dark);
}

.megamenu > li:not(.dropdown) > a:hover::after,
.megamenu > li:not(.dropdown).active > a::after {
    transform: scaleX(1);
}

/* Dropdown - Clean */
.dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
}

.dropdown .products-link {
    pointer-events: auto;
}

.dropdown .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    color: var(--text);
    transition: var(--transition-fast);
    margin-left: 2px;
}

/* Remove Bootstrap's triangle arrow - we use font awesome icon instead */
.dropdown .dropdown-toggle::after {
    display: none !important;
}

.dropdown:hover .dropdown-toggle {
    color: var(--primary);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown .dropdown-toggle i {
    transition: transform 0.3s ease;
}

.dropdown-menu.level2 {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 100;
    margin-top: 8px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, margin-top 0.2s ease;
}

.dropdown:hover .dropdown-menu.level2 {
    display: block;
    opacity: 1;
    pointer-events: auto;
    margin-top: 0;
    animation: fadeIn 0.2s ease;
}

/* Ensure the main link is always clickable */
.dropdown > a {
    pointer-events: auto !important;
    position: relative;
    z-index: 101;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dropdown-menu ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.dropdown-menu ul li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.dropdown-menu ul li a:hover {
    background: var(--cream);
    color: var(--dark);
    padding-left: 24px;
}

/* Header Right */
.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-block .input-group {
    display: flex;
    position: relative;
    overflow: visible;
}

.search-block .input-group-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.search-block input {
    width: 200px;
    padding: 10px 44px 10px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    background: var(--gray-50);
    transition: var(--transition);
}

.search-block input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.search-block input::placeholder {
    color: var(--text-muted);
}

.search-block .btn-search {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary);
    color: var(--dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-block .btn-search:hover {
    background: var(--dark);
    color: var(--primary);
}

.flag-header {
    display: flex;
    gap: 8px;
}

.flag-header img {
    width: 36px;
    height: 26px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0.9;
    transition: var(--transition-fast);
}

.flag-header a:hover img {
    opacity: 1;
}

.btn-menu {
    font-size: 24px;
    color: var(--dark);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-fast);
}

.btn-menu:hover {
    color: var(--primary);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    z-index: 9999;
    transition: var(--transition);
}

.mobile-menu.active {
    left: 0;
}

.menu-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.menu-container {
    position: relative;
    width: 320px;
    height: 100%;
    background: var(--white);
    overflow-y: auto;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
}

.close-menu {
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.close-menu:hover {
    color: var(--dark);
}

.mobile-nav {
    list-style: none;
    padding: 16px 0;
}

.mobile-nav > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    color: var(--text);
    font-weight: 500;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition-fast);
}

.mobile-nav > li > a:hover {
    background: var(--cream);
    color: var(--primary-dark);
}

.mobile-nav .sub-menu {
    list-style: none;
    padding: 0;
    background: var(--gray-50);
    display: none;
}

.mobile-nav .sub-menu li a {
    display: block;
    padding: 14px 24px 14px 40px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    border-bottom: 1px solid var(--border-light);
}

.mobile-nav .sub-menu li a:hover {
    color: var(--primary-dark);
}

/* ========================================
   BANNER - Full Width Hero
   ======================================== */
.banner-section {
    position: relative;
    margin-top: 80px;
}

.carousel-item img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.carousel-indicators {
    bottom: 40px;
}

.carousel-indicators li {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    margin: 0 4px;
    transition: var(--transition);
}

.carousel-indicators li.active {
    background: var(--primary);
    width: 60px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 56px;
    height: 56px;
    background: var(--white);
    border-radius: var(--radius-full);
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.carousel-control-prev { left: 40px; }
.carousel-control-next { right: 40px; }

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 16px;
    height: 16px;
    filter: invert(0.2);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(0.1);
}

/* ========================================
   SECTIONS - Generous Whitespace
   ======================================== */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-light {
    background: var(--white);
}

.section-primary {
    background: var(--cream);
}

.section-primary .title-h2 {
    color: var(--dark);
}

.section-primary .dlab-separator {
    background: var(--primary);
}

.section-dark {
    background: var(--dark);
}

.section-dark .title-h2 {
    color: var(--white);
}

.section-dark .dlab-separator {
    background: var(--primary);
}

/* Section Titles - Clean Typography */
.title-h2 {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.dlab-separator {
    width: 48px;
    height: 3px;
    background: var(--primary);
    margin: 24px auto 64px;
    border-radius: 2px;
}

.dlab-separator::before,
.dlab-separator::after {
    display: none;
}

.description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ========================================
   BUTTONS - Minimal & Elegant
   ======================================== */
.radius-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--primary);
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.radius-btn:hover {
    background: var(--dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.radius-btn:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9375rem;
    border: 2px solid var(--dark);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--dark);
    color: var(--white);
}

.button-readmore {
    margin-top: 40px;
}

/* ========================================
   ABOUT SECTION - Clean Layout
   ======================================== */
.item-img {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.item-img::before {
    display: none;
}

.item-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

.item-img:hover img {
    transform: scale(1.02);
}

.title .color p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.title .color p strong {
    color: var(--dark);
    font-weight: 600;
}

/* ========================================
   COMMITMENT SECTION - Card Grid
   ======================================== */
.about-smoothie {
    background: var(--dark);
    padding: var(--section-padding) 0;
}

.about-smoothie::before {
    display: none;
}

.about-smoothie .title-h2 {
    color: var(--white);
}

.about-smoothie .dlab-separator {
    background: var(--primary);
}

.about-smoothie .item {
    text-align: center;
    padding: 48px 32px;
    background: var(--white);
    border: none;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.about-smoothie .item::before,
.about-smoothie .item::after {
    display: none;
}

.about-smoothie .item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.about-smoothie .item-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.about-smoothie .item-img::before,
.about-smoothie .item-img::after {
    display: none;
}

.about-smoothie .item-img img {
    max-width: 40px;
    max-height: 40px;
    filter: brightness(0);
}

.about-smoothie .item:hover .item-img {
    background: var(--dark);
    transform: scale(1.1);
}

.about-smoothie .item:hover .item-img img {
    filter: brightness(0) invert(1);
}

.about-smoothie h4,
.about-smoothie .sub-title h4 {
    color: var(--dark);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

/* ========================================
   PRODUCTS - Clean Grid
   ======================================== */
.product-thumb {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    height: 100%;
    overflow: hidden;
}

.product-thumb::after {
    display: none;
}

.product-thumb:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.product-image-container {
    height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: var(--gray-50);
    position: relative;
}

.product-image-container::before {
    display: none;
}

.product-image-container .product-img-link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.img-product {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-thumb:hover .img-product {
    transform: scale(1.05);
}

.product-title-home {
    padding: 24px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transition: var(--transition);
}

.product-title-home:hover {
    background: var(--primary-dark);
}

.product-title-home a {
    color: var(--dark);
    font-weight: 500;
    font-size: 0.9375rem;
    text-align: center;
    line-height: 1.5;
    transition: var(--transition-fast);
}

.product-title-home a:hover {
    color: var(--white);
}

/* ========================================
   PARTNERS - Minimal Cards
   ======================================== */
.partner-item {
    background: var(--white);
    padding: 32px;
    margin: 8px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.partner-item img {
    max-height: 48px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--transition);
}

.partner-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Distribution Partner Cards */
.partner-card {
    background: var(--white);
    padding: 48px 32px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    height: 100%;
    transition: var(--transition);
}

.partner-card::before {
    display: none;
}

.partner-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.partner-card .partner-logo {
    max-height: 56px;
    margin-bottom: 24px;
}

.partner-card h5,
.partner-card h6 {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 16px;
    line-height: 1.4;
}

.partner-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 8px;
    line-height: 1.6;
}

.partner-card p strong {
    color: var(--primary-dark);
    font-size: 1rem;
    font-weight: 600;
}

/* Section Dark Partner Cards */
.section-dark .partner-card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.section-dark .partner-card h5,
.section-dark .partner-card h6 {
    color: var(--white);
}

.section-dark .partner-card p {
    color: rgba(255, 255, 255, 0.7);
}

.section-dark .partner-card p strong {
    color: var(--primary);
}

.section-dark .partner-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* ========================================
   OWL CAROUSEL - Clean Navigation
   ======================================== */
.owl-carousel .owl-stage-outer {
    padding: 16px 0;
}

.owl-carousel .owl-nav {
    margin-top: 40px;
    text-align: center;
}

.owl-carousel .owl-nav button {
    width: 48px;
    height: 48px;
    background: var(--white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-full) !important;
    color: var(--text-secondary) !important;
    margin: 0 8px;
    transition: var(--transition);
}

.owl-carousel .owl-nav button:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--dark) !important;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 40px;
}

.owl-carousel .owl-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-300) !important;
    border: none !important;
    border-radius: var(--radius-full);
    margin: 0 6px;
    transition: var(--transition);
}

.owl-carousel .owl-dot:hover {
    background: var(--gray-400) !important;
}

.owl-carousel .owl-dot.active {
    background: var(--primary) !important;
    width: 24px;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-20 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 1.5rem; }
.mt-20 { margin-top: 20px; }
.m-bottom-2 { margin-bottom: 30px; }
.mg-bottom-50 { margin-bottom: 50px; }
.m-b-50 { margin-bottom: 50px; }
.img-fluid { max-width: 100%; height: auto; }
.d-none { display: none; }
.d-block { display: block; }
.clearfix::after { content: ""; display: table; clear: both; }
.bg-white { background: var(--white) !important; }

/* ========================================
   ANIMATIONS - Subtle & Smooth
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Smooth hover for all interactive elements */
a, button, .btn, input[type="submit"] {
    transition: var(--transition-fast);
}

img {
    transition: opacity 0.3s ease;
}

/* Focus states */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
}

/* Scroll to top button */
.scroll-to-top {
    transition: var(--transition);
}

.scroll-to-top:hover {
    transform: translateY(-4px);
}

/* Selection color */
::selection {
    background: var(--primary);
    color: var(--dark);
}
