:root {
    --primary-color: #ff4b16; /* text-yellow-400 */
    --text-color: #FFFFFF;
    --text-color-light: rgba(255, 255, 255, 0.8);
    --text-color-lighter: rgba(255, 255, 255, 0.6);
    --bg-color: #2A2A2A;
    --bg-color-transparent: rgba(42, 42, 42, 0.95);
}

/* White Theme Variables */
:root.white-theme {
    --primary-color: #ff4b16;
    --text-color: #2A2A2A;
    --text-color-light: rgba(42, 42, 42, 0.8);
    --text-color-lighter: rgba(42, 42, 42, 0.6);
    --bg-color: #FFFFFF;
    --bg-color-transparent: rgba(255, 255, 255, 0.95);
}

/* Header Styles */
header {
    background: rgba(42, 42, 42, 0.8) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 50;
}

/* White Theme Header */
.white-theme header {
    background: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
}

.white-theme header a,
.white-theme header span {
    color: var(--text-color) !important;
}

.white-theme header .border-white\/5 {
    border-color: rgba(42, 42, 42, 0.1) !important;
}

.white-theme header .text-white\/70 {
    color: rgba(42, 42, 42, 0.7) !important;
}

.white-theme header .text-white {
    color: #2A2A2A !important;
}

.white-theme header .bg-white\/5 {
    background-color: rgba(42, 42, 42, 0.05) !important;
}

.white-theme header .bg-white\/20 {
    background-color: rgba(42, 42, 42, 0.2) !important;
}

/* Footer Styles */
footer {
    background-color: var(--bg-color);
}

/* White Theme Footer */
.white-theme footer {
    background-color: #FFFFFF;
    border-top: 1px solid rgba(42, 42, 42, 0.1);
}

.white-theme footer .text-white {
    color: #2A2A2A !important;
}

.white-theme footer .text-gray-400 {
    color: rgba(42, 42, 42, 0.6) !important;
}

.white-theme footer .bg-white\/5 {
    background-color: rgba(42, 42, 42, 0.05) !important;
}

.white-theme footer .bg-white\/10 {
    background-color: rgba(42, 42, 42, 0.1) !important;
}

.white-theme footer .text-white\/60 {
    color: rgba(42, 42, 42, 0.6) !important;
}

/* Products Submenu Styles */
.products-submenu,
.media-submenu {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    transform: translateY(-100%);
    transition: all 0.3s ease-in-out;
    opacity: 0;
    visibility: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 40;
}

/* White Theme Submenu */
.white-theme .products-submenu,
.white-theme .media-submenu {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px -1px rgba(42, 42, 42, 0.1), 0 2px 4px -1px rgba(42, 42, 42, 0.06);
}

.white-theme .products-submenu a,
.white-theme .media-submenu a {
    color: rgba(42, 42, 42, 0.7);
}

.white-theme .products-submenu a:hover,
.white-theme .media-submenu a:hover {
    color: #2A2A2A;
}

.white-theme .products-submenu .group/item span,
.white-theme .media-submenu .group/item span {
    background-color: #ff4b16;
}

.products-submenu.active,
.media-submenu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.products-submenu a,
.media-submenu a {
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.products-submenu a:hover,
.media-submenu a:hover {
    color: var(--primary-color);
    transform: translateX(10px);
}

/* Smooth transitions */
a, button {
    transition: all 0.3s ease;
}

/* Mobile menu button hover effect */
button:hover img {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Active link state */
.active {
    color: white;
    position: relative;
}

.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: white;
}

/* Hero Section Styles */
.hero-slide {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Arrows */
.nav-arrow {
    transition: all 0.3s ease;
}

.nav-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Swiper Styles */
.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

/* Hide default Swiper navigation arrows */
.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

/* Custom navigation arrows */
.swiper-button-prev,
.swiper-button-next {
    width: 48px !important;
    height: 48px !important;
    margin-top: 0 !important;
    transform: translateY(-50%);
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-dots {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.owl-carousel .owl-dot {
    width: 8px;
    height: 8px;
    background: #2A2A2A !important;
    border-radius: 50%;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active {
    opacity: 1;
    transform: scale(1.5);
}

/* Product Card Hover Effects */
.product-carousel .group:hover {
    transform: translateY(-4px);
}

.product-carousel .group:hover img {
    transform: scale(1.05);
}

/* Product Link Arrow Animation */
.product-carousel .group:hover svg {
    transform: translateX(4px);
}

/* Font Tanımlaması */
body {
    font-family: 'DM Sans', sans-serif;
}

/* Main content z-index */
main {
    position: relative;
    z-index: 30;
}

/* Submenu animation */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Mobile Menu Styles */
#mobileMenuButton span {
    transform-origin: left center;
    transition: all 0.3s ease;
}

#mobileMenuButton.active span:nth-child(1) {
    transform: rotate(45deg);
}

#mobileMenuButton.active span:nth-child(2) {
    opacity: 0;
}

#mobileMenuButton.active span:nth-child(3) {
    transform: rotate(-45deg);
}

#mobileMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

#mobileMenu.show {
    transform: translateX(0);
}

