/* ==========================================================================
   SALON MODERN STYLE - 2026 LUXURY DESIGN SYSTEM
   Mobile-First Digital Business Card & Review Landing Page
   Inspired by Apple, Stripe, Linear & Luxury Beauty Aesthetics
   ========================================================================== */

:root {
    /* Color Palette - Dark Mode Default */
    --bg-primary: #090d16;
    --bg-secondary: #131b2e;
    --bg-card: rgba(19, 27, 46, 0.7);
    --bg-card-hover: rgba(30, 41, 67, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --bg-glass-border: rgba(255, 255, 255, 0.12);
    
    /* Brand Accent Colors */
    --accent-gold: #d97706;
    --accent-gold-light: #fbbf24;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    --accent-emerald: #059669;
    --accent-emerald-light: #10b981;
    --accent-emerald-glow: rgba(16, 185, 129, 0.25);
    --accent-rose: #e11d48;
    
    /* Neutral Text & UI */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #090d16;
    
    /* Layout & Geometry */
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 35px rgba(245, 158, 11, 0.18);
    --shadow-emerald: 0 0 30px rgba(16, 185, 129, 0.2);
    
    /* Transitions & Fonts */
    --font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --bg-glass: rgba(15, 23, 42, 0.04);
    --bg-glass-border: rgba(15, 23, 42, 0.08);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-inverse: #ffffff;
    
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
    --shadow-glow: 0 8px 30px rgba(217, 119, 6, 0.15);
    --shadow-emerald: 0 8px 25px rgba(5, 150, 105, 0.15);
}

/* Reset & Global Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-family: var(--font-family);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    line-height: 1.5;
    background: radial-gradient(circle at 50% 0%, rgba(5, 150, 105, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 80% 40%, rgba(217, 119, 6, 0.06) 0%, transparent 50%),
                var(--bg-primary);
    background-attachment: fixed;
    padding-bottom: 40px;
}

/* Main Container */
.app-container {
    width: 100%;
    max-width: 480px;
    padding: 12px 16px 32px 16px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Top Nav / Quick Controls */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
}

.brand-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.control-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--bg-glass-border);
    background: var(--bg-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: transform var(--transition-fast), background var(--transition-fast);
}

.control-btn:active {
    transform: scale(0.92);
}

.control-btn svg {
    width: 20px;
    height: 20px;
}

/* Hero Section Header */
.hero-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-md);
}

.hero-banner {
    width: 100%;
    height: 160px;
    position: relative;
    overflow: hidden;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
    transition: transform var(--transition-normal);
}

.hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 13, 22, 0.1) 0%, var(--bg-card) 100%);
}

.hero-profile {
    position: relative;
    padding: 0 20px 20px 20px;
    margin-top: -50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.logo-wrapper {
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    padding: 4px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 12px;
}

.logo-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    object-fit: cover;
    background: #ffffff;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status-badge.open {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-emerald-light);
    border-color: rgba(16, 185, 129, 0.3);
}

.status-badge.closed {
    background: rgba(225, 29, 72, 0.15);
    color: var(--accent-rose);
    border-color: rgba(225, 29, 72, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.salon-title {
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.salon-tagline {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    max-width: 320px;
    line-height: 1.4;
}

.rating-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-glass);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid var(--bg-glass-border);
}

.stars {
    color: var(--accent-gold-light);
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

/* Primary Action Buttons */
.primary-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-primary-large {
    width: 100%;
    min-height: 54px;
    border-radius: var(--radius-md);
    border: none;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.btn-primary-large:active {
    transform: scale(0.98);
}

.btn-save-contact {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    box-shadow: var(--shadow-emerald);
}

.btn-book-appointment {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #ffffff;
    box-shadow: var(--shadow-glow);
}

.btn-whatsapp-chat {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(10px);
}

.btn-primary-large svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Priority #1 GOOGLE REVIEW HERO CARD */
.google-review-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    background: linear-gradient(145deg, rgba(217, 119, 6, 0.15) 0%, rgba(19, 27, 46, 0.9) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.4);
    box-shadow: var(--shadow-glow);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    overflow: hidden;
}

.google-review-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(251, 191, 36, 0.18);
    color: var(--accent-gold-light);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.review-stars-large {
    display: flex;
    gap: 6px;
    color: #fbbf24;
}

.review-stars-large svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
    filter: drop-shadow(0 2px 8px rgba(251, 191, 36, 0.5));
}

.review-headline {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.25;
}

.review-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 320px;
    line-height: 1.45;
}

.btn-review-google {
    width: 100%;
    min-height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    color: #090d16;
    font-weight: 700;
    font-size: 1.02rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(217, 119, 6, 0.4);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-review-google:active {
    transform: scale(0.97);
}

.btn-review-google svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* Quick Action Grid */
.section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.quick-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.grid-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    padding: 14px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
    backdrop-filter: blur(12px);
}

.grid-card:active {
    transform: scale(0.94);
    background: var(--bg-card-hover);
}

.icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    color: var(--accent-emerald-light);
    transition: color var(--transition-fast);
}

.icon-box svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.grid-label {
    font-size: 0.76rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-secondary);
}

/* Services Section */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(12px);
}

.service-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(5, 150, 105, 0.12);
    color: var(--accent-emerald-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-icon-wrapper svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.service-info {
    flex: 1;
}

.service-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.service-name {
    font-size: 0.96rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--accent-gold-glow);
    color: var(--accent-gold-light);
    text-transform: uppercase;
}

.service-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.35;
}

/* Horizontal Gallery */
.gallery-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.gallery-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-item {
    flex: 0 0 82%;
    scroll-snap-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 10;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    inset-x: 0;
    padding: 12px 14px;
    background: linear-gradient(to top, rgba(9, 13, 22, 0.9) 0%, transparent 100%);
    font-size: 0.82rem;
    font-weight: 600;
    color: #ffffff;
}

/* Business Hours Card */
.hours-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    backdrop-filter: blur(12px);
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.hour-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.hour-row.today {
    background: rgba(5, 150, 105, 0.12);
    color: var(--text-primary);
    font-weight: 700;
    border: 1px solid rgba(5, 150, 105, 0.25);
}

.hour-row.today .day-name::after {
    content: ' (Azi)';
    font-size: 0.75rem;
    color: var(--accent-emerald-light);
}

.time-val {
    font-weight: 600;
}

.time-closed {
    color: var(--accent-rose);
}

/* Contact Details Card & Copy Actions */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    backdrop-filter: blur(12px);
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.contact-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--accent-emerald-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
}

.copy-btn {
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--bg-glass-border);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

.copy-btn:active {
    background: var(--accent-emerald);
    color: #ffffff;
}

/* Social Profiles Section */
.social-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.social-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition-fast);
    backdrop-filter: blur(12px);
}

.social-card:active {
    transform: scale(0.96);
}

.social-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
    color: var(--accent-emerald-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon-wrapper svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.social-handle {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* Footer & Legal */
.footer {
    margin-top: 10px;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--text-primary);
    color: var(--text-inverse);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Floating Back To Top & Share */
.floating-actions {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
}

.float-btn {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-full);
    background: var(--accent-emerald);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.float-btn:active {
    transform: scale(0.9);
}

.float-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
}

.back-to-top {
    opacity: 0;
    pointer-events: none;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--bg-glass-border);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Accessibility Focus States */
:focus-visible {
    outline: 2px solid var(--accent-gold-light);
    outline-offset: 2px;
}
