/* Shared Styles for Nayra & Cyril Website */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #e74c3c;
  --accent-color: #f39c12;
  --text-color: #333;
  --light-bg: #ffffff;
  --section-bg: rgba(255, 255, 255, 0.95);
  --border-color: #e0e0e0;
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: var(--gradient);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
  z-index: -1;
  animation: backgroundMove 20s ease-in-out infinite;
}

@keyframes backgroundMove {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Styles */
.main-nav {
  background: transparent;
  z-index: 1000;
}

/* Navigation positioning for all pages (inside header) */
header .main-nav {
  margin-top: 20px;
  text-align: center;
}

/* Unified navigation link styles for all pages */
.main-nav a {
  display: block;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  border: none;
}

.main-nav a:hover {
  color: var(--light-bg);
}

.main-nav a:hover::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1px;
}

.main-nav a.active {
  color: var(--light-bg);
  font-weight: 600;
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(243, 156, 18, 0.5);
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.main-nav li {
  margin: 0;
}

/* Hamburger Menu Button */
.nav-toggle {
  display: none;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 8px;
  margin: 20px auto;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.nav-toggle i {
  width: 25px;
  display: inline-block;
}

/* Mobile menu states */
.main-nav.nav-closed ul {
  display: flex;
}

.main-nav.nav-open ul {
  display: flex;
}


/* Header Styles */
header {
  text-align: center;
  padding: 80px 0 60px;
  position: relative;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--light-bg);
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: -1px;
}

header h3 {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  margin: 30px auto 0;
  display: block;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
  overflow: hidden;
}

/* Image Style Classes */
.image-rectangle {
  border-radius: 12px;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}

.image-circle {
  border-radius: 50%;
  object-fit: scale-down;
  object-position: center;
  width: 100%;
  max-width: 200px;
  height: 200px;
}

.image-oval {
  border-radius: 50%;
  object-fit: scale-down;
  object-position: center;
  width: 100%;
  max-width: 240px;
  height: 160px;
}

.logo.image-oval {
  max-width: 240px;
  height: auto;
}

.image-square {
  border-radius: 8px;
  object-fit: scale-down;
  object-position: center;
  width: 100%;
  max-width: 200px;
  height: 200px;
}

.image-rounded-rectangle {
  border-radius: 20px;
  object-fit: cover;
  object-position: center;
  width: 100%;
  height: auto;
}

.logo:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Section Styles */
section {
  background: var(--section-bg);
  margin: 40px auto;
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

/* About section */
.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.about-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.band-photo {
  width: 100%;
  height: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.band-photo.image-circle,
.band-photo.image-square {
  max-width: 300px;
  margin: 0 auto;
}

.band-photo.image-oval {
  max-width: 360px;
  margin: 0 auto;
}

.band-photo:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: #555;
}

@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }

  .about-image {
    flex: 0 0 300px;
    margin-right: 40px;
  }

  .about-text {
    flex: 1;
    text-align: left;
  }
}

/* Table Styles */
.events-container {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--light-bg);
  border-radius: 12px;
  overflow: hidden;
}

th {
  background: var(--primary-color);
  color: var(--light-bg);
  padding: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s ease;
}

tr:hover td {
  background-color: #f8f9fa;
}

tr:last-child td {
  border-bottom: none;
}

.venue {
  font-weight: 500;
  color: var(--primary-color);
}

.date {
  color: var(--secondary-color);
  font-weight: 500;
}

/* Event date styling based on time */
.event-past {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
  border-left: 4px solid #6c757d !important;
}

.event-past .venue {
  color: #6c757d;
  font-weight: 400;
}

.event-past .date {
  color: #6c757d;
  font-weight: 400;
  position: relative;
}

.event-past .date::after {
  content: ' ✓';
  color: #28a745;
  font-weight: 600;
  margin-left: 8px;
}

.event-today {
  background: linear-gradient(135deg, #ffeaa7, #fab1a0) !important;
  animation: pulse 2s infinite;
}

.event-today .venue {
  color: #2d3436;
  font-weight: 700;
}

.event-today .date {
  color: #2d3436;
  font-weight: 700;
}

.event-future {
  background-color: rgba(114, 238, 146, 0.1) !important;
}

.event-future .venue {
  color: var(--primary-color);
  font-weight: 600;
}

.event-future .date {
  color: #00b894;
  font-weight: 600;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(243, 156, 18, 0); }
  100% { box-shadow: 0 0 0 0 rgba(243, 156, 18, 0); }
}

