:root {
  --color-primary: #e63946;
  --color-secondary: #ffd700;
  --color-accent: #ff6b35;
  --color-dark: #1a1a1a;
  --color-light: #ffffff;
  --color-gray: #f5f5f5;
  --color-text: #2d2d2d;
  --shadow-sm: 0 2px 8px rgba(230, 57, 70, 0.1);
  --shadow-md: 0 4px 16px rgba(230, 57, 70, 0.15);
  --shadow-lg: 0 8px 32px rgba(230, 57, 70, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--color-text);
  background-color: var(--color-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
.header-top {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-light);
  box-shadow: var(--shadow-md);
}

.logo-header {
  max-width: 120px;
  height: auto;
}

.clock-container {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
}

.clock-time {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.clock-label {
  font-size: 0.75rem;
  opacity: 0.9;
  margin-top: -5px;
}

/* Navegação */
.navbar-custom {
  background-color: #fff;
  box-shadow: var(--shadow-md);
  padding: 0;
}

.navbar-unified {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 2rem;
}

.navbar-logo {
  flex-shrink: 0;
}

.logo-nav {
  max-width: 100px;
  height: auto;
}

.navbar-nav-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-pills-custom {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-pills-custom .nav-link {
  color: #000;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.nav-pills-custom .nav-link:hover {
  background-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-pills-custom .nav-link i {
  font-size: 1.3rem;
}

.navbar-clock {
  flex-shrink: 0;
}

.clock-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
}

.clock-container i {
  font-size: 1.5rem;
  color: #000;
}

.clock-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.clock-time {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
}

.clock-label {
  font-size: 0.7rem;
  opacity: 0.8;
  margin-top: 2px;
}

/* Hero Section */
.hero-section {
  /* Added background image with gradient overlay */
  background-image: url("public/images/design-mode/bg-site.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 4rem 1rem;
  min-height: 70vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255, 215, 0, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-light);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-light);
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Radio Player */
.radio-player-container {
  position: relative;
  z-index: 1;
}

.radio-player {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  padding: 3rem 2rem;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.player-logo {
  margin-bottom: 2rem;
}

.player-logo-img {
  max-width: 200px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.player-status {
  margin-bottom: 2rem;
}

.status-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-text);
}

.btn-play {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border: none;
  color: var(--color-light);
  font-size: 3rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.btn-play:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(230, 57, 70, 0.4);
}

.btn-play:active {
  transform: scale(0.95);
}

.btn-play.playing {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 32px rgba(230, 57, 70, 0.3);
  }
  50% {
    box-shadow: 0 12px 48px rgba(230, 57, 70, 0.6);
  }
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 350px;
  margin: 0 auto;
}

.volume-control i {
  font-size: 1.5rem;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* Added visual volume bar styling */
.volume-slider-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.volume-slider {
  width: 100%;
  height: 17px;
  border-radius: 5px;
  background: #e0e0e0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.volume-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.volume-bar {
  display: none;
}

.volume-bar-fill {
  display: none;
}

/* Song Request Section */
.song-request-section {
  background-color: var(--color-light);
}

.card-custom {
  border: none;
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
}

.section-title i {
  color: var(--color-secondary);
}

.form-label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.15);
}

.form-control-lg {
  padding: 1rem 1.25rem;
  font-size: 1.15rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Programming Section */
.programming-section {
  background: linear-gradient(to bottom, var(--color-light) 0%, var(--color-gray) 100%);
}

/* Added styles for weekly tabs */
.programming-tabs {
  margin-bottom: 2rem;
}

.nav-tabs-custom {
  border: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-tabs-custom .nav-item {
  margin: 0;
}

.nav-link-tab {
  background-color: var(--color-light);
  color: var(--color-text);
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-link-tab:hover {
  background-color: var(--color-gray);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.nav-link-tab.active {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-light);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.tab-content {
  margin-top: 2rem;
}

.program-card {
  background: var(--color-light);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border-left: 5px solid var(--color-primary);
  height: 100%;
}

.program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--color-secondary);
}

.program-time {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.program-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.program-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--color-dark) 0%, #2d2d2d 100%);
}

.cta-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  border-radius: 25px;
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-light);
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--color-light);
  line-height: 1.6;
}

