/* 
 * Ronaldo DJ - Site Moderno
 * Estilo principal
 */

:root {
  --primary-color: #ff5500;
  --secondary-color: #ffc107;
  --dark-bg: #121212;
  --darker-bg: #0a0a0a;
  --light-text: #ffffff;
  --gray-text: #aaaaaa;
  --card-bg: rgba(25, 25, 25, 0.8);
  --header-height: 80px;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--dark-bg);
  color: var(--light-text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-color);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.section-title h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--primary-color);
}

.section-title .icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-right: 15px;
  vertical-align: middle;
}

/* Background Overlay */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/back1.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

.bg-overlay::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-speed) ease;
  padding: 15px 0;
  background-color: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  padding: 10px 0;
  background-color: rgba(10, 10, 10, 0.95);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  transition: all var(--transition-speed) ease;
}

.header.scrolled .logo img {
  height: 35px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--light-text);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-speed) ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  cursor: pointer;
  font-size: 24px;
  color: var(--light-text);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1;
  padding-right: 30px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h1 span {
  color: var(--primary-color);
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--gray-text);
}

.hero-player {
  flex: 1;
  position: relative;
  z-index: 1;
}

.hero-player-wrapper {
  position: relative;
  background: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.hero-player-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 85, 0, 0.1), transparent);
  transform: rotate(45deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    top: -50%;
    left: -50%;
  }
  100% {
    top: 150%;
    left: 150%;
  }
}

