/* Modern Design System for Gladys Tejada Website
 * Updated with professional styling and modern aesthetics
 */

:root {
  /* Color palette */
  --primary: #8e44ad;
  --primary-dark: #703688;
  --primary-light: #a569bd;
  --accent: #f39c12;
  --text-dark: #2c3e50;
  --text-light: #ecf0f1;
  --bg-light: #f9f9f9;
  --bg-white: #ffffff;
  --bg-dark: #34495e;
  --bg-gradient: linear-gradient(135deg, #8e44ad 0%, #9b59b6 50%, #a569bd 100%);
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.12);
  
  /* Typography */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;
}

/* RESET & BASICS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 16px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-dark);
}

/* LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-lg);
  position: relative;
}

.section {
  padding: var(--spacing-xl) 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col {
  padding: 0 15px;
  flex: 1;
}

/* HEADER & NAVIGATION */
header {
  background: var(--bg-gradient);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.header-content {
  padding: 180px 0 100px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.header-title {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  animation: fadeInDown 1s ease forwards;
}

.header-subtitle {
  font-size: 1.5rem;
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
  animation: fadeInUp 1s ease forwards 0.3s;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--spacing-md) 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-soft);
  padding: var(--spacing-xs) 0;
}

.navbar.scrolled a {
  color: var(--text-dark);
}

.navbar.scrolled .logo {
  color: var(--primary);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: -1px;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin-left: var(--spacing-md);
}

.nav-menu a {
  color: white;
  font-weight: 500;
  position: relative;
  padding-bottom: 5px;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
}

/* Language Toggle Button */
.lang-toggle {
  background: transparent;
  border: 2px solid var(--accent);
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  background-color: var(--accent);
  color: white;
}

.navbar.scrolled .lang-toggle {
  color: var(--text-dark);
}

.navbar.scrolled .lang-toggle:hover {
  color: white;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gradient);
  overflow: hidden;
}

.hero-content {
  text-align: center;
  color: white;
  max-width: 800px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  animation: fadeInDown 1s ease forwards;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-lg);
  opacity: 0.9;
  animation: fadeInUp 1s ease forwards 0.3s;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  background: radial-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  border-radius: var(--radius-full);
  filter: blur(60px);
  opacity: 0.5;
  animation: floatAnimation 8s ease-in-out infinite;
}

.shape-1 {
  width: 400px;
  height: 400px;
  top: 10%;
  left: 10%;
  animation-duration: 10s;
}

.shape-2 {
  width: 300px;
  height: 300px;
  top: 60%;
  left: 60%;
  animation-duration: 12s;
  animation-delay: 2s;
}

.shape-3 {
  width: 200px;
  height: 200px;
  top: 20%;
  left: 70%;
  animation-duration: 8s;
  animation-delay: 1s;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent);
  color: white;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(243, 156, 18, 0.4);
  color: white;
}

.btn-primary {
  background-color: var(--primary);
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 10px 20px rgba(142, 68, 173, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
}

.btn-group {
  display: flex;
  gap: var(--spacing-sm);
}

/* SECTION STYLING */
.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-xs);
}

.section-title p {
  font-size: 1.1rem;
  color: var(--text-dark);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto;
}

.section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: var(--accent);
  margin: var(--spacing-sm) auto 0;
  border-radius: var(--radius-full);
}

/* BIOGRAPHY SECTION */
.bio-section {
  background-color: var(--bg-white);
}

.bio-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.bio-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.bio-text {
  flex: 1;
}

.bio-text h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
  font-size: 1.8rem;
}

.bio-text p {
  margin-bottom: var(--spacing-md);
}

/* DISCOGRAPHY SECTION */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.album-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.album-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-strong);
}

.album-img {
  position: relative;
  padding-top: 100%;
  overflow: hidden;
}

.album-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.album-card:hover .album-img img {
  transform: scale(1.05);
}

.album-info {
  padding: var(--spacing-md);
  text-align: center;
}

.album-info h3 {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-xs);
  color: var(--primary-dark);
}

.album-info p {
  font-size: 0.9rem;
  color: var(--text-dark);
  opacity: 0.8;
  margin-bottom: var(--spacing-sm);
}

/* MINISTRY SECTION */
.ministry-section {
  background-color: #f5f1f8;
  position: relative;
}

.ministry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.ministry-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.ministry-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-strong);
}

.ministry-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: var(--spacing-sm);
}

.ministry-card h3 {
  font-size: 1.4rem;
  margin-bottom: var(--spacing-sm);
  color: var(--primary-dark);
}

.ministry-card p {
  font-size: 0.95rem;
}

/* CONTACT SECTION */
.contact-section {
  background-color: var(--bg-white);
}

.contact-wrapper {
  display: flex;
  gap: var(--spacing-xl);
}

.contact-info {
  flex: 1;
}

.contact-form {
  flex: 2;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  color: white;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: var(--spacing-sm);
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.contact-details p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* SOCIAL MEDIA */
.social-links {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-light);
  color: white;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

/* FOOTER */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: var(--spacing-lg) 0;
  position: relative;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 250px;
  margin-bottom: var(--spacing-md);
}

.footer-title {
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  color: white;
  position: relative;
  padding-bottom: 10px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
  100% {
    transform: translateY(0) translateX(0);
  }
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .header-title {
    font-size: 3.5rem;
  }
  
  .bio-content {
    flex-direction: column;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .header-title {
    font-size: 3rem;
  }
  
  .header-subtitle {
    font-size: 1.25rem;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--primary-dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.show {
    right: 0;
  }
  
  .nav-menu li {
    margin: 0 0 var(--spacing-sm);
    width: 100%;
  }
  
  .nav-menu a {
    display: block;
    padding: 10px 0;
    width: 100%;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .section-title h2 {
    font-size: 2rem;
  }

  .lang-toggle {
    width: auto;
    margin-top: var(--spacing-md);
  }
}

@media (max-width: 576px) {
  .header-title {
    font-size: 2.5rem;
  }
  
  .header-subtitle {
    font-size: 1.1rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .container {
    padding: var(--spacing-md);
  }
  
  .album-grid {
    grid-template-columns: 1fr;
  }
  
  .ministry-grid {
    grid-template-columns: 1fr;
  }
}