/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Ana Renk Paleti - Koyu Tema */
    --primary-bg: #101014;
    --secondary-bg: #141319;
    --tertiary-bg: #1A1A1A;
    --card-bg: #1E1E1E;
    --border-color: #2A2A2A;
    --accent-color: #FF6B6B;
    --accent-hover: #FF8E8E;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --text-muted: #8B8F9A;
    --success-color: #4CAF50;
    --warning-color: #FF9800;
    --error-color: #F44336;
    --info-color: #2196F3;
    
    /* Gölgeler */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.4);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Animation Durations */
    --animation-fast: 0.3s;
    --animation-normal: 0.6s;
    --animation-slow: 0.8s;
}


body {
    font-family: 'Chakra Petch', 'Space Grotesk', 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    min-height: 100vh;
    transition: all var(--transition-normal);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.loading-logo {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-shadow: 0 4px 20px rgba(148, 184, 253, 0.3);
    letter-spacing: -0.02em;
}

.logo-text {
    display: block;
    font-size: 3.5rem;
    line-height: 1;
}

.logo-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    letter-spacing: 0.1em;
}

.loading-bar {
    width: 240px;
    height: 6px;
    background: var(--tertiary-bg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin: 2rem auto 1.5rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: var(--radius-sm);
    animation: loadingProgress 2s ease-in-out;
    box-shadow: 0 0 20px rgba(148, 184, 253, 0.4);
}

@keyframes loadingProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Language Switcher Styles */
.language-switcher {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    color: var(--accent-color);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    letter-spacing: 0.5px;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-color) 0%, #FF8E8E 100%);
    border-radius: 50%;
    opacity: 0;
    transition: all var(--transition-normal);
    transform: scale(0.8);
}

.lang-btn:hover::before {
    opacity: 1;
    transform: scale(1);
}

.lang-btn:hover {
    color: var(--text-primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border-color: var(--accent-hover);
}

.lang-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.lang-btn span {
    position: relative;
    z-index: 2;
    font-weight: 800;
    font-size: 13px;
    text-align: center;
    transition: all var(--transition-fast);
}

.lang-btn:hover span {
    transform: scale(1.1);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: rgba(16, 16, 20, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1001;
}

.brand-logo {
    width: 58px;
    height: 58px;
    border-radius: 8px;
    transition: transform var(--transition-normal);
    object-fit: contain;
}

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

.brand-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    font-family: 'Chakra Petch', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-left: 2rem;
}

.nav-link {
    color: #8B8F9A;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
    border-radius: 6px;
    letter-spacing: 0.01em;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
}

.admin-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.admin-login-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.admin-login-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.admin-login-btn:hover svg {
    transform: rotate(90deg);
}


.user-menu-btn {
    background: #FFFFFF;
    color: #000000;
    border: none;
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.user-menu-btn:hover {
    background: #F5F5F5;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary-bg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    animation: heroBackground 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroBackground {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) scale(1.05);
        opacity: 0.8;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
}

#particles-canvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    animation: heroContentFadeIn var(--animation-slow) ease-out 0.3s both;
}

@keyframes heroContentFadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.05;
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
}

.title-main {
    display: inline;
}

#typing-text {
    display: inline-block;
    white-space: nowrap;
    font-weight: 700;
}

