/*
Theme Name: ProConnect
Theme URI: https://example.com/proconnect
Author: Shane
Author URI: https://example.com
Description: Custom WordPress theme for ProConnect - Expert Services Marketplace. Features profile management, credit/wallet system, booking functionality, and conversion-focused funnel design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: proconnect
Tags: custom-theme, marketplace, profiles, booking, credits

ProConnect - Expert Services Marketplace Theme
A fully custom WordPress theme with no page builders.
Features:
- Custom post types for Profiles and Services
- Credit/wallet system for bookings
- User authentication and accounts
- Real-time availability toggles
- Conversion funnel structure
- Analytics and tracking integration
*/

/* ============================================
   CSS Custom Properties
   ============================================ */
:root {
    /* Primary - Sophisticated Navy (not stock Tailwind blue) */
    --color-primary-50: #f0f4f8;
    --color-primary-100: #d9e2ec;
    --color-primary-200: #bcccdc;
    --color-primary-300: #9fb3c8;
    --color-primary-400: #829ab1;
    --color-primary-500: #627d98;
    --color-primary-600: #486581;
    --color-primary-700: #334e68;
    --color-primary-800: #243b53;
    --color-primary-900: #102a43;

    /* Accent - Warm Terracotta (distinctive, not stock) */
    --color-accent-400: #e07c5f;
    --color-accent-500: #d56f4d;
    --color-accent-600: #c45d3a;

    /* Neutrals - Warm Gray (not cold gray) */
    --color-neutral-50: #fafaf9;
    --color-neutral-100: #f5f5f4;
    --color-neutral-200: #e7e5e4;
    --color-neutral-300: #d6d3d1;
    --color-neutral-400: #a8a29e;
    --color-neutral-500: #78716c;
    --color-neutral-600: #57534e;
    --color-neutral-700: #44403c;
    --color-neutral-800: #292524;
    --color-neutral-900: #1c1917;

    --color-success: #059669;
    --color-warning: #d97706;
    --color-error: #dc2626;

    /* Typography */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-sans: var(--font-body);

    /* Refined Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(28 25 23 / 0.04);
    --shadow-md: 0 4px 6px -1px rgb(28 25 23 / 0.07), 0 2px 4px -2px rgb(28 25 23 / 0.05);
    --shadow-lg: 0 10px 25px -5px rgb(28 25 23 / 0.08), 0 8px 10px -6px rgb(28 25 23 / 0.04);
    --shadow-xl: 0 20px 40px -10px rgb(28 25 23 / 0.12), 0 8px 16px -8px rgb(28 25 23 / 0.06);

    /* Premium Easing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-expo: cubic-bezier(0.87, 0, 0.13, 1);

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

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

* {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-neutral-800);
    background-color: var(--color-neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

input, button, textarea, select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 500;
    color: var(--color-neutral-900);
    letter-spacing: -0.02em;
}

h4, h5, h6 {
    font-family: var(--font-body);
    line-height: 1.3;
    font-weight: 600;
    color: var(--color-neutral-900);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.9375rem;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary-700);
    color: white;
    box-shadow: 0 1px 2px rgb(16 42 67 / 0.15);
}

.btn-primary:hover {
    background: var(--color-primary-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(16 42 67 / 0.2);
}

.btn-accent {
    background: var(--color-accent-500);
    color: white;
    box-shadow: 0 1px 2px rgb(197 93 58 / 0.2);
}

.btn-accent:hover {
    background: var(--color-accent-600);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(197 93 58 / 0.25);
}

.btn-secondary {
    background: white;
    color: var(--color-neutral-700);
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--color-neutral-50);
    border-color: var(--color-primary-300);
    color: var(--color-primary-700);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.0625rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-neutral-200);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all 0.35s var(--ease-out-expo);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--color-neutral-300);
}

/* ============================================
   Forms
   ============================================ */
.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px var(--color-primary-100);
}

/* ============================================
   Navigation
   ============================================ */
.site-header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: #111827;
}

