/* =============================================================================
   SEXE MODEL MARSEILLE - Mediterranean Theme
   ============================================================================= */

/* --------------------------------------------------------------------------
   CSS Variables - Mediterranean Color Palette
   -------------------------------------------------------------------------- */
:root {
  /* Primary Colors - Warm Mediterranean */
  --terracotta: #E07850;
  --terracotta-dark: #C4603A;
  --terracotta-light: #F0A080;
  
  /* Secondary Colors - Sea & Sky */
  --mediterranean: #2E5266;
  --mediterranean-dark: #1E3A4A;
  --mediterranean-light: #4A7A8C;
  
  /* Neutrals - Sand & Stone */
  --sand: #F5E6D3;
  --sand-light: #FDF8F3;
  --sand-dark: #E5D4C0;
  --stone: #8B7355;
  --stone-dark: #5C4D3D;
  
  /* Semantic */
  --bg-primary: #0D1117;
  --bg-secondary: #161B22;
  --bg-card: #1C2128;
  --bg-hover: #252B33;
  
  --text-primary: #F0F6FC;
  --text-secondary: #B1BAC4;
  --text-muted: #768390;
  
  --border-color: #30363D;
  --border-light: #21262D;
  
  /* Accents */
  --success: #3FB950;
  --warning: #D29922;
  --error: #F85149;
  --live: #FF6B6B;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-sans: 'Crimson Pro', 'Georgia', serif;
  --font-display: 'Playfair Display', 'Georgia', serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Borders */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(224, 120, 80, 0.3);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 0%, rgba(224, 120, 80, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(46, 82, 102, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

h1 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

a:hover {
  color: var(--terracotta-light);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

main {
  min-height: calc(100vh - 200px);
  padding: var(--space-2xl) 0;
}

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 17, 23, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: var(--space-md) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--terracotta);
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  list-style: none;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-secondary);
    padding: var(--space-md);
    gap: var(--space-sm);
    display: none;
  }
  
  .nav-menu.active {
    display: flex;
  }
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--space-3xl) 0;
  text-align: center;
  background: 
    linear-gradient(135deg, rgba(224, 120, 80, 0.1) 0%, transparent 50%),
    linear-gradient(225deg, rgba(46, 82, 102, 0.15) 0%, transparent 50%);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-2xl);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

.hero-cta {
  display: inline-flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: white;
  border-color: var(--terracotta);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--terracotta-light) 0%, var(--terracotta) 100%);
  color: white;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}

.btn-secondary:hover {
  background: var(--terracotta);
  color: white;
}

.btn-live {
  background: linear-gradient(135deg, var(--live) 0%, #FF4757 100%);
  color: white;
  animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-hover);
}

.card-body {
  padding: var(--space-lg);
}

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

.card-title a {
  color: var(--text-primary);
}

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

.card-meta {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Model Cards - Special styling for webcam models
   -------------------------------------------------------------------------- */
.model-card {
  position: relative;
}

.model-card .card-image {
  height: 280px;
}

.model-badge {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  padding: var(--space-xs) var(--space-sm);
  background: var(--live);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.model-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.model-info {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.model-rating {
  color: var(--warning);
  font-weight: 600;
}

.model-location {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.model-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.model-tag {
  padding: var(--space-xs) var(--space-sm);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 0.75rem;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   Grid Layouts
   -------------------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Section Styling
   -------------------------------------------------------------------------- */
.section {
  margin-bottom: var(--space-3xl);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.section-link {
  color: var(--terracotta);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Quartier (Neighborhood) Cards
   -------------------------------------------------------------------------- */
.quartier-card {
  position: relative;
  height: 300px;
  display: flex;
  align-items: flex-end;
  padding: var(--space-lg);
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quartier-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 17, 23, 0.9) 0%, transparent 60%);
}

.quartier-card-content {
  position: relative;
  z-index: 1;
}

.quartier-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
}

.quartier-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Article / Single Page
   -------------------------------------------------------------------------- */
.article {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.article-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
}

.article-featured-image {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-2xl);
}

.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
}

.article-content h2 {
  margin-top: var(--space-2xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border-color);
}

.article-content h3 {
  margin-top: var(--space-xl);
}

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

.article-content li {
  margin-bottom: var(--space-sm);
}

.article-content blockquote {
  border-left: 4px solid var(--terracotta);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-lg) 0;
}

.article-content th, .article-content td {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-content th {
  background: var(--bg-hover);
  font-weight: 600;
}

.article-content hr {
  border: none;
  height: 1px;
  background: var(--border-color);
  margin: var(--space-2xl) 0;
}

/* --------------------------------------------------------------------------
   Tags
   -------------------------------------------------------------------------- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.tag {
  padding: var(--space-xs) var(--space-md);
  background: var(--bg-hover);
  color: var(--text-secondary);
  font-size: 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.tag:hover {
  background: var(--terracotta);
  color: white;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-xl);
}

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

.footer-section ul {
  list-style: none;
}

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

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

.footer-section a:hover {
  color: var(--terracotta);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  font-size: 0.9rem;
  color: var(--text-muted);
}

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

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

.breadcrumbs span {
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Warning / Info Boxes
   -------------------------------------------------------------------------- */
.notice {
  padding: var(--space-md) var(--space-lg);
  border-radius: var(--radius-md);
  margin: var(--space-lg) 0;
  border-left: 4px solid;
}

.notice-warning {
  background: rgba(210, 153, 34, 0.1);
  border-color: var(--warning);
}

.notice-info {
  background: rgba(46, 82, 102, 0.2);
  border-color: var(--mediterranean);
}

.notice-danger {
  background: rgba(248, 81, 73, 0.1);
  border-color: var(--error);
}

/* --------------------------------------------------------------------------
   Webcam Live Section
   -------------------------------------------------------------------------- */
.live-banner {
  background: linear-gradient(135deg, var(--mediterranean-dark) 0%, var(--bg-primary) 100%);
  border: 1px solid var(--mediterranean);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.live-banner h2 {
  color: var(--terracotta-light);
}

.live-banner p {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* Stagger children */
.stagger-in > * {
  opacity: 0;
  animation: fadeIn 0.4s ease forwards;
}

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

/* --------------------------------------------------------------------------
   18+ Warning Modal
   -------------------------------------------------------------------------- */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.age-gate-content {
  background: var(--bg-card);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  max-width: 400px;
}

.age-gate h2 {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}

.age-gate p {
  margin-bottom: var(--space-xl);
}

.age-gate-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-md); }
.mb-2 { margin-bottom: var(--space-xl); }
.mt-2 { margin-top: var(--space-xl); }