.title-cursor {
    display: inline-block;
    margin-left: 0.25rem;
    animation: blink 1s infinite;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2em;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(148, 184, 253, 0.25);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge-line {
    width: 16px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    border-radius: 1px;
}

.section-badge span {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Showroom Section */
.showroom {
    padding: 6rem 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.showroom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 70%, rgba(255, 107, 107, 0.05) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}

/* Upload Section */
.upload-section {
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

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

.upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    background: var(--card-bg);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.upload-area:hover {
    border-color: var(--accent-color);
    background: rgba(255, 107, 107, 0.05);
    transform: translateY(-2px);
}

.upload-area.dragover {
    border-color: var(--accent-color);
    background: rgba(255, 107, 107, 0.1);
    transform: scale(1.02);
}

.upload-content i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.upload-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.upload-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.upload-btn {
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

/* Filter Section */
.filter-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.filter-btn:hover {
    background: rgba(255, 107, 107, 0.1);
    border-color: var(--accent-color);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--text-primary);
}


/* Gallery Grid */
.gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

/* Showroom Carousel */
.showroom-carousel-container {
    position: relative;
    z-index: 1;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.showroom-carousel {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.carousel-image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-image {
    max-width: 60%;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.6s ease-in-out;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 1;
}


.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    transform: translateY(-50%);
}

.carousel-btn {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1rem;
    pointer-events: auto;
    opacity: 0.7;
    transform: scale(1);
}

.carousel-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.15);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(1);
}

.carousel-dot.active {
    background: var(--accent-color);
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.carousel-dot.active:hover {
    background: var(--accent-hover);
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.7);
}

.carousel-show-more {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}


/* Admin Gallery Styles */
.admin-category-section {
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1rem;
    background: var(--card-bg);
}

.admin-category-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.admin-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
}

.admin-gallery-item-small {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    width: 180px;
    height: 250px;
    margin-left: -50px;
}

.admin-gallery-item-small:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.admin-gallery-item-small:nth-child(1) {
    margin-left: 0;
}

.admin-gallery-item-small:nth-child(8) {
    margin-left: 0;
}

.admin-gallery-item-small:nth-child(15) {
    margin-left: 0;
}

.admin-gallery-item-small:nth-child(22) {
    margin-left: 0;
}

.admin-gallery-item-small img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

.admin-item-info {
    padding: 0.75rem;
}

.admin-item-info h6 {
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-gallery-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.admin-action-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.admin-action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.admin-action-btn.delete:hover {
    background: #dc3545;
    border-color: #dc3545;
}

/* Admin Category Filters */
.admin-category-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.admin-filter-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.admin-filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.admin-filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Drag Handle */
.drag-handle {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem;
    border-radius: 0.25rem;
    cursor: grab;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.admin-gallery-item-small:hover .drag-handle {
    opacity: 1;
}

.drag-handle:active {
    cursor: grabbing;
}

/* Sortable Styles */
.sortable-ghost {
    opacity: 0.4;
    background: var(--primary-color);
}

.sortable-chosen {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sortable-drag {
    transform: rotate(5deg);
}

.gallery-item {
    background: var(--card-bg);
    border: 3px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp var(--animation-normal) ease-out forwards;
    position: relative;
    width: 180px;
    height: 280px;
    margin-left: -60px;
    z-index: 1;
    cursor: pointer;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(255, 107, 107, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

/* Bu kural kaldırıldı - çakışma yaratıyordu */

.gallery-item:nth-child(1) { 
    animation-delay: 0.1s; 
    z-index: 1;
    margin-left: 0;
}

.gallery-item:nth-child(8) { 
    animation-delay: 0.2s; 
    z-index: 1;
    margin-left: 0;
}

.gallery-item:nth-child(15) { 
    animation-delay: 0.3s; 
    z-index: 1;
    margin-left: 0;
}

.gallery-item:nth-child(22) { 
    animation-delay: 0.4s; 
    z-index: 1;
    margin-left: 0;
}
.gallery-item:nth-child(2) { 
    animation-delay: 0.15s; 
    z-index: 2;
}
.gallery-item:nth-child(3) { 
    animation-delay: 0.2s; 
    z-index: 3;
}
.gallery-item:nth-child(4) { 
    animation-delay: 0.25s; 
    z-index: 4;
}
.gallery-item:nth-child(5) { 
    animation-delay: 0.3s; 
    z-index: 5;
}
.gallery-item:nth-child(6) { 
    animation-delay: 0.35s; 
    z-index: 6;
}
.gallery-item:nth-child(7) { 
    animation-delay: 0.4s; 
    z-index: 7;
}
.gallery-item:nth-child(9) { 
    animation-delay: 0.25s; 
    z-index: 2;
}
.gallery-item:nth-child(10) { 
    animation-delay: 0.3s; 
    z-index: 3;
}
.gallery-item:nth-child(11) { 
    animation-delay: 0.35s; 
    z-index: 4;
}
.gallery-item:nth-child(12) { 
    animation-delay: 0.4s; 
    z-index: 5;
}
.gallery-item:nth-child(13) { 
    animation-delay: 0.45s; 
    z-index: 6;
}
.gallery-item:nth-child(14) { 
    animation-delay: 0.5s; 
    z-index: 7;
}
.gallery-item:nth-child(16) { 
    animation-delay: 0.35s; 
    z-index: 2;
}
.gallery-item:nth-child(17) { 
    animation-delay: 0.4s; 
    z-index: 3;
}
.gallery-item:nth-child(18) { 
    animation-delay: 0.45s; 
    z-index: 4;
}
.gallery-item:nth-child(19) { 
    animation-delay: 0.5s; 
    z-index: 5;
}
.gallery-item:nth-child(20) { 
    animation-delay: 0.55s; 
    z-index: 6;
}
.gallery-item:nth-child(21) { 
    animation-delay: 0.6s; 
    z-index: 7;
}
.gallery-item:nth-child(23) { 
    animation-delay: 0.45s; 
    z-index: 2;
}
.gallery-item:nth-child(24) { 
    animation-delay: 0.5s; 
    z-index: 3;
}
.gallery-item:nth-child(25) { 
    animation-delay: 0.55s; 
    z-index: 4;
}
.gallery-item:nth-child(26) { 
    animation-delay: 0.6s; 
    z-index: 5;
}
.gallery-item:nth-child(27) { 
    animation-delay: 0.65s; 
    z-index: 6;
}
.gallery-item:nth-child(28) { 
    animation-delay: 0.7s; 
    z-index: 7;
}

.gallery-item:hover {
    transform: scale(1.08) !important;
    box-shadow: 
        0 20px 60px rgba(255, 107, 107, 0.3),
        0 0 25px rgba(255, 107, 107, 0.15),
        inset 0 0 15px rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 107, 107, 0.5) !important;
    z-index: 1000 !important;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 280px;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Custom head kategorisi için ortadan önizleme ve kırpmadan küçültme */
.gallery-item[data-category="custom-head"] .gallery-image img {
    object-position: center center;
    object-fit: contain;
}

/* Custom head kategorisi için %20 büyütme */
.gallery-item[data-category="custom-head"] .gallery-image {
    transform: scale(1.2);
    transform-origin: center center;
}

/* Custom head kategorisindeki göz işaretini tamamen kartın içinde tut */
.gallery-item[data-category="custom-head"] {
    position: relative;
    overflow: hidden; /* Kart dışına çıkmasını engelle */
}

.gallery-item[data-category="custom-head"] .gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none; /* Fotoğrafa tıklanabilirliği engelle */
}

.gallery-item[data-category="custom-head"] .gallery-item-overlay .gallery-item-actions {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    pointer-events: auto; /* Göz butonuna tıklanabilirlik */
}

.gallery-item[data-category="custom-head"] .gallery-item-overlay .gallery-item-actions .gallery-item-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    transform: none; /* Transform yok, kart çerçevesini referans alır */
}

/* Custom head hover durumu - hafif büyütme */
.gallery-item[data-category="custom-head"]:hover .gallery-image {
    transform: scale(1.25);
    transform-origin: center center;
}

/* Daha fazla göster butonu */
.show-more-btn {
    grid-column: 1 / -1;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: var(--radius-md);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
}

.show-more-btn:hover {
    background: rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.show-more-btn i {
    font-size: 0.8rem;
}


.gallery-item:hover .gallery-image img {
    transform: scale(1.02);
    filter: brightness(1.03);
}


.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 1rem;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    background: linear-gradient(135deg, 
        rgba(255, 107, 107, 0.1) 0%, 
        rgba(255, 107, 107, 0.2) 50%, 
        rgba(255, 107, 107, 0.1) 100%);
}

.gallery-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 0.9rem;
}

.action-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.3);
    transition: all 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-info {
    padding: 0;
    height: 0;
    display: none;
}


.gallery-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(255, 107, 107, 0.2);
}

/* Empty Gallery */
.empty-gallery {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    text-align: center;
}

.empty-gallery-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    max-width: 400px;
}

