/* Nordisk Have & Anlæg – Stylesheet */

/* ===================== VARIABLER ===================== */
:root {
  --green:        #2D5A27;
  --green-light:  #4A7C40;
  --green-pale:   #EEF3EC;
  --accent:       #8B9E54;
  --bg:           #F7F5F0;
  --text:         #1C1C1C;
  --text-muted:   #5A5A5A;
  --white:        #FFFFFF;
  --border:       #DDD8CE;
  --radius:       8px;
  --shadow:       0 2px 12px rgba(0,0,0,0.10);
  --transition:   0.2s ease;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ===================== TYPOGRAFI ===================== */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===================== LAYOUT ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 800px; }
.section { padding: 5rem 0; }
.section--green { background: var(--green); color: var(--white); }
.section--light { background: var(--green-pale); }
.section__title { text-align: center; margin-bottom: 0.75rem; }
.section__subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; }
.section--green .section__subtitle { color: rgba(255,255,255,0.75); }

/* ===================== KNAPPER ===================== */
.btn {
  display: inline-block; padding: 0.75rem 1.75rem; border-radius: var(--radius);
  font-weight: 600; font-size: 0.95rem; transition: all var(--transition); text-align: center;
}
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-light); }
.btn--secondary { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn--secondary:hover { background: var(--green); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline:hover { background: var(--white); color: var(--green); }
.btn--white { background: var(--white); color: var(--green); }
.btn--white:hover { background: var(--green-pale); }
.btn--outline-white { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--green); }
.btn--full { width: 100%; }

/* ===================== NAVIGATION ===================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--white); box-shadow: var(--shadow);
}
.nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.nav__logo img { height: 50px; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links > li > a { font-weight: 500; transition: color var(--transition); }
.nav__links > li > a:hover { color: var(--green); }
.nav__cta { background: var(--green); color: var(--white) !important; padding: 0.5rem 1.25rem; border-radius: var(--radius); }
.nav__cta:hover { background: var(--green-light) !important; }
.nav__dropdown { position: relative; }
.nav__submenu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--white); box-shadow: var(--shadow); border-radius: var(--radius);
  min-width: 220px; padding: 0.5rem 0;
}
.nav__dropdown:hover .nav__submenu { display: block; }
.nav__submenu li a { display: block; padding: 0.6rem 1.25rem; transition: background var(--transition); font-size: 0.9rem; }
.nav__submenu li a:hover { background: var(--green-pale); color: var(--green); }
.nav__burger { display: none; flex-direction: column; gap: 5px; }
.nav__burger span { display: block; width: 24px; height: 2px; background: var(--text); }

/* ===================== HERO ===================== */
.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--white); margin-top: 70px; }
.hero__video { position: absolute; inset: 0; overflow: hidden; }
.hero__video video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.hero__content { position: relative; z-index: 1; padding: 0 1.5rem; }
.hero__content h1 { color: var(--white); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.hero__content p { font-size: 1.2rem; margin-bottom: 2rem; opacity: 0.9; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Page hero (undersider) */
.page-hero { background: var(--green); color: var(--white); padding: 3.5rem 0 2rem; margin-top: 70px; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.85; font-size: 1.1rem; }

/* ===================== SERVICE CARDS ===================== */
.services-grid__cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.service-card__image { height: 200px; overflow: hidden; }
.service-card__image img { width: 100%; height: 100%; object-fit: cover; }
.service-card__image--placeholder { background: var(--green-pale); }
.service-card__body { padding: 1.25rem; }
.service-card__body h3 { margin-bottom: 0.4rem; }
.service-card__body p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.75rem; }
.service-card__link { color: var(--green); font-weight: 600; font-size: 0.9rem; }
.services-grid__more { text-align: center; margin-top: 2.5rem; }

/* ===================== SEGMENTER ===================== */
.segments__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 2rem; margin-top: 2rem; }
.segment { text-align: center; }
.segment__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.segment h3 { color: var(--white); margin-bottom: 0.5rem; }
.segment p { opacity: 0.85; font-size: 0.95rem; }

/* ===================== TRUST ===================== */
.trust__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; }
.trust__item { text-align: center; padding: 1.5rem; border-radius: var(--radius); background: var(--green-pale); }
.trust__item strong { display: block; color: var(--green); margin-bottom: 0.4rem; }
.trust__item p { font-size: 0.9rem; color: var(--text-muted); }

/* ===================== GALLERI TEASER ===================== */
.gallery-teaser__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.gallery-teaser__item { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.gallery-teaser__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.gallery-teaser__item:hover img { transform: scale(1.05); }
.gallery-teaser__more { text-align: center; margin-top: 2rem; }

/* ===================== CTA STRIP ===================== */
.cta-strip { background: var(--green); color: var(--white); padding: 4rem 0; text-align: center; }
.cta-strip__inner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-strip__inner p { opacity: 0.85; margin-bottom: 1.75rem; }
.cta-strip__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===================== KARRUSEL ===================== */
.carousel { position: relative; display: flex; align-items: center; gap: 1rem; }
.carousel__track-wrap { flex: 1; overflow: hidden; border-radius: var(--radius); }
.carousel__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel__slide { flex: 0 0 100%; display: flex; justify-content: center; align-items: center; background: #000; }
.carousel__slide img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; }
.carousel__btn {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow);
  font-size: 1.75rem; line-height: 1; color: var(--green);
  transition: all var(--transition); display: flex; align-items: center; justify-content: center;
}
.carousel__btn:hover { background: var(--green); color: var(--white); }
.carousel__dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 1.25rem; }
.carousel__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border); transition: all var(--transition);
}
.carousel__dot.active { background: var(--green); transform: scale(1.3); }

