/* ============================================
   InstallMe Ltd — Main Stylesheet
   ============================================ */

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

:root {
  --cream:      #FAF7F2;
  --warm-white: #FFFDF9;
  --sand:       #EDE5D8;
  --clay:       #C8A97A;
  --rust:       #B85C2C;
  --deep:       #2C2217;
  --mid:        #6B5744;
  --light-mid:  #9E8472;
  --accent:     #D4763B;
  --radius:     12px;
  --shadow:     0 4px 24px rgba(44, 34, 23, 0.10);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--deep);
  font-size: 16px;
  line-height: 1.7;
}


/* ============================================
   NAVIGATION
   ============================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 6%;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 169, 122, 0.25);
  transition: box-shadow 0.3s;
  padding: 18px 6%;
}

/* Hide hamburger on desktop */
.menu-toggle {
  display: none;
}

/* Show only on mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
}

nav.scrolled {
  box-shadow: var(--shadow);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rust);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-logo .nav-name {
  color: var(--deep);
}

.nav-logo .nav-ltd {
  color: var(--light-mid);
  font-size: 0.85rem;
  font-weight: 400;
  font-family: 'Nunito', sans-serif;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--mid);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rust);
}

.nav-cta {
  background: var(--rust);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700 !important;
  transition: background 0.2s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
  transform: translateY(-1px);
}


/* LOGO STYLING */
.logo {
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  color: var(--deep);
}

.nav-name {
  color: var(--rust); /* your accent colour */
}

.nav-ltd {
  font-size: 0.7em;
  margin-left: 4px;
  color: var(--light-mid);
}



/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
  z-index: 1000;
}

.logo {
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  color: var(--deep);
}

.nav-name {
  color: var(--rust);
}

.nav-ltd {
  font-size: 0.7em;
  margin-left: 4px;
  color: var(--light-mid);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--deep);
  font-weight: 600;
}

.nav-cta {
  background: var(--rust);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--deep);
  cursor: pointer;
  padding: 6px 8px;
}

/* desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none !important;
  }

  .nav-links {
    display: flex !important;
    position: static;
    background: none;
    box-shadow: none;
  }
}

/* mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    right: 6%;
    width: 240px;
    background: #fff;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    gap: 14px;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }
}


/* ============================================
   SHARED SECTION STYLES
   ============================================ */
section {
  padding: 90px 6%;
}

.section-label {
  display: inline-block;
  background: rgba(184, 92, 44, 0.1);
  color: var(--rust);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--deep);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--light-mid);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 52px;
}

/* Image placeholders */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--sand) 0%, var(--clay) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--warm-white);
  font-size: 1rem;
}

.img-placeholder svg { opacity: 0.6; }

.img-placeholder p {
  opacity: 0.7;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
}

/* Buttons */
.btn-primary {
  background: var(--rust);
  color: #fff;
  padding: 14px 30px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(184, 92, 44, 0.3);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(184, 92, 44, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--deep);
  padding: 14px 30px;
  border-radius: 50px;
  border: 2px solid var(--clay);
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--rust);
  color: var(--rust);
  background: rgba(184, 92, 44, 0.05);
}

.btn-white {
  background: #fff;
  color: var(--rust);
  padding: 15px 34px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}


/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--deep);
  color: var(--sand);
  padding: 60px 6% 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--clay);
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--light-mid);
  max-width: 260px;
  line-height: 1.7;
}

footer h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--cream);
  margin-bottom: 14px;
}

footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

footer ul a {
  text-decoration: none;
  color: var(--light-mid);
  font-size: 0.88rem;
  transition: color 0.2s;
}

footer ul a:hover { color: var(--clay); }

.footer-bar {
  border-top: 1px solid rgba(200, 169, 122, 0.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--light-mid);
  flex-wrap: wrap;
  gap: 10px;
}


/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}


/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 820px) {
  nav { padding: 14px 5%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}
