/* -------------------------------------------------------
   Doorlux theme
   - Cream background, deep navy hero, gold CTA
   - Clean, geometric sans for headings; readable body font
   ------------------------------------------------------- */

/* Fonts (Google) */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap");

/* Design tokens */
:root{
  /* Brand */
  --color-cream: #e0d9d2;   /* page background */
  --color-navy:  #133b4a;   /* hero / primary */
  --color-ink:   #0c1524;   /* text on light */
  --color-slate: #44515a;   /* secondary text on dark */
  --color-gold:  #c59a3d;   /* call-to-action */
  --color-gold-600: #b68933;
  --color-gold-700: #9f7a2c;

  /* Neutrals */
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --shadow-1: 0 8px 24px rgba(16, 24, 40, 0.06);

  /* Type scale */
  --fs-hero: clamp(2.25rem, 2.2rem + 2.2vw, 4.25rem); /* ~36 → 68 */
  --fs-lead: clamp(1.125rem, 1.05rem + .6vw, 1.375rem); /* ~18 → 22 */
  --fs-body: 1rem;
  --fs-small: .9375rem;

  /* Radius */
  --radius-card: 14px;
  --radius-btn: 10px;

  /* Layout */
  --container: 1200px;
  --gap: 24px;
}

/* Base */
*,
*::before,
*::after{ box-sizing: border-box; }

html, body{
  height: 100%;
  color: var(--color-ink);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
  line-height: 1.55;
  font-size: var(--fs-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .display, .hero-title{
  font-family: Outfit, Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  letter-spacing: -0.01em;
  color: var(--color-white);
  margin: 0 0 12px;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }

/* Layout helpers */
.container{
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}

/* -------------------------------------------------------
   NAVIGATION (matches your Blade classes)
   ------------------------------------------------------- */

.site-nav{
  background: var(--color-cream);
  border-bottom: 1px solid rgba(12,21,36,0.08);
}
.site-nav .nav-inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.brand{ display:flex; align-items:center; gap: 10px; }
.brand-logo{ height: 55px; width: auto; }
.brand-text{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--color-ink);
  letter-spacing: .02em;
}

.nav-list{
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0 0 0 24px;
  padding: 0;
}
.nav-link{
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--color-ink);
  opacity: .9;
  transition: opacity .15s ease, color .15s ease;
}
.nav-link:hover{ opacity: 1; }
.nav-link.is-active{ color: var(--color-ink); opacity: 1; }

.nav-side{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid transparent;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform .02s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--color-gold);
  color: var(--color-ink);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover{ background: var(--color-gold-600); }
.btn-primary:active{ background: var(--color-gold-700); }

/* -------------------------------------------------------
   HERO
   ------------------------------------------------------- */

.hero{
  background: var(--color-navy);
  color: var(--color-white);
  padding: clamp(56px, 6vw, 100px) 0;
}
.hero .hero-inner{ max-width: 980px; margin-inline: auto; padding-inline: 16px; text-align: center; }
.hero .hero-title{
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.05;
}
.hero .hero-subtitle{
  font-size: var(--fs-lead);
  color: #e2e8f0;
  max-width: 860px;
  margin: 12px auto 28px;
}
.hero .hero-cta{ margin-top: 10px; }

/* Feature cards under hero */
.features{
  margin-top: clamp(24px, 3vw, 36px);
}
.features .grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 16px;
}
.feature-card{
  grid-column: span 12;
  background: #fbfaf8;
  border: 1px solid rgba(255,255,255,0.5);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-1);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-navy);
}
.feature-card .icon{
  width: 42px; height: 42px; display: inline-flex; align-items:center; justify-content:center;
  background: var(--color-cream);
  border-radius: 10px;
}
.feature-card h3{
  font-family: Outfit, Inter, system-ui, sans-serif;
  color: var(--color-navy);
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 4px;
}
.feature-card p{
  margin: 0;
  color: #1f2a35;
}

/* 3-up on md+ */
@media (min-width: 900px){
  .feature-card{ grid-column: span 4; }
}

/* -------------------------------------------------------
   GENERIC SECTIONS
   ------------------------------------------------------- */

