/* Pink House Technology - v10.0 - Clean Structure */

:root {
  --pink: #e91e63;
  --ink: #222;
  --muted: #666;
  --bg: #ffffff;
  --card-bg: #fafafa;
  --border: #e0e0e0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

/* Header with 3D Pink Button Logo */
.header {
  position: relative;
  padding: 0.05rem 1.5rem 0.05rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 0;
}

.logo-container {
  position: relative;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.logo-button {
  width: 72px;
  height: 72px;
  display: block;
}

.logo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0;
  pointer-events: none;
  text-align: center;
  line-height: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.brand-name {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  margin: 0;
  padding: 0;
}

.hero-text-header {
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto 0.15rem;
  line-height: 1.4;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 0 0 0.1rem;
}

.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: var(--pink);
}

/* Main Content */
.main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero {
  display: none;
}

/* Container for subpages */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.section {
  max-width: 900px;
  margin: 0 auto;
}

.section h1 {
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1rem;
}

.section a {
  color: var(--pink);
  text-decoration: none;
}

.section a:hover {
  text-decoration: underline;
}

/* Project Cards Grid */
.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  padding: 0.5rem 0 3rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card h2 {
  font-size: 1.85rem;
  color: var(--pink);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.card p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.card ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.card ol {
  list-style: decimal;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.card ul li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.card ol li {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  margin-bottom: 0.5rem;
}

.card ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: bold;
}

.card ol li::marker {
  color: var(--pink);
  font-weight: 600;
}

.card-actions {
  display: flex;
/* Horizontal Card - Spans 2 columns, shorter */
.card-horizontal {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-horizontal:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.card-horizontal h2 {
  font-size: 1.85rem;
  color: var(--pink);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card-horizontal p {
  color: var(--muted);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  background: var(--bg);
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}

.btn:hover {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* Footer */
.footer {
  background: #f5e6ed;
  color: var(--ink);
  margin-top: 3rem;
  border-top: 1px solid #e8d4e0;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: var(--pink);
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-meta {
  color: #666;
  font-size: 0.9rem;
}

.footer-meta p {
  margin: 0;
}

.footer-meta a {
  color: var(--pink);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header {
    padding: 0.25rem 1rem 0.1rem;
  }
  
  .brand {
    margin-bottom: 0;
  }
  
  .logo-container {
    width: 150px;
    height: 150px;
  }
  
  .logo-button {
    width: 150px;
    height: 150px;
  }
  
  .logo-text {
    font-size: 3.25rem;
  }
  
  .brand-name {
    font-size: 1.5rem;
  }
  
  .hero-text-header {
    font-size: 0.85rem;
    margin-bottom: 0.15rem;
  }
  
  .main-nav {
    gap: 1rem;
    font-size: 0.85rem;
    padding: 0 0 0.1rem;
  }
  
  .main {
    padding: 0 1rem;
  }
  
  .container {
    padding: 1.5rem 1rem;
  }
  
  .section h1 {
    font-size: 1.75rem;
  }
  
  .section p {
    font-size: 0.95rem;
  }
  
  .projects {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 0.5rem 0 2rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card h2 {
    font-size: 1.65rem;
  }
  
  .footer-links {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .brand-name {
    font-size: 1.25rem;
  }
  
  .logo-container {
    width: 120px;
    height: 120px;
  }
  
  .logo-button {
    width: 120px;
    height: 120px;
  }
  
  .logo-text {
    font-size: 2.5rem;
  }
  
  .hero-text-header {
    font-size: 0.8rem;
  }
  
  .main-nav {
    gap: 1rem;
    font-size: 0.9rem;
  }
  
  .container {
    padding: 1rem 0.75rem;
  }
  
  .section h1 {
    font-size: 1.5rem;
  }
  
  .section p {
    font-size: 0.9rem;
  }
  
  .card h2 {
    font-size: 1.5rem;
  }
}

/* Venezuela Badge - Card Color Scheme */
.venezuela-badge {
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
  background: #fff;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.5rem;
  z-index: 100;
  min-width: 340px;
  max-width: 380px;
}

.venezuela-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: left;
  line-height: 1.2;
  margin: 0;
  color: #e91e63;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 400;
  text-align: left;
  line-height: 1.4;
  margin: 0;
  color: #666;
}

.badge-button {
  font-size: 0.8rem;
  font-weight: 600;
  background: #e91e63;
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  margin-top: 0.15rem;
  transition: background 0.2s ease;
}

.venezuela-badge:hover .badge-button {
  background: #c2185b;
}

@media (max-width: 1200px) {
  .venezuela-badge {
    min-width: 300px;
    max-width: 340px;
    padding: 0.9rem 1.3rem;
  }
  
  .badge-title {
    font-size: 0.95rem;
  }
  
  .badge-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 1024px) {
  .venezuela-badge {
    min-width: 260px;
    max-width: 300px;
    padding: 0.8rem 1.1rem;
  }
  
  .badge-title {
    font-size: 0.9rem;
  }
  
  .badge-text {
    font-size: 0.68rem;
  }
  
  .badge-button {
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
  }
}

@media (max-width: 768px) {
  .venezuela-badge {
    top: 0.5rem;
    right: 0.75rem;
    padding: 0.7rem 0.9rem;
    min-width: 200px;
    max-width: 220px;
  }
  
  .badge-title {
    font-size: 0.85rem;
  }
  
  .badge-text {
    font-size: 0.65rem;
  }
  
  .badge-button {
    font-size: 0.7rem;
    padding: 0.28rem 0.7rem;
  }
}

@media (max-width: 480px) {
  .venezuela-badge {
    position: static;
    margin: 0 auto 0.5rem;
    max-width: 300px;
    padding: 0.9rem 1.2rem;
  }
  
  .badge-title {
    font-size: 0.9rem;
  }
  
  .badge-text {
    font-size: 0.72rem;
  }
  
  .badge-button {
    font-size: 0.75rem;
  }
}
