/* Nordica Mobilya Teması — sıcak, doğal, İskandinav */

/* Başlıklar Fraunces serif */
h1, h2, h3, .font-display {
    font-family: 'Fraunces', Georgia, serif;
    letter-spacing: -0.01em;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #F3EEE4;
}
::-webkit-scrollbar-thumb {
    background: #B3A794;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8B7E6F;
}

/* Line clamp */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

* { scroll-behavior: smooth; }

input:focus, textarea:focus, select:focus, button:focus { outline: none; }

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"] { -moz-appearance: textfield; }

/* Prose */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    font-weight: 600; margin-top: 1.5em; margin-bottom: 0.5em; color: #292019;
}
.prose p { margin-bottom: 1em; line-height: 1.75; }
.prose ul, .prose ol { margin-bottom: 1em; padding-left: 1.5em; }
.prose li { margin-bottom: 0.25em; }
.prose a { color: #A9713B; text-decoration: underline; }
.prose a:hover { color: #8A5A2E; }

.aspect-square { aspect-ratio: 1 / 1; }

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { transform: translateX(100%); } to { transform: translateX(0); } }

@keyframes float-up {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}
@keyframes float-diagonal {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(8px, -14px) rotate(5deg); }
    66% { transform: translate(-4px, -22px) rotate(-3deg); }
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-10px) scale(1.03); }
}
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

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

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

.animate-fade-in { animation: fadeIn 0.3s ease-out; }
.animate-slide-up { animation: slideUp 0.3s ease-out; }
.animate-slide-in-right { animation: slideInRight 0.3s ease-out; }
.animate-float-up { animation: float-up 5s ease-in-out infinite; }
.animate-float-diagonal { animation: float-diagonal 7s ease-in-out infinite; }
.animate-float-slow { animation: float-slow 6s ease-in-out infinite; }
.animate-spin-slow { animation: spin-slow 15s linear infinite; }
.animate-gradient-shift { background-size: 200% 200%; animation: gradient-shift 4s ease-in-out infinite; }

/* Hero content staggered reveal */
.hero-slide-active .hero-subtitle { animation: slideUp 0.5s 0.1s both; }
.hero-slide-active .hero-title { animation: slideUp 0.5s 0.2s both; }
.hero-slide-active .hero-desc { animation: slideUp 0.5s 0.3s both; }
.hero-slide-active .hero-cta { animation: slideUp 0.5s 0.4s both; }

/* Gradient text */
.text-gradient-brand {
    background: linear-gradient(135deg, #A9713B, #8A5A2E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search glow */
.search-glow { transition: all 0.3s ease; }
.search-glow:focus-within {
    box-shadow: 0 0 0 3px rgba(169,113,59,0.12), 0 2px 12px rgba(0,0,0,0.06);
}

/* Floating decorative shapes */
.hero-shape {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

/* Wave separator */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 5;
    line-height: 0;
}

/* Nav pill hover */
.nav-pill {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-pill:hover {
    transform: translateY(-1px);
}

/* Loading skeleton */
.skeleton {
    background: linear-gradient(90deg, #F3EEE4 25%, #E9E1D4 50%, #F3EEE4 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}
@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   HERO SWIPER — Sıcak & Doğal
   ======================================== */

.nordica-hero .swiper-button-next,
.nordica-hero .swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    border-radius: 9999px !important;
    background: rgba(250, 247, 241, 0.85) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(169, 113, 59, 0.25) !important;
    transition: all 0.3s ease !important;
}
.nordica-hero .swiper-button-next:hover,
.nordica-hero .swiper-button-prev:hover {
    background: #A9713B !important;
    border-color: #A9713B !important;
}
.nordica-hero .swiper-button-next:hover:after,
.nordica-hero .swiper-button-prev:hover:after {
    color: #FAF7F1 !important;
}
.nordica-hero .swiper-button-next:after,
.nordica-hero .swiper-button-prev:after {
    content: '' !important;
}

.nordica-hero .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(41, 32, 25, 0.25) !important;
    opacity: 1;
    border-radius: 5px;
    transition: all 0.4s ease;
}
.nordica-hero .swiper-pagination-bullet-active {
    width: 32px;
    background: #A9713B !important;
}

/* General swiper */
.swiper-button-next, .swiper-button-prev {
    color: #A9713B !important;
    background: rgba(255, 255, 255, 0.95);
    width: 42px !important;
    height: 42px !important;
    border-radius: 9999px;
    box-shadow: 0 2px 10px rgba(41, 32, 25, 0.08);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #A9713B;
    color: #FAF7F1 !important;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 15px !important;
    font-weight: bold;
}
.swiper-pagination-bullet { background: #B3A794 !important; }
.swiper-pagination-bullet-active { background: #A9713B !important; }

/* ========================================
   NORDICA TOAST
   ======================================== */

.nordica-toast {
    position: fixed;
    bottom: 28px;
    left: 50%;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    background: #FAF7F1;
    color: #292019;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid #E3D9C8;
    border-radius: 2px;
    box-shadow: 0 16px 40px rgba(41, 32, 25, 0.16);
    opacity: 0;
    transform: translate(-50%, 12px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.nordica-toast-in {
    opacity: 1;
    transform: translate(-50%, 0);
}
.nordica-toast-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 9999px;
    background: rgba(169, 113, 59, 0.10);
    flex-shrink: 0;
}
@media (prefers-reduced-motion: reduce) {
    .nordica-toast { transition: opacity 0.2s ease; transform: translate(-50%, 0); }
}

/* Scrollbar hide */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Print */
@media print {
    header, footer, nav, .no-print { display: none !important; }
    main { padding: 0 !important; }
    .print-only { display: block !important; }
}
