﻿/* Color Variables */
:root {
  --primary: #4a7ba7;
  --primary-light: #5a8fb7;
  --primary-dark: #3a6b97;
  --secondary: #a89676;
  --light-bg: #f0ede6;
  --dark-text: #2c3e50;
  --white: #ffffff;
  --border: #d0cfc7;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-text);
}

body {
  background: var(--white);
}

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

/* Header */
.site-header {
  background: var(--primary);
  color: var(--white);
  padding: 0;
}

.header-top {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.logo-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  font-size: 3rem;
  min-width: 60px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.org-info h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  font-weight: 700;
}

.org-info p {
  font-size: 0.95rem;
  opacity: 0.95;
}

.login-btn {
  display: flex;
  gap: 1rem;
}

.btn-login {
  background: #d9a5a0;
  color: var(--white);
  border: none;
  padding: 0.7rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-login:hover {
  background: #c88f8a;
}

/* Navigation */
.site-nav {
  background: #f0ede6;
}

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

.nav-menu li {
  flex: 1;
  min-width: 100px;
}

.nav-menu a {
  display: block;
  padding: 1rem 1rem;
  color: var(--dark-text);
  text-decoration: none;
  text-align: center;
  font-weight: 600;
  font-size: 0.85rem;
  border-bottom: 3px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.nav-menu a:hover {
  border-bottom-color: var(--primary);
  background: rgba(74, 123, 167, 0.05);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 0;
  text-align: center;
  color: var(--white);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.hero-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.95;
}

/* Miembros Section */
.miembros-section {
  padding: 3rem 0;
  background: var(--white);
}

.miembros-section h2 {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.member-card {
  background: var(--light-bg);
  border: 2px solid var(--border);
  padding: 2rem;
  border-radius: 0;
  transition: all 0.3s ease;
  min-height: 200px;
  display: flex;
  flex-direction: column;
}

.member-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.member-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.member-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.btn-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
  display: inline-block;
  align-self: flex-start;
}

.btn-link:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* About Section */
.about-section {
  padding: 3rem 0;
  background: var(--light-bg);
}

.about-header {
  text-align: center;
  margin-bottom: 2rem;
}

.about-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-header .subtitle {
  font-size: 1.1rem;
  color: var(--secondary);
  font-style: italic;
}

.about-content {
  max-width: 900px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

.about-content p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  text-align: justify;
}

.music-credit {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
  color: var(--secondary);
  font-style: italic;
}

/* Servicios Section */
.servicios-section {
  padding: 3rem 0;
  background: var(--white);
  text-align: center;
}

.servicios-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.servicios-intro {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--dark-text);
}

.servicios-link {
  margin-top: 1.5rem;
}

/* Boletin Section */
.boletin-section {
  padding: 3rem 0;
  background: var(--light-bg);
  text-align: center;
}

.boletin-section h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.boletin-content {
  max-width: 600px;
  margin: 0 auto;
}

.boletin-content p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Primary Button */
.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 2rem;
  text-decoration: none;
  display: inline-block;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
  background: var(--white);
}

.contact-section h2 {
  font-size: 2rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--light-bg);
  border: 2px solid var(--border);
  padding: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(74, 123, 167, 0.1);
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background: var(--primary-dark);
}

/* Footer */
.site-footer {
  background: var(--primary);
  color: var(--white);
  padding: 2rem 0;
  border-top: 2px solid var(--primary-dark);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1rem;
}

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

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer-section a:hover {
  opacity: 0.7;
}

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

.footer-bottom p {
  margin: 0;
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .org-info h1 {
    font-size: 1.4rem;
  }

  .nav-menu {
    flex-direction: column;
  }

  .nav-menu li {
    min-width: 100%;
  }

  .nav-menu a {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .about-content p {
    text-align: left;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }
}