.site-logo-icon {
    width: 2rem;
    height: 2rem;
    background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-nav a {
    color: #6b7280;
    font-weight: 500;
    transition: color 0.15s;
}

.main-nav a:hover {
    color: #111827;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ============================================
   Wallet Widget
   ============================================ */
.wallet-widget {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-primary-50);
    border-radius: var(--radius-lg);
    color: var(--color-primary-700);
    font-weight: 600;
}

.wallet-widget svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: var(--color-primary-900);
    color: white;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

/* Geometric pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

/* Gradient orb for depth */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 140%;
    background: radial-gradient(ellipse at center, var(--color-primary-700) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero > .container {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero { padding: 6rem 0 7rem; }
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.75rem;
}

@media (min-width: 768px) {
    .hero h1 { font-size: 3.5rem; }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-primary-200);
    max-width: 36rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-search {
    max-width: 32rem;
}

.hero-search input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: var(--radius-xl);
    background: white;
    box-shadow: var(--shadow-lg);
    transition: all 0.25s var(--ease-out-expo);
}

.hero-search input:focus {
    outline: none;
    box-shadow: var(--shadow-xl), 0 0 0 3px var(--color-accent-500);
}

/* ============================================
   Profile Cards Grid
   ============================================ */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .profiles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .profiles-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================
   Profile Card
   ============================================ */
.profile-card {
    position: relative;
    border-top: 3px solid transparent;
    transition: all 0.35s var(--ease-out-expo);
}

.profile-card:hover {
    border-top-color: var(--color-accent-500);
}

/* Category-specific accent colors */
.profile-card[data-category="coaching"] { --card-accent: #059669; }
.profile-card[data-category="consulting"] { --card-accent: #0891b2; }
.profile-card[data-category="creative"] { --card-accent: #7c3aed; }
.profile-card[data-category="technology"] { --card-accent: #2563eb; }
.profile-card[data-category="legal"] { --card-accent: #64748b; }

.profile-card[data-category]:hover {
    border-top-color: var(--card-accent, var(--color-accent-500));
}

/* Remove gradient header - just subtle spacing */
.profile-card-header {
    height: 1.5rem;
    background: transparent;
    position: relative;
}

.profile-card-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--color-accent-500);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.profile-card-avatar {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: var(--radius-lg);
    background: white;
    padding: 0;
    box-shadow: var(--shadow-md);
    margin: 0 1.25rem 1rem;
    position: relative;
    overflow: hidden;
}

.profile-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.profile-card-verified {
    position: absolute;
    bottom: -0.125rem;
    right: -0.125rem;
    background: var(--color-success);
    color: white;
    width: 1.375rem;
    height: 1.375rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.profile-card-content {
    padding: 0 1.25rem 1.25rem;
}

.profile-card-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-neutral-900);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.profile-card-tagline {
    font-size: 0.875rem;
    color: var(--color-neutral-500);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.profile-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--color-neutral-500);
    margin-bottom: 0.75rem;
}

.profile-card-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    color: var(--color-neutral-700);
}

.profile-card-rating svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-warning);
}

.profile-card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.profile-card-category {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    background: var(--color-neutral-100);
    color: var(--color-neutral-600);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-md);
}

.profile-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--color-neutral-100);
}

.profile-card-rate {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-neutral-900);
}

.profile-card-rate span {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--color-neutral-400);
}

.profile-card-link {
    color: var(--color-primary-600);
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s var(--ease-out-expo);
}

.profile-card:hover .profile-card-link {
    color: var(--color-primary-700);
    gap: 0.5rem;
}

/* ============================================
   Filters
   ============================================ */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.filter-pill {
    padding: 0.5rem 1.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-neutral-200);
    background: white;
    color: var(--color-neutral-600);
    cursor: pointer;
    transition: all 0.25s var(--ease-out-expo);
}

.filter-pill:hover {
    border-color: var(--color-primary-400);
    color: var(--color-primary-700);
    background: var(--color-primary-50);
}

