/**
 * Royal Nails Beauty - Luxury Stylesheet
 * 
 * Elegant, feminine design with gold accents and smooth animations
 * Target audience: Luxury-loving women
 */

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
    /* Primary Colors - Gold Palette */
    --gold-primary: #d4a574;
    --gold-light: #e8d5c4;
    --gold-dark: #b8935f;
    --gold-pale: #f5ebe0;
    --gold-shimmer: #f0e6d8;
    
    /* Secondary Colors */
    --navy: #1a1a2e;
    --navy-light: #2d2d44;
    --blush: #f8e8e8;
    --cream: #faf8f5;
    --white: #ffffff;
    
    /* Text Colors */
    --text-primary: #2c2c2c;
    --text-secondary: #5a5a5a;
    --text-muted: #8a8a8a;
    --text-light: #ffffff;
    
    /* Accent Colors */
    --rose: #d4a5a5;
    --lavender: #e8e0f0;
    --sage: #d4e5d4;
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 50%, var(--gold-light) 100%);
    --gradient-hero: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    --gradient-shimmer: linear-gradient(90deg, transparent 0%, rgba(212, 165, 116, 0.3) 50%, transparent 100%);
    
    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 12px 40px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 20px rgba(212, 165, 116, 0.3);
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-xxl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-slower: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

a {
    color: var(--gold-dark);
    text-decoration: none;
    transition: var(--transition-normal);
}

a:hover {
    color: var(--gold-primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.3;
    color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-sm);
}

ul, ol {
    margin-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

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

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

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

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

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

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease forwards;
}

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-narrow {
    max-width: 900px;
}

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

.section-sm {
    padding: var(--space-xl) 0;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.2);
    transition: var(--transition-normal);
}

.header.scrolled {
    box-shadow: var(--shadow-soft);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: var(--shadow-gold);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--gold-primary);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    gap: var(--space-md);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-gold);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--navy);
    transition: var(--transition-normal);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 165, 116, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.5rem 1rem;
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: var(--radius-xl);
    color: var(--gold-light);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.6s ease forwards;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-title .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 165, 116, 0.2);
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold-primary);
}

.hero-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeIn 1s ease 1.2s forwards, float 2s ease-in-out infinite;
    opacity: 0;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold-primary), transparent);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-shimmer);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-gold);
    color: var(--white);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 165, 116, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(212, 165, 116, 0.5);
}

.btn-secondary:hover {
    background: rgba(212, 165, 116, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-light);
}

.btn-outline {
    background: transparent;
    color: var(--gold-dark);
    border: 2px solid var(--gold-primary);
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--white);
}

.btn-sm {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

/* ==========================================================================
   CARDS
   ========================================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card:hover::before {
    transform: scaleX(1);
}

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

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

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

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

.card-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xs);
    font-size: 0.8rem;
    color: var(--text-muted);
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
    color: var(--navy);
}

.card-title a {
    color: inherit;
}

.card-title a:hover {
    color: var(--gold-dark);
}

.card-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-dark);
}

.card-link::after {
    content: '→';
    transition: var(--transition-normal);
}

.card-link:hover::after {
    transform: translateX(5px);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
}

.card-grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ==========================================================================
   SECTION STYLES
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-xl);
}

.section-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gold-pale);
    color: var(--gold-dark);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-sm);
}

.section-title span {
    color: var(--gold-primary);
}

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

/* Gold accent line */
.gold-line {
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin: var(--space-sm) auto;
    border-radius: 2px;
}

/* ==========================================================================
   CANTONS GRID
   ========================================================================== */
.cantons-section {
    background: var(--white);
}

.cantons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-md);
}

.canton-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

.canton-card:hover {
    background: var(--white);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.canton-flag {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
}

.canton-info h3 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--navy);
}

.canton-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   CITIES LIST
   ========================================================================== */
.cities-section {
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.city-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.city-card .card-image {
    aspect-ratio: 4 / 3;
}

.city-card .card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.city-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--gold-dark);
    margin-bottom: var(--space-xs);
}

.city-contact {
    margin-top: auto;
    padding-top: var(--space-sm);
    border-top: 1px solid var(--gold-pale);
}

.city-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* ==========================================================================
   ARTICLES
   ========================================================================== */
.articles-section {
    background: var(--white);
}

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.article-card .card-image {
    aspect-ratio: 16 / 9;
}

.article-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gold-pale);
    color: var(--gold-dark);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

/* Article Detail */
.article-header {
    text-align: center;
    padding: var(--space-xxl) 0 var(--space-xl);
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
}

.article-header-content {
    position: relative;
    z-index: 1;
}

.article-header .article-category {
    background: rgba(212, 165, 116, 0.2);
    color: var(--gold-light);
}

.article-header h1 {
    color: var(--white);
    max-width: 800px;
    margin: 0 auto var(--space-md);
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl) var(--space-md);
}

.article-content h2 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--navy);
}

.article-content h3 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-xs);
    color: var(--navy);
}

.article-content p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.article-content ul,
.article-content ol {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: var(--text-primary);
}

.article-content img {
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   CITY DETAIL PAGE
   ========================================================================== */
.city-header {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: flex-end;
    padding: var(--space-xl) 0;
    background: var(--navy);
    color: var(--white);
}

.city-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.3;
}

.city-header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, var(--navy) 0%, transparent 100%);
}

