/* ========================================
   TRAFNA.PL - Modern Business Directory
   Color Palette: Graphite + Yellow + Red
   ======================================== */

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

/* CSS Variables */
:root {
    /* Primary Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #141414;
    --bg-card-hover: #1a1a1a;
    --bg-elevated: #1f1f1f;
    
    /* Accent Colors */
    --accent-yellow: #f7c600;
    --accent-yellow-light: #ffe066;
    --accent-yellow-dark: #d4a800;
    --accent-red: #e63946;
    --accent-red-light: #ff6b6b;
    --accent-orange: #ff7b00;
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b3b3b3;
    --text-muted: #666666;
    
    /* Borders & Shadows */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-yellow: rgba(247, 198, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(247, 198, 0, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    /* Spacing */
    --container-max: 1400px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-yellow);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-yellow-light);
}

/* Selection */
::selection {
    background: var(--accent-yellow);
    color: var(--bg-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
    color: var(--text-secondary);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    gap: var(--spacing-md);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.logo svg {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.logo-text span {
    color: var(--accent-yellow);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    list-style: none;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: var(--spacing-xs) 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: 0.75rem 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--bg-dark);
}

.btn-primary:hover {
    background: var(--accent-yellow-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(247, 198, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.btn-red {
    background: var(--accent-red);
    color: var(--text-primary);
}

.btn-red:hover {
    background: var(--accent-red-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.3);
}

.btn-outline-yellow {
    background: transparent;
    color: var(--accent-yellow);
    border: 2px solid var(--accent-yellow);
}

.btn-outline-yellow:hover {
    background: var(--accent-yellow);
    color: var(--bg-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(10, 10, 10, 0.85) 100%);
    z-index: 1;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-images {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    opacity: 0.4;
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated Grid Pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(247, 198, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 198, 0, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

/* Glow Effects */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.3;
    pointer-events: none;
}

.hero-glow-1 {
    top: -200px;
    right: -200px;
    background: var(--accent-yellow);
}

.hero-glow-2 {
    bottom: -200px;
    left: -200px;
    background: var(--accent-red);
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1rem;
    background: rgba(247, 198, 0, 0.1);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-yellow);
    margin-bottom: var(--spacing-md);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-yellow);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    margin-bottom: var(--spacing-md);
}

.hero h1 .highlight {
    color: var(--accent-yellow);
    position: relative;
}

.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--accent-yellow);
    opacity: 0.3;
    z-index: -1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 600px;
}

/* Search Box */
.search-box {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xs);
    display: flex;
    gap: var(--spacing-xs);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    max-width: 700px;
}

.search-input-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-md);
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
}

.search-input-group svg {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.search-input-group input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    padding: 1rem 0;
    font-family: inherit;
}

.search-input-group input::placeholder {
    color: var(--text-muted);
}

.search-input-group input:focus {
    outline: none;
}

.search-divider {
    width: 1px;
    height: 30px;
    background: var(--border-subtle);
    align-self: center;
}

.search-box .btn-primary {
    padding: 1rem 2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--border-subtle);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-yellow);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--spacing-xs);
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */

.categories {
    padding: var(--spacing-xxl) 0;
    position: relative;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.section-title {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.section-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Category Bubbles */
.categories-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    justify-content: center;
}

.category-bubble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    cursor: pointer;
    transition: var(--transition-normal);
}

.category-bubble:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid transparent;
    position: relative;
    transition: var(--transition-normal);
}

.category-bubble:hover .category-image {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 30px rgba(247, 198, 0, 0.3);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.category-bubble:hover .category-image img {
    transform: scale(1.1);
}

.category-image .play-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: var(--transition-normal);
}

.category-bubble:hover .category-image .play-icon {
    opacity: 1;
}

.play-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent-yellow);
}

