/* Foldrøy Static Site — Professional Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red-900: #1D2D44;
  --red-800: #5E2626;
  --red-700: #c02828;
  --red-600: #E03030;
  --red-500: #e05050;
  --red-100: #fde8e8;
  --red-50: #fef2f2;
  --brown-600: #5E2626;
  --brown-500: #7a3a3a;
  --brown-100: #f5ecec;
  --gray-50: #F8F5F1;
  --gray-100: #efece7;
  --gray-200: #ddd9d3;
  --gray-300: #c5c0b9;
  --gray-400: #9c9790;
  --gray-500: #736e68;
  --gray-600: #524d48;
  --gray-700: #3a3632;
  --gray-800: #2a2724;
  --gray-900: #1D2D44;
  --white: #ffffff;
  --green-500: #48bb78;
  --max-width: 1200px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.08), 0 4px 10px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 50px rgba(0,0,0,0.1);
  --radius: 0.75rem;
  --radius-lg: 1rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--gray-800);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--red-600); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--red-700); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.85rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
p { margin-bottom: 1rem; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.25rem; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* ── Navigation ── */
.nav {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 60px;
}
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo picture {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 38px;
  width: auto;
  display: block;
  margin-top: -8px;
}
.nav-logo:hover { opacity: 0.85; }
.nav-center {
  display: flex;
  gap: 0.125rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1 1 auto;
  padding: 0 1rem;
}
.nav-right {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav-links { display: flex; gap: 0.125rem; align-items: center; flex-wrap: wrap; }
.nav-center > a, .nav-right > a {
  color: var(--gray-600);
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-center > a:hover, .nav-center > a.active {
  color: var(--red-600);
  background: none;
}
.cta-btn {
  background: var(--red-600);
  color: var(--white) !important;
  font-weight: 700;
  padding: 0.4rem 0.9rem !important;
  border-radius: 0.5rem;
  transition: all 0.15s !important;
}
.cta-btn:hover {
  background: var(--red-700) !important;
  color: var(--white) !important;
  box-shadow: 0 2px 8px rgba(224,48,48,0.3) !important;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-700);
  padding: 0.35rem;
  line-height: 1;
  border-radius: 0.375rem;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle:hover { background: var(--gray-100); }
.nav-toggle-bar {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Dropdown ── */
.nav-dropdown { position: relative; }
.dropbtn {
  background: none;
  border: none;
  color: var(--gray-600);
  padding: 0.4rem 0.7rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
  white-space: nowrap;
}
.dropbtn:hover, .dropbtn.active {
  color: var(--red-600);
  background: none;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 190px;
  box-shadow: var(--shadow-lg);
  border-radius: 0.75rem;
  padding: 0.5rem 0;
  z-index: 200;
  border: 1px solid var(--gray-100);
}
.nav-dropdown:hover .dropdown-content { display: block; }
.dropdown-content a {
  display: block;
  color: var(--gray-600);
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  transition: background 0.1s;
  white-space: nowrap;
}
.dropdown-content a:hover {
  background: var(--red-50);
  color: var(--red-700);
}
.dropdown-content a.active {
  color: var(--red-700);
  font-weight: 600;
}

/* ── Hero Section ── */
.hero {
  color: var(--white);
  padding: 6rem 1.5rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 65vh;
  overflow: hidden;
}
.hero picture {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-textbox {
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(4px);
  padding: 2.5rem 3.5rem;
  border-radius: 1.25rem;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero .slogan {
  font-size: 3.5rem;
  font-weight: 800;
  font-style: italic;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.faq { margin-top: 2rem; }
.faq details {
  border: 1px solid var(--gray-200);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--white);
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}
.faq details[open] summary { margin-bottom: 0.5rem; }
.hero p {
  font-size: 1.2rem;
  opacity: 0.92;
  line-height: 1.7;
}

/* ── Promo row ── */
.promo-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  max-width: var(--max-width);
  margin: -1rem auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.promo-card {
  background: var(--white);
  color: var(--gray-800);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--gray-100);
}
.promo-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gray-200); }
.promo-rental h2 { color: var(--brown-600); }
.promo-event h2 { color: var(--brown-500); }
.promo-eigedom h2 { color: var(--red-800); }
.promo-card h2 { margin-bottom: 0.5rem; font-size: 1.25rem; letter-spacing: -0.01em; }
.promo-card p { font-size: 0.9rem; color: var(--gray-500); margin-bottom: 1.25rem; line-height: 1.6; }
.promo-card .event-date {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--brown-500);
}
.promo-card .btn {
  font-size: 0.875rem;
  padding: 0.55rem 1.5rem;
  color: var(--white);
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.2s;
  border: none;
  background: var(--gray-800);
}
.promo-card .btn:hover { background: var(--gray-900); transform: translateY(-1px); }
.promo-rental .btn { background: var(--brown-600); }
.promo-rental .btn:hover { background: #4a1e1e; }
.promo-event .btn { background: var(--brown-500); }
.promo-event .btn:hover { background: #5e2e2e; }
.promo-eigedom .btn { background: var(--red-800); }
.promo-eigedom .btn:hover { background: #4a1e1e; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  background: var(--white);
  color: var(--gray-700);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.btn:hover {
  background: var(--gray-50);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--red-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(224,48,48,0.25);
}
.btn-primary:hover { background: var(--red-700); color: var(--white); box-shadow: 0 6px 20px rgba(224,48,48,0.35); transform: translateY(-1px); }

/* ── Section ── */
.section { padding: 4rem 1.5rem; }
.section-alt { background: var(--gray-50); padding: 4rem 1.5rem; }
.section-alt + .section-alt { padding-top: 0; }
.section-title {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto 3rem;
  position: relative;
  color: var(--gray-800);
  font-size: 1.75rem;
  padding: 0 0.75rem 1.25rem;
  text-align: center;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M0 12 C25 8 50 14 75 10 C100 6 125 12 150 9 C175 6 200 11 200 11' stroke='%23E03030' stroke-width='2' fill='none' opacity='0.65' stroke-linecap='round'/%3E%3Cpath d='M0 15 C30 11 60 14 90 12 C120 10 150 14 180 11 C190 10 200 13 200 13' stroke='%23E03030' stroke-width='1.4' fill='none' opacity='0.45' stroke-linecap='round'/%3E%3Cpath d='M0 9 C35 6 70 8 105 10 C140 12 175 7 200 9' stroke='%23c02828' stroke-width='1' fill='none' opacity='0.35' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center bottom / 100% 100%;
  pointer-events: none;
}

/* ── Cards ── */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.25s;
  border: 1px solid var(--gray-100);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--red-800); font-size: 1.1rem; }
.card-icon {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border-radius: 0.625rem;
  margin-bottom: 1rem;
}
.card-icon a {
  display: block;
  height: 100%;
}
.card-icon picture {
  display: block;
  height: 100%;
}
.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card:hover .card-icon img { transform: scale(1.05); }

/* ── Social section ── */
.social-section {
  background: var(--gray-50);
  padding: 4rem 1.5rem;
  text-align: center;
}
.social-grid {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.social-item {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-sm);
  min-width: 220px;
  border: 1px solid var(--gray-100);
  transition: transform 0.2s, box-shadow 0.2s;
}
.social-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.social-item h3 { color: var(--red-800); margin-bottom: 0.5rem; font-size: 1.05rem; margin-top: 0.5rem; }
.social-item img, .social-item svg {
  display: block;
  margin: 0 auto;
}

/* ── Footer ── */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3.5rem 1.5rem 1.5rem;
}
.footer-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-promo-card {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-promo-title {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.footer-promo-card p {
  margin: 0 0 1rem;
  line-height: 1.55;
  font-size: 0.9rem;
}
.footer-promo-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}
.footer-promo-links a {
  font-weight: 600;
}
.footer-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 2rem; margin-bottom: 2rem; font-size: 0.85rem; }
.footer a {
  color: #e8e4df;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.15s;
}
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 0.35rem; }
.footer strong { color: var(--white); display: block; margin-bottom: 0.75rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-300);
}
.footer-bottom a {
  color: #e8e4df;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Content pages ── */
.content-page { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.content-page h1 { color: var(--red-800); margin-bottom: 1.5rem; }
.content-page h2 { color: var(--red-800); margin-top: 2.5rem; }
.content-page h3 { color: var(--red-700); margin-top: 1.5rem; }
.content-page img { width: 100%; border-radius: var(--radius); margin: 1.5rem 0; }
.content-page .image-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.content-page .image-row img { margin: 0; }

/* ── Rental page ── */
.rental-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
  padding: 2rem;
  border: 1px solid var(--gray-100);
}
.rental-card img { border-radius: 0.625rem; margin-bottom: 1rem; width: 100%; height: 280px; object-fit: cover; object-position: center; display: block; }
.rental-card h3 { color: var(--red-800); font-size: 1.4rem; }
.rental-features { list-style: none; padding: 0; margin: 1rem 0; }
.rental-features li::before { content: '\2713'; color: var(--green-500); font-weight: 700; margin-right: 0.5rem; }

/* ── Calendar iframe ── */
.calendar-wrap { position: relative; width: 100%; overflow: hidden; padding-top: 56.25%; margin: 1.5rem 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.calendar-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* ── Breadcrumb ── */
.breadcrumb { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--red-500); }

/* ── Activity calendar ── */
.activity-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--gray-100); }
.activity-item:last-child { border-bottom: none; }
.activity-day { flex-shrink: 0; width: 80px; font-weight: 700; color: var(--red-800); font-size: 0.9rem; }
.activity-detail { line-height: 1.6; }
.activity-name { font-weight: 600; color: var(--gray-800); }
.activity-time { color: var(--gray-500); font-size: 0.9rem; margin-left: 0.5rem; }
.activity-place { color: var(--gray-500); font-size: 0.85rem; margin-left: 0.5rem; }
.activity-place::before { content: "– "; }

