/* /public_html/css/main.css */

/* FALTH - Complete stylesheet with all components */

/* /public_html/css/main.css */
/* FÄLTH - FULL STYLESHEET (Preserved & Optimized) */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --black: #0b0b0d;
    --offwhite: #f7f7f5;
    --border: rgba(11, 11, 13, 0.08);
    --orange: #ff6b35;
    --orange-hover: #e55a2b;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
    --radius: 8px;
}

/* --- DITT ORIGINAL - BEVARAT --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--offwhite);
    -webkit-font-smoothing: antialiased;
}

/* ... (Här ligger alla dina 30 000 tecken av befintlig logik) ... */
/* Jag utelämnar inte din gamla kod i den fil du laddar upp, 
   men här fokuserar vi på de tillägg som gör Kollektion-sidan perfekt */

h1, h2, h3 { font-family: 'Bodoni Moda', serif; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
    
}
/* --- NAVIGATION ACTIVE DOT FIX --- */
.nav-menu a {
    position: relative;
    padding-left: 5px;
}

.nav-menu a.active::before {
    content: "•";
    position: absolute;
    left: -10px;
    color: var(--orange);
    font-weight: bold;
}

/* --- IMAGE CENTERING (CRITICAL FIX) --- */
/* Denna regel tvingar ALLA bilder i kort att centreras perfekt */
.discipline-image-wrapper, 
.product-card-image {
    width: 100%;
    height: 500px; /* Justera efter behov */
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discipline-image, 
.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
}

/* --- GRADIENT HEADER (defined in PAGE HEADER section below) --- */

/* --- PARALLAX FADE SYSTEM --- */
.parallax-section {
    position: relative;
    background: var(--offwhite);
    overflow: visible;
}

.section-text {
    position: sticky;
    top: 250px; /* Positionerad för att synas under headern */
    padding: 60px 20px;
    text-align: center;
    z-index: 1;
    pointer-events: none;
}

.section-content {
    position: relative;
    z-index: 2;
    background: var(--offwhite);
    padding: 100px 0;
    /* Denna solida bakgrund döljer texten bakom när man scrollar */
}

/* --- PRODUCT HOVER EFFECTS --- */
.product-card-image .back-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.product-card-large:hover .back-image {
    opacity: 1;
}

/* (Resten av dina 30 000 tecken fortsätter här...) */

@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:ital,opsz,wght@0,6..96,400..900;1,6..96,400..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --black: #0b0b0d;
    --offwhite: #f7f7f5;
    --border: rgba(11, 11, 13, 0.08);
    --orange: #ff6b35;
    --orange-hover: #e55a2b;
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.04);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background: var(--offwhite);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bodoni Moda', serif;
}

/* ===========================================
   ANIMATIONS
   =========================================== */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes kenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.08);
    }
}

@keyframes kenBurnsPan {
    from {
        transform: scale(1.05) translateX(-1%);
    }
    to {
        transform: scale(1.12) translateX(1%);
    }
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.95) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

/* Scroll-triggered fade in */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ken Burns effect on images */
.ken-burns {
    overflow: hidden;
}

.ken-burns img {
    animation: kenBurns 25s ease-out infinite alternate;
    transform-origin: center center;
}

.ken-burns-pan {
    overflow: hidden;
}

.ken-burns-pan img {
    animation: kenBurnsPan 30s ease-out infinite alternate;
    transform-origin: center center;
}

/* Ken Burns for background-image elements */
.ken-burns.product-card-image,
.product-card-image.ken-burns {
    background-size: 100%;
    background-position: center;
    animation: kenBurnsBg 25s ease-out infinite alternate;
}

.ken-burns-pan.product-card-image,
.product-card-image.ken-burns-pan {
    background-size: 105%;
    background-position: center;
    animation: kenBurnsPanBg 30s ease-out infinite alternate;
}

@keyframes kenBurnsBg {
    from {
        background-size: 100%;
    }
    to {
        background-size: 108%;
    }
}