.section{
  padding: clamp(48px, 6vw, 88px) 0;
}
.section .section-title{
  font-family: Outfit, Inter, system-ui, sans-serif;
  color: var(--color-ink);
  font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.section .section-subtitle{
  color: #374151;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 28px;
  font-size: 1.125rem;
}

/* -------------------------------------------------------
   FOOTER (works with your new footer partial)
   ------------------------------------------------------- */

footer .h-9{ height: 36px; }
footer .nav-socials a:hover{ opacity: .85; }

/* -------------------------------------------------------
   UTILITIES
   ------------------------------------------------------- */

.text-center{ text-align: center; }
.hidden{ display: none !important; }
.mt-24{ margin-top: 6rem; }
.mb-24{ margin-bottom: 6rem; }

/* =========================================================
   FOOTER — Doorlux
   (drop into doorlux.css)
   ========================================================= */

.site-footer{
  background: var(--color-cream);
  color: var(--color-ink);
  border-top: 1px solid rgba(12,21,36,0.08);
}

.site-footer .footer-inner{
  max-width: var(--container);
  margin-inline: auto;
  padding: 56px 16px 28px;
}

/* --- Top area: brand + columns --- */
.site-footer .footer-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.site-footer .footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.site-footer .footer-logo{
  height: 44px;
  width: auto;
  display: block;
}
.site-footer .footer-brand-text{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--color-ink);
}

/* Columns */
.site-footer .footer-columns{
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 28px;
}
@media (min-width: 900px){
  .site-footer .footer-top{
    grid-template-columns: 1.1fr 2.9fr; /* brand | columns */
    gap: 36px;
  }
  .site-footer .footer-columns{
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 32px;
  }
}

.site-footer .footer-col{}

.site-footer .footer-title{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 2px 0 12px;
}

