/*
Theme Name: SMCPRE Premium Theme
Theme URI: https://jorgebastida.es/cirugia-plastica
Author: Antigravity
Description: Tema premium a medida para la Sociedad Murciana de Cirugía Plástica, Reparadora y Estética.
Version: 1.0
Text Domain: smcpre
*/

/* ==========================================================================
   Variables & Reset
   ========================================================================== */
:root {
  /* Colors based on original theme */
  --primary-color: #0642A2;     /* Dark Blue */
  --secondary-color: #8da9ac;   /* Light Teal/Cyan-bluish gray */
  --accent-color: #D4AF37;      /* Premium Gold for accents */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a202c;
  
  /* Typography */
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  
  /* Transitions & Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Layout & Container
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  background-color: var(--text-light);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all var(--transition-normal);
}

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

.site-logo img {
  height: 60px;
  width: auto;
  transition: transform var(--transition-normal);
}

.site-logo:hover img {
  transform: scale(1.05);
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-navigation a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.5rem 0;
  position: relative;
}

.main-navigation a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-normal);
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  background: linear-gradient(135deg, rgba(6, 66, 162, 0.9) 0%, rgba(26, 32, 44, 0.9) 100%), url('https://images.unsplash.com/photo-1551076805-e18690c5e530?auto=format&fit=crop&q=80') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInDown 1s ease-out;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent-color);
  color: var(--text-dark);
  border: 2px solid var(--accent-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Features / About
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--text-light);
  padding: 3rem 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  border-top: 4px solid transparent;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
  border-top-color: var(--primary-color);
}

.feature-icon {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(141, 169, 172, 0.1);
  border-radius: 50%;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   Members (Board)
   ========================================================================== */
.board-section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.board-section .section-title {
  color: var(--text-light);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
}

.member-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
}

.member-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.member-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-bottom: 3px solid var(--accent-color);
}

.member-info {
  padding: 1.5rem;
  text-align: center;
}

.member-info h4 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.member-role {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: #042152;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

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

.footer-col h4 {
  color: var(--text-light);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

/* ==========================================================================
   Animations & Media Queries
   ========================================================================== */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .header-inner {
    height: 70px;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-navigation {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--text-light);
    padding: 1rem 0;
    box-shadow: 0 10px 10px rgba(0,0,0,0.1);
  }
  
  .main-navigation.active {
    display: block;
  }
  
  .main-navigation ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-navigation a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}