/* Contact Styles */
.contact {
  text-align: center;
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 20px 0;
}

.contact-info {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 15px;
  margin-top: 20px;
  border-left: 4px solid var(--accent-color);
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0;
  font-size: 1.1rem;
}

.contact-item i {
  margin-right: 12px;
  color: var(--accent-color);
  width: 20px;
}

/* Social Links */
.socials {
  text-align: center;
  margin-top: 30px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--light-bg);
  text-decoration: none;
  border-radius: 50%;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 60px;
  padding: 40px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 15px;
  }
  
  header {
    padding: 50px 0 40px;
  }
  
  header h1 {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
  }
  
  header h3 {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 10px;
  }
  
  /* Show hamburger button */
  .nav-toggle {
    display: block;
  }
  
  /* Navigation container adjustments */
  .main-nav {
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    border: none;
    margin: 0;
  }
  
  /* Hide navigation by default on mobile */
  .main-nav.nav-closed ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0;
  }
  
  /* Show navigation when open */
  .main-nav.nav-open ul {
    max-height: 500px;
    opacity: 1;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }
  
  /* Navigation menu styling */
  .main-nav ul {
    flex-direction: column;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 10px 0;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
  
  .main-nav li {
    width: 100%;
    text-align: center;
  }
  
  .main-nav a {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    margin: 0;
    width: 100%;
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .main-nav a:hover {
    color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.3);
  }
  
  .main-nav a.active {
    color: var(--accent-color);
  }
  
  /* Fix active link underline centering */
  .main-nav a.active::after {
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    width: 60px;
    bottom: 5px;
  }
  
  .main-nav a:hover::after {
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: none;
    width: 40px;
    bottom: 5px;
  }
  
  header {
    padding: 40px 0 30px;
  }
  
  header h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 8px;
  }
  
  header h3 {
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    margin-bottom: 20px;
  }
  
  .logo {
    max-width: 150px;
    margin: 20px auto 0;
  }

  .logo.image-circle,
  .logo.image-square {
    max-width: 150px;
    height: 150px;
  }

  .logo.image-oval {
    max-width: 180px;
    height: 120px;
  }

  .band-photo.image-circle,
  .band-photo.image-square {
    max-width: 250px;
  }

  .band-photo.image-oval {
    max-width: 300px;
  }
  
  section {
    margin: 15px 5px;
    padding: 25px 15px;
    border-radius: 15px;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .events-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  table {
    min-width: 100%;
    font-size: 0.9rem;
  }
  
  th, td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }
  
  th {
    font-size: 0.8rem;
    padding: 15px 8px;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    margin: 10px 0;
  }
  
  .contact-item i {
    margin-right: 0;
    margin-bottom: 5px;
  }
  
  .about-content {
    gap: 20px;
  }
  
  .about-text {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .social-links {
    gap: 15px;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 5px;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
  }
  
  .main-nav a {
    padding: 12px 20px;
    width: calc(100% - 10px);
    text-align: center;
    margin: 0 5px;
    font-size: 0.9rem;
  }
  
  .main-nav a.active::after {
    left: 10px;
    right: 10px;
  }
  
  header {
    padding: 30px 0 20px;
  }
  
  header h1 {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 5px;
  }
  
  header h3 {
    font-size: clamp(0.8rem, 3vw, 1rem);
    margin-bottom: 15px;
  }
  
  .logo {
    max-width: 120px;
    margin: 15px auto 0;
  }
  
  .logo.image-circle,
  .logo.image-square {
    max-width: 120px;
    height: 120px;
  }

  .logo.image-oval {
    max-width: 144px;
    height: 96px;
  }
  
  .band-photo.image-circle,
  .band-photo.image-square {
    max-width: 200px;
  }

  .band-photo.image-oval {
    max-width: 240px;
  }
  
  section {
    margin: 10px 5px;
    padding: 20px 12px;
    border-radius: 12px;
  }
  
  h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
  }
  
  .about-content {
    gap: 15px;
  }
  
  .about-text {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  th, td {
    padding: 8px 5px;
    font-size: 0.8rem;
  }
  
  th {
    font-size: 0.75rem;
    padding: 12px 5px;
  }
  
  .contact-item {
    margin: 8px 0;
    font-size: 0.95rem;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .social-links {
    gap: 12px;
  }
  
  footer {
    margin-top: 40px;
    padding: 30px 0;
    font-size: 0.9rem;
  }
}

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

section {
  animation: fadeInUp 0.6s ease-out;
}

/* Add subtle hover effects */
.events-container:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

/* Utility classes */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}