/* =============================================
   UniqDzyns — Main Stylesheet
   uniqdzyns.com
   ============================================= */

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

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

body {
  font-family: 'Jost', sans-serif;
  color: #3a3a3a;
  background: #faf9f7;
  scroll-behavior: smooth;
}

img { display: block; max-width: 100%; }

a { transition: color 0.2s, background 0.2s; }

/* --- CSS Variables --- */
:root {
  --purple: #5c4a7a;
  --purple-light: #7a6499;
  --green: #7aaa4a;
  --peach: #d4956a;
  --gold: #b8956a;
  --text-dark: #3a3a3a;
  --text-mid: #6b6460;
  --text-light: #9a9490;
  --border: #e8e4df;
  --bg-main: #faf9f7;
  --bg-lavender: #f5f0f8;
  --bg-sage: #f0f5ee;
  --white: #ffffff;
}

/* =============================================
   NAVIGATION
   ============================================= */
.ud-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 3rem;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.ud-nav-logo img {
  height: 52px;
  width: auto;
}

.ud-nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.ud-nav-links a {
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
}

.ud-nav-links a:hover { color: var(--purple); }

.ud-nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-size: 0.75rem !important;
  letter-spacing: 0.14em !important;
}

.ud-nav-cta:hover {
  background: var(--purple-light) !important;
  color: var(--white) !important;
}

/* =============================================
   HERO
   ============================================= */
.ud-hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.ud-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/brochureBG.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.85;
}

.ud-hero-content {
  position: relative;
  z-index: 2;
}

.ud-hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.8rem;
  font-weight: 400;
}

.ud-hero-wow {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 13vw, 10rem);
  font-weight: 300;
  line-height: 0.88;
  color: var(--purple);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
  text-shadow: 0 2px 20px rgba(255, 255, 255, 0.85);
}

.ud-hero-wow em {
  font-style: italic;
  color: var(--green);
}

.ud-hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: #7a6890;
  margin-bottom: 2.8rem;
  letter-spacing: 0.06em;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
}

.ud-hero-quote {
  max-width: 500px;
  margin: 0 auto 3rem;
  padding: 1.4rem 1.8rem;
  border-left: 2px solid #c4a87a;
  text-align: left;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 0 8px 8px 0;
}

.ud-hero-quote p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: #5a5055;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.ud-hero-quote cite {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.ud-hero-cta {
  display: inline-block;
  background: var(--purple);
  color: var(--white);
  text-decoration: none;
  padding: 1rem 3rem;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-radius: 2px;
  font-weight: 400;
  box-shadow: 0 4px 20px rgba(92, 74, 122, 0.25);
  transition: background 0.25s, transform 0.2s;
}

.ud-hero-cta:hover {
  background: var(--purple-light);
  transform: translateY(-2px);
}

/* =============================================
   PHILOSOPHY STRIP
   ============================================= */
.ud-philosophy {
  background: var(--white);
  padding: 4.5rem 3rem;
  text-align: center;
  border-top: 0.5px solid #ede8e2;
  border-bottom: 0.5px solid #ede8e2;
}

.ud-philosophy p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 300;
  font-style: italic;
  color: var(--purple);
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.85;
}

.ud-philosophy strong {
  font-weight: 600;
  font-style: normal;
  color: var(--green);
}

/* =============================================
   SHARED UTILITIES
   ============================================= */
.ud-section-label {
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
}

.ud-divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--purple), var(--green));
  margin: 0 auto 3rem;
}

/* =============================================
   SERVICES
   ============================================= */
.ud-services {
  padding: 5rem 3rem;
  background: var(--bg-main);
}

.ud-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.ud-service-card {
  background: var(--white);
  border: 0.5px solid var(--border);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ud-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(92, 74, 122, 0.08);
}

.ud-service-bar {
  width: 40px;
  height: 3px;
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.ud-service-card h3 {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-weight: 500;
}

.ud-service-card p {
  font-size: 0.88rem;
  color: #7a7470;
  line-height: 1.7;
}

.ud-service-list {
  margin-top: 1rem;
  list-style: none;
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 2.1;
}

/* =============================================
   PORTFOLIO
   ============================================= */
.ud-portfolio {
  padding: 5rem 3rem;
  background: var(--bg-lavender);
}

.ud-portfolio-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.ud-portfolio-intro h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.ud-portfolio-intro p {
  font-size: 0.88rem;
  color: #7a7470;
  line-height: 1.7;
}

.ud-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}