.site-footer .footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer .footer-link{
  color: var(--color-ink);
  opacity: .85;
  text-decoration: none;
  font-size: .95rem;
  transition: opacity .15s ease, color .15s ease, text-decoration-color .15s ease;
}
.site-footer .footer-link:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* --- Newsletter --- */
.site-footer .footer-newsletter{
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(12,21,36,0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}
@media (min-width: 900px){
  .site-footer .footer-newsletter{
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
  }
}
.site-footer .footer-newsletter-title{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0;
}
.site-footer .footer-newsletter-subtitle{
  margin: 6px 0 0;
  color: #374151;
  font-size: .95rem;
}
.site-footer .footer-newsletter-form{
  display: flex;
  gap: 10px;
  align-items: center;
}
.site-footer .footer-input{
  flex: 1 1 260px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn);
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--color-ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.site-footer .footer-input:focus{
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(12,21,36,0.08);
}

/* --- Bottom strip --- */
.site-footer .footer-bottom{
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(12,21,36,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.site-footer .footer-copy{
  color: #44515a;
  font-size: .95rem;
  margin: 0;
}

/* Socials */
.site-footer .footer-socials{
  display: flex;
  align-items: center;
  gap: 14px;
}
.site-footer .footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color .15s ease, opacity .15s ease, transform .02s ease;
}
.site-footer .footer-social-link:hover{
  color: var(--color-ink);
  opacity: 1;
}
.site-footer .footer-social-icon{
  width: 24px;
  height: 24px;
}

/* Utilities */
.site-footer .sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* =========================================================
   FOOTER — Doorlux (v2, aligned with nav)
   ========================================================= */

.site-footer{
  background: var(--color-cream);
  color: var(--color-ink);
  border-top: 1px solid rgba(12,21,36,0.08);
}

.site-footer .footer-inner{
  max-width: var(--container, 1200px);
  margin-inline: auto;
  padding: 40px 16px 28px; /* tighter, like original */
}

/* Top: brand + columns */
.site-footer .footer-top{
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 28px;
}

@media (min-width: 1024px){
  .site-footer .footer-top{
    grid-template-columns: 240px 1fr; /* brand | columns */
    gap: 36px;
  }
}

.site-footer .footer-brand{
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}

.site-footer .footer-logo{
  height: 44px;
  width: auto;
  display: block;
}

.site-footer .footer-brand-text{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--color-ink);
}

/* Columns */
.site-footer .footer-columns{
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 24px;
}

@media (min-width: 768px){
  .site-footer .footer-columns{
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 28px;
  }
}

.site-footer .footer-col{}

/* Titles: small, uppercase to echo nav */
.site-footer .footer-title{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 2px 0 12px;
}

/* Links */
.site-footer .footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.site-footer .footer-link{
  color: var(--color-ink);
  opacity: .9;
  text-decoration: none;
  font-size: .95rem;
  transition: opacity .15s ease, color .15s ease, text-decoration-color .15s ease;
}

.site-footer .footer-link:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Newsletter (optional) */
.site-footer .footer-newsletter{
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(12,21,36,0.08);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

@media (min-width: 900px){
  .site-footer .footer-newsletter{
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
  }
}

.site-footer .footer-newsletter-title{
  font-family: Outfit, Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin: 0;
}

.site-footer .footer-newsletter-subtitle{
  margin: 6px 0 0;
  color: #374151;
  font-size: .95rem;
}

.site-footer .footer-newsletter-form{
  display: flex;
  gap: 10px;
  align-items: center;
}

.site-footer .footer-input{
  flex: 1 1 260px;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--color-border, #e5e7eb);
  border-radius: var(--radius-btn, 10px);
  padding: 12px 14px;
  font-size: .95rem;
  color: var(--color-ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.site-footer .footer-input:focus{
  border-color: var(--color-ink);
  box-shadow: 0 0 0 3px rgba(12,21,36,0.08);
}

/* Bottom strip */
.site-footer .footer-bottom{
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(12,21,36,0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}

.site-footer .footer-copy{
  color: #44515a;
  font-size: .95rem;
  margin: 0;
}

/* Socials */
.site-footer .footer-socials{
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-footer .footer-social-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color .15s ease, opacity .15s ease, transform .02s ease;
}

.site-footer .footer-social-link:hover{
  color: var(--color-ink);
  opacity: 1;
}

.site-footer .footer-social-icon{
  width: 24px;
  height: 24px;
}

/* Accessibility helper */
.site-footer .sr-only{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Base container spacing (pt-16 pb-8 sm:pt-24 lg:pt-32) */
.site-footer{
  color: #111827;
  border-top: 1px solid rgba(17,24,39,0.08);
}
.site-footer .footer-inner{
  max-width: 80rem; /* Tailwind max-w-7xl (1280px) */
  margin-inline: auto;
  padding-left: 1.5rem;  /* px-6 */
  padding-right: 1.5rem; /* px-6 */
  padding-top: 4rem;     /* pt-16 */
  padding-bottom: 2rem;  /* pb-8 */
}
@media (min-width: 640px){ /* sm */
  .site-footer .footer-inner{ padding-top: 6rem; } /* sm:pt-24 */
}
@media (min-width: 1024px){ /* lg */
  .site-footer .footer-inner{
    padding-left: 2rem;  /* lg:px-8 */
    padding-right: 2rem; /* lg:px-8 */
    padding-top: 8rem;   /* lg:pt-32 */
  }
}

/* Top grid (xl:grid-cols-3 gap-8) with brand + columns */
.site-footer .footer-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem; /* gap-8 */
}
@media (min-width: 1280px){ /* xl */
  .site-footer .footer-top{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Brand/logo left column */
.site-footer .footer-brand{
  display: flex;
  align-items: center;
  min-height: 2.25rem; /* h-9 */
}
.site-footer .footer-logo{
  height: 2.25rem; /* h-9 */
  width: auto;
  display: block;
}
.site-footer .footer-brand-text{
  font-weight: 600;
  color: #111827;
}

/* Right side columns (mt-16 grid grid-cols-2 gap-8 xl:col-span-2) */
.site-footer .footer-columns{
  margin-top: 4rem; /* mt-16 */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)); /* grid-cols-2 */
  gap: 2rem; /* gap-8 */
}
@media (min-width: 1280px){ /* xl */
  .site-footer .footer-columns{
    grid-column: span 2 / span 2; /* xl:col-span-2 */
    margin-top: 0; /* xl:mt-0 */
  }
}

/* Each column group (md:grid md:grid-cols-2 md:gap-8) */
.site-footer .footer-col{
  /* columns are placed directly; no special styles needed per col wrapper */
}
@media (min-width: 768px){ /* md */
  .site-footer .footer-columns{
    grid-template-columns: repeat(4, minmax(0, 1fr)); /* md two groups x2 → 4 cols */
    gap: 2rem; /* md:gap-8 */
  }
}

/* Headings (text-sm/6 font-semibold text-gray-900) */
.site-footer .footer-title{
  font-size: 0.875rem;   /* text-sm */
  line-height: 1.5rem;   /* /6 */
  font-weight: 600;      /* font-semibold */
  color: #111827;        /* text-gray-900 */
  margin: 0 0 1.5rem;    /* mt-6 below handled by list */
}

/* Lists (mt-6 space-y-4) & Links (text-sm/6 text-gray-600 hover:text-gray-900) */
.site-footer .footer-links{
  list-style: none;
  margin: 1.5rem 0 0; /* mt-6 */
  padding: 0;
}
.site-footer .footer-links li + li{ margin-top: 1rem; } /* space-y-4 */

.site-footer .footer-link{
  font-size: 0.875rem; /* text-sm */
  line-height: 1.5rem; /* /6 */
  color: #4b5563;      /* text-gray-600 */
  text-decoration: none;
  transition: color .15s ease;
}
.site-footer .footer-link:hover{
  color: #111827;      /* hover:text-gray-900 */
}

/* Newsletter block
   (mt-16 border-t pt-8 sm:mt-20 lg:mt-24 ... dark:border-white/10)
*/
.site-footer .footer-newsletter{
  margin-top: 4rem;                /* mt-16 */
  padding-top: 2rem;               /* pt-8 */
  border-top: 1px solid rgba(17,24,39,0.1); /* border-gray-900/10 */
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 640px){ /* sm */
  .site-footer .footer-newsletter{ margin-top: 5rem; } /* sm:mt-20 */
}
@media (min-width: 1024px){ /* lg */
  .site-footer .footer-newsletter{
    margin-top: 6rem;             /* lg:mt-24 */
    grid-template-columns: 1fr auto; /* lg:flex lg:justify-between equivalent */
  }
}

/* Newsletter text (text-sm/6 colors from original) */
.site-footer .footer-newsletter-title{
  font-size: 0.875rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}
.site-footer .footer-newsletter-subtitle{
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #4b5563;
}

/* Form (sm:flex sm:max-w-md) */
.site-footer .footer-newsletter-form{
  margin-top: 1.5rem; /* mt-6 */
  display: block;
  max-width: 28rem;   /* sm:max-w-md */
}
@media (min-width: 640px){ /* sm */
  .site-footer .footer-newsletter-form{
    display: flex; align-items: center;
    gap: 1rem;     /* sm:ml-4 wrapper spacing approximated */
    margin-top: 0; /* sm:mt-0 (when aligned to the right) */
  }
}

/* Input (Tailwind-like) */
.site-footer .footer-input{
  width: 100%;
  min-width: 0;
  border-radius: .375rem;
  background: #fff;
  border: 1px solid #d1d5db;     /* outline-gray-300 */
  padding: .375rem .75rem;        /* py-1.5 px-3 */
  font-size: 1rem;                /* text-base on mobile */
  color: #111827;
}
@media (min-width: 640px){
  .site-footer .footer-input{ font-size: .875rem; line-height: 1.5rem; } /* sm:text-sm/6 */
}

/* Button – use your global .btn .btn-primary; no extra here */

/* Bottom row (mt-8 border-t pt-8 md:flex md:items-center md:justify-between) */
.site-footer .footer-bottom{
  margin-top: 2rem;  /* mt-8 */
  padding-top: 2rem; /* pt-8 */
  border-top: 1px solid rgba(17,24,39,0.1);
  display: block;
}
@media (min-width: 768px){ /* md */
  .site-footer .footer-bottom{
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

/* Socials (flex gap-x-6 md:order-2) */
.site-footer .footer-socials{
  display: flex;
  gap: 1.5rem; /* gap-x-6 */
  order: 2;
}
.site-footer .footer-social-link{
  color: #4b5563;             /* text-gray-600 */
  transition: color .15s ease, opacity .15s ease;
}
.site-footer .footer-social-link:hover{
  color: #111827;             /* hover:text-gray-800/900 */
}
.site-footer .footer-social-icon{
  width: 24px; height: 24px;
}

/* Copyright (text-sm/6 text-gray-600 md:order-1 md:mt-0) */
.site-footer .footer-copy{
  margin-top: 2rem;     /* mt-8 on mobile */
  font-size: .875rem;   /* text-sm */
  line-height: 1.5rem;  /* /6 */
  color: #4b5563;       /* text-gray-600 */
  order: 1;
}
@media (min-width: 768px){
  .site-footer .footer-copy{ margin-top: 0; }
}
