/* =====================================================
   METAPHYSICAL FURNITURE — Stylesheet
   Palette: Walnut / Oak / Linen / Stone / Cream
   ===================================================== */

:root {
  --walnut:    #714329;
  --oak:       #B08463;
  --rosewood:  #B9937B;
  --linen:     #D0B9A7;
  --stone:     #B5A192;
  --cream:     #F5EFE8;
  --white:     #FFFFFF;
  --dark:      #1C1007;
  --text:      #3D2B1A;
  --text-muted:#7A5C42;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', system-ui, sans-serif;

  --radius: 16px;
  --radius-sm: 8px;

  --shadow-sm: 0 2px 8px rgba(113,67,41,0.10);
  --shadow-md: 0 8px 32px rgba(113,67,41,0.14);
  --shadow-lg: 0 20px 60px rgba(113,67,41,0.18);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--ff-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn--primary {
  background: var(--walnut);
  color: var(--cream);
  border-color: var(--walnut);
}
.btn--primary:hover {
  background: transparent;
  color: var(--walnut);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =====================================================
   SHARED TYPOGRAPHY TOKENS
   ===================================================== */
.section-eyebrow {
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--oak);
  margin-bottom: 1rem;
}
.section-eyebrow.light { color: var(--linen); }

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.5rem;
}
.section-title.light { color: var(--cream); }
.section-title em { font-style: italic; color: var(--walnut); }

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: rgba(28, 16, 7, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav__logo-img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}
.nav__logo-img:hover { transform: scale(1.05); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav__links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--linen); }

.nav__cta {
  background: var(--walnut) !important;
  color: var(--cream) !important;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--oak) !important; }

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("images/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  width: 90%;
  max-width: 900px;
  margin-top: -170px;
}

.hero-small {
  letter-spacing: 8px;
  color: #D8B26E;
  margin-bottom: 20px;
  font-size: 14px;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.375rem, 7vw, 5.625rem);
  line-height: 1;
  margin-bottom: 20px;
  color: #E1306C;
  text-shadow: 0 4px 20px rgba(0,0,0,0.45), 0 0 30px rgba(255,255,255,0.08);
  animation: fadeUp 1.5s ease;
}
.hero-title span {
  display: block;
  color: #FCAF45;
}

.hero-tagline {
  font-size: clamp(1.05rem, 2.6vw, 1.875rem);
  font-weight: 500;
  color: #ffffff;
  margin-top: 15px;
  margin-bottom: 25px;
  letter-spacing: 1px;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
  animation: fadeUp 2s ease;
}

.hero-quote {
  font-size: clamp(0.9rem, 2vw, 1.375rem);
  font-style: italic;
  color: rgba(255,255,255,0.95);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
  animation: fadeUp 2.5s ease;
  transition: opacity 0.5s ease;
}

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

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  background: var(--cream);
  padding: 7rem 2rem;
}
.about__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.about__body {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}
.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  border: 1px solid rgba(176,132,99,0.15);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.feature-icon {
  font-size: 1.8rem;
  color: var(--walnut);
  margin-bottom: 1rem;
  line-height: 1;
}
.feature-card h3 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  background: linear-gradient(135deg, var(--dark) 0%, #2a1508 50%, var(--walnut) 100%);
  padding: 7rem 2rem;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '✦';
  position: absolute;
  top: -2rem;
  right: 5%;
  font-size: 18rem;
  color: rgba(176, 132, 99, 0.05);
  pointer-events: none;
  line-height: 1;
  font-family: serif;
}
.contact__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.contact__tagline {
  color: rgba(208, 185, 167, 0.75);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.contact__info-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--linen);
  font-size: 0.95rem;
}
.contact__info-icon { color: var(--oak); font-size: 0.8rem; }

