:root {
  --primary-color: #2c3e50;
  --text-color: #333;
  --accent-color: #e24e42; /* Similar to the red in the 70. Yil logo */
  --bg-gradient-start: #ffcfc8;
  --bg-gradient-end: #fdf2f1;
  --card-bg: rgba(255, 255, 255, 0.85);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Add a subtle texture/noise overlay to match the image feel if possible */
.background-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('https://www.transparenttextures.com/patterns/cubes.png');
  opacity: 0.05;
  z-index: -1;
  pointer-events: none;
}

header.hero {
  text-align: center;
  padding: 3rem 1rem 2rem;
  max-width: 800px;
  width: 100%;
}

.logos {
  margin-bottom: 2rem;
}

.logo {
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

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

.aeo-logo {
  width: 150px;
  height: 150px;
  object-fit: cover;
}

.yil-logo {
  width: auto;
  height: 140px; /* Enlarged */
  margin-top: 2rem;
  border-radius: 0;
  box-shadow: none;
}

.hero-content {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
}

.title-group {
  display: inline-block;
  width: 100%;
  max-width: max-content;
  text-align: center;
  margin-bottom: 2rem;
}

.subtitle {
  font-size: 2.8rem;
  font-weight: 900;
  color: #000;
  letter-spacing: 0;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  text-align-last: justify;
  white-space: nowrap;
}

.main-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-align-last: justify;
  letter-spacing: 3px;
  white-space: pre-wrap; /* More flexible than nowrap */
}

.highlight {
  display: block;
  font-size: 1.8rem;
  font-weight: 400;
  color: #e62e21;
  margin-top: 0.5rem;
  text-align: center;
}

.date, .venue {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.venue {
  color: #555;
  font-weight: 400;
}

.schedule-container {
  max-width: 1000px;
  width: 100%;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.schedule-day {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  padding-bottom: 6rem; /* Make room for the logos */
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  position: relative;
}

.day-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 3rem;
  position: relative;
}

.day-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--accent-color);
  border-radius: 2px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
}

/* Timeline vertical line */
.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #eee;
}

.timeline-item {
  display: flex;
  gap: 2rem;
  position: relative;
  align-items: flex-start;
  transition: transform 0.2s ease;
}

.timeline-item:hover {
  transform: translateX(5px);
}

/* Timeline dot */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 115px; /* 120 (line) - 5 (half dot) */
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 1;
}

.time {
  width: 90px;
  font-weight: 600;
  color: var(--accent-color);
  text-align: right;
  flex-shrink: 0;
  padding-top: 2px;
  font-size: 0.95rem;
}

.content {
  flex-grow: 1;
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  border-left: 4px solid transparent;
  transition: border-color 0.3s ease;
}

.timeline-item:hover .content {
  border-left-color: var(--accent-color);
}

.content h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.3rem;
}

.content p strong {
  color: var(--text-color);
}

.timeline-item.break .content, .timeline-item.lunch .content {
  background: rgba(226, 78, 66, 0.05); /* very light accent color */
  border-left-color: rgba(226, 78, 66, 0.3);
}

.timeline-item.break::before, .timeline-item.lunch::before {
  background-color: #fbc2bb; /* lighter dot */
}

.day-footer {
  margin-top: 3rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #eee;
  color: #666;
}

.day-footer strong {
  color: var(--primary-color);
}

.day-logos {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: flex-end;
  pointer-events: none; /* Just for display */
}

.day-logo-70 {
  height: 110px;
  width: auto;
  opacity: 0.9;
}

.day-logo-aeo {
  height: 70px;
  width: auto;
  margin-left: -15px;
  margin-bottom: 45px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.contact-section {
  width: 100%;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-form-card, .contact-map-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
}

.contact-form-card h3, .contact-map-card h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.submit-btn {
  background: var(--accent-color);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  background: #c23829;
  transform: translateY(-2px);
}

.map-address {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 1rem;
  font-weight: 500;
}

.map-wrapper {
  flex-grow: 1;
  width: 100%;
  min-height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.site-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  width: 100%;
}

.site-footer p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    flex-direction: column;
    gap: 0.5rem;
    padding-left: 50px;
  }

  .timeline-item::before {
    left: 15px;
    top: 5px;
  }

  .time {
    width: auto;
    text-align: left;
  }

  .subtitle {
    font-size: 1.6rem !important;
    letter-spacing: normal !important;
    white-space: normal !important;
    text-align: center !important;
    text-align-last: center !important;
    width: 100% !important;
    display: block !important;
  }

  .main-title {
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
    white-space: normal !important;
    text-align: center !important;
    text-align-last: center !important;
    width: 100% !important;
    display: block !important;
  }
  
  .hero-content {
      padding: 1.5rem 1rem !important;
      width: 100% !important;
      max-width: 100% !important;
  }
  
  .title-group {
      max-width: 100% !important;
      width: 100% !important;
      display: block !important;
  }
  
  .highlight {
    font-size: 1.3rem;
  }

  .schedule-day {
    padding: 2rem 1rem;
    padding-bottom: 7rem; /* Extra room on mobile */
  }

  .day-logos {
    bottom: 1rem;
    right: 1rem;
  }
  
  .day-logo-70 {
    height: 80px;
  }
  
  .day-logo-aeo {
    height: 50px;
    margin-bottom: 30px;
    margin-left: -10px;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-form-card, .contact-map-card {
    padding: 1.5rem;
  }

}

/* Yukarı Çık Butonu */
#backToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

@media (max-width: 768px) {
  #backToTop {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