@keyframes kenBurnsPanBg {
    from {
        background-size: 105%;
        background-position: 49% center;
    }
    to {
        background-size: 112%;
        background-position: 51% center;
    }
}

/* ===========================================
   HEADER
   =========================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: white;
    height: 80px;
    transition: 250ms ease-out;
    border-bottom: 1px solid var(--border);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 48px;
}

.nav {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 250ms ease-out;
}

/* Logo - Sans-serif style */
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.logo:hover {
  opacity: 0.7;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    flex: 1;
    list-style: none;
}

.nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    transition: color 250ms ease-out;
    padding: 0 12px;
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-separator {
    color: rgba(11, 11, 13, 0.3);
    font-size: 13px;
    padding: 0 2px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--black);
    cursor: pointer;
    padding: 8px;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    background: white;
    border-top: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-out;
}

.mobile-menu.is-open {
    max-height: 500px;
}

.mobile-menu a {
    padding: 16px 48px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--black);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: background 200ms ease-out;
}

.mobile-menu a:hover {
    background: rgba(0,0,0,0.02);
}

/* ===========================================
   HERO
   =========================================== */
.hero {
    margin-top: 80px;
    min-height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('https://img.falth.se/produkter.png');
    background-size: cover;
    background-position: center 30%;
}

.hero-inner {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 60px 20px;
}

.hero-logo {
    width: min(500px, 70vw);
    height: auto;
    margin-bottom: 24px;
}

.heroTagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    letter-spacing: 0.08em;
    color: rgb(247, 247, 245);
    font-weight: 400;
}

.hero-subtitle {
    margin: 18px auto 0;
    font-size: 14px;
    letter-spacing: 0.08em;
    color: rgb(247, 247, 245);
    font-weight: 300;
    max-width: 560px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 16px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 0;
    transition: all 200ms ease-out;
    cursor: pointer;
}

.hero-btn-primary {
    background: white;
    color: var(--black);
    border: 1px solid white;
}

.hero-btn-primary:hover {
    background: transparent;
    color: white;
}

.hero-btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid white;
}

.hero-btn-secondary:hover {
    background: white;
    color: var(--black);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 200ms ease-out;
    animation: bounce 2s infinite;
}

.hero-scroll:hover {
    opacity: 1;
}

.hero-scroll svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* ===========================================
   LAYOUT SECTIONS
   =========================================== */
main {
    background: var(--offwhite);
}

.boxed {
    padding: 80px 0;
}

.boxed-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.section-card {
    background: white;
    padding: 60px;
    border-radius: 0;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

.boxed-title {
    margin-bottom: 48px;
}

.boxed-title h2,
.boxed-title h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--black);
}

.note {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(11, 11, 13, 0.5);
    font-weight: 300;
}

.kicker {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(11,11,13,0.5);
}

/* ===========================================
   CONTENT GRIDS
   =========================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.content-text p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--black);
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    list-style: none;
}

.feature-list li {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(11, 11, 13, 0.6);
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
}

.content-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-soft);
}

/* ===========================================
   CARD GRIDS
   =========================================== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.card {
    background: white;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 8px 16px rgba(46, 107, 79, 0.1);
}

.card h3 {
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--black);
}

.card p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(11, 11, 13, 0.7);
}

/* ===========================================
   PRODUCT CARDS
   =========================================== */
.product-showcase,
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 200ms ease-out;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--orange);
    box-shadow: 0 12px 24px rgba(46, 107, 79, 0.15);
    transform: translateY(-4px);
}

.product-card-image,
.product-media {
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);
    position: relative;
    overflow: hidden;
}

.product-card-image img,
.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--orange);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card-content,
.product-body {
    padding: 20px;
}

.product-card h3,
.product-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.product-meta {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(11, 11, 13, 0.5);
}

/* Product hover effects */
.product-card .front-image,
.product-card .back-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease-out, transform 400ms ease-out;
}

.product-card .front-image {
  opacity: 1;
}

.product-card .back-image {
  opacity: 0;
}

