/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Olympic Theme Colors */
:root {
  --olympic-blue: #0085C7;
  --olympic-yellow: #F4C300;
  --olympic-black: #000000;
  --olympic-green: #009F3D;
  --olympic-red: #DF0024;
  --olympic-gold: #FFD700;
  --olympic-silver: #C0C0C0;
  --olympic-bronze: #CD7F32;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #134E5E 0%, #71B280 100%);
  min-height: 100vh;
}

.olympic-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Olympic Header */
.olympic-header {
  text-align: center;
  padding: 20px;
  background: #FFF8F0;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.olympic-header-clean {
  text-align: center;
  padding: 20px;
  margin-bottom: 30px;
}

.olympic-logo {
  max-width: 100%;
  width: 500px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 15px;
  border: 3px solid white;
}

.olympic-rings {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  position: relative;
  height: 60px;
}

.ring {
  width: 50px;
  height: 50px;
  border: 5px solid;
  border-radius: 50%;
  position: absolute;
}

.ring.blue {
  border-color: var(--olympic-blue);
  left: -60px;
}

.ring.yellow {
  border-color: var(--olympic-yellow);
  left: -30px;
  top: 25px;
}

.ring.black {
  border-color: var(--olympic-black);
  left: 0;
}

.ring.green {
  border-color: var(--olympic-green);
  left: 30px;
  top: 25px;
}

.ring.red {
  border-color: var(--olympic-red);
  left: 60px;
}

