/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

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

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 0 rgba(201, 169, 110, 0); }
    50% { box-shadow: 0 0 10px rgba(201, 169, 110, 0.5); }
    100% { box-shadow: 0 0 0 rgba(201, 169, 110, 0); }
}

@keyframes floatIcon {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

@keyframes headerGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Temel Stiller */
:root {
    --primary: #c9a96e;
    --primary-dark: #b18e50;
    --dark: #1a1a1a;
    --gray-dark: #444;
    --gray-light: #e5e5e3;
    --white: #fff;
    --text-dark: #333;
    --text-light: #777;
    --transition: all 0.3s ease;
    --radius: 8px;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--gray-light);
    position: relative;
    animation: fadeIn 1s ease;
}

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

/* Hamburger Menüsü */
.hamburger-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 35px;
    height: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    padding: 8px;
    animation: fadeIn 1s ease;
}

.hamburger-btn span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobil Menü */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: var(--dark);
    z-index: 999;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
    padding: 60px 0 30px;
}

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

.menu-list {
    list-style: none;
}

.menu-item {
    padding: 0 20px;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

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

/* Menü öğelerini sırasıyla animasyonla göster */
.mobile-menu.active .menu-item:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .menu-item:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .menu-item:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .menu-item:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .menu-item:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .menu-item:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu.active .menu-item:nth-child(7) { transition-delay: 0.4s; }
.mobile-menu.active .menu-item:nth-child(8) { transition-delay: 0.45s; }
.mobile-menu.active .menu-item:nth-child(9) { transition-delay: 0.5s; }
.mobile-menu.active .menu-item:nth-child(10) { transition-delay: 0.55s; }
.mobile-menu.active .menu-item:nth-child(11) { transition-delay: 0.6s; }
.mobile-menu.active .menu-item:nth-child(12) { transition-delay: 0.65s; }
.mobile-menu.active .menu-item:nth-child(13) { transition-delay: 0.7s; }
.mobile-menu.active .menu-item:nth-child(14) { transition-delay: 0.75s; }
.mobile-menu.active .menu-item:nth-child(15) { transition-delay: 0.8s; }
.mobile-menu.active .menu-item:nth-child(16) { transition-delay: 0.85s; }

.menu-link {
    display: block;
    color: var(--white);
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.menu-link:hover {
    color: var(--primary);
}

.menu-link.active {
    color: var(--primary);
    font-weight: 500;
}

.menu-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 20px;
    padding-bottom: 5px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

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

/* Header - Animasyonlu */
header {
    background-color: var(--dark);
    background-image: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    background-size: 200% 200%;
    animation: headerGradient 15s ease infinite;
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    animation: scaleIn 3s ease-out;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 10px;
    position: relative;
    animation: fadeInUp 1s ease;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.subtitle {
    color: var(--primary);
    letter-spacing: 3px;
    font-size: 1.1rem;
    position: relative;
    animation: fadeInUp 1.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Katalog Bölümü - Animasyonlu */
.catalog-section {
    padding: 60px 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease;
}

.section-title {
    position: relative;
    font-size: 2rem;
    margin-bottom: 40px;
    display: inline-block;
    animation: fadeInUp 1.2s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary);
    animation: scaleX 1.5s forwards ease-out;
    animation-delay: 0.7s;
}

@keyframes scaleX {
    from { width: 0; }
    to { width: 60px; }
}

.fabric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.fabric-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 30px 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    opacity: 0;
    animation: scaleIn 0.5s forwards;
    animation-fill-mode: forwards;
    overflow: hidden;
}

/* Kartlara gecikmeli animasyon */
.fabric-card:nth-child(1) { animation-delay: 0.1s; }
.fabric-card:nth-child(2) { animation-delay: 0.2s; }
.fabric-card:nth-child(3) { animation-delay: 0.3s; }
.fabric-card:nth-child(4) { animation-delay: 0.4s; }
.fabric-card:nth-child(5) { animation-delay: 0.5s; }
.fabric-card:nth-child(6) { animation-delay: 0.6s; }
.fabric-card:nth-child(7) { animation-delay: 0.7s; }
.fabric-card:nth-child(8) { animation-delay: 0.8s; }

.fabric-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.fabric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 1;
}

.fabric-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.fabric-card:hover::after {
    transform: scaleX(1);
}

.fabric-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    transition: var(--transition);
    animation: floatIcon 3s ease-in-out infinite;
}

.fabric-card:hover .fabric-icon {
    transform: translateY(-8px) rotate(10deg);
}

.fabric-name {
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.fabric-card:hover .fabric-name {
    color: var(--primary);
}

.fabric-card:hover {
    animation: borderGlow 2s infinite;
}

/* Renk İkonları - Animasyonlu */
.pink-icon { 
    color: #ff6b9e; 
    text-shadow: 0 0 10px rgba(255, 107, 158, 0.3);
}

.green-icon { 
    color: #4caf50; 
    text-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.blue-icon { 
    color: #2196f3; 
    text-shadow: 0 0 10px rgba(33, 150, 243, 0.3);
}

.purple-icon { 
    color: #9c27b0; 
    text-shadow: 0 0 10px rgba(156, 39, 176, 0.3);
}

.gold-icon { 
    color: var(--primary); 
    text-shadow: 0 0 10px rgba(201, 169, 110, 0.3);
}

/* Premium Bölümü - Animasyonlu */
.premium-section {
    background-color: var(--white);
    padding-top: 80px;
    position: relative;
}

.premium-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.1), transparent);
}

