/* Company Jekyll site - base styles */
:root {
  --color-primary: #1a365d;
  --color-primary-light: #2c5282;
  --color-accent: #c45c26;
  --color-text: #2d3748;
  --color-text-muted: #718096;
  --color-bg: #f7fafc;
  --color-white: #fff;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.6;
  --spacing-unit: 1.5rem;
  --max-width: 1200px;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--color-bg);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-unit);
}

/* Header */
.header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-unit) 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-unit);
}

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

.logo:hover {
  opacity: 0.9;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 500;
}

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

/* Language switcher */
.language-switcher {
  position: relative;
}

.lang-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

.lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.75rem;
}

.lang-list a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
}

.lang-list a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.lang-current {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
}

/* Main */
.main {
  min-height: calc(100vh - 120px);
}

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

.hero-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.hero-subtitle {
  margin: 0;
  font-size: 1.125rem;
  opacity: 0.95;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-title {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: var(--color-primary);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  margin: 0 0 2rem;
}

.about {
  background: var(--color-white);
}

.about-text {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
  color: var(--color-text);
}

/* Activities */
.activities {
  background: var(--color-bg);
}

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

.activity-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.activity-image-placeholder {
  position: relative;
  width: 100%;
  height: 220px;
  background: linear-gradient(145deg, #e2e8f0 0%, #cbd5e0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 1rem;
}

.activity-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.activity-image-placeholder .placeholder-fallback {
  position: absolute;
  inset: 0;
}

.activity-content {
  padding: 1.5rem;
}

.activity-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: var(--color-primary);
}

.activity-content p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-text);
}

/* Contact */
.contact {
  background: var(--color-white);
  text-align: center;
}

.contact-text {
  margin: 0 0 0.5rem;
}

.contact-email a {
  color: var(--color-primary-light);
  font-weight: 600;
  text-decoration: none;
}

.contact-email a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  padding: var(--spacing-unit) 0;
  margin-top: auto;
  text-align: center;
}

.footer-rights {
  margin: 0;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }

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