.filter-pill.active {
    background: var(--color-primary-700);
    color: white;
    border-color: var(--color-primary-700);
    box-shadow: 0 1px 3px rgb(16 42 67 / 0.15);
}

/* ============================================
   Profile Detail Page
   ============================================ */
.profile-hero {
    background: var(--color-primary-900);
    padding: 3rem 0 6rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.profile-hero > .container {
    position: relative;
    z-index: 1;
}

.profile-main {
    margin-top: -4rem;
}

.profile-sidebar {
    position: sticky;
    top: 5rem;
}

.profile-avatar-large {
    width: 8rem;
    height: 8rem;
    border-radius: var(--radius-xl);
    border: 4px solid white;
    box-shadow: var(--shadow-xl);
}

/* ============================================
   Booking Widget
   ============================================ */
.booking-widget {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-neutral-200);
    padding: 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.booking-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--color-neutral-100);
    background: var(--color-neutral-50);
}

.booking-widget-body {
    padding: 1.5rem;
}

.booking-widget-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--color-neutral-100);
    background: var(--color-neutral-50);
}

.booking-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-neutral-900);
}

.booking-price span {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-neutral-500);
}

/* Trust signal below CTA */
.booking-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.8125rem;
    color: var(--color-neutral-500);
}

.booking-trust svg {
    width: 1rem;
    height: 1rem;
    color: var(--color-success);
}

/* ============================================
   Credit Packages
   ============================================ */
.credit-packages {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .credit-packages { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .credit-packages { grid-template-columns: repeat(4, 1fr); }
}

.credit-package {
    position: relative;
    padding: 1.5rem;
    text-align: center;
}

.credit-package.featured {
    border-color: var(--color-accent-500);
    box-shadow: 0 0 0 2px var(--color-accent-500), var(--shadow-lg);
}

.credit-package-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-500);
    color: white;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-md);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.credit-package-name {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.credit-package-credits {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-primary-700);
}

.credit-package-bonus {
    color: var(--color-success);
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.credit-package-price {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* ============================================
   Reviews
   ============================================ */
.review {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.review:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
}

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

.review-date {
    font-size: 0.875rem;
    color: #6b7280;
}

.review-rating {
    display: flex;
    gap: 0.125rem;
    margin-bottom: 0.5rem;
}

.review-rating svg {
    width: 1rem;
    height: 1rem;
    color: #fbbf24;
}

/* ============================================
   Availability Status
   ============================================ */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
}

.availability-badge.available {
    background: #d1fae5;
    color: #065f46;
}

.availability-badge.unavailable {
    background: #fee2e2;
    color: #991b1b;
}

.availability-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
}

.availability-badge.available .availability-dot {
    background: #10b981;
}

.availability-badge.unavailable .availability-dot {
    background: #ef4444;
}

/* ============================================
   Announcement Slider
   ============================================ */
.announcement-bar {
    background: var(--color-neutral-900);
    color: var(--color-neutral-200);
    padding: 0.625rem 0;
    font-size: 0.8125rem;
    overflow: hidden;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.announcement-slider {
    display: flex;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    background: var(--color-neutral-900);
    color: var(--color-neutral-400);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
}

.footer-heading {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
}

/* ============================================
   Utilities
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: #6b7280; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* ============================================
   Mobile Responsiveness
   ============================================ */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .main-nav {
        display: none;
    }

    .site-header .container {
        gap: 0.5rem;
    }

    .header-actions {
        gap: 0.5rem;
    }

    .header-actions > a:first-child {
        display: none;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .profiles-grid {
        grid-template-columns: 1fr !important;
    }

    .py-16 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
    }

    /* Profile page mobile */
    .profile-hero .container > div {
        flex-direction: column !important;
        text-align: center;
    }

    .profile-hero .container > div > div {
        flex-direction: column !important;
        align-items: center !important;
    }

    .profile-main .container > div {
        grid-template-columns: 1fr !important;
    }

    .profile-sidebar {
        position: static !important;
    }
}