.olympic-title {
  font-size: 3em;
  color: #333;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.olympic-tagline {
  font-size: 1.2em;
  color: #666;
  font-style: italic;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #2C5F2D 0%, #97BC62 100%);
  color: white;
  padding: 60px 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-content h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.hero-date, .hero-location {
  font-size: 1.3em;
  margin: 10px 0;
}

/* Events Preview */
.events-preview {
  background: white;
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.events-preview h2 {
  text-align: center;
  font-size: 2em;
  color: #333;
  margin-bottom: 30px;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.event-card {
  text-align: center;
  padding: 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, #355E3B 0%, #71B280 100%);
  color: white;
  transition: transform 0.3s;
  box-shadow: 0 5px 15px rgba(53, 94, 59, 0.3);
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-icon {
  font-size: 3em;
  margin-bottom: 10px;
}

.event-pictogram {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  object-fit: contain;
}

.event-card h3 {
  font-size: 1.3em;
  margin-bottom: 10px;
}

/* Countdown Section */
.countdown-section {
  background: linear-gradient(135deg, #F0F4F0 0%, #E8F5E9 100%);
  padding: 40px;
  border-radius: 15px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(53, 94, 59, 0.1);
}

.countdown-section h2 {
  font-size: 2em;
  color: #333;
  margin-bottom: 30px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-value {
  font-size: 3em;
  font-weight: bold;
  color: #2C5F2D;
}

.time-label {
  font-size: 1em;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Event Card Links */
.event-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.event-card-link:hover .event-card {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Event Detail Page */
.event-detail {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.event-detail-header {
  text-align: center;
  margin-bottom: 30px;
}

.event-detail-pictogram {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
}

.event-detail h1 {
  font-size: 2.5em;
  color: #2C5F2D;
  margin-bottom: 20px;
}

.event-detail-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.event-brief {
  font-size: 1.4em;
  color: #666;
  margin-bottom: 20px;
  font-weight: 500;
}

.event-description {
  font-size: 1.2em;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.event-actions {
  text-align: center;
  margin-top: 40px;
}

.btn-back {
  display: inline-block;
  padding: 12px 30px;
  background: #2C5F2D;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.1em;
  transition: background 0.3s ease;
}

.btn-back:hover {
  background: #1e4220;
}

/* Navigation Bar */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  border-radius: 10px;
  margin-bottom: 20px;
}

.navbar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  gap: 30px;
}

.navbar-link {
  color: #333;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-link:hover {
  color: #2C5F2D;
  background: #f0f8f0;
}

.navbar-link.active {
  color: white;
  background: #2C5F2D;
}

.navbar-link.active:hover {
  background: #1e4220;
}

/* Hero Section */
.hero-section {
  text-align: center;
  padding: 60px 20px;
  background: white;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.hero-section h1 {
  font-size: 3em;
  color: #2C5F2D;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5em;
  color: #666;
  margin-bottom: 10px;
}

.hero-date {
  font-size: 1.3em;
  color: #333;
  margin-bottom: 40px;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  font-size: 1.2em;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.btn-primary {
  background: #2C5F2D;
  color: white;
}

.btn-primary:hover {
  background: #1e4220;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

.btn-secondary {
  background: white;
  color: #2C5F2D;
  border: 2px solid #2C5F2D;
}

.btn-secondary:hover {
  background: #2C5F2D;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 95, 45, 0.3);
}

/* Schedule Page */
.schedule-section {
  background: white;
  border-radius: 15px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.schedule-section h1 {
  text-align: center;
  font-size: 2.5em;
  color: #2C5F2D;
  margin-bottom: 10px;
}

.schedule-subtitle {
  text-align: center;
  font-size: 1.2em;
  color: #666;
  margin-bottom: 40px;
}

.schedule-timeline {
  max-width: 900px;
  margin: 0 auto;
}

.schedule-day h2 {
  font-size: 1.8em;
  color: #333;
  margin-bottom: 30px;
  padding-bottom: 10px;
  border-bottom: 3px solid #2C5F2D;
}

.schedule-events {
  margin-left: 20px;
}

.schedule-item {
  display: flex;
  margin-bottom: 30px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border-left: 4px solid #2C5F2D;
}

.schedule-time {
  min-width: 100px;
  font-weight: bold;
  color: #2C5F2D;
  font-size: 1.1em;
}

.schedule-event {
  margin-left: 30px;
  flex: 1;
}

.schedule-event h3 {
  font-size: 1.4em;
  color: #333;
  margin-bottom: 10px;
}

.schedule-event p {
  color: #666;
  font-size: 1.1em;
}

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

.schedule-event ul li {
  padding: 5px 0;
  color: #666;
  font-size: 1.1em;
}

.schedule-event ul li:before {
  content: "• ";
  color: #2C5F2D;
  font-weight: bold;
  margin-right: 10px;
}

.schedule-actions {
  text-align: center;
  margin-top: 40px;
}

.schedule-event-icons {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-top: 10px;
}

.schedule-pictogram-link {
  display: inline-block;
  text-decoration: none;
}

.schedule-pictogram {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  padding: 5px;
  background: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.schedule-pictogram:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.schedule-pictogram-large {
  width: 80px;
  height: 80px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .olympic-container {
    padding: 10px;
  }
  
  .olympic-logo {
    width: 300px;
  }
  
  .navbar {
    margin-bottom: 15px;
  }
  
  .navbar-content {
    padding: 12px 10px;
    gap: 10px;
  }
  
  .navbar-link {
    font-size: 1em;
    padding: 6px 12px;
  }
  
  .hero-section {
    padding: 40px 15px;
  }
  
  .hero-section h1 {
    font-size: 2em;
  }
  
  .hero-subtitle {
    font-size: 1.2em;
  }
  
  .hero-date {
    font-size: 1.1em;
  }
  
  .btn-primary, .btn-secondary {
    padding: 12px 25px;
    font-size: 1em;
  }
  
  .schedule-section {
    padding: 20px;
  }
  
  .schedule-section h1 {
    font-size: 1.8em;
  }
  
  .schedule-item {
    flex-direction: column;
    padding: 15px;
  }
  
  .schedule-time {
    margin-bottom: 10px;
    font-size: 1em;
  }
  
  .schedule-event {
    margin-left: 0;
  }
  
  .schedule-event h3 {
    font-size: 1.2em;
  }
  
  .schedule-event-icons {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .schedule-pictogram {
    width: 50px;
    height: 50px;
  }
  
  .schedule-pictogram-large {
    width: 60px;
    height: 60px;
  }
  
  .schedule-events {
    margin-left: 0;
  }
  
  .nav-link {
    padding: 8px 20px;
    font-size: 1em;
  }
  
  .btn-back {
    padding: 10px 25px;
    font-size: 1em;
  }
}

/* Info Section */
.info-section {
  background: linear-gradient(135deg, #E8F5E9 0%, #F0F4F0 100%);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(113, 178, 128, 0.15);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.info-card {
  text-align: center;
  padding: 20px;
  border-left: 4px solid #355E3B;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 5px;
  transition: transform 0.3s;
}

.info-card h3 {
  font-size: 1.5em;
  color: #2C5F2D;
  margin-bottom: 10px;
}

.info-card p {
  color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
  .olympic-title {
    font-size: 2em;
  }
  
  .hero-content h2 {
    font-size: 1.8em;
  }
  
  .time-value {
    font-size: 2em;
  }
}
