/*
Theme Name: Compulibra Custom
Theme URI: https://compulibra.com.ar
Author: Compulibra
Author URI: https://compulibra.com.ar
Description: Minimalista y tecnológico - HTML5/CSS3 puro con modo oscuro
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: compulibra-custom
Domain Path: /languages
*/

:root {
  --primary: #0f3460;
  --secondary: #16213e;
  --accent: #00d4ff;
  --text-primary: #e8e8e8 !important;
  --bg-primary: #0a0e27 !important;
  --border-color: #333333 !important;
  --success: #00d084;
  --warning: #ffa500;
  --danger: #ff4444;
}

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

html {
  background: #0a0e27 !important;
  color: #e8e8e8 !important;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: #e8e8e8 !important;
  background-color: #0a0e27 !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #e8e8e8 !important;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: #e8e8e8 !important;
}

a {
  color: #00d4ff !important;
  text-decoration: none;
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  color: #00f0ff !important;
  opacity: 0.8;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #16213e 0%, #0f3460 100%) !important;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
}

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

.navbar-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d4ff !important;
  transition: color 0.3s ease;
}

.navbar-logo:hover {
  color: #00f0ff !important;
}

.navbar-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.navbar-menu a {
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-menu a:hover {
  color: #00d4ff !important;
}

@media (max-width: 768px) {
  .navbar-menu {
    gap: 1rem;
    font-size: 0.9rem;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.hero-content {
  z-index: 2;
  max-width: 800px;
}

.hero h1 {
  color: white !important;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9) !important;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.floating-circle {
  display: none !important;
}

.cta-button {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #00d4ff, #00f0ff) !important;
  color: #16213e !important;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
  color: #16213e !important;
}

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

/* Grid Sections */
.section {
  padding: 5rem 0;
  background: #0a0e27 !important;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: #e8e8e8 !important;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: #00d4ff !important;
  font-size: 1.1rem;
}

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

/* Cards */
.card {
  background: #1a2a4e !important;
  border: 1px solid #333333 !important;
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  border-top: 4px solid #00d4ff !important;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #00d4ff;
}

.card-title {
  color: #e8e8e8 !important;
  margin-bottom: 0.5rem;
}

.card-description {
  color: rgba(232, 232, 232, 0.7) !important;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #1a2a4e 0%, #0f1b35 100%) !important;
  color: white !important;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
  border-top: 1px solid #333333 !important;
}

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

.footer-section h4 {
  color: #00d4ff !important;
  margin-bottom: 1rem;
}

.footer-section a {
  display: block;
  color: rgba(255, 255, 255, 0.8) !important;
  margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7) !important;
}

/* Post/Page Content */
.post-content {
  max-width: 800px;
  margin: 2rem auto;
}

.post-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #e8e8e8 !important;
}

.post-meta {
  color: rgba(232, 232, 232, 0.6) !important;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.post-content a {
  color: #00d4ff !important;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .navbar-menu {
    gap: 0.5rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0;
  }

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

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.py-4 { padding: 2rem 0; }

/* Force dark mode everywhere */
input,
textarea,
select {
  background-color: #1a2a4e !important;
  color: #e8e8e8 !important;
  border-color: #333333 !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2) !important;
}

button {
  background-color: #16213e !important;
  color: #e8e8e8 !important;
  border-color: #00d4ff !important;
}

button:hover {
  background-color: #1a2a4e !important;
  border-color: #00f0ff !important;
}

.widget {
  background-color: #1a2a4e !important;
  border-color: #333333 !important;
  color: #e8e8e8 !important;
}