﻿/* ===== CSS Variables ===== */
:root {
  --primary-color: #2c3e50;   /* Dark Slate Blue */
  --secondary-color: #3498db; /* Bright Blue */
  --text-color: #34495e;      /* Wet Asphalt */
  --light-bg: #ecf0f1;        /* Clouds */
  --card-bg: #ffffff;
  --border-color: #bdc3c7;    /* Silver */
  --header-text: #ffffff;
}
    
/* ===== Base Styles ===== */
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  margin: 0;
  padding-top: 76px;
  line-height: 1.6;
}

.headerInner {
  text-align:center
}

.headerInner h1 {
  color: var(--primary-color);
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

/* ===== Layout ===== */
.main-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: stretch;  /* make all flex children equal height */
}

.main-content .left-column {
  flex: 1 1 35%;
  min-width: 250px;
  
  display: flex;          /* let children stretch inside */
  flex-direction: column; /* stack content vertically */
}

.main-content .right-column {
  flex: 1 1 60%;
  min-width: 300px;

  display: flex;          /* let children stretch inside */
  flex-direction: column; /* stack content vertically */
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .main-content {
    flex-direction: column;
  }

  .main-content .left-column,
  .main-content .right-column {
    flex: 1 1 100%;
  }
  
  .lyrics {
    flex: unset; /* prevent unnecessary stretching on mobile */
  }
}


/* ===== Hero Section ===== */
.hero {
  /* background: url("https://picsum.photos/1600/700?tech") center/cover no-repeat; */
  position: relative;
  color: #fff;
  padding: 6rem 1rem;
  text-align: center;
  margin-top: -76px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));
}

.hero .hero-container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero .btn {
  background: var(--accent-color);
  color: #000;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background: #e0a800;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Clickable Cards ===== */
.ia-items {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}

.ia-item {
  flex: 1 1 300px;
  margin: 10px;
  display: block;
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.ia-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  color: var(--primary-color);
}

.ia-item-event-img {
  background-size: cover;
  background-position: center;
  height: 160px;
}

.ia-item-event-desc {
  padding: 20px;
}

.ia-item-event-desc h4 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.ia-item-event-desc p {
  margin: 0;
  font-size: 0.95rem;
}

/* ===== Footer ===== */
footer {
  background: var(--primary-color);
  color: #fff;
  text-align: center;
  padding: 2rem 0;
  margin-top: 3rem;
}

footer a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #e0a800;
  text-decoration: underline;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .ia-item {
    flex: 1 1 100%;
  }

  .radio-group {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ===== Right Column ===== */

/* ===== Content Cards ===== */
.content-card {
  background: var(--card-bg);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.lyrics {
  background: #fffbe6;
  border-left: 5px solid var(--accent-color);
  flex: 1; /* stretch to fill right-column height */
}


/* ===== Responsive Video Embeds ===== */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Responsive Lyrics ===== */
.cssLyrics {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--primary-color);
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  position: relative;
  counter-reset: verse-counter;
  
  background: #fffbe6;
}

/* Lyrics lines spacing */
.cssLyrics br {
  display: block;
  margin: 0.6em 0;
  content: "";
}

.cssLyrics img {
  float: left;
  margin: 0 1rem 1rem 0;
  border-radius: 8px;
  max-width: 45%;
  height: auto;
}


/* Mobile optimization */
@media (max-width: 768px) {

.headerInner h1 {
    font-size: 0.95em;
    margin-top: 0.1rem;
    margin-bottom: 0.1rem;
  }

  .cssLyrics {
    padding: 1.5rem;
    margin: 1.5rem;
    font-size: 0.95em;
  }
  
  .cssLyrics h2 {
    font-size: 1.2em;
  }
  
  .cssLyrics img {
    float: none;
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 100%;
  }
}

img.floatLeft { 
    float: left; 
    margin: 4px; 
}

img.floatRight { 
    float: right; 
    margin: 4px; 
}

.cssNote
{
   padding: 4px;
}
