/* Inatos 2.0 - Dark Premium Theme */

:root {
  /* Colors */
  --bg-dark: #0a0a0a;
  --bg-card: rgba(30, 30, 30, 0.6);
  --bg-card-hover: rgba(45, 45, 45, 0.8);
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --accent-cyan: #00f2ea;
  --accent-purple: #ff0050;
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-cyan), var(--accent-purple));
  --gradient-text: linear-gradient(90deg, #fff, #ccc);

  /* Spacing */
  --container-width: 1200px;

  /* Transitions */
  --transition-fast: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utility Classes */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 242, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 242, 234, 0.5);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-secondary:hover {
  background: rgba(0, 242, 234, 0.1);
  color: #fff;
  border-color: #fff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 15px 0;
}

.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.btn-contact {
  border: 1px solid var(--glass-border);
  padding: 8px 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
}

.btn-contact:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white !important;
}

/* Hero Section */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../images/estrada.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax subtle effect */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
  z-index: 1;
}

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

.hero h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* Sections General */
.section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
  text-align: left;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-header .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  margin-top: 15px;
  border-radius: 2px;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.about-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.about-card h3 {
  font-size: 1.5rem;
  color: var(--accent-cyan);
  margin-bottom: 15px;
}

.about-card p {
  color: var(--text-secondary);
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 30px;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  margin-bottom: 60px;
}

.community-grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  /* Simpler for single item but extensible */
}

/* Cards */
.card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.card:hover {
  background: var(--bg-card-hover);
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Service Card Specifics */
.service-card .icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Project Card Specifics */
.subsection-title {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 3px solid var(--accent-purple);
  padding-left: 15px;
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--accent-cyan);
}

.link-arrow .arrow {
  margin-left: 5px;
  transition: transform 0.2s ease;
}

.link-arrow:hover .arrow {
  transform: translateX(5px);
}

.domain {
  display: block;
  font-family: monospace;
  font-size: 0.9rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.3);
  padding: 5px 10px;
  border-radius: 4px;
  width: fit-content;
}

/* Footer */
footer {
  background: #050505;
  padding: 60px 0 20px;
  border-top: 1px solid var(--glass-border);
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-col a {
  color: var(--text-secondary);
}

.footer-col a:hover {
  color: var(--accent-cyan);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #555;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .nav-links {
    display: none;
    /* Simple hide for now, could add hamburger later if requested */
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}