/* ========================================
   LOML Interiors — Stylesheet
   Neutral Color Palette
   ======================================== */

:root {
  /* Neutral palette */
  --warm-white:   #F5F0EB;
  --cream:        #EDE8E0;
  --sand:         #D5CEC4;
  --taupe:        #B8AD99;
  --stone:        #A89F8E;
  --clay:         #8A7E6B;
  --charcoal:     #3D3830;
  --espresso:     #2A2520;

  /* Accent */
  --accent:       #9C8B6E;
  --accent-hover: #877659;

  /* Fonts */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
}

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

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

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

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

/* ---- Typography ---- */
.section__label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--espresso);
  margin-bottom: 40px;
}

.section {
  padding: var(--section-pad) 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--charcoal);
  color: var(--warm-white);
}
.btn--primary:hover {
  background: var(--espresso);
}

.btn--outline {
  background: transparent;
  color: var(--charcoal);
  border: 1px solid var(--charcoal);
}
.btn--outline:hover {
  background: var(--charcoal);
  color: var(--warm-white);
}

.btn--large {
  padding: 18px 48px;
  font-size: 0.9rem;
}

.btn--full {
  width: 100%;
  text-align: center;
}

/* ======== NAVIGATION ======== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.05);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--espresso);
  display: flex;
  align-items: center;
  gap: 2px;
  position: relative;
}

.logo__letter {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}

.logo__amp {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.3rem;
  color: var(--accent);
  margin: 0 1px;
  position: relative;
  top: -1px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--charcoal);
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--accent);
}

.nav__cta {
  padding: 10px 24px;
  border: 1px solid var(--charcoal);
  border-radius: 2px;
  transition: all 0.3s ease !important;
}

.nav__cta:hover {
  background: var(--charcoal);
  color: var(--warm-white) !important;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ======== HERO ======== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(160deg, var(--warm-white) 0%, var(--cream) 50%, var(--sand) 100%);
}

.hero__content {
  max-width: 720px;
  padding: 0 24px;
}

.hero__tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--espresso);
  margin-bottom: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--clay);
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--clay);
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.hero__scroll span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: var(--stone);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ======== ABOUT ======== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-placeholder {
  border-radius: 4px;
  overflow: hidden;
}

.about__image-placeholder svg {
  width: 100%;
  height: auto;
}

.about__text p {
  margin-bottom: 20px;
  color: var(--clay);
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--sand);
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--espresso);
}

.stat__label {
  font-size: 0.78rem;
  color: var(--stone);
  letter-spacing: 0.05em;
}

/* ======== SERVICES ======== */
.services {
  background: var(--cream);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--warm-white);
  padding: 40px 32px;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.service-card__icon {
  color: var(--clay);
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--espresso);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1.7;
}

/* ======== PORTFOLIO ======== */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio__item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}

.portfolio__item--large {
  grid-column: span 2;
}

.portfolio__image {
  width: 100%;
  padding-bottom: 75%;
  position: relative;
}

.portfolio__item--large .portfolio__image {
  padding-bottom: 50%;
}

.portfolio__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  background: linear-gradient(to top, rgba(42,37,32,0.7), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio__item:hover .portfolio__overlay {
  opacity: 1;
}

.portfolio__overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--warm-white);
  margin-bottom: 4px;
}

.portfolio__overlay p {
  font-size: 0.82rem;
  color: var(--sand);
  letter-spacing: 0.03em;
}

/* ======== PROCESS ======== */
.process {
  background: var(--cream);
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.process__number {
  display: block;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 400;
  color: var(--sand);
  margin-bottom: 16px;
}

.process__step h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 12px;
}

.process__step p {
  font-size: 0.88rem;
  color: var(--stone);
  line-height: 1.7;
}

/* ======== TESTIMONIALS ======== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial {
  background: var(--cream);
  padding: 40px;
  border-radius: 4px;
}

.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial__name {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--espresso);
}

.testimonial__location {
  font-size: 0.78rem;
  color: var(--stone);
}

/* ======== CTA ======== */
.cta {
  background: var(--espresso);
}

.cta__inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta__inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  color: var(--warm-white);
  margin-bottom: 16px;
}

.cta__inner p {
  color: var(--stone);
  margin-bottom: 32px;
}

.cta .btn--primary {
  background: var(--warm-white);
  color: var(--espresso);
}
.cta .btn--primary:hover {
  background: var(--sand);
}

/* ======== CONTACT ======== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact__info p {
  color: var(--clay);
  margin-bottom: 32px;
}

.contact__details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact__detail strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 6px;
}

.contact__detail p {
  font-size: 0.9rem;
  color: var(--clay);
  margin-bottom: 0;
  line-height: 1.6;
}

.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__group--full {
  grid-column: span 2;
}

.form__group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--sand);
  border-radius: 2px;
  background: var(--warm-white);
  color: var(--charcoal);
  transition: border-color 0.2s;
  appearance: none;
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-color: var(--clay);
}

.form__group select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238A7E6B' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.contact__form .btn {
  grid-column: span 2;
}

/* ======== FOOTER ======== */
.footer {
  background: var(--espresso);
  padding: 60px 0 32px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--warm-white);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-bottom: 8px;
}

.footer__logo .logo__letter {
  font-size: 1.5rem;
  color: var(--warm-white);
}

.footer__logo .logo__amp {
  font-size: 1.1rem;
  color: var(--sand);
}

.footer__brand p {
  font-size: 0.82rem;
  color: var(--stone);
}

.footer__links {
  display: flex;
  gap: 60px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.footer__col a {
  display: block;
  font-size: 0.85rem;
  color: var(--sand);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--warm-white);
}

.footer__bottom {
  padding-top: 24px;
}

.footer__bottom p {
  font-size: 0.78rem;
  color: var(--stone);
}

/* ======== ANIMATIONS ======== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid  { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--warm-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right 0.35s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav__links.open { right: 0; }

  .nav__cta {
    margin-top: 16px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .services__grid { grid-template-columns: 1fr; }

  .portfolio__grid {
    grid-template-columns: 1fr;
  }

  .portfolio__item--large {
    grid-column: span 1;
  }

  .portfolio__overlay {
    opacity: 1;
  }

  .process__grid { grid-template-columns: 1fr; }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact__form {
    grid-template-columns: 1fr;
  }

  .form__group--full,
  .contact__form .btn {
    grid-column: span 1;
  }

  .footer__inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer__links {
    flex-wrap: wrap;
    gap: 32px;
  }
}
