/* EsansLab - Light Luxury Niche Perfumery Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-base: #FBF9F5;
    --bg-surface: #FFFFFF;
    --bg-surface-elevated: #FFFFFF;
    --gold-primary: #C59B27;
    --gold-dark: #996515;
    --gold-light: #FBF5E8;
    --gold-border: rgba(197, 155, 39, 0.35);
    --gold-glow: rgba(212, 175, 55, 0.2);
    --emerald-primary: #059669;
    --emerald-dark: #064E3B;
    --emerald-light: #ECFDF5;
    --emerald-border: rgba(5, 150, 105, 0.35);
    --text-primary: #18221E;
    --text-secondary: #475569;
    --text-muted: #64748B;
    --font-heading: 'Cinzel', serif;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --radius-md: 14px;
    --radius-lg: 20px;
}

body {
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle at 12% 15%, rgba(197, 155, 39, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 88% 25%, rgba(5, 150, 105, 0.07) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(197, 155, 39, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, #FDFBF7 0%, #F5F1E8 100%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F1ECE1;
}
::-webkit-scrollbar-thumb {
    background: rgba(197, 155, 39, 0.45);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Typography */
h1, h2, h3, h4, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.font-serif {
    font-family: var(--font-serif);
}

.text-gold {
    color: var(--gold-dark) !important;
}

.text-gold-gradient {
    background: linear-gradient(135deg, #B8860B 0%, #D4AF37 50%, #8C6D1F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-emerald {
    color: var(--emerald-primary) !important;
}

/* Luxury Light Cards */
.luxury-card {
    background: var(--bg-surface);
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(184, 134, 11, 0.07), 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.luxury-card:hover {
    border-color: var(--gold-primary);
    box-shadow: 0 18px 45px rgba(184, 134, 11, 0.15), 0 0 25px rgba(212, 175, 55, 0.12);
    transform: translateY(-4px);
}

/* Buttons */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    color: #FFFFFF !important;
    font-family: var(--font-sans);
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    letter-spacing: 0.03em;
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.28);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E5C358 0%, #996515 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(184, 134, 11, 0.4);
}

.btn-outline-gold {
    background: #FFFFFF;
    color: var(--gold-dark) !important;
    border: 1.5px solid var(--gold-primary);
    font-weight: 700;
    border-radius: 50px;
    padding: 11px 26px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.btn-outline-gold:hover {
    background: #FAF3E0;
    color: #7A5008 !important;
    border-color: var(--gold-dark);
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.2);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #FFFFFF !important;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    padding: 12px 22px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.3;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #2BF074 0%, #15A695 100%);
    color: #FFFFFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Header & Navbar */
.luxury-navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(197, 155, 39, 0.28);
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar-brand .brand-logo-img {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 2px 6px rgba(184, 134, 11, 0.3));
    transition: transform 0.3s ease;
}

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

.navbar-brand .brand-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--gold-dark);
    line-height: 1;
}

.navbar-brand .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.94rem;
    padding: 8px 16px !important;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--gold-dark) !important;
}

/* Hero Section */
.hero-glow-logo {
    animation: floatGlow 6s ease-in-out infinite;
    filter: drop-shadow(0 15px 35px rgba(5, 150, 105, 0.2)) drop-shadow(0 8px 20px rgba(184, 134, 11, 0.2));
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.02);
    }
}

.floating-badge {
    position: absolute;
    background: #FFFFFF;
    border: 1px solid var(--gold-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--gold-dark);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: badgePulse 4s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.badge-top-left { top: 8%; left: -6%; }
.badge-bottom-right { bottom: 12%; right: -6%; }
.badge-center-left { top: 58%; left: -10%; }

/* Quiz Progress Bar */
.quiz-progress-track {
    height: 10px;
    background: #EAE5D9;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #059669, #D4AF37);
    width: 14.28%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.5);
}

/* Quiz Option Card */
.quiz-option-card {
    background: #FFFFFF;
    border: 1.5px solid #E5E0D5;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03);
}

.quiz-option-card:hover {
    border-color: var(--gold-primary);
    background: #FAF8F2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.12);
}

.quiz-option-card.selected {
    border-color: var(--emerald-primary);
    background: #ECFDF5;
    box-shadow: 0 0 16px rgba(5, 150, 105, 0.25), inset 0 0 8px rgba(5, 150, 105, 0.08);
}

.quiz-option-card.selected::after {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    top: 10px;
    right: 12px;
    color: var(--emerald-primary);
    font-size: 1.2rem;
    font-weight: bold;
}

.color-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: inline-block;
    transition: transform 0.2s ease;
}

.quiz-option-card:hover .color-circle {
    transform: scale(1.15);
}

/* Chip Badges */
.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FAF3E0;
    color: var(--gold-dark);
    border: 1px solid rgba(197, 155, 39, 0.4);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.85rem;
    font-weight: 600;
}

.tag-chip .btn-close-chip {
    cursor: pointer;
    color: #996515;
    font-size: 1.1rem;
    line-height: 1;
}

.tag-chip .btn-close-chip:hover {
    color: #000;
}

/* Search Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid var(--gold-border);
    border-radius: var(--radius-md);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    display: none;
}

.autocomplete-item {
    padding: 12px 18px;
    cursor: pointer;
    border-bottom: 1px solid #F1ECE1;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 14px;
}

.autocomplete-item:hover {
    background: #FDF6E8;
}

/* Perfume Image Wrapper (Vitrin ve Kartlar İçin Sabit Düzen) */
.perfume-img-wrapper {
    width: 100%;
    height: 200px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, rgba(245, 241, 232, 0.8) 75%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 14px;
}

.perfume-img-wrapper img {
    max-height: 180px;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
    transition: transform 0.4s ease;
}

.luxury-card:hover .perfume-img-wrapper img {
    transform: scale(1.06);
}

/* Match Rate Badge */
.match-rate-pill {
    background: linear-gradient(135deg, #059669, #047857);
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* AI Analysis Box */
.ai-report-box {
    background: #FFFFFF;
    border: 2px solid var(--gold-primary);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    box-shadow: 0 12px 35px rgba(184, 134, 11, 0.12);
}

.ai-report-box::before {
    content: "\F598  PARFÜMÖRÜN KOKU ANALİZİ";
    font-family: var(--font-sans), "bootstrap-icons";
    position: absolute;
    top: -16px;
    left: 32px;
    background: #FAF3E0;
    padding: 4px 16px;
    border: 1px solid var(--gold-primary);
    border-radius: 50px;
    color: var(--gold-dark);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

/* Footer */
.luxury-footer {
    background: #F4EFE6;
    border-top: 1px solid rgba(197, 155, 39, 0.25);
    padding: 60px 0 30px;
    color: var(--text-secondary);
}