/* ── Finn.no embed ── */
/* ── Info box ── */
.info-box {
  background: var(--red-50);
  border-left: 4px solid var(--red-500);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.info-box h4 { color: var(--red-800); margin-bottom: 0.5rem; font-size: 1rem; }
.info-box p { margin-bottom: 0.5rem; }
.info-box ul { margin-bottom: 0; }

/* ── Price card ── */
.price-card {
  background: var(--white);
  border: 2px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.price-card h4 { color: var(--red-800); margin-bottom: 0.75rem; }
.price-item { display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px solid var(--gray-100); }
.price-item:last-child { border-bottom: none; }
.price-amount { font-weight: 700; color: var(--red-600); }
.price-note { font-size: 0.9rem; color: var(--gray-500); margin-top: 0.75rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .promo-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  .nav-toggle { display: flex; margin-left: auto; }
  .nav-inner { flex-wrap: wrap; align-items: center; padding-top: 0.5rem; padding-bottom: 0.5rem; }
  .nav-center {
    display: none;
    flex-direction: column;
    width: 100%;
    padding: 1.25rem 0 0.5rem;
    gap: 0;
    align-items: center;
    text-align: center;
  }
  .nav-center.open { display: flex; }
  .nav-right {
    display: none;
    width: 100%;
    justify-content: center;
    padding: 0.25rem 0 0.75rem;
  }
  .nav-right.open { display: flex; }
  .nav-links { display: contents; }
  .nav-center > a {
    white-space: normal;
    margin: 0;
    width: 100%;
    text-align: center;
    padding: 0.5rem 0.7rem;
  }
  .nav-dropdown { width: 100%; text-align: center; }
  .dropbtn { width: 100%; text-align: center; padding: 0.5rem 0.7rem; }
  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding: 0.25rem 0 0.5rem;
    background: transparent;
    border: none;
    width: 100%;
    min-width: 0;
  }
  .dropdown-content a {
    text-align: center;
    padding: 0.45rem 0.7rem;
  }
  .nav-dropdown:hover .dropdown-content { display: none; }
  .nav-dropdown.open .dropdown-content { display: block; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.4rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .footer-promo { grid-template-columns: 1fr; }
  .hero { padding: 3.5rem 1.5rem; min-height: auto; }
  .hero .slogan { font-size: 1.75rem; }
  .hero-textbox { padding: 1.5rem; }
  .section { padding: 2.5rem 1.5rem; }
  .promo-row { margin-top: 1rem; }
}
@media (max-width: 640px) {
  .promo-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .social-grid { flex-direction: column; align-items: center; }
  .social-item { min-width: auto; width: 100%; max-width: 280px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-item { flex-direction: column; gap: 0.25rem; }
  .activity-day { width: auto; }
}
