/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:      #C4808A;
  --rose-light:#F2D8DA;
  --rose-dark: #A05F68;
  --gold:      #B8965A;
  --gold-light:#E8D8B8;
  --green:     #5A7A5C;
  --charcoal:  #2C2C2C;
  --warm-white:#FDFAF7;
  --off-white: #F5F0EB;
  --border:    #E8E0D8;
  --text-muted:#7A706A;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
  --radius:     4px;
  --shadow:     0 4px 24px rgba(44,44,44,.10);
  --shadow-lg:  0 12px 48px rgba(44,44,44,.18);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(3rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 500; }

/* ===== LAYOUT ===== */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.container-narrow { max-width: 720px;  margin: 0 auto; padding: 0 2rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .2s ease;
}
.btn-primary {
  background: var(--charcoal);
  color: #fff;
}
.btn-primary:hover { background: #444; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-light {
  background: rgba(255,255,255,.92);
  color: var(--charcoal);
  backdrop-filter: blur(4px);
}
.btn-light:hover { background: #fff; transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border: 1.5px solid var(--charcoal);
}
.btn-outline:hover { background: var(--charcoal); color: #fff; }

.btn-sm { padding: .6rem 1.25rem; font-size: .8rem; }
.full-width { width: 100%; text-align: center; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 2.5rem;
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(253,250,247,.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500; letter-spacing: .02em; }
.logo-sub  { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); }

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color .2s;
}
.nav-links a:hover { color: var(--rose); }

.nav-menu { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-menu span { display: block; width: 24px; height: 1.5px; background: var(--charcoal); transition: .2s; }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--warm-white);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--charcoal);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-image-wrap {
  position: absolute;
  inset: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30,20,20,.28) 0%,
    rgba(30,20,20,.55) 60%,
    rgba(30,20,20,.7)  100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2rem;
  animation: fadeUp .9s ease both;
  animation-delay: .3s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: .85;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.hero-title em { font-style: italic; color: var(--rose-light); }
.hero-tagline {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  opacity: .9;
  margin-bottom: 2.5rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.7);
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ===== INTRO QUOTE ===== */
.intro {
  padding: 6rem 2rem;
  /* Bakgrund frilagd från Kronhjortens solnedgångshimmel, med ljus slöja för läsbarhet */
  background:
    linear-gradient(rgba(255,255,255,.30), rgba(255,255,255,.42)),
    url("RedigeradeNyaBilder/kronhjorten-bakgrund.jpg") center/cover no-repeat;
  text-align: center;
}
.intro blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-style: italic;
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
}
.intro cite {
  display: block;
  margin-top: 1.5rem;
  font-style: normal;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-eyebrow {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .75rem;
  font-weight: 500;
}
.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin: 1rem auto 0;
  font-size: .95rem;
}

/* ===== GALLERY ===== */
.gallery-section {
  padding: 6rem 0;
  background: var(--warm-white);
}

.filter-bar {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}
.filter-btn {
  padding: .5rem 1.4rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  transition: all .2s;
}
.filter-btn.active,
.filter-btn:hover {
  border-color: var(--rose);
  color: var(--rose);
  background: var(--rose-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.artwork-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44,44,44,.07);
  transition: transform .3s, box-shadow .3s;
}
.artwork-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.artwork-card:hover .card-image-wrap img { transform: scale(1.04); }

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,20,20,.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.artwork-card:hover .card-overlay { opacity: 1; }