.category-name {
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.category-bubble:hover .category-name {
    color: var(--accent-yellow);
}

/* ========================================
   FEATURED / RECOMMENDED BUSINESSES
   ======================================== */

.featured {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

/* Business Card */
.business-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: var(--transition-normal);
    position: relative;
}

.business-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-yellow);
    box-shadow: var(--shadow-glow);
}

.business-card-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.business-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.business-card:hover .business-card-media img {
    transform: scale(1.05);
}

.business-card-media .video-badge {
    position: absolute;
    bottom: var(--spacing-sm);
    right: var(--spacing-sm);
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.8);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
}

.business-card-media .video-badge svg {
    width: 14px;
    height: 14px;
    color: var(--accent-yellow);
}

.business-card-media .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: var(--transition-normal);
}

.business-card:hover .business-card-media .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    color: var(--bg-dark);
    margin-left: 3px;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(247, 198, 0, 0.5);
}

/* Badges */
.business-badges {
    position: absolute;
    top: var(--spacing-sm);
    left: var(--spacing-sm);
    display: flex;
    gap: var(--spacing-xs);
}

.badge {
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-verified {
    background: var(--accent-yellow);
    color: var(--bg-dark);
}

.badge-promoted {
    background: var(--accent-red);
    color: var(--text-primary);
}

.badge-new {
    background: var(--accent-orange);
    color: var(--bg-dark);
}

.business-card-content {
    padding: var(--spacing-md);
}

.business-card-header {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.business-logo {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-subtle);
}

.business-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.business-info {
    flex: 1;
    min-width: 0;
}

.business-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.business-category {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.business-rating {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.stars {
    display: flex;
    gap: 2px;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: var(--accent-yellow);
}

.stars svg.empty {
    fill: var(--text-muted);
}

.rating-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.business-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.business-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.business-meta svg {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
}

.business-open {
    color: #4ade80;
}

.business-closed {
    color: var(--accent-red);
}

/* ========================================
   VIDEO REELS SECTION
   ======================================== */

.video-reels {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-darker);
}

.reels-slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    padding-bottom: var(--spacing-md);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.reels-slider::-webkit-scrollbar {
    display: none;
}

.reel-card {
    flex-shrink: 0;
    width: 280px;
    scroll-snap-align: start;
}

.reel-video {
    position: relative;
    aspect-ratio: 9/16;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
}

.reel-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-video .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.reel-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--spacing-md);
}

.reel-business {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.reel-business img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--accent-yellow);
}

.reel-business-info {
    flex: 1;
}

.reel-business-name {
    font-weight: 600;
    font-size: 0.9rem;
}

.reel-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ========================================
   MAP SECTION
   ======================================== */

.map-section {
    padding: var(--spacing-xxl) 0;
}

.map-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: var(--spacing-lg);
    min-height: 600px;
}

.map-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(1) invert(1) contrast(1.1);
}

.map-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.map-business-card {
    display: flex;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-normal);
}

.map-business-card:hover {
    border-color: var(--accent-yellow);
    background: var(--bg-card-hover);
}

.map-business-card.active {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 20px rgba(247, 198, 0, 0.2);
}

.map-business-image {
    width: 100px;
    height: 80px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.map-business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.map-business-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.map-business-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   SEARCH RESULTS PAGE
   ======================================== */

.results-page {
    padding-top: 100px;
    min-height: 100vh;
}

.results-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.results-header {
    margin-bottom: var(--spacing-lg);
}

.results-count {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.results-count strong {
    color: var(--accent-yellow);
}

.results-filters {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--accent-yellow);
    color: var(--accent-yellow);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.results-map {
    position: sticky;
    top: 100px;
    height: calc(100vh - 120px);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* ========================================
   COMPANY PROFILE PAGE
   ======================================== */

.profile-page {
    padding-top: 80px;
}

.profile-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.profile-hero-bg {
    position: absolute;
    inset: 0;
}

.profile-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.9) 100%);
}

.profile-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--spacing-xl);
}