#mobileMenu nav {
    padding: 1rem;
}

#mobileMenu nav a {
    display: block;
    padding: 1rem 0;
    color: #2A2A2A;
    text-decoration: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    transition: all 0.3s ease;
}

#mobileMenu nav a:hover {
    color: #2A2A2A;
    background: rgba(42, 42, 42, 0.02);
}

#mobileProductsSubmenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: rgba(42, 42, 42, 0.02);
    margin: 0 -1rem;
    padding: 0 1rem;
}

#mobileProductsSubmenu.show {
    max-height: 500px;
}

#mobileProductsSubmenu a {
    display: block;
    padding: 0.75rem 0;
    color: #2A2A2A;
    text-decoration: none;
    border-bottom: 1px solid rgba(42, 42, 42, 0.05);
    transition: all 0.3s ease;
}

#mobileProductsSubmenu a:last-child {
    border-bottom: none;
}

#mobileProductsSubmenu a:hover {
    color: #2A2A2A;
    background: rgba(42, 42, 42, 0.05);
}

#mobileProductsSubmenu a span {
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#mobileProductsSubmenu a:hover span {
    opacity: 1;
}

/* White Theme Mobile Menu Styles */
.white-theme #mobileMenu {
    background: white;
}

.white-theme #mobileMenu nav a {
    color: #2A2A2A;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
}

.white-theme #mobileMenu nav a:hover {
    color: #2A2A2A;
    background: rgba(42, 42, 42, 0.02);
}

.white-theme #mobileProductsSubmenu {
    background: rgba(42, 42, 42, 0.02);
}

.white-theme #mobileProductsSubmenu a {
    color: #2A2A2A;
    border-bottom: 1px solid rgba(42, 42, 42, 0.05);
}

.white-theme #mobileProductsSubmenu a:hover {
    color: #2A2A2A;
    background: rgba(42, 42, 42, 0.05);
}

.white-theme #mobileProductsSubmenu a span {
    background: #FFD700;
}

/* Mobile Menu Button Styles */
#mobileMenuButton {
    color: #2A2A2A;
}

#mobileMenuButton span {
    background: #2A2A2A;
}

.white-theme #mobileMenuButton {
    color: #2A2A2A;
}

.white-theme #mobileMenuButton span {
    background: #2A2A2A;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    color: #2A2A2A;
}

.white-theme .mobile-menu-close {
    color: #2A2A2A;
}

/* Mobil menüdeki boşlukları düzenle */
@media (max-width: 1024px) {
    .space-x-12 {
        gap: 1.5rem;
    }
}

/* Diğer menüleri gizle */
.products-submenu,
.media-submenu {
    display: none !important;
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-content {
    padding: 1rem;
}

.mobile-menu-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
}

.mobile-menu-item a {
    color: #2A2A2A;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    background: rgba(42, 42, 42, 0.02);
    margin: 0 -1rem;
    padding: 0 1rem;
}

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

.mobile-submenu-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(42, 42, 42, 0.05);
}

.mobile-submenu-item:last-child {
    border-bottom: none;
}

.mobile-submenu-item a {
    color: #2A2A2A;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.mobile-submenu-item a:hover {
    color: #2A2A2A;
}

.mobile-submenu-item a::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 4px;
    background: #FFD700;
    border-radius: 50%;
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-submenu-item a:hover::before {
    opacity: 1;
}

/* White Theme Mobile Menu Styles */
.white-theme .mobile-menu {
    background: white;
}

.white-theme .mobile-menu-header {
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
}

.white-theme .mobile-menu-item {
    border-bottom: 1px solid rgba(42, 42, 42, 0.1);
}

.white-theme .mobile-menu-item a {
    color: #2A2A2A;
}

.white-theme .mobile-submenu {
    background: rgba(42, 42, 42, 0.02);
}

.white-theme .mobile-submenu-item {
    border-bottom: 1px solid rgba(42, 42, 42, 0.05);
}

.white-theme .mobile-submenu-item a {
    color: #2A2A2A;
}

.white-theme .mobile-submenu-item a:hover {
    color: #2A2A2A;
}

.white-theme .mobile-submenu-item a::before {
    background: #FFD700;
}

/* Diğer stiller buraya gelecek */

/* Categories Carousel */
.categories-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: -60px;
    right: -60px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.categories-carousel .owl-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2A2A2A !important;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.categories-carousel .owl-nav button:hover {
    background: #ff4b16 !important;
    color: white !important;
}

.categories-carousel .owl-nav button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1280px) {
    .categories-carousel .owl-nav {
        left: -20px;
        right: -20px;
    }
}

@media (max-width: 640px) {
    .categories-carousel .owl-nav {
        display: none;
    }
} 