.card-info {
  padding: 1.25rem 1.5rem 1.5rem;
}
.card-info h3 {
  font-size: 1.2rem;
  margin-bottom: .25rem;
}
.card-medium {
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.card-prices {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.price-tag {
  font-size: .82rem;
  font-weight: 500;
}
.original-price { color: var(--charcoal); }
.litho-price    { color: var(--rose); }

/* ===== HOW IT WORKS ===== */
.how-it-works {
  padding: 6rem 0;
  background: var(--off-white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.step {
  text-align: center;
  padding: 2rem;
}
.step-number {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  margin-bottom: .75rem;
  font-size: 1.15rem;
}
.step p {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.product-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
}
.product-type {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 2.5rem;
  border: 1.5px solid var(--border);
}
.product-type.highlight {
  border-color: var(--rose);
  background: linear-gradient(135deg, #fff 0%, var(--rose-light) 100%);
}
.product-type h3 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.product-type ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.product-type li {
  font-size: .88rem;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}
.product-type li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--rose);
  font-size: .6rem;
  top: .3rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 7rem 0;
  background: var(--warm-white);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-image-placeholder {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
.about-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text em { font-family: var(--font-serif); font-style: italic; color: var(--charcoal); }
.about-text .btn { margin-top: .5rem; }

/* ===== TRUST BAR ===== */
.trust {
  background: var(--charcoal);
  color: #fff;
  padding: 3.5rem 2rem;
}
.trust-items {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}
.trust-item svg { color: var(--rose-light); flex-shrink: 0; }
.trust-item p { font-size: .85rem; line-height: 1.5; }
.trust-item strong { display: block; font-size: .9rem; margin-bottom: .1rem; }

/* ===== CONTACT ===== */
.contact {
  padding: 6rem 2rem;
  background: var(--off-white);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 3rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-group label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .85rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-sans);
  font-size: .95rem;
  color: var(--charcoal);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--rose); }
.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  text-align: center;
  padding: 1.25rem;
  background: var(--rose-light);
  border-radius: var(--radius);
  color: var(--rose-dark);
  font-size: .9rem;
}
.form-success.show { display: block; }

/* ===== FOOTER ===== */
.footer {
  background: var(--charcoal);
  color: rgba(255,255,255,.85);
  padding: 4rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo-main {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: #fff;
  display: block;
  margin-bottom: .2rem;
}
.footer-brand .logo-sub {
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rose-light);
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: .85rem; color: rgba(255,255,255,.5); line-height: 1.6; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.footer-links a:hover { color: var(--rose-light); }

.footer-social p {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: .75rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  transition: color .2s;
}
.social-link:hover { color: var(--rose-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 1.25rem 2rem;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.5); }

/* ===== MODAL (ARTWORK) ===== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(30,20,20,.65);
  z-index: 200;
  backdrop-filter: blur(4px);
}
.modal-backdrop.open { display: block; }

.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  z-index: 201;
  background: #fff;
  border-radius: 12px;
  width: min(960px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transition: opacity .25s, transform .25s;
}
.modal.open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 10;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
  transition: background .2s;
}
.modal-close:hover { background: #fff; }

.modal-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 500px;
}
.modal-image-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 12px 0 0 12px;
}
.modal-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-details {
  padding: 3rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
}
.modal-eyebrow {
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: .5rem;
}
.modal-details h2 {
  font-size: 2rem;
  margin-bottom: .5rem;
}
.modal-medium {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.modal-desc {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex: 1;
}

/* OPTION TABS */
.option-tab-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.option-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: .75rem 1rem;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #fff;
  transition: all .2s;
  border-right: 1.5px solid var(--border);
}
.option-tab:last-child { border-right: none; }
.option-tab.active { background: var(--charcoal); color: #fff; }
.tab-price {
  font-size: .75rem;
  font-weight: 400;
  margin-top: .2rem;
  text-transform: none;
  letter-spacing: 0;
}
.option-tab.active .tab-price { color: var(--rose-light); }

.option-panel { display: flex; flex-direction: column; gap: 1rem; }
.option-panel.hidden { display: none; }
.option-desc {
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.availability {
  font-size: .82rem;
  color: var(--green);
  font-weight: 500;
}
.litho-remaining {
  font-size: .8rem;
  color: var(--rose);
}

/* ===== ORDER MODAL ===== */
.order-modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 301;
  background: #fff;
  border-radius: 12px;
  width: min(540px, 95vw);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
}
.order-modal.open { display: block; }
#orderBackdrop { z-index: 300; }

.order-icon {
  font-size: 2rem;
  color: var(--rose);
  text-align: center;
  margin-bottom: 1rem;
}
.order-modal h2 {
  text-align: center;
  font-size: 1.6rem;
  margin-bottom: .5rem;
}
.order-modal > p, #orderDesc {
  text-align: center;
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 2rem;
}
#orderForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.order-success {
  text-align: center;
  padding: 1rem 0;
}
.order-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: .75rem;
}
.order-success p {
  color: var(--text-muted);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.hidden { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-types { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-image { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-image-wrap { aspect-ratio: 16/9; border-radius: 12px 12px 0 0; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-menu  { display: flex; }
  .nav       { padding: 1rem 1.5rem; }
  .form-row  { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .trust-items  { gap: 2rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .modal-details { padding: 1.5rem; }
  .order-modal { padding: 2rem 1.5rem; }
  .hero-title { font-size: clamp(2.5rem, 14vw, 5rem); }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