.profile-header {
    display: flex;
    align-items: flex-end;
    gap: var(--spacing-lg);
    width: 100%;
}

.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 4px solid var(--bg-dark);
    flex-shrink: 0;
    background: var(--bg-card);
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-title-group {
    flex: 1;
}

.profile-badges {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.profile-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.profile-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.profile-actions {
    display: flex;
    gap: var(--spacing-sm);
}

/* Profile Tabs */
.profile-tabs {
    display: flex;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
    scrollbar-width: none;
}

.profile-tabs::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    border-radius: var(--radius-sm);
    transition: var(--transition-fast);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--bg-card);
}

.tab-btn.active {
    color: var(--accent-yellow);
    background: rgba(247, 198, 0, 0.1);
}

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.profile-main {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.profile-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

/* Media Gallery */
.media-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.media-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.media-item:hover img {
    transform: scale(1.1);
}

.media-item.video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-item .video-duration {
    position: absolute;
    bottom: var(--spacing-xs);
    right: var(--spacing-xs);
    padding: 2px 6px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Info Cards */
.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-subtle);
}

.info-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-md);
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Opening Hours */
.hours-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.hours-row.today {
    color: var(--accent-yellow);
    font-weight: 600;
}

.hours-row .day {
    color: var(--text-secondary);
}

.hours-row .time {
    color: var(--text-primary);
}

.hours-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.3rem 0.8rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.hours-status.open {
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
}

.hours-status.closed {
    background: rgba(230, 57, 70, 0.1);
    color: var(--accent-red);
}

/* Contact Info */
.contact-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.contact-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 18px;
    height: 18px;
    color: var(--accent-yellow);
}

.contact-text {
    flex: 1;
}

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

.contact-value {
    font-weight: 500;
}

.contact-value a {
    color: var(--accent-yellow);
}

.contact-value a:hover {
    text-decoration: underline;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-subtle);
    transition: var(--transition-normal);
}

.service-card:hover {
    border-color: var(--border-yellow);
}

.service-name {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.service-description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.service-price {
    font-weight: 700;
    color: var(--accent-yellow);
}

/* Reviews */
.review-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-subtle);
}

.review-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-author {
    flex: 1;
}

.review-name {
    font-weight: 600;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-subtle);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-brand p {
    margin-top: var(--spacing-md);
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-link svg {
    width: 18px;
    height: 18px;
    color: var(--text-secondary);
}

.social-link:hover {
    background: var(--accent-yellow);
}

.social-link:hover svg {
    color: var(--bg-dark);
}

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-column a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-subtle);
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a:hover {
    color: var(--accent-yellow);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .results-layout {
        grid-template-columns: 1fr;
    }
    
    .results-map {
        display: none;
    }
    
    .profile-content {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .search-box {
        flex-direction: column;
    }
    
    .search-divider {
        width: 100%;
        height: 1px;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }
    
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .profile-actions {
        width: 100%;
    }
    
    .profile-actions .btn {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .categories-grid {
        gap: var(--spacing-md);
    }
    
    .category-image {
        width: 80px;
        height: 80px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .media-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .category-image {
        width: 70px;
        height: 70px;
    }
    
    .category-name {
        font-size: 0.85rem;
    }
    
    .profile-logo {
        width: 80px;
        height: 80px;
    }
    
    .profile-title {
        font-size: 1.5rem;
    }
    
    .media-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

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

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

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.5s ease forwards;
}

/* Staggered animations */
.stagger > * {
    opacity: 0;
    animation: fadeInUp 0.5s ease forwards;
}

.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* ========================================
   UTILITIES
   ======================================== */

.text-yellow { color: var(--accent-yellow); }
.text-red { color: var(--accent-red); }
.text-muted { color: var(--text-muted); }

.bg-card { background: var(--bg-card); }
.bg-elevated { background: var(--bg-elevated); }

.rounded-full { border-radius: var(--radius-full); }
.rounded-lg { border-radius: var(--radius-lg); }

.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