/* Contact card */
.contact__card {
  background: var(--cream);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.contact__card-title {
  font-family: var(--ff-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.contact__card-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Contact action buttons */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.contact-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--transition);
}
.contact-btn:hover::before { opacity: 1; }
.contact-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.contact-btn--call {
  background: rgba(113, 67, 41, 0.08);
  border-color: rgba(113, 67, 41, 0.2);
}
.contact-btn--call::before { background: rgba(113, 67, 41, 0.06); }
.contact-btn--call .contact-btn__icon { color: var(--walnut); }
.contact-btn--call:hover { border-color: var(--walnut); }

.contact-btn--whatsapp {
  background: rgba(37, 211, 102, 0.07);
  border-color: rgba(37, 211, 102, 0.2);
}
.contact-btn--whatsapp::before { background: rgba(37, 211, 102, 0.05); }
.contact-btn--whatsapp .contact-btn__icon { color: #25D366; }
.contact-btn--whatsapp:hover { border-color: #25D366; }

.contact-btn--email {
  background: rgba(176, 132, 99, 0.08);
  border-color: rgba(176, 132, 99, 0.2);
}
.contact-btn--email::before { background: rgba(176, 132, 99, 0.06); }
.contact-btn--email .contact-btn__icon { color: var(--oak); }
.contact-btn--email:hover { border-color: var(--oak); }

.contact-btn__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-btn__icon svg { width: 22px; height: 22px; }

.contact-btn__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.contact-btn__label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.2;
}
.contact-btn__detail {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1;
}
.contact-btn__arrow {
  font-size: 1.1rem;
  color: var(--stone);
  transition: transform var(--transition);
  flex-shrink: 0;
}
.contact-btn:hover .contact-btn__arrow { transform: translateX(4px); }

.contact__card-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(176, 132, 99, 0.2);
}

/* Location card */
.location-card {
  margin-top: 25px;
  padding: 22px;
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(176,132,99,0.2);
  text-align: left;
  transition: 0.35s ease;
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}
.location-card h3 {
  font-family: 'Playfair Display', serif;
  color: #714329;
  margin-bottom: 15px;
  font-size: 24px;
}
.location-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 20px auto 0;
  padding: 12px 24px;
  background: #714329;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s ease;
}
.location-btn:hover {
  background: #B08463;
  transform: translateX(5px);
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--dark);
  padding: 2rem;
  border-top: 1px solid rgba(176,132,99,0.15);
}
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--ff-display);
  font-size: 1rem;
  color: var(--linen);
}
.footer__name { font-weight: 600; }
.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .about__inner { gap: 3rem; }
  .contact__inner { gap: 3rem; }
  .hero-content { margin-top: -80px; }
}

@media (max-width: 768px) {
  /* Nav */
  .nav { padding: 0 20px; }
  .nav__inner { height: 70px; }
  .nav__logo-img { height: 44px; }
  .nav__links { gap: 1.1rem; }
  .nav__links a { font-size: 0.72rem; letter-spacing: 0.03em; }
  .nav__cta { padding: 0.42rem 0.95rem; }

  /* Hero — swap to the portrait mobile image */
  .hero {
    background-image: url("images/hero2.jpeg");
    background-position: center center;
    height: 100svh;
  }
  .hero-content { width: 90%; margin-top: -40px; }
  .hero-small { font-size: 12px; letter-spacing: 5px; }
  .hero-title { letter-spacing: 2px; line-height: 1.1; }
  .hero-tagline { margin-bottom: 18px; }
  .hero-quote { line-height: 1.7; }

  /* About */
  .about { padding: 70px 20px; }
  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__features { grid-template-columns: 1fr; }

  /* Contact */
  .contact { padding: 70px 20px; }
  .contact::before { display: none; }
  .contact__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact__card { padding: 25px; }
  .contact-btn { padding: 16px; }
  .contact-btn__label { font-size: 15px; }
  .contact-btn__detail { font-size: 13px; }

  /* Location */
  .location-card { text-align: center; }
  .location-btn { display: flex; justify-content: center; width: 100%; }

  /* Footer */
  .footer__inner { flex-direction: column; text-align: center; gap: 15px; }
}

@media (max-width: 480px) {
  .btn { padding: 0.75rem 1.5rem; font-size: 0.85rem; }
  .nav__links { gap: 0.75rem; }
  .nav__links a { font-size: 0.68rem; }
  .nav__cta { padding: 0.4rem 0.8rem; }
  .hero { background-position: 65% center; }
  .hero-content { margin-top: 0; }
  .section-title { font-size: 34px; }
  .contact__card { padding: 20px; }
  .contact-btn { padding: 14px; }
  .location-card { padding: 18px; }
  .location-card h3 { font-size: 22px; }
  .location-btn { font-size: 14px; padding: 12px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
