/* style.css */

:root {
  --bg-color: #121212;
  --card-bg-top: #1e1e27;
  --card-bg-bot: #1e1e3e;
  --text-main: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-color: #7ac0e2;
  --spacing-section: 4rem;
}

/* Base Resets & Typography */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Fredoka", Tahoma, sans-serif;
  font-weight: 300;
  background-color: var(--bg-color);
  color: var(--text-main);
  text-align: center;
  line-height: 1.6;
  font-size: clamp(0.9rem, 2.5vw, 1.5rem);
}

h2 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.8;
}

hr {
  width: 85%;
}

/* Hero Section */
.hero-container {
  padding: 5rem 1rem;
  background-image: linear-gradient(to bottom, var(--card-bg-top), var(--card-bg-bot));
  margin-bottom: var(--spacing-section);
  border-bottom: 1px solid #333;
}

.title {
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 4rem); /* Responsive font size */
  font-weight: 900;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  color: var(--text-secondary);
  font-weight: 600;
}

.subsubtitle{
  font-size: clamp(1.0rem, 2.5vw, 2.5rem);
  display: block;
  margin-top: 0.5rem;
  font-style: italic;
  font-weight: 300;
  opacity: 0.8;
}

.about {
  width: 60%;
  display: block;
  margin: 0 auto 4% auto;
  max-width: 750px;
  min-width: 250px;
  font-size: clamp(1.0rem, 1.4vw, 1.5rem);
  overflow: auto;
  text-align: justify;
}

.about img {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-width: 250px;
  display: block;
  margin: 0 auto 5% auto;
}

/* Featured Video - 80-90% Width Constraint */
.featured-video {
  width: 90%;
  max-width: 1200px; /* Prevents it from getting too large on ultrawide screens */
  margin: 0 auto var(--spacing-section) auto;
}

.featured-video iframe {
  width: 100%;
  /* Modern CSS to maintain 16:9 ratio without height hacks */
  aspect-ratio: 16 / 9; 
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

/* Calendar Section */
.calendar {
  width: 90%;
  max-width: 800px;
  margin: 0 auto var(--spacing-section) auto;
}

.calendar iframe {
  width: 100%;
  /* Overriding HTML height attribute for mobile, keeping reasonable height */
  height: 600px; 
  background-color: #ddd; /* Calendar needs light bg for readability */
  border-radius: 8px;
}

/* Contact Section */
.contact {
  background-color: var(--card-bg-bot);
  padding: 3rem 1rem;
  border-top: 1px solid #333;
}

.email-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.email-list li {
  margin-bottom: 1.5rem;
}

/* Mobile specific adjustments */
@media (max-width: 600px) {
  .hero-container {
    padding: 3rem 1rem;
  }
  
  .calendar iframe {
    height: 400px; /* Smaller height for mobile screens */
  }
}