.empty-gallery-content i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    display: block;
}

.empty-gallery-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Chakra Petch', sans-serif;
}

.empty-gallery-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn var(--animation-fast) ease;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.image-modal.show {
    display: flex !important;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideInUp var(--animation-fast) ease;
    margin: auto;
    align-self: center;
}

.modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.7);
    color: var(--text-primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10001;
    transition: all var(--transition-normal);
}

.modal-close:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

#modalImage {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
}

.modal-info {
    padding: 1.5rem;
}

.modal-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.modal-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}


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

/* Admin Modal Styles */
.admin-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    animation: fadeIn var(--animation-fast) ease;
    pointer-events: auto;
}

.admin-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-login {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: slideInUp 0.3s ease;
    position: relative;
    overflow: visible;
    pointer-events: auto;
}

.admin-header {
    margin-bottom: 1.5rem;
}

.admin-header i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: block;
}

.admin-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

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

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    font-family: 'Chakra Petch', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 107, 107, 0.05);
}

/* Admin input özel stilleri */
#adminUsername,
#adminPassword {
    pointer-events: auto !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    cursor: text !important;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Removed duplicate admin-login-btn styles - already defined above */

/* Admin Panel Modal */
.admin-panel-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(3px);
    animation: fadeIn var(--animation-fast) ease;
}

