﻿    :root {
      --primary-color: #003f7f; /* Roșu ASR */
      --secondary-color: #b22222; /* Albastru UCV */
      --accent-color: #ffc107;
      --background-light: #f9f9f9;
      --text-color: #333;
      --light-gray: #e0e0e0;
      --white: #ffffff;
      --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: var(--font-family);
      background-color: var(--background-light);
      color: var(--text-color);
      line-height: 1.6;
    }

    /* HEADER */
    .site-header {
      background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
      color: var(--white);
      padding: 40px 20px;
      text-align: center;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

	.header-logos {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  gap: 40px;
	  margin-bottom: 20px;
	  flex-wrap: wrap; /* Pentru a trece pe rând nou pe mobil */
	}
	
	/* Containerul forțează toate imaginile să aibă aceeași înălțime vizuală */
	.logo-item {
	  height: 120px; /* Setează aici înălțimea dorită pentru toate logo-urile */
	  display: flex;
	  align-items: center;
	  justify-content: center;
	}
	
	.header-logo {
	  max-height: 100%; /* Se adaptează la înălțimea containerului părinte */
	  width: auto;      /* Păstrează proporțiile reale ale imaginii */
	  object-fit: contain;
	  transition: transform 0.3s ease;
	}
	
	.header-logo:hover {
	  transform: scale(1.05);
	}
    .site-header h1 {
      font-size: 2.2rem;
      margin-bottom: 10px;
      font-weight: 700;
      letter-spacing: 1px;
    }

    .site-header .subtitle {
      font-size: 1.2rem;
      opacity: 0.95;
      margin-bottom: 15px;
      text-align: center; /* Centrare text subtitle */
    }

    .site-header .dates {
      margin-top: 15px;
      font-size: 1.1rem;
      font-weight: bold;
      color: var(--accent-color);
      background-color: rgba(255, 255, 255, 0.1);
      padding: 8px 20px;
      border-radius: 20px;
      display: inline-block;
    }

    /* NAVIGATION */
    .main-nav {
      background-color: var(--white);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
      position: sticky;
      top: 0;
      z-index: 100;
    }

    .nav-container {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
    }

    .nav-item {
      padding: 15px 20px;
      color: var(--secondary-color);
      text-decoration: none;
      font-weight: 600;
      transition: all 0.3s ease;
      border-bottom: 3px solid transparent;
      font-size: 1rem;
    }

    .nav-item:hover {
      color: var(--primary-color);
      border-bottom: 3px solid var(--primary-color);
    }

    /* MAIN CONTAINER */
    .container {
      max-width: 1100px;
      margin: 30px auto;
      padding: 25px;
      background-color: var(--white);
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    /* SECTIONS */
    section {
      margin-bottom: 50px;
      padding-bottom: 30px;
      border-bottom: 1px solid var(--light-gray);
    }

    section:last-child {
      border-bottom: none;
    }

    h2 {
      color: var(--primary-color);
      font-size: 1.6rem;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--primary-color);
    }

    h3 {
      color: var(--secondary-color);
      font-size: 1.2rem;
      margin-top: 20px;
      margin-bottom: 12px;
    }

    p {
      margin-bottom: 12px;
      font-size: 1rem;
      text-align: justify;
    }

    /* INFO BOXES */
    .info-box {
      background-color: #fff8f0;
      border-left: 4px solid var(--primary-color);
      padding: 20px;
      margin: 20px 0;
      border-radius: 0 8px 8px 0;
    }

    .info-box.highlight {
      background-color: #f0faff;
      border-left-color: var(--secondary-color);
    }

    /* LISTS */
    ul, ol {
      padding-left: 25px;
      margin: 15px 0;
    }

    li {
      margin-bottom: 8px;
      line-height: 1.6;
    }

    /* TABLES */
    .conf-table {
      width: 100%;
      border-collapse: collapse;
      margin: 20px 0;
      font-size: 0.95rem;
    }

    .conf-table th {
      background-color: var(--primary-color);
      color: var(--white);
      padding: 12px 15px;
      text-align: left;
      font-weight: bold;
    }

    .conf-table td {
      padding: 12px 15px;
      border-bottom: 1px solid var(--light-gray);
      vertical-align: top;
    }

    .conf-table tr:hover {
      background-color: #f8faff;
    }

    /* BUTTONS */
    .btn {
      display: inline-block;
      padding: 12px 25px;
      background-color: var(--primary-color);
      color: var(--white) !important;
      text-decoration: none;
      font-weight: bold;
      border-radius: 6px;
      transition: all 0.3s ease;
      margin: 8px 8px 8px 0;
      border: none;
      cursor: pointer;
    }

    .btn:hover {
      background-color: #8b0000;
      transform: translateY(-2px);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    }

    .btn-alt {
      background-color: var(--secondary-color);
    }

    /* COMMITTEE GRID */
    .committee-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      margin-top: 20px;
    }

    .committee-member {
      background-color: var(--background-light);
      padding: 15px;
      border-radius: 8px;
      border-left: 3px solid var(--primary-color);
    }

    .committee-member strong {
      color: var(--primary-color);
      display: block;
      margin-bottom: 5px;
    }

    .committee-member span {
      color: #666;
      font-size: 0.9rem;
      display: block;
    }

    /* IMPORTANT DATES */
    .timeline {
      counter-reset: timeline-counter;
    }

    .timeline-item {
      position: relative;
      padding-left: 50px;
      margin-bottom: 20px;
    }

    .timeline-item::before {
      counter-increment: timeline-counter;
      content: counter(timeline-counter);
      position: absolute;
      left: 0;
      top: 0;
      width: 35px;
      height: 35px;
      background-color: var(--primary-color);
      color: var(--white);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
    }

    /* FOOTER */
    .site-footer {
      background-color: var(--primary-color);
      color: var(--white);
      text-align: center;
      padding: 25px 20px;
      margin-top: 50px;
    }

    .site-footer p {
      margin-bottom: 5px;
      font-size: 0.95rem;
    }

    .site-footer a {
      color: var(--accent-color);
      text-decoration: none;
    }

    .site-footer a:hover {
      text-decoration: underline;
    }

    /* ANCHOR SCROLL SPACING */
    section[id] {
      scroll-margin-top: 80px;
    }

    /* RESPONSIVE */
    @media (max-width: 768px) {
      .site-header h1 {
        font-size: 1.8rem;
      }

      .site-header .subtitle {
        font-size: 1rem;
      }

      .header-logos {
        gap: 20px;
      }

      .header-logo {
        max-width: 90px;
      }

      .nav-container {
        flex-direction: column;
        align-items: stretch;
      }

      .nav-item {
        text-align: center;
        padding: 12px;
      }

      .container {
        padding: 20px 15px;
        margin: 20px 10px;
      }

      h2 {
        font-size: 1.4rem;
      }

      .conf-table {
        font-size: 0.85rem;
      }

      .conf-table th,
      .conf-table td {
        padding: 10px;
      }

      .btn {
        padding: 10px 20px;
        margin: 5px 5px 5px 0;
        width: 100%;
      }

      .committee-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 480px) {
      .site-header {
        padding: 20px 15px;
      }

      .site-header h1 {
        font-size: 1.5rem;
      }

      .section-title {
        font-size: 1.2rem;
      }

      .container {
        padding: 15px 10px;
      }

      p, li {
        font-size: 0.9rem;
      }
      
      .header-logo {
        max-width: 70px;
      }
    }