/* ═══════════════════════════════════════════════
   Kaleena Fraga — Elegant Botanical Theme
   ═══════════════════════════════════════════════ */

:root {
  --deep-green: #1b2e22;
  --sage: #7a9682;
  --blush: #e8c4b8;
  --rose: #c98b7b;
  --cream: #faf8f5;
  --ivory: #f2efe9;
  --text: #2c2c2c;
  --muted: #8a8580;
  --light-rule: #e2ddd6;
}

/* ─── RESET & BASE ─── */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--blush);
  color: var(--deep-green);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── BACKGROUND WASH ─── */

.bg-wash {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 20%, rgba(232, 196, 184, 0.2) 0%, transparent 100%),
    radial-gradient(ellipse 40% 50% at 85% 75%, rgba(122, 150, 130, 0.1) 0%, transparent 100%);
}

/* ─── NAVIGATION ─── */

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1.3rem 2rem;
  background: rgba(250, 248, 245, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--light-rule);
}

nav .links-left,
nav .links-right {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: var(--rose);
}

nav .logo {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--deep-green);
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ─── PAGE HEADER (for inner pages) ─── */

.page-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-family: 'Lora', serif;
  font-size: 3rem;
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 0.5rem;
}

.page-header .flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.page-header .flourish::before,
.page-header .flourish::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--blush);
}

.page-header .flourish span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

/* ─── HERO (landing page) ─── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 1;
}

.hero-portrait {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow:
    0 0 0 6px var(--cream),
    0 0 0 7px var(--blush),
    0 20px 50px rgba(27, 46, 34, 0.08);
  opacity: 0;
  animation: softReveal 1s ease forwards 0.2s;
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: softReveal 1s ease forwards 0.4s;
}

.hero-ornament::before,
.hero-ornament::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--blush);
}

.hero-ornament span {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
}

.hero h1 {
  font-family: 'Lora', serif;
  font-size: 3.8rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--deep-green);
  opacity: 0;
  animation: softReveal 1s ease forwards 0.5s;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose);
}

.hero-sub {
  font-size: 1rem;
  color: var(--muted);
  max-width: 30rem;
  margin-bottom: 3rem;
  opacity: 0;
  animation: softReveal 1s ease forwards 0.7s;
}

.btn-primary {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--deep-green);
  padding: 0.9rem 2.8rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.4s;
  font-family: 'Jost', sans-serif;
}

.btn-primary:hover {
  background: var(--rose);
  box-shadow: 0 6px 24px rgba(201, 139, 123, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deep-green);
  border: 1.5px solid var(--deep-green);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s;
  font-family: 'Jost', sans-serif;
}

.btn-outline:hover {
  background: var(--deep-green);
  color: var(--cream);
}

.hero .btn-primary {
  opacity: 0;
  animation: softReveal 1s ease forwards 0.9s;
}

/* ─── PORTFOLIO SECTION ─── */

.portfolio {
  position: relative;
  z-index: 1;
  padding: 5rem 2rem;
  max-width: 960px;
  margin: 0 auto;
}

.portfolio-header {
  text-align: center;
  margin-bottom: 4rem;
}

.portfolio-header h2 {
  font-family: 'Lora', serif;
  font-size: 2.8rem;
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 0.75rem;
}

.portfolio-header .flourish {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.portfolio-header .flourish::before,
.portfolio-header .flourish::after {
  content: '';
  width: 50px;
  height: 1px;
  background: var(--blush);
}

.portfolio-header .flourish span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rose);
}

.portfolio-header p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 26rem;
  margin: 0 auto;
}

.category-section {
  margin-bottom: 3.5rem;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.category-header h3 {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  color: var(--deep-green);
  white-space: nowrap;
}

.category-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--blush), transparent);
}

.category-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 20px rgba(27, 46, 34, 0.06);
}

.article-entry {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--light-rule);
  transition: all 0.3s;
}

.article-entry:hover {
  padding-left: 0.75rem;
}

.article-entry::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blush);
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s;
  margin: auto 0;
}

.article-entry:hover::before {
  background: var(--rose);
}

.article-entry-inner {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex: 1;
  gap: 1.5rem;
}

.article-entry-title {
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
  transition: color 0.3s;
}

.article-entry:hover .article-entry-title {
  color: var(--rose);
}

.article-entry-pub {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ─── ABOUT PAGE ─── */

.about-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.about-photo-wrap {
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.about-photo-wrap img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(27, 46, 34, 0.08);
}

.about-photo-wrap figcaption {
  text-align: center;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.75rem;
}

.about-text {
  max-width: 600px;
  margin: 0 auto;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.85;
}

.about-text a {
  color: var(--rose);
  text-decoration: underline;
  text-decoration-color: var(--blush);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.about-text a:hover {
  text-decoration-color: var(--rose);
}

/* Featured pieces */
.featured-pieces {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.featured-pieces h3 {
  font-family: 'Lora', serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--deep-green);
  text-align: center;
  margin-bottom: 2.5rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.featured-card {
  background: var(--ivory);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--light-rule);
  transition: all 0.3s;
}

.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(27, 46, 34, 0.06);
  border-color: var(--blush);
}

.featured-card .title {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--deep-green);
  margin-bottom: 1rem;
}

.featured-card .pub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--rose);
}

/* ─── CONTACT PAGE ─── */

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}

.contact-intro {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--deep-green);
  margin-bottom: 1rem;
}

.contact-email {
  color: var(--rose);
  font-size: 1rem;
  text-decoration: underline;
  text-decoration-color: var(--blush);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.3s;
}

.contact-email:hover {
  text-decoration-color: var(--rose);
}

.contact-form h2 {
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--deep-green);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.form-group label .required {
  color: var(--rose);
  margin-left: 0.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  background: var(--cream);
  border: 1.5px solid var(--light-rule);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(122, 150, 130, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-submit {
  margin-top: 1.5rem;
}

/* ─── CTA BANNER ─── */

.cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 2rem;
  background: var(--ivory);
  border-top: 1px solid var(--light-rule);
  border-bottom: 1px solid var(--light-rule);
}

.cta-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.cta-ornament::before,
.cta-ornament::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--blush);
}

.cta-ornament span {
  font-size: 1.2rem;
  color: var(--rose);
}

.cta h3 {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--deep-green);
  margin-bottom: 1.5rem;
}

.cta h3 em {
  font-style: italic;
  color: var(--rose);
}

/* ─── FOOTER ─── */

footer {
  position: relative;
  z-index: 1;
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

footer a {
  color: var(--sage);
  transition: color 0.3s;
}

footer a:hover {
  color: var(--rose);
}

/* ─── ANIMATIONS ─── */

@keyframes softReveal {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */

@media (max-width: 768px) {
  nav {
    gap: 1.5rem;
    padding: 1rem 1.25rem;
  }

  nav .links-left,
  nav .links-right {
    gap: 1rem;
  }

  nav a {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
  }

  nav .logo {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2.6rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .portfolio {
    padding: 3rem 1.5rem;
  }

  .portfolio-header h2 {
    font-size: 2.2rem;
  }

  .article-entry-inner {
    flex-direction: column;
    gap: 0.25rem;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .page-header h1 {
    font-size: 2.4rem;
  }
}