.admin-panel-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-panel-content {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    animation: slideInUp 0.3s ease;
    display: flex;
    flex-direction: column;
    /* Scroll bar gizle */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.admin-panel-content::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.admin-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-header-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.admin-close-btn {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.admin-close-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.admin-panel-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.admin-logout-btn {
    background: var(--error-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-logout-btn:hover {
    background: #d32f2f;
    transform: translateY(-1px);
}

.admin-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}

.admin-tab {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.admin-tab:hover {
    background: rgba(255, 107, 107, 0.1);
    color: var(--text-primary);
}

.admin-tab.active {
    background: var(--accent-color);
    color: var(--text-primary);
}

.admin-tab-content {
    display: none;
    padding: 1.5rem;
}

.admin-tab-content.active {
    display: block;
}

.skin-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.publish-btn {
    background: var(--success-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
    margin-top: 1rem;
}

.publish-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.manage-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.admin-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.admin-gallery-item {
    background: var(--secondary-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem;
    text-align: center;
    transition: all var(--transition-normal);
}

.admin-gallery-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.admin-gallery-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 0.75rem;
}

.admin-gallery-item h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-family: 'Chakra Petch', sans-serif;
}

.admin-gallery-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.admin-action-btn {
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.5rem;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-action-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.1);
}

.admin-action-btn.delete {
    background: var(--error-color);
}

.admin-action-btn.delete:hover {
    background: #d32f2f;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    animation: backgroundFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes backgroundFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(10px) rotate(-1deg); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp var(--animation-normal) ease-out forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 80px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.3rem;
    color: var(--accent-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 107, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover .feature-icon::before {
    transform: translateX(100%);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--text-primary);
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    font-family: 'Chakra Petch', sans-serif;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 1.2rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-btn {
    background: var(--accent-color);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-normal);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    width: 100%;
    justify-content: center;
}

.service-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.service-btn i {
    transition: transform var(--transition-normal);
}

.service-btn:hover i {
    transform: translateX(3px);
}


/* Stats Section */
.stats {
    padding: 6rem 0;
    background: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 107, 107, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 30% 70%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    animation: backgroundFloat 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp var(--animation-normal) ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--accent-hover));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 80px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: all var(--transition-normal);
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
    background: var(--accent-color);
    color: var(--text-primary);
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    font-family: 'Chakra Petch', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Chakra Petch', sans-serif;
}

/* Recent Purchases Section */
.recent-purchases {
    padding: 6rem 0;
    background: var(--secondary-bg);
}

.purchases-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100px;
}

.purchases-scroll {
    display: flex;
    height: 100%;
    animation: scroll 15s linear infinite;
}

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

.purchase-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    min-width: 300px;
    border-right: 1px solid var(--border-color);
    white-space: nowrap;
}

.customer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.purchase-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.customer-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.purchase-time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.purchase-amount {
    background: rgba(148, 184, 253, 0.1);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: auto;
}

/* FAQ Section */
.faq {
    padding: 6rem 0;
    background: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    animation: backgroundFloat 30s ease-in-out infinite;
    pointer-events: none;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft var(--animation-normal) ease-out forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem 0;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question i {
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 1.5rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--primary-bg);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    margin-top: 4rem;
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.footer-brand-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Chakra Petch', sans-serif;
}

.footer-brand-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    font-family: 'Chakra Petch', sans-serif;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.social-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
    text-decoration: none;
}

.social-link:hover {
    opacity: 0.75;
}

.social-link i {
    font-size: 1.2rem;
    color: #FFFFFF;
    transition: color var(--transition-fast);
}

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

.social-divider {
    width: 1px;
    height: 16px;
    background: var(--border-color);
}

.footer-right {
    display: flex;
    gap: 6rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
    font-family: 'Chakra Petch', sans-serif;
}

.footer-column a {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 0.25rem;
    transition: color var(--transition-fast);
    font-family: 'Chakra Petch', sans-serif;
}

