/* modern.css - Raíz Digital Aesthetics */
:root {
  /* Tech Agency Palette */
  --primary-color: #4F46E5; /* Indigo */
  --primary-hover: #4338CA;
  --secondary-color: #10B981; /* Emerald */
  --dark-bg: #0F172A; /* Slate 900 */
  --light-text: #F8FAFC;
  --gray-text: #94A3B8;
  
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: #ffffff;
  color: #334155;
  -webkit-font-smoothing: antialiased;
}

/* Navbar with Glassmorphism */
.navbar-custom {
  background: transparent;
  transition: all 0.3s ease-in-out;
  padding: 1.5rem 0;
}

.navbar-custom .navbar-brand {
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  font-size: 1.5rem;
}

.navbar-custom .nav-link {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: color 0.2s ease;
  padding: 0.5rem 1rem !important;
}

.navbar-custom .nav-link:hover {
  color: var(--secondary-color);
}

/* Navbar Scrolled State */
.navbar-custom.is-scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Masthead (Headers) */
.masthead {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  padding: 200px 0 150px;
  color: white;
  min-height: 75vh;
  display: flex;
  align-items: center;
}

.masthead .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(79, 70, 229, 0.7) 100%);
}

.masthead .site-heading {
  position: relative;
  text-align: center;
  z-index: 10;
}

.masthead .site-heading h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -1px;
}

.masthead .site-heading .subheading {
  font-size: 1.5rem;
  font-weight: 300;
  display: block;
  margin-bottom: 2rem;
  color: #E2E8F0;
}

@media (max-width: 768px) {
  .masthead .site-heading h1 {
    font-size: 2.5rem;
  }
  .masthead .site-heading .subheading {
    font-size: 1.2rem;
  }
}

/* Custom Buttons */
.btn-primary-custom {
  background-color: var(--primary-color);
  border: none;
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
  color: white;
}

/* Portfolio Cards */
.portfolio-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  background: white;
  height: 100%;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.portfolio-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover img {
  transform: scale(1.05);
}

.portfolio-card-body {
  padding: 2rem;
}

.portfolio-card-title {
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--dark-bg);
}

/* Footer */
footer {
  padding: 4rem 0;
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: white;
  margin: 0 10px;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}