.ud-pi {
  border-radius: 6px;
  background: var(--white);
  border: 0.5px solid #ddd8e8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 160px;
  transition: transform 0.2s;
  overflow: hidden;
}

.ud-pi:hover { transform: scale(1.02); }
.ud-pi.tall { grid-row: span 2; min-height: 340px; }

.ud-pi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.ud-pi-tag {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.ud-pi-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--purple);
  line-height: 1.4;
}

.ud-swatch {
  display: flex;
  gap: 5px;
  margin-bottom: 0.8rem;
}

.ud-swatch span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.ud-portfolio-cta { text-align: center; }

.ud-portfolio-cta a {
  display: inline-block;
  border: 1px solid var(--purple);
  color: var(--purple);
  text-decoration: none;
  padding: 0.85rem 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.ud-portfolio-cta a:hover {
  background: var(--purple);
  color: var(--white);
}

/* =============================================
   ABOUT
   ============================================= */
.ud-about-wrap {
  background: var(--white);
  padding: 5rem 3rem;
}

.ud-about {
  display: flex;
  gap: 4rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.ud-about-photo {
  width: 220px;
  min-width: 220px;
  height: 270px;
  border-radius: 4px;
  overflow: hidden;
  border: 0.5px solid #ddd8e8;
  flex-shrink: 0;
  position: relative;
}

.ud-about-photo::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple), var(--green), var(--peach));
}

.ud-about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ud-about-text h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--purple);
  margin-bottom: 1rem;
}

.ud-about-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.ud-about-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gold);
}

/* =============================================
   CONTACT
   ============================================= */
.ud-contact {
  background: linear-gradient(135deg, var(--bg-lavender), var(--bg-sage));
  padding: 5rem 3rem;
  text-align: center;
}

.ud-contact h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.ud-contact > p {
  font-size: 0.88rem;
  color: #7a7470;
  margin-bottom: 3rem;
}

.ud-form {
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.ud-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ud-form-group { margin-bottom: 1rem; }

.ud-form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8a7870;
  margin-bottom: 0.4rem;
}

.ud-form-group input,
.ud-form-group select,
.ud-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 0.5px solid #ccc8c2;
  border-radius: 4px;
  background: var(--white);
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}

.ud-form-group input:focus,
.ud-form-group select:focus,
.ud-form-group textarea:focus {
  border-color: var(--purple);
}

.ud-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.ud-form-submit {
  width: 100%;
  background: var(--purple);
  color: var(--white);
  border: none;
  padding: 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 0.5rem;
}

.ud-form-submit:hover { background: var(--purple-light); }

.ud-email-alt {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-light);
  text-align: center;
}

.ud-email-alt a {
  color: var(--green);
  text-decoration: none;
}

.ud-email-alt a:hover { text-decoration: underline; }

/* =============================================
   FOOTER
   ============================================= */
.ud-footer {
  background: #3a3040;
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.ud-footer-logo {
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #c8b8d8;
}

.ud-footer-logo span { color: #a8cc78; }

.ud-footer-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: #a898b8;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.ud-footer-copy {
  font-size: 0.72rem;
  color: #665a76;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  .ud-nav { padding: 0.8rem 1.5rem; }
  .ud-nav-links { gap: 1.2rem; }
  .ud-nav-links li:not(:last-child) { display: none; }

  .ud-hero { padding: 4rem 1.5rem 3rem; }

  .ud-philosophy,
  .ud-services,
  .ud-portfolio,
  .ud-about-wrap,
  .ud-contact { padding: 3.5rem 1.5rem; }

  .ud-services-grid { grid-template-columns: 1fr; }
  .ud-portfolio-grid { grid-template-columns: 1fr 1fr; }
  .ud-pi.tall { grid-row: span 1; }

  .ud-about { flex-direction: column; gap: 2rem; }
  .ud-about-photo { width: 100%; min-width: unset; height: 280px; }

  .ud-form-row { grid-template-columns: 1fr; }

  .ud-footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
}
