﻿/* ===== CSS Variables ===== */
:root {
  --primary-color: #2c3e50;   /* Dark Slate Blue */
  --secondary-color: #3498db; /* Bright Blue */
  --accent-color: #e74c3c;    /* Red for accents */
  --text-color: #34495e;      /* Wet Asphalt */
  --light-bg: #f8f9fa;        /* Lighter background */
  --card-bg: #ffffff;
  --border-color: #dee2e6;    /* Lighter border */
  --header-text: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --transition: all 0.3s ease;
}

* { margin:0; padding:0; box-sizing:border-box; }
    
/* ===== 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;
  position: relative;
}

.headerInner h1 {
  color: var(--primary-color);
  margin-top: 0.2rem;
  margin-bottom: 0.2rem;
}

/* ===== 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: #fff;
  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);
}

.right-column .cssLyrics {
  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;
}

/* ===== Shared Base Styles for Lyrics & Notes ===== */
.cssLyrics,
.cssNote {
  max-width: 1000px;        
  margin: 1rem auto;        
  padding: 1.5rem 1rem;     
  width: 100%;
  box-sizing: border-box;

  border-radius: 12px;       
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

/* ===== Lyrics Block ===== */
.cssLyrics {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.7;
  color: var(--primary-color);

  background: #fffbe6;
  border-left: 5px solid var(--accent-color);
  box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.1);
  position: relative;
  counter-reset: verse-counter;
}

/* Lyrics line 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;
}

/* ===== Note Block ===== */
.cssNote {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
}

.cssNote p {
  margin-bottom: 1rem;
}

.cssNote .main-image-link {
  text-decoration: none;
  color: var(--secondary-color);
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.cssNote .main-image-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.cssNote .main-image-link img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* ===== Magazine-style embedded images ===== */
.cssNote .magazine-float,
.cssNote .magazine-float-right {
  width: 35%;
  max-width: 400px;
  height: auto;
  margin-bottom: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cssNote .magazine-float {
  float: left;
  margin-right: 15px;
}

.cssNote .magazine-float-right {
  float: right;
  margin-left: 15px;
}

/* ===== Mobile Optimization ===== */
@media (max-width: 768px) {
  .cssLyrics,
  .cssNote {
    margin: 0.5rem;
    padding: 0.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%;
  }

  .cssNote {
    padding: 1rem 1.5rem;
  }

  .cssNote .magazine-float,
  .cssNote .magazine-float-right {
    width: 100%;
    float: none;
    margin: 10px 0;
  }
}


/* ===== PATCH ===== */
.floatLeft { 
    float: left; 
    margin: 4px; 
}

.floatRight { 
    float: right; 
    margin: 4px; 
}

.cssSource {
  border: 1px solid #999;
  overflow: auto;
  background: #FFFFDD;
  padding: 12px;
  margin: 1em 7px 1em 7px;
}

.cssSource pre {
  margin: 0px;
  padding: 0px;
}


.circle-img {
width: 150px;
height: 150px; 
border: 1px solid #000000;
border: 1px solid black;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
border-radius: 50%;
border: none;
overflow: hidden;
float: left;
margin: 0 auto 10px;
}

@media screen and (max-width: 767px) {
  .circle-img {
   width: 85px;
   height: 85px;
 }
}