@media (max-width: 640px) {
  .carousel__btn { width: 36px; height: 36px; font-size: 1.25rem; }
}

/* ===================== OM OS ===================== */
.about__story { padding: 0 1rem; }
.about__story h2 { margin-bottom: 1.5rem; }
.approach__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2rem; margin-top: 1rem; }
.approach__item { text-align: center; }
.approach__icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

/* ===================== PRISER ===================== */
.pricing__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.pricing__note { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.price-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.price-table th { text-align: left; padding: 0.6rem 0.75rem; background: var(--green); color: var(--white); }
.price-table td { padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--border); }
.price-table__divider td { background: var(--green-pale); font-size: 0.85rem; padding-top: 1rem; }

/* Prisberegner */
.calc { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.calc__field { margin-bottom: 1.25rem; }
.calc__field label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9rem; }
.calc__field input[type="number"],
.calc__field select { width: 100%; padding: 0.6rem 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius); font: inherit; }
.calc__stump-diameters { display: flex; flex-direction: column; gap: 0; }
.calc__result { background: var(--green-pale); border-radius: var(--radius); padding: 1.25rem; margin: 1.5rem 0 0.5rem; }
.calc__result-inner { font-size: 1.1rem; font-weight: 600; color: var(--green); }
.calc__disclaimer { font-size: 0.8rem; color: var(--text-muted); }
.calc__result-inner--contact { color: var(--text); font-weight: 400; font-size: 0.95rem; }

/* ===================== KONTAKT ===================== */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.form__field { margin-bottom: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__field label { display: block; font-weight: 500; margin-bottom: 0.4rem; font-size: 0.9rem; }
.form__field input, .form__field textarea, .form__select { width: 100%; padding: 0.65rem 0.85rem; border: 1.5px solid var(--border); border-radius: var(--radius); font: inherit; background: var(--white); }
.form__field input:focus, .form__field textarea:focus, .form__select:focus { outline: none; border-color: var(--green); }
.form__errors { background: #fde8e8; border-radius: var(--radius); padding: 1rem; margin-bottom: 1.5rem; color: #c0392b; font-size: 0.9rem; }
.contact__info { padding: 2rem; background: var(--green-pale); border-radius: var(--radius); }
.contact__info h3 { margin-bottom: 1.5rem; }
.contact__detail { margin-bottom: 1.25rem; }
.contact__detail strong { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact__trust { margin-top: 1.5rem; border-top: 1px solid var(--border); padding-top: 1.5rem; }
.contact__trust p { color: var(--green); font-weight: 600; margin-bottom: 0.4rem; }

/* ===================== YDELSE SHOW ===================== */
.service-hero { position: relative; padding: 9rem 0 4rem; margin-top: 70px; background: var(--green) center/cover no-repeat; color: var(--white); text-align: center; }
.service-hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.service-hero .container { position: relative; z-index: 1; }
.service-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.service-hero p { opacity: 0.85; font-size: 1.1rem; }
.service-body { }
.service-body ul { list-style: disc; margin: 0 0 1rem 1.5rem; }
.service-body li { margin-bottom: 0.3rem; }
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.photo-grid__item { aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); }
.photo-grid__item img { width: 100%; height: 100%; object-fit: cover; }

/* ===================== TAK ===================== */
.thank-you { padding: 8rem 0; text-align: center; margin-top: 70px; }
.thank-you__inner { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.thank-you__icon { width: 80px; height: 80px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; }

/* ===================== FOOTER ===================== */
.footer { background: #1a1a1a; color: rgba(255,255,255,0.8); padding: 4rem 0 0; }
.footer__inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 3rem; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }
.footer__brand p { margin-top: 1rem; opacity: 0.7; font-size: 0.9rem; }
.footer__links h4, .footer__contact h4 { color: var(--white); margin-bottom: 1rem; font-size: 1rem; }
.footer__links li { margin-bottom: 0.4rem; }
.footer__links a, .footer__contact a { opacity: 0.7; font-size: 0.9rem; transition: opacity var(--transition); }
.footer__links a:hover, .footer__contact a:hover { opacity: 1; }
.footer__contact p { opacity: 0.7; font-size: 0.9rem; margin-bottom: 0.4rem; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.25rem 1.5rem; text-align: center; font-size: 0.85rem; opacity: 0.5; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .pricing__grid, .contact__grid { grid-template-columns: 1fr; gap: 2rem; }
  .gallery__grid { columns: 2; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .nav__links { display: none; flex-direction: column; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; background: var(--white); padding: 1.5rem; gap: 0; box-shadow: var(--shadow); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .nav__links.open { display: flex; }
  .nav__links > li > a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
  .nav__submenu { position: static; box-shadow: none; display: block; padding-left: 1rem; }
  .nav__burger { display: flex; }
  .services-grid__cards { grid-template-columns: 1fr; }
  .gallery-teaser__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { columns: 1; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: center; }
  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}