@media (max-width: 640px) {
    .categories-grid {
        grid-template-columns: 1fr !important;
    }

    .credit-packages {
        grid-template-columns: 1fr !important;
    }

    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
}

/* ============================================
   Animations & Transitions
   ============================================ */
.profile-card {
    transition: transform 0.35s var(--ease-out-expo), box-shadow 0.35s var(--ease-out-expo), border-color 0.35s var(--ease-out-expo);
}

.profile-card:hover {
    transform: translateY(-6px);
}

.btn:active {
    transform: translateY(0);
}

.filter-pill:hover {
    transform: translateY(-2px);
}

.category-card {
    transition: all 0.3s var(--ease-out-expo);
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-primary-300);
}

/* Loading States */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form focus states */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    transform: translateY(-1px);
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-card {
    animation: fadeIn 0.4s ease backwards;
}

.profiles-grid .profile-card:nth-child(1) { animation-delay: 0s; }
.profiles-grid .profile-card:nth-child(2) { animation-delay: 0.1s; }
.profiles-grid .profile-card:nth-child(3) { animation-delay: 0.2s; }
.profiles-grid .profile-card:nth-child(4) { animation-delay: 0.3s; }
.profiles-grid .profile-card:nth-child(5) { animation-delay: 0.4s; }
.profiles-grid .profile-card:nth-child(6) { animation-delay: 0.5s; }

/* ============================================
   Gallery Lightbox
   ============================================ */
.gallery-item {
    transition: transform 0.2s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    transition: filter 0.2s ease;
}

.gallery-item:hover img {
    filter: brightness(1.05);
}

/* ============================================
   Video Embed Polish
   ============================================ */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   Empty States
   ============================================ */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #6b7280;
}

.empty-state-icon {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    color: #d1d5db;
}

.empty-state h3 {
    color: #374151;
    margin-bottom: 0.5rem;
}

/* ============================================
   Star Rating Styles
   ============================================ */
.star-rating {
    display: inline-flex;
    gap: 2px;
}

.star-rating .star {
    color: #fbbf24;
}

.star-rating .star.empty {
    color: #d1d5db;
}

/* ============================================
   Toast Notifications
   ============================================ */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #111827;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: slideUp 0.3s ease;
}

.toast.success {
    background: var(--color-success);
}

.toast.error {
    background: var(--color-error);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(1rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Credit Package Polish
   ============================================ */
.credit-package {
    transition: all 0.2s ease;
}

.credit-package:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.credit-package.featured {
    transform: scale(1.02);
}

.credit-package.featured:hover {
    transform: scale(1.02) translateY(-4px);
}

/* ============================================
   Booking Widget Polish
   ============================================ */
.booking-widget {
    transition: box-shadow 0.2s ease;
}

.booking-widget:hover {
    box-shadow: var(--shadow-lg);
}

/* ============================================
   Service Items
   ============================================ */
.service-item {
    transition: all 0.2s ease;
}

.service-item:hover {
    border-color: var(--color-primary-300);
    background: var(--color-primary-50);
}

/* ============================================
   How It Works Section Polish
   ============================================ */
.how-it-works-step {
    transition: transform 0.2s ease;
}

.how-it-works-step:hover {
    transform: translateY(-4px);
}

.how-it-works-icon {
    transition: transform 0.2s ease;
}

.how-it-works-step:hover .how-it-works-icon {
    transform: scale(1.1);
}

/* ============================================
   Availability Badge Animation
   ============================================ */
.availability-badge.available .availability-dot {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   Mobile Menu Toggle
   ============================================ */
.mobile-menu-toggle {
    display: none;
    padding: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ============================================
   Pagination
   ============================================ */
.nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-md);
    background: white;
    color: #374151;
    font-weight: 500;
    transition: all 0.15s ease;
}

.page-numbers:hover {
    border-color: var(--color-primary-300);
    background: var(--color-primary-50);
}

.page-numbers.current {
    background: var(--color-primary-600);
    color: white;
    border-color: var(--color-primary-600);
}

/* ============================================
   Smooth Scrolling
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}
