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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --accent: #4a90e2;
    --accent-hover: #357abd;
    --card-bg: #ffffff;
    --nav-bg: #ffffff;
    --border: #e0e0e0;
    --topbar-bg: #2c3e50;

    /* Wave colors for light mode */
    --wave-color-1: #4a90e2;
    --wave-color-2: #6bb3ff;
    --wave-color-3: #f8f9fa;
}

[data-theme="dark"] {
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --accent: #5ca3f5;
    --accent-hover: #4a90e2;
    --card-bg: #2d2d2d;
    --nav-bg: #242424;
    --border: #404040;
    --topbar-bg: #1a252f;

    /* Wave colors for dark mode */
    --wave-color-1: #3a7bc8;
    --wave-color-2: #4a90e2;
    --wave-color-3: #2d2d2d;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

/* Top Bar */
.top-bar {
    background: var(--topbar-bg);
    color: white;
    padding: 0.7rem 5%;
    font-size: 0.9rem;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left,
.top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.top-link {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

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

.top-link i {
    margin-right: 0.5rem;
}

.social-label {
    margin-right: 0.5rem;
    opacity: 0.9;
}

.social-icon {
    color: white;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Navigation */
nav {
    background: var(--nav-bg);
    padding: 1rem 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
}

.nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
    color: var(--accent);
}

.nav-links > li > a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}

.nav-links > li > a:hover::after,
.nav-links > li > a.active::after {
    width: 100%;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 15px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-content {
    background: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    min-width: 220px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.nav-dropdown:hover .dropdown-content {
    max-height: 500px;
    padding: 0.5rem 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--accent);
    padding-left: 1.5rem;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--accent);
    font-size: 0.9rem;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: 0.5rem 1rem;
}

.dropdown-all {
    font-weight: 600;
    color: var(--accent);
    justify-content: space-between;
}

.dropdown-all i:last-child {
    margin-left: auto;
}

/* Hamburger Menu Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    gap: 6px;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.active .hamburger-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.hamburger.active .hamburger-line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    padding-top: 100px;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    width: 100%;
    max-width: 400px;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.4s ease 0.1s, opacity 0.4s ease 0.1s;
}

.mobile-menu-overlay.active .mobile-menu-content {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    list-style: none;
    margin-bottom: 3rem;
}

.mobile-nav-links > li {
    margin-bottom: 0.5rem;
}

.mobile-nav-links > li > a {
    display: block;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-links > li > a:hover,
.mobile-nav-links > li > a.active {
    color: var(--accent);
}

/* Mobile Dropdown */
.mobile-dropdown-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-top: 0.5rem;
}

.mobile-dropdown.active .mobile-dropdown-menu {
    max-height: 500px;
}

.mobile-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.mobile-dropdown-menu li a:hover {
    color: var(--accent);
    padding-left: 2rem;
}

.mobile-dropdown-menu li a i {
    color: var(--accent);
    width: 20px;
}

.mobile-all-products {
    font-weight: 600 !important;
    color: var(--accent) !important;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
    padding-top: 1rem !important;
}

.mobile-menu-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mobile-social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-social-icons a:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.mobile-menu-footer p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.mobile-menu-footer p i {
    margin-right: 0.5rem;
    color: var(--accent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
    z-index: 99;
}

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

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.5);
}

/* Enhanced Footer */
.footer {
    background: var(--nav-bg);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 5% 3rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
}

.footer-section h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-about p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-links ul,
.footer-products ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-products li {
    margin-bottom: 0.8rem;
}

.footer-links a,
.footer-products a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a i,
.footer-products a i {
    font-size: 0.7rem;
    color: var(--accent);
    transition: transform 0.3s ease;
}

.footer-links a:hover,
.footer-products a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-links a:hover i,
.footer-products a:hover i {
    transform: translateX(3px);
}

.footer-contact li {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--accent);
    margin-top: 0.2rem;
    width: 16px;
}

.footer-contact a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    background: var(--bg-secondary);
    padding: 1.2rem 5%;
    text-align: center;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* iOS Style Theme Toggle */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: 0.4s;
    border-radius: 34px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slider:before {
    position: absolute;
    content: "🌙";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

input:checked+.slider {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

input:checked+.slider:before {
    transform: translateX(30px);
    content: "☀️";
}

.slider:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Breadcrumbs */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 1rem 5%;
    border-bottom: 1px solid var(--border);
}

.breadcrumbs-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.breadcrumbs a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

.breadcrumb-current {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--accent) 0%, #6bb3ff 100%);
    padding: 8rem 5% 6rem;
    text-align: center;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: visible;
    /* Add padding bottom for wave overlap */
    padding-bottom: 12rem;
}

