/* ==========================================
   THE ART OF KAIA — STYLE 1.3
   Signaturefarben · Startseite · Galerie · Tools · Footer
========================================== */

:root {
  --lunar-glow: #F3E9D8;
  --desert-ember: #D5B5B0;
  --mystic-moss: #DCC8E7;
  --obsidian-haze: #7A7089;
  --midnight-oracle: #8E6D7E;

  --ink: #2B2430;
  --soft-text: #6F6475;
  --white-soft: #FFF9F0;

  --max-width: 1320px;
  --radius: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(135deg, var(--lunar-glow), #fff7ef 55%, #f2e2e8);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(88%, var(--max-width));
  margin: 0 auto;
}

/* NAVIGATION */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 233, 216, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(142, 109, 126, 0.12);
}

nav,
.nav {
  min-height: 82px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  color: var(--midnight-oracle);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--obsidian-haze);
  text-decoration: none;
  font-size: 0.98rem;
}

.nav-links a:hover {
  color: var(--midnight-oracle);
}

/* TYPO */

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--midnight-oracle);
  font-weight: 500;
}

h1 {
  font-size: clamp(3.7rem, 7vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 1.55rem;
}

p {
  color: var(--soft-text);
  font-size: 1.08rem;
}

/* HERO */

.hero {
  min-height: calc(100vh - 82px);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
  padding: 70px 0 90px;
}

.hero-subtitle,
.kicker {
  color: var(--midnight-oracle);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-text p {
  max-width: 530px;
  margin: 28px 0 34px;
  font-size: 1.22rem;
}

.hero-image img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(43, 36, 48, 0.16);
}

/* BUTTONS */

.button-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.25s ease;
  font-size: 0.96rem;
}

.btn-primary {
  background: var(--ink);
  color: white;
}

.btn-primary:hover {
  background: var(--midnight-oracle);
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(122, 112, 137, 0.25);
  color: var(--obsidian-haze);
  background: rgba(255,255,255,0.45);
}

.btn-secondary:hover {
  background: var(--white-soft);
}

/* HOME CARDS */

.intro-section,
.categories,
.page-section {
  padding: 90px 0;
}

.intro-section p,
.page-section p {
  max-width: 760px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 34px;
}

.card {
  display: block;
  min-height: 220px;
  padding: 34px;
  border-radius: 28px;
  text-decoration: none;
  background: rgba(255, 249, 240, 0.72);
  border: 1px solid rgba(142, 109, 126, 0.12);
  box-shadow: 0 18px 50px rgba(43, 36, 48, 0.08);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 1rem;
}

/* STANDARD PAGE HERO */

.page-hero {
  padding: 90px 0 50px;
}

.page-hero h1 {
  margin-bottom: 28px;
}

.page-hero p {
  max-width: 760px;
  font-size: 1.2rem;
}

/* GALLERY PAGE */

.gallery-header {
  padding: 72px 0 52px;
  text-align: center;
}

