/* Aegean Forest home page */

:root {
  --bg-banner: #2A3B41;
  --text-primary: #1a1a1a;
  --text-secondary: #444;
  --accent-blue: #3282B8;
  --accent-hover: #0F4C75;
  --bg-content: #fafafa;
  --photo-placeholder: #e0e5e8;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Banner */
.banner {
  position: relative;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('/assets/web_banner.JPG');
  background-size: cover;
  background-position: center 67%;
  background-color: #2A3B41;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.4) 100%);
  pointer-events: none;
}

.nav {
  position: absolute;
  top: 24px;
  right: 32px;
  display: flex;
  gap: 24px;
}

.nav a,
.nav .lang-toggle {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.nav a:hover,
.nav .lang-toggle:hover {
  color: #fff;
}

.nav .lang-toggle {
  padding: 0;
}

.banner-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.banner-name,
.banner-subtitle {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.banner-content.i18n-swapping .banner-name {
  opacity: 0;
  transform: translateY(-8px);
}

.banner-content.i18n-swapping .banner-subtitle {
  opacity: 0;
  transform: translateY(8px);
}

.banner-name {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 0, 0, 0.3);
}

.banner-subtitle {
  font-family: "JetBrains Mono", monospace;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 0 24px rgba(0, 0, 0, 0.3);
}

/* Content area */
.content {
  background: var(--bg-content);
  padding: 48px 24px 80px;
}

.content-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 700px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
}

.photo-column {
  position: sticky;
  top: 24px;
}

@media (max-width: 700px) {
  .photo-column {
    position: static;
  }
}

.photo-placeholder {
  aspect-ratio: 3 / 4;
  background: var(--photo-placeholder);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-size: 0.9rem;
}

.photo-placeholder.cli-trigger {
  cursor: pointer;
  border: none;
  padding: 0;
  overflow: hidden;
}

.photo-placeholder.cli-trigger:hover {
  box-shadow: 0 0 0 3px rgba(127, 181, 209, 0.5);
}

.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.text-column {
  min-width: 0;
}

.section {
  margin-bottom: 32px;
}

.section h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.section p:last-child {
  margin-bottom: 0;
}

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

.section a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.section.links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e5e5e5;
}

.section.links a {
  font-size: 0.95rem;
}

