/*
Theme Name: AIELF Congress 2026
Theme URI: https://aielf-congress.com
Author: Universitatea Valahia
Version: 1.0
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Roboto", Arial, sans-serif;
  background: #0a0a0a;
  color: #ededed;
  line-height: 1.6;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* Main container with proper height management */
.min-h-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

/* Background */
.background-overlay {
  position: fixed;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.4);
  z-index: 0;
}

/* Header */
.site-header {
  position: relative;
  z-index: 100;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.site-navigation {
  background: transparent;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 0.75rem 0;
  list-style: none;
  margin: 0;
}

@media (min-width: 768px) {
  .nav-menu {
    gap: 2rem;
    padding: 1rem 0;
  }
}

/* Logos */
.site-logos {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 0;
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .site-logos {
    width: auto;
  }
}

@media (min-width: 768px) {
  .site-logos {
    gap: 1rem;
    margin-right: 2rem;
  }
}

.logo-circle {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .logo-circle {
    width: 5rem;
    height: 5rem;
  }
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Navigation Links */
.nav-menu > li > a,
.nav-menu > li > button {
  color: white;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  position: relative;
  transition: color 0.3s;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
}

@media (min-width: 768px) {
  .nav-menu > li > a,
  .nav-menu > li > button {
    font-size: 0.875rem;
  }
}

.nav-menu > li > a:hover,
.nav-menu > li > button:hover {
  color: #93c5fd;
}

/* Animated Underline */
.nav-menu > li > a::after,
.nav-menu > li > button::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #93c5fd;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > button:hover::after,
.nav-menu > li > button.active::after {
  width: 100%;
}

/* SVG Icon */
.nav-menu svg {
  width: 0.75rem;
  height: 0.75rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .nav-menu svg {
    width: 1rem;
    height: 1rem;
  }
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 0.5rem;
  min-width: 14rem;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0.5rem 0 0 0;
}

@media (min-width: 768px) {
  .dropdown-menu {
    left: 0;
    transform: translateX(0);
    min-width: 16rem;
  }
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu li {
  margin: 0;
  padding: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: #374151;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
}

@media (min-width: 768px) {
  .dropdown-menu a {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
}

.dropdown-menu a:hover {
  color: #2563eb;
  background-color: #eff6ff;
}

.dropdown-menu a::after {
  display: none;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 2rem 1rem 1rem 1rem;
}

@media (min-width: 768px) {
  .hero-section {
    padding: 4rem 2rem 2rem 2rem;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  flex: 1;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }
}

/* Tower Image */
.tower-container {
  display: flex;
  align-items: flex-end;
  height: 16rem;
}

@media (min-width: 768px) {
  .tower-container {
    height: 24rem;
  }
}

@media (min-width: 1024px) {
  .tower-container {
    height: 100%;
    min-height: 30rem;
  }
}

.tower-image {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem 1.5rem 0 0;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.tower-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
  display: block;
}

.tower-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.2);
}

/* Congress Info */
.congress-info {
  text-align: center;
  padding-bottom: 2rem;
}

@media (min-width: 1024px) {
  .congress-info {
    text-align: left;
    padding-bottom: 0;
  }
}

.congress-title {
  font-size: 1.875rem;
  font-weight: bold;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .congress-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 768px) {
  .congress-title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .congress-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1280px) {
  .congress-title {
    font-size: 4.5rem;
  }
}

.congress-subtitle {
  display: block;
  font-size: 1.5rem;
  color: #93c5fd;
  margin-top: 0.5rem;
}

@media (min-width: 640px) {
  .congress-subtitle {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .congress-subtitle {
    font-size: 2.25rem;
    margin-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .congress-subtitle {
    font-size: 3rem;
  }
}

.university-name {
  font-size: 1.125rem;
  color: white;
  font-weight: 600;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .university-name {
    font-size: 1.25rem;
  }
}

@media (min-width: 768px) {
  .university-name {
    font-size: 1.5rem;
  }
}

.congress-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 1.5rem;
  color: white;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .congress-dates {
    font-size: 1.875rem;
  }
}

@media (min-width: 768px) {
  .congress-dates {
    font-size: 2.25rem;
    margin-bottom: 3rem;
  }
}

@media (min-width: 1024px) {
  .congress-dates {
    justify-content: flex-start;
    font-size: 3rem;
  }
}

.date-number {
  color: #93c5fd;
}

.date-separator {
  color: rgba(255, 255, 255, 0.5);
}

.date-month {
  color: rgba(255, 255, 255, 0.9);
  margin-left: 0.5rem;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .action-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .action-buttons {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .action-buttons {
    justify-content: flex-start;
  }
}

.btn {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  font-size: 0.875rem;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.75rem 2rem;
    gap: 0.75rem;
    font-size: 1rem;
  }
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4);
}

.btn-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.btn:hover .btn-overlay {
  transform: translateY(0);
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-secondary {
  background-color: #f97316;
  color: white;
}

.btn-secondary:hover {
  background-color: #ea580c;
}

.btn-tertiary {
  background-color: #4b5563;
  color: white;
}

.btn-tertiary:hover {
  background-color: #374151;
}

.btn svg,
.btn span {
  position: relative;
  z-index: 10;
}

.btn svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .btn svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 1;
  background-color: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  color: white;
  padding: 1rem 0;
  margin-top: auto;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 1.5rem 0;
  }
}

.footer-content {
  text-align: center;
  font-size: 0.75rem;
  margin: 0;
}

.footer-content p {
  margin: 0;
  padding: 0;
}

@media (min-width: 768px) {
  .footer-content {
    font-size: 0.875rem;
  }
}

/* Content Pages */
.page-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 2rem 1rem;
}

@media (min-width: 768px) {
  .page-content {
    padding: 4rem 2rem;
  }
}

.content-card {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .content-card {
    padding: 3rem;
  }
}

.content-card h1 {
  font-size: 2.25rem;
  font-weight: bold;
  color: #1f2937;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 4px solid #2563eb;
}

.content-card .entry-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 1rem;
  color: #374151;
}
