/* ============================================================
   SURGICAL RADIO FIX (DO NOT REMOVE)
   ============================================================ */
/* ============================================================
   FINAL SURGICAL RADIO FIX
   ============================================================ */
/* ============================================================
   ULTIMATE RADIO FIX - COMPATIBLE WITH SAFARI & DESKTOP
   ============================================================ */
.radio-player {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  /* Use 'all' transition to catch the border-radius and the size */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  z-index: 100000 !important;
  background: #000 !important;
  border: 2px solid #ff0033 !important;
  border-radius: 15px !important;
  padding: 5px !important;
  /* Initial Expanded Size */
  width: 220px !important;
  height: 320px !important;
  display: block !important;
  overflow: visible !important;
}

/* THE FIX: Use max-width/height to force the collapse on Safari/Chrome */
.radio-player.collapsed {
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important; 
  max-height: 60px !important;
  border-radius: 50% !important;
  padding: 0 !important; /* Remove padding so icon centers perfectly */
}

/* Hide the content immediately so it doesn't "peek" through the circle */
.radio-player.collapsed .radio-embed {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.radio-embed {
  width: 100% !important;
  height: 100% !important;
  border-radius: 10px !important;
  overflow: hidden !important;
}

.radio-embed iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
}

#radioToggle {
  position: absolute !important;
  top: -15px !important;
  right: -15px !important;
  width: 40px !important;
  height: 40px !important;
  background: #ff0033 !important;
  color: white !important;
  border: 2px solid #000 !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  z-index: 100001 !important;
  transition: all 0.3s ease !important;
}

/* Ensure the button fills the circle when collapsed */
.radio-player.collapsed #radioToggle {
  top: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border: none !important;
  font-size: 28px !important; /* Makes the radio icon bigger */
}







/* ============================================================
   YOUR ORIGINAL WORKING CODE (STRICTLY PRESERVED)
   ============================================================ */

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

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #111;
}

/* LOGO */
.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  max-width: 1200px;
  margin: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* NAVBAR SCROLL EFFECT */
.navbar.scrolled {
  background: black;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  background: url("images/hero.jpg") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  font-size: 64px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-primary {
  background: #ff0033;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
}

.btn-secondary {
  border: 2px solid white;
  color: white;
  padding: 12px 26px;
  text-decoration: none;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
}

.scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid white;
  border-radius: 20px;
  position: relative;
}

.scroll-indicator span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: rgb(255, 6, 6);
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% { opacity: 0; transform: translate(-50%, 0); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 12px); }
}

/* ABOUT SECTION */
#about {
  background: #1a1a1a;
  color: #eee;
  padding: 80px 40px;
  text-align: center;
}

#about h2 {
  color: #fff;
  margin-bottom: 40px;
}

#about p {
  color: #eee;
  font-size: 18px;
  line-height: 1.6;
  max-width: 900px;
  margin: 0 auto;
}

/* SECTIONS */
section {
  padding: 80px 40px;
  text-align: center;
}

/* FADE-IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* SERVICES */
#services {
  background: #111;
  color: white;
  max-width: 1200px;
  margin: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: #222;
  color: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fffefe;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 20px auto;
}

.icon-circle img {
  width: 50%;
  height: auto;
}

/* HOSTS */
#hosts {
  background: #111;
  color: white;
  max-width: 1200px;
  margin: auto;
}

.host-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.host-card {
  perspective: 1000px;
  cursor: pointer;
  height: 340px;
  transition: transform 0.35s ease;
}

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

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.host-card.flipped .card-inner { transform: rotateY(180deg); }

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  text-align: center;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.35s ease, border 0.35s ease, background 0.35s ease;
}

.card-front { padding: 0; border: none; background: none; overflow: hidden; }
.card-front .host-photo { width: 100%; height: 80%; margin: 0; border-radius: 0; }
.card-front .host-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }

.card-back {
  padding: 30px;
  border: 1px solid #333;
  background: #222;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
  transform: rotateY(180deg);
}

.host-card:hover .card-back {
  box-shadow: 0 12px 30px rgba(7, 78, 241, 0.35);
  border: 1px solid #1722ea;
  background: #222;
}

.host-card:hover .card-front .host-photo img { transform: scale(1.08); }
.card-back h3 { transition: color 0.3s ease; }
.host-card:hover .card-back h3 { color: #1722ea; }

/* GALLERY */
#gallery {
  background: #111;
  color: white;
  max-width: 1200px;
  margin: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover { box-shadow: 0 12px 25px rgba(0, 0, 0, 0.6); }


/* COMMUNITY SECTION - Balanced Video & 2 Images */
#community {
  background: #111;
  color: white;
  max-width: 1200px;
  margin: auto;
  padding: 80px 40px; /* Matching your other sections */
}

.community-container {
  display: flex;
  flex-direction: column; /* Stacked for Mobile */
  gap: 20px;
  margin-top: 40px;
}

.community-video {
  flex: 2.5; /* Takes up more width on desktop */
  width: 100%;
  aspect-ratio: 16 / 9; /* Keeps video from being taller than images */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.community-video iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* The Image Side-Bar */
.community-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr; /* Side-by-side on Mobile */
  gap: 15px;
}

.community-item {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%; /* Important for alignment */
}

.community-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Forces large images to fit the box without stretching */
  display: block;
  transition: transform 0.3s;
}

.community-item:hover img { transform: scale(1.05); }

/* DESKTOP FIX: Aligning Video and Images perfectly */
@media (min-width: 992px) {
  .community-container {
    flex-direction: row;
    align-items: stretch; /* This forces the images to match the video height */
  }

  .community-grid {
    grid-template-columns: 1fr; /* Stack images vertically next to video */
    grid-template-rows: 1fr 1fr; /* Two equal rows */
  }
}







/* CONTACT */

.email-link {
  color: #ff0033;
  text-decoration: none;
  font-weight: bold;
}

.email-link:hover {
  text-decoration: underline;
}

.contact-action {
  flex: 1 1 300px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

#contact { background: #111; color: white; }
.contact-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1000px;
  margin: 40px auto 0 auto;
}
.contact-info { flex: 1 1 300px; text-align: left; }

/* FOOTER */
footer { background: #000; color: #ccc; padding: 40px 20px; text-align: center; }
.footer-container { max-width: 1200px; margin: auto; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.social-links { display: flex; gap: 20px; justify-content: center; margin-top: 15px; }
.social-btn { display: inline-flex; justify-content: center; align-items: center; width: 50px; height: 50px; border-radius: 50%; background: #222; box-shadow: 0 4px 12px rgba(0,0,0,0.5); transition: transform 0.25s ease; cursor: pointer; }
.social-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.social-btn.facebook:hover { background: #1877F2; transform: translateY(-4px); }
.social-btn.instagram:hover { background: #E1306C; transform: translateY(-4px); }
.social-btn.youtube:hover { background: #FF0000; transform: translateY(-4px); }
.social-btn.tiktok:hover { background: #FF0000; transform: translateY(-4px); }

/* RESPONSIVE NAV HAMBURGER */
@media (max-width: 768px) {
  .nav-toggle { display: flex; flex-direction: column; gap: 5px; cursor: pointer; z-index: 10001; }
  .nav-toggle span { width: 25px; height: 3px; background: white; display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 250px; background: #111; flex-direction: column; padding: 100px 30px; transition: 0.4s ease; }
  .nav-links.active { right: 0; }
  
  .radio-player {
    bottom: 30px !important;
    right: 20px !important;
    width: 180px !important;
    height: 280px !important;
  }
}