.hero-visual {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-icon-left {
    position: absolute;
    left: 8%;
    top: 25%;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.12);
    animation: float 6s ease-in-out infinite;
}

.hero-icon-right {
    position: absolute;
    right: 8%;
    top: 25%;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.12);
    animation: float 6s ease-in-out infinite 3s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero > h1,
.hero > p,
.hero > .hero-badges {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

.hero-badges {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

/* Wave Separator - Bottom of section */
.wave-separator {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
    height: 350px;
}

.wave-separator svg {
    position: absolute;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* Wave Separator - Top of section */
.wave-separator-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 1;
    pointer-events: none;
    height: 350px;
}

.wave-separator-top svg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

/* DNA Icon between sections - Base styles */
.section-transition-icon {
    position: absolute;
    z-index: 10;
    line-height: 1;
    opacity: 0.25;
    pointer-events: none;
}

/* Left DNA Icon */
.section-transition-icon-left {
    bottom: -10px;
    left: 8%;
    font-size: 300px;
    color: var(--dna-icon-color);
    animation: dnaFloat 6s ease-in-out infinite, dnaRotate 12s ease-in-out infinite, dnaPulse 4s ease-in-out infinite;
}

/* Right DNA Icon - Bluish version */
.section-transition-icon-right {
    bottom: -200px;
    right: 8%;
    font-size: 350px;
    color: var(--dna-icon-color-blue);
    animation: dnaFloat 7s ease-in-out infinite 1s, dnaRotateReverse 14s ease-in-out infinite, dnaPulse 5s ease-in-out infinite 0.5s;
}

:root {
    --dna-icon-color: rgba(255, 255, 255, 0.9);
    --dna-icon-color-blue: rgba(74, 144, 226, 0.9);
}

[data-theme="dark"] {
    --dna-icon-color: rgba(92, 163, 245, 0.9);
    --dna-icon-color-blue: rgba(107, 179, 255, 0.9);
}

@keyframes dnaFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-30px);
    }
}

@keyframes dnaRotate {
    0%, 100% {
        transform: translateY(0px) rotate(-5deg);
    }
    25% {
        transform: translateY(-15px) rotate(5deg);
    }
    50% {
        transform: translateY(-30px) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes dnaRotateReverse {
    0%, 100% {
        transform: translateY(0px) rotate(5deg);
    }
    25% {
        transform: translateY(-20px) rotate(-5deg);
    }
    50% {
        transform: translateY(-35px) rotate(5deg);
    }
    75% {
        transform: translateY(-20px) rotate(-5deg);
    }
}

@keyframes dnaPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.35;
    }
}

/* Wave gradient stops - using CSS variables for theme support */
.wave-stop-1 {
    stop-color: var(--wave-color-1);
    stop-opacity: 1;
}

.wave-stop-2 {
    stop-color: var(--wave-color-2);
    stop-opacity: 1;
}

.wave-stop-3 {
    stop-color: var(--wave-color-3);
    stop-opacity: 1;
}

/* Section Positioning for Waves */
.hero,
.about-section,
.features,
.vision-mission,
.products,
.contact {
    position: relative;
}

/* About Section */
.about-section {
    background: var(--bg-secondary);
    padding-top: 20rem;
    /* Negative margin to create overlap with hero wave */
    margin-top: -10vh;
    position: relative;
    z-index: 2;
}

.features {
    padding: 1rem 0% 5rem;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 3;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Vision/Mission Section */
.vision-mission {
    padding: 5rem 5% 5rem;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.vm-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.vm-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    border-left: 5px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 3;
}

.vm-card h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.vm-card h2 i {
    margin-right: 0.5rem;
}

.vm-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Products Section */
.products {
    padding: 5rem 5% 6rem;
    background: var(--bg-primary);
    position: relative;
    z-index: 2;
}

.products h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    z-index: 3;
}

