/* A-Z Städbolaget – Main styles */

:root {
  --color-sea: #2d5a5a;
  --color-sea-light: #3d7a7a;
  --color-sand: #f5f0e8;
  --color-cream: #faf8f5;
  --color-ink: #1a2525;
  --color-ink-soft: #3d4a4a;
  --color-white: #ffffff;
  --shadow: 0 4px 20px rgba(45, 90, 90, 0.08);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-ink);
  background: var(--color-cream);
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

a {
  color: var(--color-sea);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--color-sea-light);
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(45, 90, 90, 0.08);
}

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

.logo-link {
  display: flex;
  align-items: center;
  line-height: 1;
  transition: opacity 0.2s ease;
}

.logo-link:hover {
  opacity: 0.9;
}

.logo-img {
  height: 2.5rem;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}

.hero h1 {
  margin-bottom: 0;
  line-height: 1;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.5rem;
  mix-blend-mode: multiply;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  font-weight: 500;
  font-size: 0.95rem;
}

/* Hero */
.hero {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  background: var(--color-sand) linear-gradient(180deg, rgba(45, 90, 90, 0.35) 0%, rgba(250, 248, 245, 0.92) 60%), url('https://images.unsplash.com/photo-1560448204-e02f11c3d0e2?w=1200&q=80') center/cover no-repeat;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--color-sea);
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--color-ink);
  font-weight: 500;
  margin-bottom: 2rem;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.hero .intro {
  max-width: 520px;
  margin: 0 auto;
  color: var(--color-ink);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.hero .cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(45, 90, 90, 0.2);
}

.btn-primary {
  background: var(--color-sea);
  color: var(--color-white);
  border: none;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-sea);
  border: 2px solid var(--color-sea);
}

/* Sections */
section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem;
}

section h2 {
  font-size: 2rem;
  color: var(--color-sea);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

section p {
  margin-bottom: 1rem;
  color: var(--color-ink-soft);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 90, 0.06);
  overflow: hidden;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--color-sea);
  margin-bottom: 0.75rem;
}

.service-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.service-card .card-img {
  width: calc(100% + 4rem);
  max-width: none;
  height: 160px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -2rem 0 1.25rem -2rem;
  display: block;
}

/* Trust badges */
.trust-badges {
  background: var(--color-white);
  padding: 1.5rem 1.5rem;
  border-top: 1px solid rgba(45, 90, 90, 0.08);
  border-bottom: 1px solid rgba(45, 90, 90, 0.08);
}

.trust-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--color-sea);
  font-size: 0.95rem;
}

.trust-icon {
  width: 24px;
  height: 24px;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Booking section */
.booking-section {
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-cream) 100%);
  padding: 4rem 1.5rem;
  border-top: 1px solid rgba(45, 90, 90, 0.08);
  border-bottom: 1px solid rgba(45, 90, 90, 0.08);
}

.booking-inner {
  max-width: 640px;
  margin: 0 auto;
}

.booking-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.booking-section .subtitle {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--color-ink-soft);
}

/* Booking form */
.booking-form {
  background: var(--color-white);
  padding: 2rem 2rem 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 90, 0.06);
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

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

.form-group label {
  display: block;
  font-weight: 500;
  color: var(--color-ink);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(45, 90, 90, 0.2);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-white);
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-sea);
  box-shadow: 0 0 0 2px rgba(45, 90, 90, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-ink-soft);
  opacity: 0.7;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232d5a5a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox input {
  width: auto;
  margin: 0;
  cursor: pointer;
  accent-color: var(--color-sea);
}

.form-checkbox label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 400;
}

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

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.form-actions .btn {
  flex: 1;
  min-width: 140px;
  justify-content: center;
}

.form-alt {
  text-align: center;
  color: var(--color-ink-soft);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

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

.booking-cta .btn {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  min-width: 200px;
  justify-content: center;
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* Why us */
.why-us h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: var(--color-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 90, 90, 0.06);
  text-align: center;
}

.why-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 1rem;
}

.why-card h3 {
  font-size: 1.2rem;
  color: var(--color-sea);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* RUT */
.rut-box {
  background: linear-gradient(135deg, var(--color-sea) 0%, var(--color-sea-light) 100%);
  color: var(--color-white);
  padding: 2rem 2.5rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.rut-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-white);
}

.rut-box p, .rut-box ul {
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.75rem;
}

.rut-box ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.rut-box a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: underline;
}

/* Contact */
.contact-list {
  list-style: none;
  margin-top: 1.5rem;
}

.contact-list li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-list a {
  font-weight: 500;
  font-size: 1.1rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--color-sea);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid rgba(45, 90, 90, 0.1);
  color: var(--color-ink-soft);
  font-size: 0.9rem;
}

.footer-logo {
  height: 2rem;
  width: auto;
  display: block;
  margin: 0 auto 1rem;
  opacity: 0.85;
  mix-blend-mode: multiply;
}

@media (max-width: 600px) {
  nav {
    gap: 1.25rem;
  }
  .hero {
    min-height: 75vh;
    padding: 5rem 1rem 3rem;
  }
}
