/* Minicon eG - Modern Static Website */
:root {
  --primary: #c0392b;
  --primary-dark: #a93226;
  --text: #333;
  --text-light: #666;
  --bg: #fff;
  --bg-alt: #f8f9fa;
  --border: #e0e0e0;
}

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

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

/* Header */
header {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.logo span {
  color: var(--primary);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--primary);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text);
  border-bottom: 3px solid var(--primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}

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

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

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

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.about-text h2 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.about-image {
  text-align: center;
}

.about-image img {
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.about-image figcaption {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-content a {
  color: var(--primary);
}

/* Projects */
.project-card {
  border-top: 4px solid var(--primary);
}

.project-card .tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.tech-tag {
  background: var(--bg-alt);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-light);
}

/* Products */
.product-highlight {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 3rem;
  border-radius: 12px;
  text-align: center;
  margin: 3rem 0;
}

.product-highlight h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.product-highlight p {
  opacity: 0.9;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  transition: transform 0.3s;
}

.btn:hover {
  transform: scale(1.05);
}

/* Footer */
footer {
  background: #1a1a2e;
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

footer p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-links {
  margin-top: 1rem;
}

.footer-links a {
  margin: 0 1rem;
  color: white;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
}