.hero-player img {
  position: absolute;
  top: -50px;
  right: -30px;
  width: 200px;
  z-index: -1;
  opacity: 0.8;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* About Section */
.about {
  background-color: rgba(15, 15, 15, 0.7);
  border-radius: 10px;
  overflow: hidden;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-text {
  flex: 1.5;
}

.about-text h3 {
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--gray-text);
}

.about-text blockquote {
  padding: 20px;
  background-color: rgba(255, 85, 0, 0.1);
  border-left: 4px solid var(--primary-color);
  margin: 20px 0;
  font-style: italic;
}

/* Playlist Section */
.playlist {
  position: relative;
}

.playlist-wrapper {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Albums Section */
.albums {
  position: relative;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.album-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform var(--transition-speed) ease;
}

.album-card:hover {
  transform: translateY(-10px);
}

.album-image {
  position: relative;
  overflow: hidden;
}

.album-image img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.album-card:hover .album-image img {
  transform: scale(1.1);
}

.album-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

.album-card:hover .album-overlay {
  opacity: 1;
}

.play-btn {
  width: 60px;
  height: 60px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  cursor: pointer;
  transform: scale(0.8);
  transition: all var(--transition-speed) ease;
}

.album-card:hover .play-btn {
  transform: scale(1);
}

.album-info {
  padding: 20px;
}

.album-info h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.album-info a {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
}

.album-info a i {
  margin-right: 5px;
}

/* Blog & Events Section */
.blog-events {
  position: relative;
}

.blog-events-container {
  display: flex;
  gap: 40px;
}

.events-column, .blog-column {
  flex: 1;
}

.event-card, .blog-card {
  background-color: var(--card-bg);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  display: flex;
}

.event-image, .blog-image {
  width: 120px;
  min-width: 120px;
  overflow: hidden;
}

.event-image img, .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-card:hover .event-image img,
.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.event-content, .blog-content {
  padding: 15px;
  flex: 1;
}

.event-content h4, .blog-content h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.event-content p, .blog-content p {
  color: var(--gray-text);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.event-date {
  background-color: var(--primary-color);
  color: white;
  padding: 15px;
  text-align: center;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-date span {
  display: block;
}

.event-date b {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.blog-date {
  color: var(--gray-text);
  font-size: 0.8rem;
  margin-bottom: 10px;
}

/* Contact Section */
.contact {
  position: relative;
}

.contact-form {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form h3 {
  text-align: center;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: var(--light-text);
  font-size: 1rem;
  transition: all var(--transition-speed) ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.15);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.btn-block {
  display: block;
  width: 100%;
}

/* Footer */
.footer {
  background-color: var(--darker-bg);
  padding: 60px 0 30px;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  flex: 1;
  min-width: 200px;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo p {
  color: var(--gray-text);
}

.footer-links {
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  margin-bottom: 20px;
  color: var(--light-text);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-text);
  transition: all var(--transition-speed) ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-social {
  flex: 1;
  min-width: 200px;
}

.footer-social h4 {
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 18px;
  transition: all var(--transition-speed) ease;
}

.social-icon:hover {
  background-color: var(--primary-color);
  transform: translateY(-5px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--gray-text);
  font-size: 0.9rem;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--dark-bg);
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(50px);
  transition: all var(--transition-speed) ease;
}

.modal.show .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.5rem;
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 20px;
}

.modal-player {
  width: 100%;
  margin-bottom: 20px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-speed) ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background-color: var(--secondary-color);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
  }
  
  .hero-text {
    padding-right: 0;
    margin-bottom: 40px;
    text-align: center;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .blog-events-container {
    flex-direction: column;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .section-title {
    margin-bottom: 40px;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height));
    background-color: var(--darker-bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: all var(--transition-speed) ease;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 0 0 20px 0;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .albums-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .event-card, .blog-card {
    flex-direction: column;
  }
  
  .event-image, .blog-image {
    width: 100%;
    height: 200px;
  }
  
  .event-date {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  
  .event-date b {
    margin-bottom: 0;
    margin-right: 5px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
  }
}

@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .contact-form {
    padding: 20px;
  }
  
  .albums-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.fade-in-right {
  animation: fadeInRight 1s ease forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Custom Player Styles */
.custom-player {
  width: 100%;
  background-color: rgba(20, 20, 20, 0.8);
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.player-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.player-artwork {
  width: 60px;
  height: 60px;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 15px;
}

.player-artwork img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-info {
  flex: 1;
}

.player-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.player-artist {
  color: var(--gray-text);
  font-size: 0.9rem;
}

.player-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.player-buttons {
  display: flex;
  align-items: center;
}

.player-btn {
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 15px;
  transition: all var(--transition-speed) ease;
}

.player-btn:hover {
  color: var(--primary-color);
}

.player-btn.play-pause {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
}

.player-btn.play-pause:hover {
  background-color: var(--secondary-color);
  color: white;
}

.player-volume {
  display: flex;
  align-items: center;
}

.player-volume-icon {
  color: var(--light-text);
  margin-right: 10px;
}

.player-volume-slider {
  width: 80px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2.5px;
  position: relative;
  cursor: pointer;
}

.player-volume-progress {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2.5px;
  width: 70%;
}

.player-progress {
  width: 100%;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2.5px;
  position: relative;
  cursor: pointer;
  margin-bottom: 10px;
}

.player-progress-bar {
  height: 100%;
  background-color: var(--primary-color);
  border-radius: 2.5px;
  width: 30%;
  position: relative;
}

.player-progress-handle {
  width: 12px;
  height: 12px;
  background-color: var(--primary-color);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
}

.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-text);
}

.player-visualizer {
  height: 40px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 15px;
}

.visualizer-bar {
  width: 4px;
  background-color: var(--primary-color);
  border-radius: 2px;
  animation: visualize 1.5s infinite ease-in-out;
}

@keyframes visualize {
  0%, 100% {
    height: 5px;
  }
  50% {
    height: 30px;
  }
}

.visualizer-bar:nth-child(1) { animation-delay: 0.2s; }
.visualizer-bar:nth-child(2) { animation-delay: 0.3s; }
.visualizer-bar:nth-child(3) { animation-delay: 0.4s; }
.visualizer-bar:nth-child(4) { animation-delay: 0.5s; }
.visualizer-bar:nth-child(5) { animation-delay: 0.6s; }
.visualizer-bar:nth-child(6) { animation-delay: 0.7s; }
.visualizer-bar:nth-child(7) { animation-delay: 0.8s; }
.visualizer-bar:nth-child(8) { animation-delay: 0.9s; }
.visualizer-bar:nth-child(9) { animation-delay: 1.0s; }
.visualizer-bar:nth-child(10) { animation-delay: 1.1s; }
.visualizer-bar:nth-child(11) { animation-delay: 1.2s; }
.visualizer-bar:nth-child(12) { animation-delay: 1.3s; }
.visualizer-bar:nth-child(13) { animation-delay: 1.4s; }
.visualizer-bar:nth-child(14) { animation-delay: 1.5s; }
.visualizer-bar:nth-child(15) { animation-delay: 1.6s; }
.visualizer-bar:nth-child(16) { animation-delay: 1.7s; }
.visualizer-bar:nth-child(17) { animation-delay: 1.8s; }
.visualizer-bar:nth-child(18) { animation-delay: 1.9s; }
.visualizer-bar:nth-child(19) { animation-delay: 2.0s; }
.visualizer-bar:nth-child(20) { animation-delay: 2.1s; }