.gallery-header h1 {
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.gallery-header p {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.12rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px;
  padding-bottom: 110px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  min-height: 640px;
  text-decoration: none;
  display: block;
  background: var(--white-soft);
  box-shadow: 0 28px 75px rgba(43, 36, 48, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  display: block;
  transition: transform 0.65s ease;
}

.gallery-card:hover img {
  transform: scale(1.045);
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  background: linear-gradient(to top, rgba(43,36,48,0.68), rgba(43,36,48,0.05) 62%, rgba(43,36,48,0));
}

.overlay h2 {
  color: white;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
  margin-bottom: 8px;
}

.overlay p {
  color: rgba(255,255,255,0.86);
  font-size: 1rem;
}

/* TOOLS PAGE */

.tools-section {
  padding: 40px 0 90px;
}

.tool-row {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 70px;
  align-items: center;
  margin-bottom: 95px;
}

.tool-row.reverse {
  grid-template-columns: minmax(0, 1fr) 430px;
}

.tool-row.reverse .tool-image {
  order: 2;
}

.tool-row.reverse .tool-content {
  order: 1;
  justify-self: end;
}

.tool-image {
  max-width: 430px;
}

.tool-image img {
  width: 100%;
  max-height: 610px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 65px rgba(43,36,48,0.13);
}

.tool-content {
  max-width: 480px;
}

.tool-label {
  display: block;
  margin-bottom: 14px;
  color: var(--midnight-oracle);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.tool-content h2 {
  font-size: clamp(2.6rem, 4.2vw, 4.8rem);
  margin-bottom: 18px;
}

.tool-content p {
  margin-bottom: 26px;
  max-width: 480px;
  font-size: 1.08rem;
}

/* LEGAL PAGES */

.legal-page {
  max-width: 820px;
  padding: 90px 0 120px;
}

.legal-page h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 50px;
}

.legal-page h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin-top: 42px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.legal-page p {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 680px;
}

.legal-page a {
  color: var(--midnight-oracle);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* INSTAGRAM SECTION */

.instagram-section {
  text-align: center;
  padding: 100px 0;
}

.instagram-section h2 {
  margin-bottom: 18px;
}

.instagram-section p {
  margin-bottom: 20px;
}

.instagram-link {
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--midnight-oracle);
  transition: 0.2s ease;
}

.instagram-link:hover {
  opacity: 0.7;
}

/* FOOTER */

footer {
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid rgba(142, 109, 126, 0.14);
  background: rgba(255,255,255,0.35);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-inner p {
  margin: 0;
  color: var(--obsidian-haze);
  font-size: 0.95rem;
}

.small-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.small-links a {
  color: var(--obsidian-haze);
  text-decoration: none;
  font-size: 0.9rem;
}

.small-links a:hover {
  color: var(--midnight-oracle);
}

/* MOBILE */

@media (max-width: 980px) {
  nav,
  .nav {
    flex-direction: column;
    gap: 14px;
    padding: 18px 0;
  }

  .nav-links {
    justify-content: center;
    gap: 18px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 38px 0 70px;
  }

  .hero-image {
    order: -1;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .category-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card,
  .gallery-card img {
    height: auto;
    min-height: 0;
  }

  .gallery-card img {
    aspect-ratio: 4 / 5;
  }

  .gallery-header h1 {
    font-size: clamp(2.8rem, 13vw, 4.4rem);
  }

  .tool-row,
  .tool-row.reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 75px;
  }

  .tool-row.reverse .tool-image,
  .tool-row.reverse .tool-content {
    order: initial;
    justify-self: start;
  }

  .tool-image,
  .tool-content {
    max-width: 100%;
  }

  .tool-image img {
    max-height: none;
  }
}

@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .small-links {
    justify-content: center;
  }
}
/* PORTRAIT GALLERY */

.portrait-gallery {
  column-count: 3;
  column-gap: 28px;
  padding-bottom: 120px;
}

.portrait-gallery a {
  display: block;
  break-inside: avoid;
  margin-bottom: 28px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(43,36,48,0.12);
  transition: 0.25s ease;
}

.portrait-gallery a:hover {
  transform: translateY(-5px);
}

.portrait-gallery img {
  width: 100%;
  display: block;
}

@media (max-width: 1000px) {
  .portrait-gallery {
    column-count: 2;
  }
}

@media (max-width: 650px) {
  .portrait-gallery {
    column-count: 1;
  }
}
/* ABOUT */

.about-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:70px;
  align-items:center;
  margin-bottom:120px;
}

.about-split.reverse{
  grid-template-columns:1fr 1fr;
}

.about-split.reverse .about-media{
  order:2;
}

.about-split.reverse .about-text{
  order:1;
}

.about-media img,
.about-media video{
  width:100%;
  border-radius:30px;
  display:block;
  box-shadow:0 24px 65px rgba(43,36,48,0.13);
}

.about-text{
  max-width:520px;
}

.about-text h2{
  margin-bottom:18px;
}

.about-text p{
  margin-bottom:18px;
}

.about-block{
  max-width:850px;
  margin:0 auto 120px;
}

.about-block h2{
  margin-bottom:24px;
}

.text-link{
  color:var(--midnight-oracle);
  text-decoration:none;
  font-weight:600;
}

.text-link:hover{
  opacity:.7;
}

@media (max-width:980px){

  .about-split,
  .about-split.reverse{
    grid-template-columns:1fr;
    gap:30px;
  }

  .about-split.reverse .about-media,
  .about-split.reverse .about-text{
    order:initial;
  }

}.about-photo{
  max-width: 280px;
  justify-self:center;
}