.btn-cta {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  border: none;
  border-radius: 50px;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.btn-cta:hover {
  background-color: #ffc700;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--color-dark);
}

/* Modal */
.modal-content {
  border: none;
  border-radius: 25px;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-light);
  padding: 1.5rem 2rem;
  border-bottom: none;
}

.modal-title {
  font-size: 1.8rem;
  font-weight: 700;
}

.btn-close {
  filter: brightness(0) invert(1);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: var(--color-light);
  padding: 2rem 0;
}

.footer-logo {
  max-width: 100px;
  height: auto;
}

.footer-copyright,
.footer-rights,
.footer-address,
.footer-contact {
  font-size: 1rem;
  line-height: 1.6;
}

.footer-link {
  color: var(--color-light);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  justify-content: flex-end;
}

.social-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-light);
  font-size: 1.3rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background-color: var(--color-secondary);
  color: var(--color-dark);
  transform: translateY(-3px);
}

/* Added floating WhatsApp button styles */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--color-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
  color: var(--color-light);
}

.whatsapp-float i {
  animation: whatsapp-shake 1s ease-in-out infinite;
}

@keyframes whatsapp-pulse {
  0%,
  100% {
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 24px rgba(37, 211, 102, 0.7);
  }
}

@keyframes whatsapp-shake {
  0%,
  100% {
    transform: rotate(0deg);
  }
  10%,
  30% {
    transform: rotate(-10deg);
  }
  20%,
  40% {
    transform: rotate(10deg);
  }
  50% {
    transform: rotate(0deg);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .navbar-unified {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .navbar-logo {
    order: 1;
  }

  .navbar-clock {
    order: 2;
  }

  .navbar-nav-wrapper {
    order: 3;
    width: 100%;
  }

  .logo-nav {
    max-width: 80px;
  }

  .clock-time {
    font-size: 1.3rem;
  }

  .clock-label {
    font-size: 0.65rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn-play {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .player-logo-img {
    max-width: 150px;
  }

  .radio-player {
    padding: 2rem 1.5rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-text {
    font-size: 1.1rem;
  }

  .nav-pills-custom {
    gap: 0.5rem;
  }

  .nav-pills-custom .nav-link {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  .nav-pills-custom .nav-link i {
    font-size: 1.1rem;
  }

  .social-icons {
    justify-content: center;
    margin-top: 1rem;
  }

  .logo-nav {
    max-width: 70px;
  }

  .clock-time {
    font-size: 1.1rem;
  }

  .clock-label {
    font-size: 0.6rem;
  }

  .clock-container i {
    font-size: 1.2rem;
  }

  /* Responsive styles for tabs on mobile */
  .nav-link-tab {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  /* Responsive WhatsApp button for mobile */
  .whatsapp-float {
    width: 55px;
    height: 55px;
    font-size: 1.7rem;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .program-time {
    font-size: 1.1rem;
  }

  .program-name {
    font-size: 1.3rem;
  }

  .program-description {
    font-size: 1.1rem;
  }

  .nav-pills-custom {
    gap: 0.4rem;
  }

  .nav-pills-custom .nav-link {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .nav-pills-custom .nav-link i {
    font-size: 1rem;
  }

  .logo-nav {
    max-width: 60px;
  }

  .clock-time {
    font-size: 1rem;
  }

  .clock-label {
    font-size: 0.55rem;
  }

  .clock-container i {
    font-size: 1rem;
  }

  /* Smaller tabs for mobile */
  .nav-link-tab {
    font-size: 0.85rem;
    padding: 0.5rem 0.8rem;
  }

  .nav-tabs-custom {
    gap: 0.4rem;
  }

  /* Smaller WhatsApp button for small screens */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 15px;
    right: 15px;
  }
}