.city-header-content {
    position: relative;
    z-index: 1;
}

.city-header h1 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.city-header .city-location {
    color: var(--gold-light);
    font-size: 1.1rem;
}

.city-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.city-info-card {
    background: var(--white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.city-info-card h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--gold-dark);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.city-info-card p {
    margin: 0;
    color: var(--text-secondary);
    line-height: 1.8;
}

.opening-hours {
    line-height: 2;
}

.opening-hours strong {
    display: inline-block;
    min-width: 100px;
    color: var(--navy);
}

/* ==========================================================================
   CATEGORIES
   ========================================================================== */
.category-card {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-normal);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--gold-primary);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-md);
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition-normal);
}

.category-card:hover .category-icon {
    background: var(--gradient-gold);
    transform: scale(1.1);
}

.category-card h3 {
    margin-bottom: var(--space-xs);
}

.category-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==========================================================================
   SEARCH
   ========================================================================== */
.search-section {
    background: var(--white);
    min-height: 60vh;
}

.search-form {
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.search-input-wrapper {
    position: relative;
    display: flex;
    box-shadow: var(--shadow-medium);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 1.25rem 1.5rem;
    border: 2px solid var(--gold-pale);
    border-right: none;
    border-radius: var(--radius-xl) 0 0 var(--radius-xl);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-normal);
}

.search-input:focus {
    border-color: var(--gold-primary);
}

.search-button {
    padding: 1.25rem 2rem;
    background: var(--gradient-gold);
    color: var(--white);
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
}

.search-button:hover {
    filter: brightness(1.1);
}

.search-results-info {
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-muted);
}

.search-results-info strong {
    color: var(--gold-dark);
}

/* ==========================================================================
   CONTACT FORM
   ========================================================================== */
.contact-section {
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.contact-form-wrapper {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gold-pale);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-info {
    padding: var(--space-lg);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gold-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-info-content p {
    color: var(--text-secondary);
    margin: 0;
}

/* Form Messages */
.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ==========================================================================
   ALPHABETICAL LIST
   ========================================================================== */
.alphabet-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.alphabet-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.alphabet-nav a:hover,
.alphabet-nav a.active {
    background: var(--gradient-gold);
    color: var(--white);
}

.cities-alphabetical {
    columns: 3;
    column-gap: var(--space-xl);
}

.cities-alphabetical li {
    break-inside: avoid;
    margin-bottom: var(--space-xs);
}

.cities-alphabetical a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

.cities-alphabetical a:hover {
    background: var(--gold-pale);
    color: var(--gold-dark);
}

.cities-alphabetical .canton-code {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--cream);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   PAGINATION
   ========================================================================== */
.pagination {
    margin-top: var(--space-xl);
}

.pagination-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.pagination a,
.pagination-current {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 1rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    transition: var(--transition-fast);
}

.pagination a {
    background: var(--white);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft);
}

.pagination a:hover {
    background: var(--gold-primary);
    color: var(--white);
}

.pagination-current {
    background: var(--gradient-gold);
    color: var(--white);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
    padding: var(--space-sm) 0;
    background: var(--cream);
    border-bottom: 1px solid var(--gold-pale);
}

.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-secondary);
}

.breadcrumbs a:hover {
    color: var(--gold-dark);
}

.breadcrumbs li:last-child {
    color: var(--gold-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: var(--navy);
    color: var(--white);
    padding-top: var(--space-xxl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo-text {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--gold-primary);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--gold-light);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom a:hover {
    color: var(--gold-primary);
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
}

.error-code {
    font-family: var(--font-display);
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 600;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.error-title {
    margin-bottom: var(--space-sm);
}

.error-description {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   ADMIN STYLES (Basic)
   ========================================================================== */
.admin-body {
    background: #f5f5f5;
}

.admin-header {
    background: var(--navy);
    color: var(--white);
    padding: var(--space-sm) 0;
}

.admin-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-nav {
    display: flex;
    gap: var(--space-md);
}

.admin-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: var(--gold-primary);
}

.admin-main {
    padding: var(--space-xl) 0;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.admin-table th {
    font-weight: 600;
    color: var(--navy);
    background: var(--cream);
}

.admin-table tr:hover {
    background: #fafafa;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-xl);
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.active,
.status-badge.published {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive,
.status-badge.draft {
    background: #fff3cd;
    color: #856404;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.admin-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.admin-btn-edit {
    background: #e3f2fd;
    color: #1565c0;
}

.admin-btn-delete {
    background: #ffebee;
    color: #c62828;
}

/* Login Form */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.login-box {
    width: 100%;
    max-width: 400px;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-strong);
}

.login-box .logo {
    justify-content: center;
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-alphabetical {
        columns: 2;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: var(--space-md);
        box-shadow: var(--shadow-medium);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-list {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .cantons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .cities-alphabetical {
        columns: 1;
    }
    
    .city-info-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-header-inner {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .admin-nav {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .admin-table {
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --space-xl: 2.5rem;
        --space-xxl: 4rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .cantons-grid {
        grid-template-columns: 1fr;
    }
    
    .alphabet-nav a {
        width: 32px;
        height: 32px;
        font-size: 0.875rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 1rem 2rem;
    background: var(--gold-primary);
    color: var(--white);
    z-index: 9999;
    transition: var(--transition-normal);
}

.skip-link:focus {
    top: 0;
}

/* Screen reader only */
.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;
}
