:root{
  --primary:#e0d070;
  --dark:#1b1e30;
  --light:#e0e0e0;
  --darker:#0f111d;
  --accent:#f0f0a0;
  --gray:#555;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, Helvetica, sans-serif;
}

body{
  background: var(--dark);
  color: var(--light);
  overflow-x:hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAV BAR */
nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 10%;
  background:linear-gradient(135deg, var(--darker), var(--dark));
  border-bottom:1px solid rgba(224, 208, 112, 0.2);
  position:sticky;
  top:0;
  z-index:999;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.logo{
  display: flex;
  align-items: center;
  height: 40px;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: 150px;
  filter: drop-shadow(0 0 5px rgba(224, 208, 112, 0.5));
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.9;
}

nav ul{
  display:flex;
  gap:30px;
  list-style:none;
}

nav a{
  color:var(--light);
  text-decoration:none;
  font-weight:500;
  padding: 8px 12px;
  border-radius: 4px;
  transition:all .3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--primary);
  transition: all 0.3s ease;
}

nav a:hover::after,
.active::after {
  width: 70%;
  left: 15%;
}

nav a:hover,
.active{
  color:var(--primary);
  background: rgba(224, 208, 112, 0.1);
}

/* MOBILE MENU */
.menu-btn{
  display:none;
  cursor:pointer;
  font-size:26px;
  color:var(--primary);
  z-index: 1000;
}

@media(max-width:900px){
  nav ul{
    position:fixed;
    right:-100%;
    top:0;
    flex-direction:column;
    background: linear-gradient(135deg, var(--darker), var(--dark));
    width:280px;
    height:100vh;
    padding-top:100px;
    transition:.4s;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  }

  nav ul.open{
    right:0;
  }

  .menu-btn{
    display:block;
  }

  nav a{
    padding: 15px 20px;
  }
}

/* HERO */
.hero{
  height:85vh;
  min-height: 600px;
  padding:0 10%;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align: center;
  position: relative;
  overflow: hidden;

  background:
  linear-gradient(135deg, rgba(15, 17, 29, 0.85) 0%, rgba(27, 30, 48, 0.9) 100%),
  url('assets/recerto-hero.png')
  center/cover;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(224, 208, 112, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.hero h1{
  font-size:48px;
  max-width:750px;
  margin-bottom:20px;
  animation:fadeUp .8s ease forwards;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p{
  max-width:650px;
  font-size:20px;
  margin-bottom: 30px;
  animation:fadeUp 1s ease forwards;
  color: var(--light);
  opacity: 0.9;
}

button{
  margin-top:25px;
  padding:14px 35px;
  border:none;
  background:var(--primary);
  color:#000;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(224, 208, 112, 0.3);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 16px;
  width: auto;
  max-width: 250px;
}

button:hover{
  transform:translateY(-3px);
  box-shadow: 0 6px 20px rgba(224, 208, 112, 0.5);
  letter-spacing: 1px;
}

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

/* ANIMATIONS */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}



/* CONTENT */
section{
  padding:80px 10%;
  position: relative;
  flex: 1;
}

.title{
  color:var(--primary);
  font-size:36px;
  margin-bottom:30px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

p{
  margin-bottom: 15px;
  opacity: 0.9;
  font-size: 18px;
}

h2 {
  margin-bottom: 20px;
  color: var(--light);
  font-size: 24px;
}

h3 {
  margin-bottom: 10px;
  color: var(--light);
  font-size: 20px;
}

/* CARDS */
.cards{
  display:grid;
  gap:25px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  margin-top: 30px;
}

.card{
  background: linear-gradient(145deg, #22263a, #2a2e48);
  border:1px solid rgba(224, 208, 112, 0.15);
  padding:30px;
  transition:all .3s ease;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.card:hover{
  transform:translateY(-8px);
  border-color:rgba(224, 208, 112, 0.4);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.card h3{
  color:var(--primary);
  margin-bottom:15px;
  font-size: 22px;
  position: relative;
  z-index: 1;
}

.card p {
  position: relative;
  z-index: 1;
  color: var(--light);
  opacity: 0.85;
}

.highlight{
  color:var(--primary);
  font-weight:bold;
  position: relative;
}

.leader-card {
  background: linear-gradient(145deg, #22263a, #2a2e48);
  border:1px solid rgba(224, 208, 112, 0.15);
  padding:30px;
  transition:all .3s ease;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
}

.leader-card:hover{
  transform:translateY(-8px);
  border-color:rgba(224, 208, 112, 0.4);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.leader-card h3{
  color:var(--primary);
  margin-bottom:15px;
  font-size: 22px;
  position: relative;
  z-index: 1;
}

.leader-card p {
  position: relative;
  z-index: 1;
  color: var(--light);
  opacity: 0.85;
}

/* LEADERSHIP CARDS */
.leadership-cards {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.leader-card {
  background: #22263a;
  border: 1px solid rgba(255,255,255,.1);
  padding: 25px;
  transition: .2s;
}

.leader-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.leader-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

/* FOOTER */
footer{
  text-align:center;
  padding:50px 0;
  background: linear-gradient(135deg, var(--darker), var(--dark));
  border-top:1px solid rgba(224, 208, 112, 0.1);
  color: var(--light);
  font-size: 16px;
  letter-spacing: 0.5px;
  position: relative;
  margin-top: auto;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* RESPONSIVE */
@media(max-width:700px){
  .hero h1{font-size:36px;}
}
