/* ============================================================
   INDIGO DESIGN — Global Stylesheet
   IndigoDesignAZ.com
   Brand: Timeless. Functional. Beautifully Imagined.
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Lato:wght@300;400&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --creamy-silk:    #E2DAC5;
  --midnight-navy:  #373747;
  --olive-drab:     #7E6F48;
  --rich-mahogany:  #391F19;
  --burnt-umber:    #34373A;
  --charcoal-grey:  #191B1E;

  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Lato', 'Helvetica Neue', sans-serif;

  --max-width:      1280px;
  --section-pad:    5rem 2rem;
  --transition:     0.35s ease;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--creamy-silk);
  color: var(--burnt-umber);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--midnight-navy);
  line-height: 1.15;
}
h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.2rem; letter-spacing: 0.08em; }

p { font-size: 1rem; max-width: 680px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--olive-drab);
  display: block;
  margin-bottom: 0.75rem;
}

em, .italic { font-style: italic; }

/* ── Utility ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.text-center { text-align: center; }
.text-center p { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 1px solid currentColor;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.btn-dark {
  color: var(--midnight-navy);
  border-color: var(--midnight-navy);
}
.btn-dark:hover {
  background: var(--midnight-navy);
  color: var(--creamy-silk);
}
.btn-light {
  color: var(--creamy-silk);
  border-color: var(--creamy-silk);
}
.btn-light:hover {
  background: var(--creamy-silk);
  color: var(--midnight-navy);
}
.btn-olive {
  color: var(--olive-drab);
  border-color: var(--olive-drab);
}
.btn-olive:hover {
  background: var(--olive-drab);
  color: var(--creamy-silk);
}

/* ── Divider ── */
.divider {
  width: 48px;
  height: 1px;
  background: var(--olive-drab);
  margin: 1.5rem auto;
}
.divider-left {
  margin-left: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-nav.scrolled {
  background: var(--midnight-navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--creamy-silk);
  letter-spacing: 0.04em;
}
.nav-logo span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive-drab);
  margin-top: -2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--creamy-silk);
  transition: color var(--transition);
  opacity: 0.88;
}
.nav-links a:hover { opacity: 1; color: #fff; }
.nav-links .btn-nav {
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--creamy-silk);
  opacity: 1;
}
.nav-links .btn-nav:hover {
  background: var(--creamy-silk);
  color: var(--midnight-navy);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--creamy-silk);
  transition: var(--transition);
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--midnight-navy);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    text-align: center;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1rem; letter-spacing: 0.2em; }
  .nav-close {
    position: absolute;
    top: 1.5rem; right: 2rem;
    font-size: 1.5rem;
    color: var(--creamy-silk);
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 300;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}
.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(25, 27, 30, 0.72) 0%,
    rgba(25, 27, 30, 0.18) 55%,
    rgba(25, 27, 30, 0.08) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem 5rem;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.hero-content .eyebrow { color: var(--creamy-silk); opacity: 0.75; }
.hero-content h1 {
  color: #fff;
  font-style: italic;
  font-weight: 300;
  max-width: 720px;
  margin-bottom: 1.5rem;
}
.hero-content p {
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 2.2rem;
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
section { padding: var(--section-pad); }

/* ── Intro / About strip ── */
.intro-strip {
  background: var(--midnight-navy);
  padding: 4.5rem 2rem;
  text-align: center;
}
.intro-strip p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-style: italic;
  font-weight: 300;
  color: var(--creamy-silk);
  margin: 0 auto;
  max-width: 780px;
  line-height: 1.6;
}

/* ── Two-column text + image ── */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: var(--section-pad);
  max-width: var(--max-width);
  margin: 0 auto;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }
.split-section img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.split-text { max-width: 520px; }
.split-text h2 { margin-bottom: 1rem; }
.split-text p { margin-bottom: 1.5rem; color: var(--burnt-umber); }
.split-text .btn { margin-top: 0.5rem; }

/* ── Services tiles ── */
.services-section {
  background: #fff;
  padding: var(--section-pad);
  text-align: center;
}
.services-header { margin-bottom: 3.5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--max-width);
  margin: 0 auto 3rem;
}
.service-tile {
  position: relative;
  overflow: hidden;
  height: 420px;
  cursor: pointer;
}
.service-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.service-tile:hover img { transform: scale(1.04); }
.service-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(55,55,71,0.82) 0%, transparent 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  text-align: left;
}
.service-tile-overlay h3 {
  font-style: italic;
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}
.service-tile-overlay span {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226,218,197,0.85);
}

