/* ==========================================================================
   Theme 1 — "Adriatic Calm"
   Mediterranean coastal feel · Deep blues, warm sand, elegant serif headings
   Inspired by the Adriatic Sea: calm, clear, trustworthy
   ========================================================================== */

/* ---------- Custom Properties ---------- */
:root {
  /* Typography */
  --font-heading: "Playfair Display", "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --heading-weight: 400;

  /* Color Palette — Adriatic */
  --color-bg: #F7F4EE;
  --color-text: #1E2A2F;
  --color-heading: #1E2A2F;
  --color-link: #2C5F6E;
  --color-muted: #5A6B70;
  --color-accent: #2C5F6E;

  /* Sand / warm tones */
  --color-sand: #D4A853;
  --color-sand-light: #EDE4D3;

  /* Sea tones */
  --color-sea: #2C5F6E;
  --color-sea-dark: #1E4450;
  --color-sea-light: #5A9AAB;

  /* Surface */
  --color-surface: #FFFFFF;
  --color-surface-alt: #F0F7F9;

  /* Borders */
  --color-border: #D8E8EC;

  /* Header */
  --color-header-bg: rgba(247, 244, 238, 0.9);
  --header-blur: blur(8px);

  /* Buttons */
  --btn-radius: 6px;
  --btn-primary-bg: #2C5F6E;
  --btn-primary-color: #FFFFFF;

  /* Cards */
  --card-bg: #FFFFFF;
  --card-border: 1px solid #D8E8EC;
  --card-radius: 10px;

  /* Forms */
  --form-border: #D8E8EC;
  --form-bg: #FFFFFF;
  --form-radius: 6px;
  --form-focus-ring: rgba(44, 95, 110, 0.15);

  /* Language switcher */
  --color-lang: #2C5F6E;
  --lang-hover-bg: rgba(44, 95, 110, 0.08);
  --color-lang-active: #2C5F6E;

  /* Pricing */
  --price-color: #2C5F6E;

  /* Footer */
  --footer-border: 1px solid #D8E8EC;

  /* Nav */
  --color-nav-link: #1E2A2F;
}

/* ---------- Body ---------- */
body {
  background-color: var(--color-bg);
  color: var(--color-text);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--color-header-bg);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: var(--header-blur);
}

/* ---------- Hero Section ---------- */
.hero-section {
  background: linear-gradient(175deg, #EAF4F6 0%, #F7F4EE 60%);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23F7F4EE' d='M0,40 C360,80 720,0 1080,40 C1260,60 1380,50 1440,45 L1440,80 L0,80 Z'/%3E%3C/svg%3E") no-repeat bottom center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  color: var(--color-muted);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ---------- Wave Divider ---------- */
.wave-divider {
  display: block;
  width: 100%;
  height: 50px;
  margin: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 50'%3E%3Cpath fill='%23F7F4EE' d='M0,20 C480,50 960,0 1440,25 L1440,50 L0,50 Z'/%3E%3C/svg%3E") no-repeat center;
  background-size: cover;
}

/* ---------- Section — Pricing ---------- */
.section-pricing {
  background: var(--color-surface);
}

.pricing-card {
  text-align: center;
  padding: 2.5rem 2rem;
  border: 2px solid var(--color-sea);
  border-radius: 12px;
  background: var(--color-surface);
  position: relative;
  overflow: hidden;
}

.pricing-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sea), var(--color-sand));
}

.pricing-card .pricing-highlight {
  color: var(--color-sea);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  text-align: left;
  display: inline-block;
}

.pricing-features li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-sea);
  font-weight: 700;
}

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

.pricing-example {
  background: var(--color-surface-alt);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
}

.pricing-example .length {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.pricing-example .cost {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-sea);
}

/* ---------- Section — Why Choose ---------- */
.why-section {
  background: var(--color-surface-alt);
}

.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.benefit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-heading);
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

/* ---------- Section — Rules ---------- */
.rules-list {
  list-style: none;
  padding: 0;
}

.rules-list li {
  padding: 1rem 0;
  padding-left: 2rem;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.rules-list li:last-child {
  border-bottom: none;
}

.rules-list li::before {
  content: "⚓";
  position: absolute;
  left: 0;
  font-size: 1.1rem;
}

.rules-list li strong {
  display: block;
  color: var(--color-heading);
  margin-bottom: 0.2rem;
}

/* ---------- Section — Contact ---------- */
.section-contact {
  background: var(--color-surface);
}

.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-item-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.contact-item-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.contact-item-text p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 0;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-sea-dark);
  color: rgba(255, 255, 255, 0.7);
  border-top: none;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
}

.site-footer a:hover {
  color: #fff;
}

.footer-lang {
  margin-bottom: 0.75rem;
}

.footer-lang .lang-switcher a {
  color: rgba(255, 255, 255, 0.7);
}

.footer-lang .lang-switcher a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.footer-lang .lang-switcher a.active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* ---------- Page heading styling ---------- */
.section-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
}

/* ---------- Smooth animations ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content > * {
  animation: fadeInUp 0.6s ease both;
}

.hero-content > *:nth-child(2) { animation-delay: 0.1s; }
.hero-content > *:nth-child(3) { animation-delay: 0.2s; }
.hero-content > *:nth-child(4) { animation-delay: 0.3s; }
