/* Event Landing Page Styles */

/* Global Styles */
:root {
  --primary-color: #4f46e5;
  --secondary-color: #10b981;
  --accent-color: #f59e0b;
  --dark-color: #1f2937;
  --light-color: #f9fafb;
  --text-color: #374151;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-color);
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color), #818cf8);
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://source.unsplash.com/random/1600x900/?conference') no-repeat center center/cover;
  opacity: 0.2;
  z-index: 0;
}

header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

header p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

/* Section Styles */
section {
  padding: 60px 20px;
}

section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--dark-color);
  font-size: 2rem;
  position: relative;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* About Section */
#about {
  background-color: white;
}

#about p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* Schedule Section */
#schedule {
  background-color: #f3f4f6;
}

#schedule ul {
  max-width: 800px;
  margin: 0 auto;
  list-style-type: none;
}

#schedule li {
  background-color: white;
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  position: relative;
  padding-left: 30px;
  transition: transform 0.3s ease;
}

#schedule li:hover {
  transform: translateY(-5px);
}

#schedule li::before {
  content: '⏰';
  position: absolute;
  left: 10px;
  color: var(--primary-color);
}

/* Speakers Section */
#speakers {
  background-color: white;
  text-align: center;
}

.speakers-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.speaker {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  width: 300px;
  transition: transform 0.3s ease;
}

.speaker:hover {
  transform: translateY(-10px);
}

.speaker img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.speaker h3 {
  margin: 15px 0 5px;
  color: var(--dark-color);
}

.speaker p {
  color: #6b7280;
  margin-bottom: 20px;
  padding: 0 15px;
}

/* Registration Section */
#register {
  background: linear-gradient(135deg, var(--primary-color), #818cf8);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

#register h2 {
  color: white;
}

form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

label {
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
}

input {
  padding: 12px;
  margin-bottom: 20px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

button {
  background-color: var(--accent-color);
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e68200;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  text-align: center;
  padding: 30px 20px;
}

/* Responsive Design */
@media (min-width: 768px) {
  .speakers-container {
    display: flex;
    justify-content: center;
    gap: 30px;
  }

  #schedule li {
    display: flex;
    align-items: center;
  }

  #schedule li::before {
    position: static;
    margin-right: 15px;
    font-size: 1.2rem;
  }
}

@media (max-width: 767px) {
  header h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.8rem;
  }

  .speaker {
    width: 90%;
    margin: 0 auto 30px;
  }
}

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

header h1, header p {
  animation: fadeIn 1s ease-out;
}

.speaker, #schedule li {
  animation: fadeIn 0.8s ease-out;
}
