/* Graham Miranda UG - City Site Styles */
:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --secondary: #0f172a;
  --accent: #f59e0b;
  --bg-light: #f8fafc;
  --bg-dark: #0f172a;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --border: #e2e8f0;
  --success: #10b981;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Navigation */
nav {
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

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

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a.active {
  color: var(--primary);
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  border-left: 1px solid var(--border);
  padding-left: 1rem;
}

.lang-switch a {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.875rem;
}

.lang-switch a.active {
  background: var(--primary);
  color: var(--white);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
}

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

.hero .btn {
  display: inline-block;
  background: var(--accent);
  color: var(--secondary);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hero .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Sections */
section {
  padding: 4rem 0;
}

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

.section-title h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
}

/* Features Grid */
.features {
  background: var(--bg-light);
}

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

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

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

/* Services Preview */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-item {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
}

.service-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.service-item p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: var(--primary);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-section .btn {
  display: inline-block;
  background: var(--white);
  color: var(--primary);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* About Preview */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 8px;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-item .label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Blog Card */
.blog-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  max-width: 800px;
  margin: 0 auto;
}

.blog-card .blog-content {
  padding: 2rem;
}

.blog-meta {
  font-size: 0.875rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

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

.read-more {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Contact Info */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
}

.contact-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-submit {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}

.form-submit:hover {
  background: var(--primary-dark);
}

/* Footer */
footer {
  background: var(--secondary);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-about h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-about p {
  opacity: 0.7;
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--white);
  opacity: 0.7;
  text-decoration: none;
  font-size: 0.9rem;
  transition: opacity 0.2s;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  opacity: 0.7;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
}

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

/* Legal Page */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.legal-content h1 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

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

/* Services Full Page */
.services-full {
  padding: 4rem 0;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail h2 {
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.service-detail p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.service-detail ul {
  list-style: none;
  margin-top: 1rem;
}

.service-detail li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-light);
}

.service-detail li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
}

/* About Full Page */
.about-full {
  padding: 4rem 0;
}

.about-hero {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.25rem;
  color: var(--text-light);
}

.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

.vendor-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.vendor-badge {
  background: var(--bg-light);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  color: var(--text);
}

/* Blog Full Page */
.blog-full {
  padding: 4rem 0;
}

.blog-article {
  max-width: 800px;
  margin: 0 auto;
}

.blog-article header {
  text-align: center;
  margin-bottom: 3rem;
}

.blog-article h1 {
  font-size: 2rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-article .blog-meta {
  font-size: 0.9rem;
  color: var(--text-light);
}

.blog-article h2 {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-article p {
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.blog-article ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.blog-article li {
  margin-bottom: 0.75rem;
  line-height: 1.7;
  color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }

  nav ul.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .lang-switch {
    border-left: none;
    padding-left: 0;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-preview,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