/* ── Portfolio grid ── */
.portfolio-section { padding: var(--section-pad); }
.portfolio-header {
  max-width: var(--max-width);
  margin: 0 auto 3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.portfolio-grid .featured {
  grid-column: span 2;
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  height: 360px;
  display: block;
}
.portfolio-grid .featured .portfolio-card { height: 480px; }
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-card:hover img { transform: scale(1.04); }
.portfolio-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(25,27,30,0.75) 0%, transparent 100%);
  transform: translateY(30%);
  transition: transform var(--transition);
}
.portfolio-card:hover .portfolio-card-info { transform: translateY(0); }
.portfolio-card-info h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: #fff;
  font-weight: 400;
}
.portfolio-card-info span {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(226,218,197,0.8);
}

/* ── Testimonial strip ── */
.testimonial-strip {
  background: var(--creamy-silk);
  border-top: 1px solid rgba(126,111,72,0.25);
  border-bottom: 1px solid rgba(126,111,72,0.25);
  padding: 5rem 2rem;
  text-align: center;
}
.testimonial-strip blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 300;
  color: var(--midnight-navy);
  max-width: 820px;
  margin: 0 auto 1.5rem;
  line-height: 1.55;
}
.testimonial-strip cite {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-drab);
  font-style: normal;
}

/* ── CTA Banner ── */
.cta-banner {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.cta-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(55, 55, 71, 0.62);
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}
.cta-banner-content .eyebrow { color: rgba(226,218,197,0.75); }
.cta-banner-content h2 {
  color: #fff;
  font-style: italic;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}
.cta-banner-content p {
  color: rgba(255,255,255,0.8);
  margin: 0 auto 2.2rem;
}

/* ── Blog preview ── */
.blog-section { padding: var(--section-pad); background: #fff; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: var(--max-width);
  margin: 2.5rem auto 0;
}
.blog-card a { display: block; }
.blog-card-image {
  height: 280px;
  overflow: hidden;
  margin-bottom: 1.4rem;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card-meta {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-drab);
  margin-bottom: 0.6rem;
}
.blog-card h3 {
  font-size: 1.55rem;
  font-style: italic;
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}
.blog-card:hover h3 { color: var(--olive-drab); }
.blog-card p { font-size: 0.9rem; color: var(--burnt-umber); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--charcoal-grey);
  color: rgba(226,218,197,0.75);
  padding: 4rem 2rem 2.5rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--creamy-silk);
  margin-bottom: 0.4rem;
}
.footer-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-drab);
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.8;
  max-width: 280px;
}
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--creamy-silk);
  margin-bottom: 1.2rem;
  font-weight: 400;
}
.footer-col ul li {
  margin-bottom: 0.6rem;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(226,218,197,0.65);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--creamy-silk); }
.footer-col address {
  font-style: normal;
  font-size: 0.85rem;
  line-height: 2;
  color: rgba(226,218,197,0.65);
}
.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(226,218,197,0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.72rem; color: rgba(226,218,197,0.4); max-width: none; }
.footer-social { display: flex; gap: 1.4rem; }
.footer-social a {
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(226,218,197,0.5);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--olive-drab); }

/* ============================================================
   PAGE HERO (interior pages)
   ============================================================ */
.page-hero {
  height: 340px;
  background: var(--midnight-navy);
  display: flex;
  align-items: flex-end;
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.22;
}
.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}
.page-hero-content h1 {
  color: var(--creamy-silk);
  font-style: italic;
  font-weight: 300;
}

/* ============================================================
   FORMS
   ============================================================ */
.form-section {
  padding: var(--section-pad);
  max-width: 780px;
  margin: 0 auto;
}
.form-section h2 { margin-bottom: 0.5rem; }
.form-section .divider { margin: 1.2rem 0 2rem; }
.form-group {
  margin-bottom: 1.6rem;
}
.form-group label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--midnight-navy);
  margin-bottom: 0.5rem;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: transparent;
  border: 1px solid rgba(55,55,71,0.3);
  color: var(--burnt-umber);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--olive-drab);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .split-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-section.reverse { direction: ltr; }
  .split-section img { height: 380px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: 3.5rem 1.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service-tile { height: 320px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-grid .featured { grid-column: span 1; }
  .portfolio-card, .portfolio-grid .featured .portfolio-card { height: 300px; }
  .blog-grid { grid-template-columns: 1fr; }
  .portfolio-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { height: 380px; }
}