.product-carousel {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.product-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin: 10px;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.product-image {
    width: 100%;
    height: 260px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    overflow: hidden;
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.product-link {
    display: inline-block;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

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

.product-link i {
    margin-left: 0.3rem;
}

/* Owl Carousel Custom Styling */
.owl-stage-outer {
    padding-bottom: 40px;
}

.owl-theme .owl-nav {
    margin-top: 20px;
    display: none;
}

.owl-theme .owl-nav [class*='owl-'] {
    background: var(--accent);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s;
}

.owl-theme .owl-nav [class*='owl-']:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.owl-theme .owl-dots .owl-dot span {
    background: var(--border);
    width: 12px;
    height: 12px;
    transition: all 0.3s;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--accent);
    transform: scale(1.3);
}

/* Contact Section - Split Layout */
.contact {
    padding: 5rem 5%;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.contact-info-side {
    padding: 3rem;
    background: var(--card-bg);
}

.contact-intro {
    margin-bottom: 2.5rem;
}

.contact-intro h3 {
    color: var(--accent);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-intro p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent) 0%, #6bb3ff 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-content {
    flex: 1;
}

.contact-item-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.contact-item-content a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item-content a:hover {
    color: var(--accent);
}

.contact-social-icons {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.social-circle {
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.social-circle.facebook {
    background: #1877f2;
}

.social-circle.facebook:hover {
    background: #0d396f;
    transform: translateY(-3px);
}

.social-circle.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-circle.instagram:hover {
    background: linear-gradient(45deg, #d87e2d 0%, #d15a30 25%, #c41f39 50%, #b31d5a 75%, #a3127a 100%);
    transform: translateY(-3px);
}

.social-circle.twitter {
    background: #000000;
}

.social-circle.twitter:hover {
    background: #333333;
    transform: translateY(-3px);
}

.social-circle.linkedin {
    background: #0077b5;
}

.social-circle.linkedin:hover {
    background: #005885;
    transform: translateY(-3px);
}

.social-circle.youtube {
    background: #ff0000;
}

.social-circle.youtube:hover {
    background: #cc0000;
    transform: translateY(-3px);
}

.contact-social-icons a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-social-item {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-map-side {
    position: relative;
    min-height: 600px;
}

.contact-map-side iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 20px 20px 0;
    transition: filter 0.3s;
}

[data-theme="dark"] .contact-map-side iframe {
    filter: invert(90%) hue-rotate(180deg);
}

/* Old Footer - Removed, using Enhanced Footer instead */

@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Hide nav links, show hamburger */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-right {
        gap: 1rem;
    }

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

    .hero-icon-left,
    .hero-icon-right {
        font-size: 3rem;
    }

    .hero-icon-left {
        left: 3%;
        top: 20%;
    }

    .hero-icon-right {
        right: 3%;
        top: 20%;
    }

    .hero-animal-1,
    .hero-animal-2,
    .hero-animal-3,
    .hero-animal-4,
    .hero-animal-5 {
        font-size: 2.5rem;
    }

    .hero-animal-1 {
        left: 10%;
        top: 55%;
    }

    .hero-animal-2 {
        right: 10%;
        top: 60%;
    }

    .hero-animal-3 {
        left: 20%;
        top: 12%;
    }

    .hero-animal-4 {
        right: 20%;
        top: 40%;
    }

    .hero-animal-5 {
        left: 3%;
        top: 70%;
    }

    .wave-separator,
    .wave-separator-top {
        height: 200px;
    }

    .section-transition-icon-left {
        font-size: 150px;
        bottom: -5px;
        left: 5%;
    }

    .section-transition-icon-right {
        font-size: 180px;
        bottom: -100px;
        right: 5%;
    }

    .about-section {
        margin-top: -5vh;
        padding-top: 12rem;
    }

    .hero-animal-6,
    .hero-animal-7,
    .hero-animal-8,
    .hero-animal-9,
    .hero-animal-10,
    .hero-animal-11,
    .hero-animal-12 {
        font-size: 2rem;
    }

    .vm-container {
        grid-template-columns: 1fr;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
    }

    .contact-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .contact-info-side {
        padding: 2rem;
    }

    .contact-map-side {
        min-height: 400px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links a,
    .footer-products a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

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

@media (max-width: 480px) {
    .top-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-intro h3 {
        font-size: 1.5rem;
    }

    .contact-item {
        flex-direction: column;
        gap: 1rem;
    }

    .mobile-nav-links > li > a {
        font-size: 1.3rem;
        padding: 0.8rem;
    }
}

/* --- SUB-PAGES CSS (Ek Sayfalar İçin) --- */

/* Page Header (Hakkımızda ve Ürünler Başlık Alanı) */
.page-header {
    background: linear-gradient(135deg, var(--topbar-bg) 0%, var(--accent) 100%);
    color: white;
    padding: 6rem 5% 4rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content Container */
.page-content {
    padding: 4rem 5%;
    background: var(--bg-primary);
    min-height: 60vh;
}

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

/* About Page Styles */
.about-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.about-text h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.values-list {
    list-style: none;
    margin-top: 1rem;
}

.values-list li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
}

.values-list i {
    color: var(--accent);
    margin-right: 10px;
}

.placeholder-img {
    width: 100%;
    height: 300px;
    background: var(--card-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team-section h2 {
    text-align: center;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--bg-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent);
}

.team-card h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-card span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Products Grid (Full Page) */
.products-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Custom Buttons */
.custom-btn {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.custom-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.custom-btn-small {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s;
}

.custom-btn-small:hover {
    background: var(--accent);
    color: white;
}

/* Active Link Styling */
.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive Adjustments for Sub-pages */
@media (max-width: 768px) {
    .about-detail-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 5rem 5% 3rem;
    }

    .page-header h1 {
        font-size: 2rem;
    }
}

/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

/* Product Detail Section */
.product-detail-section {
    padding: 3rem 5%;
    background: var(--bg-primary);
}

.product-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Product Gallery */
.product-gallery {
    position: sticky;
    top: 100px;
}

.main-image-container {
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.main-image {
    width: 100%;
    height: 450px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    transition: transform 0.5s ease;
    overflow: hidden;
}


/* Slide Animation */
.main-image.slide-left {
    animation: slideLeft 0.5s ease forwards;
}

.main-image.slide-right {
    animation: slideRight 0.5s ease forwards;
}

@keyframes slideLeft {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Gallery Navigation Arrows - Minimal Style */
.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 1rem;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.gallery-prev {
    left: 15px;
}

.gallery-next {
    right: 15px;
}

/* Thumbnail Container */
.thumbnail-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.thumbnail {
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    opacity: 0.7;
    overflow: hidden;
}

.thumbnail:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.thumbnail.active {
    opacity: 1;
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

/* Product Info */
.product-info {
    padding: 1rem 0;
}

.product-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #6bb3ff 100%);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.product-short-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Product Specs */
.product-specs {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.spec-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.spec-item:first-child {
    padding-top: 0;
}

.spec-icon {
    width: 45px;
    height: 45px;
    background: var(--accent);
    color: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.spec-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.spec-value {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.spec-value.in-stock {
    color: #27ae60;
}

.spec-value.in-stock i {
    font-size: 0.6rem;
    margin-right: 0.3rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary-btn {
    background: linear-gradient(135deg, var(--accent) 0%, #6bb3ff 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(74, 144, 226, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(74, 144, 226, 0.5);
}

.secondary-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.secondary-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Product Description Section */
.product-description-section {
    padding: 4rem 5%;
    background: var(--bg-secondary);
}

.description-container {
    max-width: 1000px;
    margin: 0 auto;
}

.description-container h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.description-container h2 i {
    color: var(--accent);
}

.description-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.description-content p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.description-content h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.description-content h3:first-of-type {
    border-top: none;
    padding-top: 0;
}

.description-content ul {
    list-style: none;
    margin: 1rem 0 1.5rem;
}

.description-content ul li {
    color: var(--text-secondary);
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.05rem;
}

.description-content ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* Related Products Section */
.related-products-section {
    padding: 4rem 5%;
    background: var(--bg-primary);
}

.related-container {
    max-width: 1400px;
    margin: 0 auto;
}

.related-container h2 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.related-container h2 i {
    color: var(--accent);
}

.related-carousel {
    margin: 0 -10px;
}

.related-carousel .product-card {
    margin: 10px;
}

/* Related Carousel Owl Overrides */
.related-carousel.owl-theme .owl-dots {
    margin-top: 30px;
}

/* ========================================
   PRODUCT DETAIL RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1024px) {
    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .main-image {
        height: 350px;
        font-size: 6rem;
    }

    .gallery-nav {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .product-detail-section {
        padding: 2rem 5%;
    }

    .main-image {
        height: 300px;
        font-size: 5rem;
    }

    .gallery-nav {
        font-size: 1.8rem;
        padding: 0.8rem;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }

    .thumbnail-container {
        gap: 0.8rem;
    }

    .product-title {
        font-size: 2rem;
    }

    .product-short-desc {
        font-size: 1rem;
    }

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

    .action-btn {
        width: 100%;
        justify-content: center;
    }

    .description-content {
        padding: 2rem;
    }

    .breadcrumbs-container {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 250px;
        font-size: 4rem;
    }

    .gallery-nav {
        font-size: 1.5rem;
        padding: 0.5rem;
    }

    .gallery-prev {
        left: 5px;
    }

    .gallery-next {
        right: 5px;
    }

    .thumbnail {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .thumbnail-container {
        gap: 0.5rem;
    }

    .product-title {
        font-size: 1.6rem;
    }

    .spec-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .description-content {
        padding: 1.5rem;
    }

    .description-content p,
    .description-content ul li {
        font-size: 0.95rem;
    }
}


/* ========================================
   PRODUCT IMAGE FIT FIX
   ======================================== */

/* Ürün kartları */
.product-image {
    background: #fff;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
    background: #fff;
}

/* Ürün detay ana görsel */
.main-image {
    background: #fff !important;
    overflow: hidden;
}

.main-image img,
#mainProductImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 12px;
    background: #fff;
}

/* Thumbnail görseller */
.thumbnail {
    background: #fff;
    overflow: hidden;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 6px;
    background: #fff;
}