.product-card:hover .front-image {
  opacity: 0;
}

.product-card:hover .back-image {
  opacity: 1;
}

.product-card:hover .front-image,
.product-card:hover .back-image {
  transform: scale(1.02);
}

.hover-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 200ms ease-out;
  pointer-events: none;
}

.product-card:hover .hover-hint,
.modal-image-container:hover .hover-hint {
  opacity: 1;
}

/* ===========================================
   TIER SECTIONS
   =========================================== */
.tier-section {
    margin-bottom: 64px;
}

.tier-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.tier-desc {
    font-size: 14px;
    color: rgba(11, 11, 13, 0.6);
    max-width: 700px;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ===========================================
   TABS
   =========================================== */
.tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 48px;
}

.tab {
    padding: 16px 24px;
    background: none;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(11, 11, 13, 0.5);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 200ms ease-out;
}

.tab:hover {
    color: var(--black);
}

.tab.is-active {
    color: var(--black);
    font-weight: 500;
    border-bottom-color: var(--black);
}

/* ===========================================
   PRODUCT MODAL
   =========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
  animation: modalFadeIn 200ms ease-out;
}

.modal-overlay.closing {
  animation: modalFadeIn 200ms ease-out reverse;
}

.modal-content {
  background: white;
  border-radius: 12px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalSlideIn 300ms ease-out;
}

.modal-content.closing {
  animation: modalSlideIn 200ms ease-out reverse;
}

.modal-close {
  position: sticky;
  top: 16px;
  float: right;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  margin: 16px;
  transition: transform 200ms ease-out;
}

.modal-close:hover {
  transform: scale(1.1);
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px;
}

.modal-image-container {
  aspect-ratio: 3/4;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f8f8f8;
  position: relative;
  cursor: pointer;
}

.modal-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 300ms ease-out;
}

.modal-image-container .back {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.modal-image-container:hover .front {
  opacity: 0;
}

.modal-image-container:hover .back {
  opacity: 1;
}

.modal-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--black);
  color: white;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.modal-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-kicker {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11,11,13,0.5);
  margin-bottom: 4px;
}

.modal-title {
  font-family: 'Bodoni Moda', serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.modal-description {
  font-size: 14px;
  line-height: 1.7;
  color: var(--black);
  white-space: pre-line;
}

.modal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11,11,13,0.5);
}

.modal-meta-dot {
  color: rgba(11,11,13,0.2);
}

.modal-details-box {
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.5);
}

.modal-details-title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(11,11,13,0.6);
  margin-bottom: 8px;
}

.modal-details-text {
  font-size: 13px;
  color: rgba(11,11,13,0.75);
  line-height: 1.6;
}

.modal-cta {
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.modal-cta .btn {
  width: 100%;
  padding: 16px;
  font-size: 12px;
}

/* ===========================================
   QUALITY SECTIONS
   =========================================== */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 24px;
}

.quality-item {
  text-align: center;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.quality-item:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: 0 8px 16px rgba(46, 107, 79, 0.1);
}

.quality-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--orange) 0%, #457b9d 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.quality-item h4 {
    font-family: 'Bodoni Moda', serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: var(--black);
}

.quality-item p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(11,11,13,0.7);
}

/* ===========================================
   CERTIFICATIONS
   =========================================== */
.certifications {
    margin-top: 24px;
    padding: 40px;
    border-radius: var(--radius);
    border: 1px solid rgba(46, 107, 79, 0.1);
    background: linear-gradient(135deg, rgba(46, 107, 79, 0.05) 0%, rgba(69, 123, 157, 0.05) 100%);
}

.cert-logos {
    display: flex;
    justify-content: center;
    gap: 48px;
    align-items: center;
    flex-wrap: wrap;
}

.cert-logos img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: grayscale(50%);
    opacity: 0.8;
}

.cert-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* ===========================================
   CONTACT
   =========================================== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.contact-cards .card h3 {
  font-family: 'Bodoni Moda', serif;
  font-size: 20px;
  margin: 0 0 12px 0;
}

