/* =========================================================
 *  === Page 1: Home Styling (home.css)
 *  === Only unique Home-page rules
 *  ========================================================= */

/* Title banners */
#home .page-title-1 {
background-image: url("../images/1page-title1.gif");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 100%;
max-width: 200px;
aspect-ratio: 156 / 23;
margin-bottom: 1em;
display: block;
transition: transform 0.3s ease, filter 0.3s ease;
}

#home .page-title-2 {
background-image: url("../images/1page-title2.gif");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 100%;
max-width: 350px;
aspect-ratio: 7 / 1;
margin-bottom: 1em;
display: block;
box-shadow: 0 0 10px #7526df;
transition: transform 0.3s ease, filter 0.3s ease;
}

#home .main-section {
background: linear-gradient(135deg, rgba(20,0,40,0.7), rgba(60,0,90,0.5));
border-left: 4px solid #7526df;
padding: 2em;
box-shadow: inset 0 0 10px rgba(117, 38, 223, 0.4);
display: flex;
flex-direction: column;
position: relative;
gap: 1em;
margin: 2em 0;
}

#home .main-section p {
margin-bottom: 1em;
color: #d0d0d0;
line-height: 1.6;
font-size: 1rem;
}

#home .main-section p:first-child {
font-weight: 600;
color: #fff;
font-size: 1.1rem;
}

#home .main-section .main-end {
font-style: italic;
color: #ffccff;
text-shadow: 0 0 6px #7526df;
animation: homePulseGlow 2s infinite alternate;
margin-bottom: 5em;
}

#home .main-stamp {
background-image: url("../images/dubbchatt.png");
background-repeat: no-repeat;
background-position: center;
background-size: contain;
width: 100px;
height: 100px;
position: absolute;
bottom: 1em;
right: 1em;
z-index: 5;
filter: drop-shadow(0 0 6px #7526df);
transition: transform 0.3s ease, filter 0.3s ease;
}

#home .main-stamp:hover {
transform: scale(1.05);
filter: drop-shadow(0 0 12px #ff00cc);
}

/* Hover glow effect */
#home .page-title-1:hover,
#home .page-title-2:hover {
filter: drop-shadow(0 0 8px #7526df)
drop-shadow(0 0 15px #ff00cc);
transform: scale(1.02);
}

/* Two-column wrapper */
#home .wrapper {
display: grid;
grid-template-columns: 300px 1fr;
gap: 2em;
align-items: start;
}

@media (max-width: 900px) {
  #home .wrapper {
  grid-template-columns: 1fr;
  }
}

/* Column alignment */
#home .col-1 {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 2em;
}

#home .col-2 {
display: flex;
flex-direction: column;
justify-content: flex-start;
padding-top: 10px;
}

/* Responsive tweaks for banners */
@media (max-width: 900px) {
  #home .page-title-1,
  #home .page-title-2 {
  max-width: 70%;
  aspect-ratio: auto;
  }
}

@media (max-width: 600px) {
  #home .page-title-1,
  #home .page-title-2 {
  max-width: 90%;
  margin: 0 auto 1em;
  }
}

/* Events List Container */
#home #homeEventsList {
display: block;
padding: 10px 0;
margin: 0;
}

/* Event Card Styling */
#home #homeEventsList li {
list-style: none;
margin-bottom: 12px;
}

#home .home-event.vertical {
display: block;
text-align: center;
font-family: sans-serif;
font-size: 10px;
line-height: 1.4;
background: rgba(30, 0, 50, 0.6);
color: #fff;
border: 1px solid #7526df;
border-radius: 6px;
padding: 1em;
max-width: 100px;
box-shadow: 0 0 10px rgba(117, 38, 223, 0.6);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#home .home-event.vertical:hover {
transform: translateY(-3px);
box-shadow: 0 0 15px rgba(255, 0, 200, 0.8);
background-color: rgba(40, 0, 60, 0.8);
}

/* Divider Glow Between Cards */
#home #homeEventsList li:not(:last-child) {
border-bottom: 1px solid rgba(117, 38, 223, 0.4);
padding-bottom: 1em;
}

/* Event Image */
#home .home-event.vertical img {
display: block;
width: 100%;
max-width: 100%;
height: auto;
border-radius: 4px;
margin-bottom: 2px;
background: #000;
}

/* Event Text */
#home .event-text {
display: block;
padding: 2px 0;
line-height: 0.75;
white-space: pre-line;
}

#home .event-date {
font-weight: bold;
color: #0ff;
font-size: 0.75rem;
margin-bottom: 2px;
}

#home .event-title {
font-weight: 600;
color: #fff;
margin-bottom: 2px;
}

#home .event-location {
font-style: italic;
color: #ccc;
font-size: 0.65rem;
}

/* Club Links Section */
#home .club-links {
margin: 2em 0;
}

#home .club-links .section-label {
color: #fff;
font-size: 1.3rem;
margin-bottom: 1em;
text-shadow: 0 0 5px #7526df;
}

#home .club-grid {
list-style: none;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 0.8em 2em;
}

#home .club-grid li {
background: rgba(30, 0, 50, 0.6);
border: 1px solid #7526df;
border-radius: 6px;
padding: 1em;
box-shadow: 0 0 10px rgba(117, 38, 223, 0.6);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#home .club-grid li:hover {
transform: translateY(-3px);
box-shadow: 0 0 15px rgba(255, 0, 200, 0.8);
}

#home .club-grid li:not(:last-child) {
border-bottom: 1px solid rgba(117, 38, 223, 0.4);
padding-bottom: 1.5em;
}

/* Homepage TODAY highlight */
#home .home-event.today-highlight {
border: 2px solid #ffcc00;
box-shadow: 0 0 12px rgba(255, 106, 0, 0.6),
0 0 24px rgba(255, 204, 0, 0.4);
border-radius: 8px;
background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
position: relative;
animation: homePulseGlow 2s infinite;
}

/* Today badge */
#home .today-badge {
background: linear-gradient(45deg, #ff6a00, #ffcc00);
color: black;
font-weight: bold;
padding: 2px 6px;
border-radius: 4px;
font-size: 0.85em;
animation: homePulseGlow 1.5s infinite;
display: inline-block;
}

@keyframes homePulseGlow {
  0% { box-shadow: 0 0 5px #ff6a00; }
  50% { box-shadow: 0 0 15px #ffcc00; }
  100% { box-shadow: 0 0 5px #ff6a00; }
}
