
:root {
  /* Brand Palette */
  --navy-primary: #0a192f;
  --navy-light: #172a45;
  --black: #020c1b;
  --white: #ffffff;
  --text-slate: #495670;
  
  /* Accent/Brand Colors */
  --whatsapp: #25D366;
  --github: #000000;
  --gmail: #D14836;
  
  /* Effects */
  --navy-glow: rgba(10, 25, 47, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--white);
  color: var(--navy-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ===================== NAVIGATION ===================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8%;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(10, 25, 47, 0.05);
}

#logo h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

#nav-tabs {
  display: flex;
  gap: 12px;
  align-items: center;
}

#nav-tabs a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-primary);
  padding: 10px 18px;
  border-radius: 10px;
  transition: var(--transition);
  display: inline-block;
  border: 1px solid transparent;
}

#nav-tabs a:hover {
  background-color: rgba(10, 25, 47, 0.04);
  transform: translateY(-1px);
}

#nav-tabs a.active {
  color: var(--navy-primary);
  background-color: rgba(10, 25, 47, 0.08);
  border: 1px solid rgba(10, 25, 47, 0.1);
}

/* ===================== HERO SECTION ===================== */
#contact-hero {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 160px 10% 80px;
  background: radial-gradient(circle at top right, #f0f4ff 0%, #ffffff 100%);
}

#contact-hero h2 {
  font-size: clamp(2.8rem, 7vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 20px;
  color: var(--navy-primary);
}

#contact-hero p {
  font-size: 1.25rem;
  color: var(--text-slate);
  max-width: 600px;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* ===================== BASE BUTTONS ===================== */
.btn {
  padding: 18px 36px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-navy {
  background: var(--navy-primary);
  color: var(--white);
  box-shadow: 0 10px 25px var(--navy-glow);
}

.btn-black {
  background: var(--black);
  color: var(--white);
}

.btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
  box-shadow: 0 15px 35px rgba(10, 25, 47, 0.2);
}

/* ===================== CONTACT GRID ===================== */
#contact-cards {
  padding: 100px 10% 120px;
  background-color: #ffffff;
}

#contact-cards h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.contact-card {
  background: var(--navy-primary);
  color: var(--white);
  padding: 60px 40px;
  border-radius: 32px;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 40px 80px rgba(10, 25, 47, 0.3);
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
}

.contact-card p {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 30px;
}

/* ===================== BRAND APP BUTTONS ===================== */
.social-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-app {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  transition: var(--transition);
}

.btn-gmail { background-color: var(--gmail); margin-top: 10px; }
.btn-github { background-color: var(--github); border: 1px solid rgba(255,255,255,0.2); }
.btn-whatsapp { background-color: var(--whatsapp); }

.btn-app:hover {
  transform: scale(1.03);
  filter: brightness(1.15) saturate(1.1);
}

.icon {
  font-size: 1.4rem;
}

/* ===================== FOOTER ===================== */
footer {
  padding: 80px 10% 40px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
  color: var(--text-slate);
  font-size: 0.95rem;
  font-weight: 500;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  nav { padding: 0 5%; }
  #nav-tabs { display: none; } /* Consider adding a hamburger menu later */
  #contact-hero { padding-top: 120px; }
  .contact-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; width: 100%; }
}