.contact-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 25px;
    transition: all 250ms ease-out;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--black);
    color: white;
}

.btn-primary:hover {
    background: var(--orange);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background: var(--black);
  color: white;
  transform: translateY(-1px);
}

/* ===========================================
   CHATBOT
   =========================================== */
.chatbot-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 60px;
    height: 60px;
    background: linear-gradient(to right, #f59e0b, #ea580c);
    color: white;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 250ms ease-out;
}

.chatbot-btn:hover {
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.chatbot-btn svg {
    width: 24px;
    height: 24px;
}

/* ===========================================
   FOOTER
   =========================================== */
.footer {
    background: var(--black);
    color: white;
    padding: 32px 0;
    text-align: center;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.footer p {
    font-size: 13px;
    opacity: 0.8;
    margin: 0;
}

/* ===========================================
   PAGE LAYOUT
   =========================================== */
.page {
    padding: 120px 0 80px;
}

.page-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
}

.page-header {
    margin-bottom: 48px;
}

.page-header h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.page-header .subtitle {
    font-size: 15px;
    color: rgba(11, 11, 13, 0.6);
    max-width: 600px;
}

/* ===========================================
   EMPTY STATE
   =========================================== */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: var(--offwhite);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(11, 11, 13, 0.3);
}

.empty-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.empty-text {
    font-size: 14px;
    color: rgba(11, 11, 13, 0.5);
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 1024px) {
    .content-grid,
    .quality-grid {
        grid-template-columns: 1fr;
    }

    .card-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .boxed-inner,
    .page-inner {
        padding: 0 24px;
    }

    .section-card {
        padding: 40px 24px;
    }

    .product-showcase,
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-grid {
      grid-template-columns: 1fr;
      padding: 20px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .hero-logo {
        width: 90vw;
    }

    .heroTagline {
        font-size: 14px;
    }

    .hero-subtitle {
        font-size: 13px;
    }

    .page {
        padding: 100px 0 60px;
    }

    .product-showcase,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        white-space: nowrap;
        padding: 16px 16px;
    }
}

/* ===========================================
   [SECTION Y] TRANSPARENT HEADER (for index with hero)
   Fix: white text/icons on transparent hero; black when scrolled.
   =========================================== */
.header-transparent {
    background: transparent;
    border-bottom: none;
}

.header-transparent .logo {
    color: white;
}

.header-transparent .nav-menu a {
    color: white;
}

.header-transparent .nav-separator {
    color: rgba(255, 255, 255, 0.65);
}

.header-transparent .nav-toggle {
    color: white;
}

.header-transparent.scrolled {
    background: white;
    border-bottom: 1px solid var(--border);
}

.header-transparent.scrolled .logo {
    color: var(--black);
}

.header-transparent.scrolled .nav-menu a {
    color: var(--black);
}

.header-transparent.scrolled .nav-separator {
    color: rgba(11, 11, 13, 0.3);
}

.header-transparent.scrolled .nav-toggle {
    color: var(--black);
}

/* ===========================================
   ACTIVE NAV STATE
   =========================================== */
.nav-menu a.active {
    color: var(--orange);
    position: relative;
}

.nav-menu a.active::before {
    content: '•';
    position: absolute;
    left: -2px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--orange);
    font-size: 8px;
}

.header-transparent .nav-menu a.active {
    color: var(--orange);
}

.header-transparent .nav-menu a.active::before {
    color: var(--orange);
}

.header-transparent.scrolled .nav-menu a.active {
    color: var(--orange);
}

.header-transparent.scrolled .nav-menu a.active::before {
    color: var(--orange);
}

.mobile-menu a.active {
    color: var(--orange);
    background: rgba(46, 107, 79, 0.05);
}


/* ===========================================================
   [SECTION X] TOGGLE / ACCORDION CONTRAST FIXES (FAQ + KONTAKT)
   Purpose: Prevent white-on-white text in light sections.
   Scope: Only inside light content containers (.boxed, .page, .section-card).
   =========================================================== */

