/* =========================================
   QRMenuPro - Ana Stil
   ========================================= */

:root {
    --renk-ana: #FF6B35;
    --renk-ikincil: #2D1B69;
    --renk-vurgu: #F7C59F;
    --renk-koyu: #1A1A2E;
    --renk-acik: #F8F9FA;
    --renk-basari: #06D6A0;
    --gradient-ana: linear-gradient(135deg, #FF6B35 0%, #2D1B69 100%);
    --gradient-hero: linear-gradient(135deg, #1A1A2E 0%, #16213E 50%, #0F3460 100%);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: 'Playfair Display', serif;
}

/* Kaydırma çubuğu */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #1a1a2e;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #FF6B35, #2D1B69);
    border-radius: 5px;
}

/* Gradient metin */
.metin-gradient {
    background: var(--gradient-ana);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism */
.cam-efekti {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cam-efekti-acik {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Butonlar */
.btn-gradient {
    background: var(--gradient-ana);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -15px rgba(255, 107, 53, 0.6);
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

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

@keyframes scanLine {
    0% { top: 0; }
    50% { top: 100%; }
    100% { top: 0; }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

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

.animate-float { animation: float 6s ease-in-out infinite; }
.animate-fadeInUp { animation: fadeInUp 0.8s ease forwards; }

/* Fade scroll */
.fade-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-scroll.gorunur {
    opacity: 1;
    transform: translateY(0);
}

/* Hero parçacıkları */
.parcacik {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.4);
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

/* Telefon çerçevesi */
.telefon-cerceve {
    border-radius: 40px;
    background: #111;
    padding: 12px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5), 0 0 0 2px #333;
    position: relative;
}

.telefon-cerceve::before {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #111;
    border-radius: 12px;
    z-index: 10;
}

/* QR kod scan çizgisi */
.qr-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.qr-scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #FF6B35, transparent);
    animation: scanLine 2.5s ease-in-out infinite;
    z-index: 5;
}

/* Kart hover */
.kart-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Accordion */
.sss-icerik {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.sss-acik .sss-icerik {
    max-height: 300px;
    padding-top: 1rem;
    padding-bottom: 1.25rem;
}

.sss-acik .sss-ikon {
    transform: rotate(180deg);
}

.sss-ikon {
    transition: transform 0.3s ease;
}

/* Gradient border */
.gradient-border {
    position: relative;
    background: white;
    z-index: 0;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    padding: 2px;
    background: var(--gradient-ana);
    border-radius: inherit;
    z-index: -1;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Typing caret */
.typing-caret::after {
    content: '|';
    animation: blink 1s infinite;
    color: #FF6B35;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* Testimonial carousel */
.yorum-carousel {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.yorum-carousel > * {
    scroll-snap-align: start;
}
.yorum-carousel::-webkit-scrollbar {
    display: none;
}

/* Navbar scroll */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}
.navbar-scrolled .nav-link { color: #1A1A2E !important; }
.navbar-scrolled .nav-logo-text { color: #1A1A2E !important; }

/* Pulse button */
@keyframes pulseRing {
    0% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 107, 53, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 107, 53, 0); }
}
.pulse-btn {
    animation: pulseRing 2s infinite;
}

/* Mobile */
@media (max-width: 768px) {
    .telefon-cerceve {
        border-radius: 30px;
        padding: 8px;
    }
}
