/* ============================================
   VISITER SAN FRANCISCO - Variables CSS uniquement
   San Francisco Sunset Theme - Dynamic & Neon
   ============================================ */

/* Variables CSS - San Francisco Sunset Theme */
:root {
  --color-primary: #ff6b35;
  --color-secondary: #1a1a2e;
  --color-accent: #ff9f1c;
  --color-coral: #ff6b6b;
  --color-purple: #7b2cbf;
  --color-purple-light: #9d4edd;
  --color-teal: #2ec4b6;
  --color-dark: #0d0d0d;
  --color-dark-alt: #1a1a2e;
  --color-light: #f8f9fa;
  --color-gray: #16213e;
  --color-white: #ffffff;
  --color-text: #ffffff;
  --color-text-light: #b8b8b8;
  --color-text-dark: #333333;

  --font-primary: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: "Poppins", "Segoe UI", sans-serif;

  --shadow-neon: 0 0 20px rgba(255, 107, 53, 0.4);
  --shadow-neon-strong: 0 0 30px rgba(255, 107, 53, 0.6),
    0 0 60px rgba(255, 107, 53, 0.3);

  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --transition: 0.3s ease;
  --max-width: 1200px;

  --gradient-sunset: linear-gradient(
    135deg,
    #ff6b35 0%,
    #ff9f1c 50%,
    #ff6b6b 100%
  );
  --gradient-night: linear-gradient(
    135deg,
    #0d0d0d 0%,
    #1a1a2e 50%,
    #16213e 100%
  );
  --gradient-purple: linear-gradient(135deg, #7b2cbf 0%, #9d4edd 100%);
}

/* ============================================
   PAGES ACTIVITÉS - Styles spécifiques
   ============================================ */

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

.hero-activite {
  min-height: 400px;
}

.hero-tag {
  display: inline-block;
  background-color: var(--color-accent);
  color: var(--color-dark);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Fil d'Ariane - version dark */
.breadcrumb {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1rem 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.6);
}

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

.breadcrumb span {
  color: var(--color-white);
  font-weight: 500;
}

/* Table des matières - version dark */
.toc {
  background-color: rgba(22, 33, 62, 0.3);
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.toc details {
  background-color: rgba(22, 33, 62, 0.5);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toc summary {
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--color-white);
}

.toc nav ul {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.5rem;
}

.toc nav a {
  display: block;
  padding: 0.5rem 0;
  color: rgba(255, 255, 255, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition);
}

.toc nav a:hover {
  color: var(--color-primary);
  padding-left: 0.5rem;
}

.intro-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-card {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  border-left: 4px solid var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.highlight-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.highlight-card p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Tableaux de prix - version dark */
.pricing-table,
.budget-table {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.pricing-table table,
.budget-table table {
  width: 100%;
  border-collapse: collapse;
  background-color: rgba(22, 33, 62, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.pricing-table th,
.pricing-table td,
.budget-table th,
.budget-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.pricing-table th,
.budget-table th {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: var(--color-white);
  font-weight: 600;
}

.pricing-table tr:hover,
.budget-table tr:hover {
  background-color: rgba(255, 107, 53, 0.1);
}

.total-row {
  background-color: rgba(255, 107, 53, 0.2) !important;
}

.total-row td {
  border-top: 2px solid var(--color-primary);
}

/* Info boxes - version dark */
.info-box {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

.info-box h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-white);
}

.info-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
}

.info-tip {
  background-color: rgba(46, 196, 182, 0.2);
  border-left: 4px solid var(--color-teal);
}

.info-note {
  background-color: rgba(123, 44, 191, 0.2);
  border-left: 4px solid var(--color-purple);
}

.info-warning {
  background-color: rgba(255, 159, 28, 0.2);
  border-left: 4px solid var(--color-accent);
}

/* Info cards - version dark */
.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.info-card ul {
  margin-bottom: 0;
  list-style: none;
  padding: 0;
}

.info-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.info-card li:last-child {
  border-bottom: none;
}

/* Adresse et carte */
.address-box {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 2rem;
}

.map-container iframe {
  display: block;
}

/* Transport options - version dark */
.transport-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.transport-card {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.transport-card h4 {
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.transport-card p {
  color: rgba(255, 255, 255, 0.7);
}

/* Restaurants grid - version dark */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.restaurant-card {
  background-color: rgba(22, 33, 62, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), border-color var(--transition);
}

.restaurant-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-primary);
}

.restaurant-image {
  height: 150px;
  overflow: hidden;
}

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

.restaurant-content {
  padding: 1rem;
}

.restaurant-type {
  display: inline-block;
  background-color: rgba(255, 107, 53, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.restaurant-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.restaurant-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.75rem;
}

.restaurant-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Nearby activities - version dark */
.nearby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.nearby-card {
  display: flex;
  background-color: rgba(22, 33, 62, 0.5);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.nearby-image {
  width: 120px;
  flex-shrink: 0;
}

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

.nearby-content {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nearby-content h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-white);
}

.nearby-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.nearby-distance {
  font-size: 0.85rem;
  color: var(--color-primary);
}

/* Itinerary suggestion - version dark */
.itinerary-suggestion {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.itinerary-suggestion h3 {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.itinerary-suggestion ol {
  list-style: none;
  counter-reset: step;
  padding: 0;
}

.itinerary-suggestion li {
  padding: 0.75rem 0;
  padding-left: 3rem;
  position: relative;
  border-left: 2px solid var(--color-primary);
  margin-left: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.itinerary-suggestion li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: -1rem;
  top: 0.75rem;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Tips grid - version dark */
.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.tip-card {
  padding: 1.5rem;
  border-radius: var(--radius-md);
}

.tip-card h3 {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.tip-card ul {
  list-style: none;
  padding: 0;
}

.tip-card ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

.tip-do {
  background-color: rgba(46, 196, 182, 0.15);
  border: 1px solid rgba(46, 196, 182, 0.3);
}

.tip-do li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-teal);
  font-weight: bold;
}

.tip-dont {
  background-color: rgba(255, 107, 107, 0.15);
  border: 1px solid rgba(255, 107, 107, 0.3);
}

.tip-dont li::before {
  content: "✗";
  position: absolute;
  left: 0;
  color: var(--color-coral);
  font-weight: bold;
}

.tips-list {
  background-color: rgba(22, 33, 62, 0.5);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.tips-list h3 {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.tips-list ul {
  list-style: none;
  padding: 0;
}

.tips-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: rgba(255, 255, 255, 0.8);
}

.tips-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: bold;
}

/* FAQ - version dark */
.faq {
  margin-top: 2rem;
}

.faq h3 {
  margin-bottom: 1rem;
  color: var(--color-white);
}

.faq-item {
  background-color: rgba(22, 33, 62, 0.5);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-item summary {
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background-color var(--transition);
  color: var(--color-white);
}

.faq-item summary:hover {
  background-color: rgba(255, 107, 53, 0.1);
}

.faq-item p {
  padding: 0 1.5rem 1rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

/* CTA Final - version dark */
.section-cta-final {
  background: linear-gradient(
    135deg,
    var(--color-primary),
    var(--color-accent)
  );
  color: var(--color-white);
  text-align: center;
  padding: 4rem 0;
}

.section-cta-final h2 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.section-cta-final p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.section-cta {
  text-align: center;
  margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nearby-card {
    flex-direction: column;
  }

  .nearby-image {
    width: 100%;
    height: 150px;
  }

  .toc nav ul {
    grid-template-columns: 1fr;
  }

  .itinerary-suggestion li {
    padding-left: 2.5rem;
  }
}