.premium-card {
    background-color: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Footer - Animasyonlu */
footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 60px 0 20px;
    margin-top: 60px;
    position: relative;
    animation: fadeIn 1.5s ease;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    animation: scaleIn 1.5s ease;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
    animation: fadeInUp 1.2s ease;
}

.footer-text {
    margin-bottom: 20px;
    line-height: 1.7;
    animation: fadeInUp 1.3s ease;
}

.footer-links {
    list-style: none;
    margin-bottom: 20px;
    animation: fadeInUp 1.4s ease;
}

.footer-links li {
    margin-bottom: 10px;
    opacity: 0;
    animation: fadeInUp 0.5s forwards;
}

.footer-links li:nth-child(1) { animation-delay: 0.3s; }
.footer-links li:nth-child(2) { animation-delay: 0.4s; }
.footer-links li:nth-child(3) { animation-delay: 0.5s; }
.footer-links li:nth-child(4) { animation-delay: 0.6s; }
.footer-links li:nth-child(5) { animation-delay: 0.7s; }

.footer-links a {
    color: var(--text-light);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    animation: fadeInUp 1.5s ease;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    animation: scaleIn 0.5s forwards;
}

.social-icon:nth-child(1) { animation-delay: 0.5s; }
.social-icon:nth-child(2) { animation-delay: 0.6s; }
.social-icon:nth-child(3) { animation-delay: 0.7s; }
.social-icon:nth-child(4) { animation-delay: 0.8s; }

.social-icon:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    animation: fadeInUp 0.5s forwards;
}

.contact-info p:nth-child(1) { animation-delay: 0.4s; }
.contact-info p:nth-child(2) { animation-delay: 0.5s; }
.contact-info p:nth-child(3) { animation-delay: 0.6s; }

.contact-icon {
    color: var(--primary);
    margin-right: 10px;
    margin-top: 4px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    margin-top: 40px;
    font-size: 0.9rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    animation: fadeIn 2s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2.2rem;
    }
    
    .subtitle {
        font-size: 0.7rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .fabric-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 15px;
    }
    
    .fabric-card {
        padding: 20px 15px;
        min-height: 150px;
    }
    
    .fabric-icon {
        font-size: 1.5rem;
    }
    
    .fabric-name {
        font-size: 0.9rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
}


/* Ek animasyon efektleri için CSS */

/* Dokunmatik cihazlar için efektler */
.touch-active {
    transform: scale(0.95) !important;
    transition: transform 0.2s ease !important;
}

/* Scroll animasyonları için */
section {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

section.show {
    opacity: 1;
    transform: translateY(0);
}

/* Sayfa yükleme animasyonu */
body.loaded header::before {
    animation: scaleIn 1.5s ease;
}

.logo, .subtitle {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Kart animasyonları */
.fabric-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* 3D kart efekti sınıfı */
.card-3d {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Kayan animasyonlar */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0px); }
}

/* Dalga animasyonu */
@keyframes wave {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px) rotate(5deg); }
    100% { transform: translateX(0); }
}

/* Giriş animasyonları */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s forwards;
}

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

/* Farklı gecikmeler için */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }

/* İkon efektleri */
.icon-float {
    animation: float 3s ease-in-out infinite;
}

.icon-wave {
    animation: wave 3s ease-in-out infinite;
}

/* Yazı animasyonları */
@keyframes textFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-text span {
    display: inline-block;
    opacity: 0;
    animation: textFade 0.3s forwards;
}

/* Pulse efekti */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Hover glow efekti */
.hover-glow:hover {
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.5);
}

/* İnce border animasyonu */
@keyframes borderPulse {
    0% { border-color: rgba(201, 169, 110, 0.3); }
    50% { border-color: rgba(201, 169, 110, 1); }
    100% { border-color: rgba(201, 169, 110, 0.3); }
}

.border-pulse {
    border: 1px solid rgba(201, 169, 110, 0.3);
    animation: borderPulse 2s infinite;
}

/* Yatay kaydırma efekti */
.scroll-x {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.scroll-x::-webkit-scrollbar {
    height: 6px;
}

.scroll-x::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.scroll-x::-webkit-scroller-thumb {
    background: #c9a96e;
    border-radius: 10px;
}

/* Fading kenar efekti */
.fade-edge {
    position: relative;
}

.fade-edge::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 30px;
    background: linear-gradient(to right, transparent, white);
    pointer-events: none;
}

/* Koşturucu çizgi animasyonu */
@keyframes lineRunner {
    0% { left: 0; width: 0; }
    50% { left: 0; width: 100%; }
    100% { left: 100%; width: 0; }
}

.line-runner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background-color: var(--primary);
    animation: lineRunner 3s infinite;
}