/* ══ 1. GRUNDINSTÄLLNINGAR & VARIABLER ══ */
:root {
  --ink: #0c0d0b;
  --cream: #f4efe6;
  --forest: #2c3d28;
  --gold: #c4935a;
  --amber: #d4a96a;
  --snow: #f9f8f5;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', sans-serif;
}

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

body {
  font-family: var(--sans);
  background: var(--snow);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ══ 2. TYPOGRAFI ══ */
h1, h2, h3 { font-family: var(--serif); font-weight: 300; }

.eyebrow {
  font-size: .65rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* ══ 3. NAVIGATION ══ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.6rem 4rem;
  transition: all 0.4s ease;
}

#nav.solid {
  background: rgba(249, 248, 245, 0.98);
  padding: 1.1rem 4rem;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: #fff;
}

#nav.solid .nav-logo { color: var(--ink); }

/* ══ 4. DESTINATIONS-GRID (DE 9 KORTEN) ══ */
.dest-grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  max-width: 1300px;
  margin: 60px auto;
  padding: 0 20px;
}

.dest-card-link {
  position: relative;
  display: block;
  height: 500px;
  background-color: #1a1a1a;
  overflow: hidden;
  text-decoration: none !important;
  z-index: 1;
}

/* TVINGA FRAM BILDERNA */
.dest-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 0.8 !important;
  position: absolute;
  top: 0; left: 0;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 2;
}

.dest-card-link:hover .dest-card-img {
  transform: scale(1.1);
  opacity: 0.95 !important;
}

/* TEXT OVANPÅ BILDEN */
.dest-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  z-index: 3;
}

.dest-card-title {
  font-family: var(--serif);
  color: #ffffff !important;
  font-size: 2.2rem;
  margin: 0;
  font-weight: 400;
  line-height: 1.1;
}

.dest-card-sub {
  color: var(--gold) !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  margin-top: 10px;
  font-weight: 400;
}

/* ══ 5. KNAPPAR ══ */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #a87840; }

.btn-outline {
  border: 1px solid var(--gold);
  color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #fff;
}

/* ══ 6. SEKTIONER (INTRO, ACCOMMODATION) ══ */
.section { padding: 100px 40px; }

.intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.accom-featured {
  background: var(--forest);
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
}

/* ══ 7. RESPONSIVITET (MOBILANPASSNING) ══ */
@media (max-width: 992px) {
  .intro-split, .accom-featured {
    grid-template-columns: 1fr;
  }
  
  #nav { padding: 1.2rem 2rem; }
  
  .dest-grid-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 600px) {
  .dest-card-link { height: 400px; }
  .dest-card-title { font-size: 1.8rem; }
}