.footer-column a:hover {
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.mobile-menu-toggle:hover {
    background: rgba(148, 184, 253, 0.1);
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 60px;
    left: 0;
    right: 0;
        background: rgba(16, 16, 20, 0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: 999;
    }
    
    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        width: 100%;
        justify-content: flex-start;
    color: var(--text-primary);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}


    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-right {
        gap: 3rem;
    }
    
    .purchases-scroll {
        animation-duration: 15s;
    }
    
    /* Carousel Tablet Styles */
    .carousel-image {
        max-width: 65%;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-actions {
        gap: 0.5rem;
    }
    
    .language-switcher {
        margin-right: 8px;
    }
    
    .lang-btn {
        width: 38px;
        height: 38px;
        font-size: 11px;
    }
    
    .lang-btn span {
        font-size: 11px;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .user-menu-btn {
        display: none;
    }
    
    .hero {
        height: 80vh;
        min-height: 600px;
    }
    
    .hero-title {
    font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-description {
        font-size: 1.125rem;
        margin-bottom: 2rem;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section-header {
        margin-bottom: 3rem;
    }
    
    .section-header h2 {
    font-size: 1.75rem;
}

    .section-header p {
    font-size: 1rem;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    gap: 1.5rem;
}


    .feature-card {
    padding: 1.5rem;
    }
    
    .stats {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .recent-purchases {
        padding: 4rem 0;
    }
    
    .purchase-item {
        min-width: 250px;
        padding: 1rem;
    }
    
    .purchases-scroll {
        animation-duration: 12s;
    }
    
    .faq {
        padding: 4rem 0;
    }
    
    .faq-question {
        padding: 1rem 0;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 3rem 0 2rem;
    }
    
    .footer-links {
        flex-direction: column;
    gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .brand-text {
        font-size: 1.1rem;
    }
    
    .theme-toggle {
        padding: 0.5rem;
        font-size: 1rem;
    }
    
    .login-btn {
        padding: 0.5rem;
        font-size: 0.75rem;
    }
    
    .login-btn i {
        font-size: 0.8rem;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-primary {
        padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .section-header {
    margin-bottom: 2rem;
}

    .section-header h2 {
    font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
    
    .features {
        padding: 3rem 0;
    }
    
    .features-grid {
    gap: 1rem;
    }
    
    .feature-card {
        padding: 1.25rem;
    }
    
    .feature-icon {
    width: 50px;
    height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-card h3 {
    font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 0.85rem;
    }
    
    .stats {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .recent-purchases {
        padding: 3rem 0;
    }
    
    .purchase-item {
        min-width: 200px;
        padding: 0.75rem;
    }
    
    .customer-avatar {
        width: 32px;
        height: 32px;
    }
    
    .customer-name {
        font-size: 0.8rem;
    }
    
    .purchase-time {
        font-size: 0.7rem;
    }
    
    .purchase-amount {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
    
    .faq {
        padding: 3rem 0;
    }
    
    .faq-question {
        padding: 0.75rem 0;
        font-size: 0.85rem;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .brand-info h3 {
        font-size: 1.1rem;
    }
    
    .brand-info p {
        font-size: 0.8rem;
    }
    
    .link-group h4 {
        font-size: 0.9rem;
    }
    
    .link-group a {
        font-size: 0.8rem;
    }
    
    /* Showroom Mobile Styles */
    .filter-section {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .filter-buttons {
        justify-content: center;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .gallery-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 250px;
        height: auto;
        margin-left: 0;
        margin-bottom: 1rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-info {
        height: 0;
        padding: 0;
        display: none;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-content i {
        font-size: 2rem;
    }
    
    .upload-content h3 {
        font-size: 1.25rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    /* Carousel Mobile Styles */
    .carousel-image {
        max-width: 70%;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carousel-dot {
        width: 10px;
        height: 10px;
    }
    
    /* Touch devices için hover efektleri */
    .gallery-item:active {
        transform: scale(1.06);
        box-shadow: 
            0 15px 45px rgba(255, 107, 107, 0.25),
            0 0 15px rgba(255, 107, 107, 0.15);
        border-color: rgba(255, 107, 107, 0.5);
        z-index: 1000 !important;
        transition: all 1.0s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .gallery-item:active .gallery-image img {
        transform: scale(1.02);
        filter: brightness(1.03);
    }
    
    .gallery-item:active .gallery-overlay {
        opacity: 1;
        background: linear-gradient(135deg, 
            rgba(255, 107, 107, 0.1) 0%, 
            rgba(255, 107, 107, 0.2) 50%, 
            rgba(255, 107, 107, 0.1) 100%);
    }
    
}