/**
 * Drummer Tab Styles for ChoristerCorner
 * Tab-specific styles for the Drummer tab content only
 * Global styles are in styles.css
 */

/* === DRUMMER CONTAINER === */
.drummer-wrapper {
  padding: var(--spacing-xl) var(--spacing-lg);
  max-width: 1200px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease-out;
}

/* === DRUMMER HEADER === */
.drummer-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.drummer-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
}

.drummer-header .header-icon {
  color: var(--color-primary);
  font-size: 2.5rem;
}

.drummer-header p {
  font-size: 1.125rem;
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* === DRUMMER EMBED CONTAINER === */
.drummer-embed-container {
  margin-bottom: var(--spacing-2xl);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.drummer-iframe-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 75%; /* 4:3 Aspect Ratio */
  background: #f8f9fa;
  min-height: 600px;
}

.drummer-iframe-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  background: white;
}

/* === LOADING STATE === */
.drummer-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-text-secondary);
}

.drummer-loading i {
  font-size: 3rem;
  color: var(--color-primary);
  animation: spin 1s linear infinite;
}

/* === INSTRUCTIONS SECTION === */
.drummer-instructions {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
  box-shadow: var(--shadow-md);
}

.drummer-instructions h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.drummer-instructions h2 i {
  color: var(--color-primary);
}

.drummer-instructions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.drummer-instructions li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.drummer-instructions li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.drummer-instructions li i {
  color: var(--color-success);
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.drummer-instructions li span {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.drummer-instructions li strong {
  color: var(--color-text);
  font-weight: 600;
}

/* === FEATURES GRID === */
.drummer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-2xl);
}

.drummer-features .feature-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.drummer-features .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.drummer-features .feature-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-md);
}

.drummer-features .feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
}

.drummer-features .feature-card p {
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  .drummer-wrapper {
    padding: var(--spacing-lg) var(--spacing-md);
  }

  .drummer-header h1 {
    font-size: 2rem;
  }

  .drummer-iframe-wrapper {
    padding-bottom: 85%;
    min-height: 400px;
  }

  .drummer-features {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .drummer-instructions {
    padding: var(--spacing-lg);
  }
}

/* === ANIMATIONS === */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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