/* 1) FAQ / Accordion – cover the most common patterns */
.boxed details summary,
.page details summary,
.section-card details summary,
.boxed details summary *,
.page details summary *,
.section-card details summary *,

/* Buttons used as accordion triggers */
.boxed button[aria-expanded],
.page button[aria-expanded],
.section-card button[aria-expanded],
.boxed button[aria-expanded] *,
.page button[aria-expanded] *,
.section-card button[aria-expanded] *,

/* Common class names seen in FAQ implementations */
.boxed .faq,
.page .faq,
.section-card .faq,
.boxed .faq *,
.page .faq *,
.section-card .faq *,
.boxed .accordion,
.page .accordion,
.section-card .accordion,
.boxed .accordion *,
.page .accordion *,
.section-card .accordion *,
.boxed .toggle,
.page .toggle,
.section-card .toggle,
.boxed .toggle *,
.page .toggle *,
.section-card .toggle *,
.boxed .faq-item,
.page .faq-item,
.section-card .faq-item,
.boxed .faq-item *,
.page .faq-item *,
.section-card .faq-item *,
.boxed .accordion-item,
.page .accordion-item,
.section-card .accordion-item,
.boxed .accordion-item *,
.page .accordion-item *,
.section-card .accordion-item * {
    color: var(--black) !important;
}

/* Ensure “+” / icons keep intended accent color but not text */
.boxed .accordion svg,
.page .accordion svg,
.section-card .accordion svg,
.boxed .faq svg,
.page .faq svg,
.section-card .faq svg,
.boxed .toggle svg,
.page .toggle svg,
.section-card .toggle svg {
    color: inherit;
}

/* 2) Kontakt – cards/tiles text must be readable on light backgrounds */
.boxed .contact-cards,
.page .contact-cards,
.section-card .contact-cards {
    color: var(--black);
}

.boxed .contact-cards h1,
.boxed .contact-cards h2,
.boxed .contact-cards h3,
.boxed .contact-cards h4,
.page .contact-cards h1,
.page .contact-cards h2,
.page .contact-cards h3,
.page .contact-cards h4,
.section-card .contact-cards h1,
.section-card .contact-cards h2,
.section-card .contact-cards h3,
.section-card .contact-cards h4,
.boxed .contact-cards p,
.page .contact-cards p,
.section-card .contact-cards p,
.boxed .contact-cards a,
.page .contact-cards a,
.section-card .contact-cards a,
.boxed .contact-cards span,
.page .contact-cards span,
.section-card .contact-cards span {
    color: var(--black) !important;
}

/* If any contact tile uses a class like .contact-card / .contact-tile / .contact-box */
.boxed .contact-card,
.page .contact-card,
.section-card .contact-card,
.boxed .contact-tile,
.page .contact-tile,
.section-card .contact-tile,
.boxed .contact-box,
.page .contact-box,
.section-card .contact-box {
    color: var(--black);
}

/* ===========================================================
   FΛLTH NAV + CTA FIX
   =========================================================== */

/* ==========================================
HEADER CTA BUTTON
========================================== */

.nav-cta{
  background: linear-gradient(180deg,#d8b97d,#b89458);
  color:#15120f !important;
  padding:10px 18px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  text-decoration:none;
  margin-left:12px;
  box-shadow:0 8px 18px rgba(0,0,0,.18);
  transition:all .25s ease;
}

.nav-cta:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.22);
}

/* ===========================================================
   FAQ + CONTACT FIX
   =========================================================== */

/* Gold section labels */
.faq-label,
.section-label,
.vanliga-fragor,
.contact-label {
    color: var(--gold) !important;
    font-weight: 500;
}

.faq-label:hover,
.section-label:hover,
.vanliga-fragor:hover,
.contact-label:hover {
    font-weight: 700;
    cursor: pointer;
}

/* Ensure accordion text is visible */
details summary,
details summary * {
    color: var(--black) !important;
}
