/* ==========================================================================
   Natur Atelier - Complete Stylesheet
   naturatelier.net
   ========================================================================== */

/* ==========================================================================
   1. @font-face Declarations
   ========================================================================== */

/* Cormorant Garamond */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-italic-400.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-italic-500.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('../fonts/cormorant-garamond-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* DM Sans */
@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('../fonts/dm-sans-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   2. CSS Custom Properties
   ========================================================================== */

:root {
  --forest: #2d3a2e;
  --sage: #7a9b76;
  --moss: #4a6741;
  --gold: #c4a24c;
  --cream: #f7f3eb;
  --warm-white: #faf8f4;
  --bark: #3d2c1e;
  --stone: #9c9486;
  --light-sage: #e8ede6;
}

/* ==========================================================================
   3. Reset & Base Styles
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--bark);
  background: var(--warm-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ==========================================================================
   4. Noise Texture Overlay
   ========================================================================== */

.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   5. Navigation
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 40px;
  background: transparent;
  color: #fff;
  transition: background 0.4s ease, color 0.4s ease, padding 0.4s ease,
    border-bottom 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(250, 248, 244, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--bark);
  border-bottom: 1px solid rgba(122, 155, 118, 0.12);
  padding: 16px 40px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
  flex-shrink: 0;
}

.nav-logo svg {
  width: 18px;
  height: 27px;
  color: #fff;
  opacity: 0.9;
}

.nav.scrolled .nav-logo {
  background: var(--moss);
}

.nav-brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-desktop {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link.active::after {
  width: 100%;
}

/* ==========================================================================
   6. Mobile Navigation (below 768px)
   ========================================================================== */

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

.hamburger-line {
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 2.5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(2.5px, -2.5px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  background: var(--warm-white);
  z-index: 1000;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-link {
  color: var(--bark);
  font-size: 0.9rem;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   7. Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 35, 28, 0.55);
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, #5a7a52 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, #3d5c34 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, #2d3a2e 0%, transparent 60%),
    linear-gradient(170deg, #4a6741 0%, #2d3a2e 40%, #1a2318 100%);
}

/* Floating leaf decorations */
.hero-leaf {
  position: absolute;
  color: #fff;
  pointer-events: none;
}

.hero-leaf:nth-child(1) {
  width: 40px;
  height: 60px;
  left: 15%;
  top: 20%;
  opacity: 0.04;
  animation: float 4s ease-in-out infinite;
  animation-delay: 0s;
}

.hero-leaf:nth-child(2) {
  width: 55px;
  height: 80px;
  left: 33%;
  top: 45%;
  opacity: 0.05;
  animation: float 4.7s ease-in-out infinite;
  animation-delay: 0.5s;
}

.hero-leaf:nth-child(3) {
  width: 70px;
  height: 100px;
  left: 51%;
  top: 20%;
  opacity: 0.06;
  animation: float 5.4s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-leaf:nth-child(4) {
  width: 85px;
  height: 120px;
  left: 69%;
  top: 45%;
  opacity: 0.07;
  animation: float 6.1s ease-in-out infinite;
  animation-delay: 1.5s;
}

.hero-leaf:nth-child(5) {
  width: 100px;
  height: 140px;
  left: 87%;
  top: 70%;
  opacity: 0.09;
  animation: float 6.8s ease-in-out infinite;
  animation-delay: 2s;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 800px;
  padding: 0 24px;
}

.hero-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

.hero-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-title em {
  font-style: italic;
  font-weight: 500;
}

.hero-divider {
  width: 80px;
  height: 1.5px;
  background: var(--gold);
  margin: 0 auto 28px;
  animation: heroLine 0.8s ease 1s both;
}

.hero-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  font-weight: 300;
  line-height: 1.9;
  opacity: 0.8;
  max-width: 480px;
  margin: 0 auto 40px;
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both;
}

.hero-cta-wrap {
  animation: heroReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 1s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  animation: heroReveal 1s ease 1.5s both;
}

.scroll-indicator span {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

/* ==========================================================================
   8. @keyframes
   ========================================================================== */

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroLine {
  from {
    width: 0;
  }
  to {
    width: 80px;
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(2deg);
  }
}

/* ==========================================================================
   9. Section Label
   ========================================================================== */

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage);
  display: block;
  margin-bottom: 20px;
}

/* ==========================================================================
   10. Welcome Section
   ========================================================================== */

.welcome {
  text-align: center;
}

.welcome-inner {
  max-width: 720px;
  margin: 0 auto;
}

.welcome h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

.accent-word {
  font-style: italic;
  color: var(--moss);
}

.gold-divider {
  width: 50px;
  height: 1.5px;
  background: var(--gold);
  margin: 0 auto 28px;
}

.welcome-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
}

.welcome-image {
  margin-top: 3rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

/* ==========================================================================
   11. Section Padding
   ========================================================================== */

.section-padding {
  padding: clamp(80px, 12vw, 140px) 24px;
}

/* ==========================================================================
   12. Category Cards
   ========================================================================== */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.subpage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(122, 155, 118, 0.1);
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(45, 58, 46, 0.12);
}

.card-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover .card-image img {
  transform: scale(1.06);
}

.card-body {
  padding: 28px 28px 32px;
}

.card-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.card-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  margin-bottom: 20px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}

.card-link .arrow {
  font-size: 1.1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
}

.card:hover .card-link .arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ==========================================================================
   13. Quote Section
   ========================================================================== */

.quote-section {
  background: var(--light-sage);
  padding: clamp(60px, 8vw, 100px) 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section .leaf-decor-left {
  position: absolute;
  left: 5%;
  top: -10px;
  width: 60px;
  height: 90px;
  color: var(--sage);
  opacity: 0.15;
  transform: rotate(-20deg);
}

.quote-section .leaf-decor-right {
  position: absolute;
  right: 8%;
  bottom: -10px;
  width: 50px;
  height: 75px;
  color: var(--sage);
  opacity: 0.12;
  transform: rotate(15deg);
}

.quote-section blockquote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.5;
  color: var(--forest);
  max-width: 640px;
  margin: 0 auto;
}

/* ==========================================================================
   14. Gallery Preview
   ========================================================================== */

.gallery-preview {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-preview-header h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.gallery-preview-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  display: flex;
  align-items: center;
  gap: 8px;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 180px;
  gap: 16px;
}

.gallery-preview-item {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-preview-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-preview-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.gallery-preview-item:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   15. Content Page Header
   ========================================================================== */

.page-header {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 300px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 35, 28, 0.55);
}

.page-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 24px;
}

.page-header-content h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   16. Content Sections
   ========================================================================== */

.content-section {
  max-width: 800px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 24px;
}

.content-section h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

.content-section p {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ==========================================================================
   17. Masonry Gallery
   ========================================================================== */

.masonry-grid {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.masonry-item {
  position: absolute;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.masonry-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(45, 58, 46, 0.15);
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.4rem 0.5rem;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  font-family: 'DM Sans', sans-serif;
}

.section-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--moss);
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.section-link:hover {
  color: var(--forest);
}

/* ==========================================================================
   18. Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.lightbox.active .lightbox-image {
  animation: lightboxScaleIn 0.3s ease both;
}

@keyframes lightboxScaleIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-counter {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: #fff;
  opacity: 0.7;
}

body.lightbox-open {
  overflow: hidden;
}

/* ==========================================================================
   19. Contact Page
   ========================================================================== */

/* Contact page centered single-column layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Intro block */
.contact-intro {
  text-align: center;
}

.contact-intro-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.contact-intro-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--bark);
  margin-bottom: 16px;
}

.contact-intro-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto;
}

/* Contact info cards */

.contact-card {
  background: var(--cream);
  border-radius: 12px;
  padding: 24px;
}

.contact-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--bark);
  margin-bottom: 12px;
}

.contact-card p {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--bark);
  line-height: 1.6;
}

.contact-card a {
  color: var(--bark);
  text-decoration: none;
}

.contact-card a:hover {
  color: var(--moss);
}

.contact-map {
  position: relative;
  margin-top: 16px;
  border-radius: 8px;
  overflow: hidden;
  height: 250px;
}

.contact-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
}

.map-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--moss) !important;
  text-decoration: none;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.map-link:hover {
  background: #fff;
  color: var(--forest) !important;
}

/* Email as primary contact method */
.contact-info {
  text-align: center;
}

.contact-email-btn {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 100%;
  padding: 18px clamp(20px, 6vw, 40px);
  background: var(--gold);
  color: var(--bark);
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
  box-shadow: 0 4px 16px rgba(196, 162, 78, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-email-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 162, 78, 0.35);
}

.contact-email-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.contact-phone-line {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--stone);
  margin-top: 18px;
}

.contact-phone-line a {
  color: var(--moss);
  font-weight: 500;
  text-decoration: none;
}

.contact-phone-line a:hover {
  color: var(--forest);
}

/* Address card sits below, centered */
.contact-card-address {
  margin: 40px auto 0;
  max-width: 520px;
}

/* ==========================================================================
   20. CTA Button
   ========================================================================== */

.cta-btn {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--bark);
  border: none;
  border-radius: 100px;
  padding: 16px 44px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(196, 162, 78, 0.35);
}

/* ==========================================================================
   21. Footer
   ========================================================================== */

.footer {
  background: var(--forest);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 24px 40px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: #fff;
}

.footer-brand svg {
  width: 20px;
  height: 30px;
  color: var(--sage);
}

.footer-brand span {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
}

.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 280px;
  font-weight: 300;
}

.footer-columns {
  display: flex;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
}

.footer-column-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 300;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.35);
}

/* ==========================================================================
   22. Scroll Animations
   ========================================================================== */

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   23. Prefers Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-bg {
    transform: none !important;
  }

  .page-header-bg {
    transform: none !important;
  }

  .hero-leaf {
    animation: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .hero-label,
  .hero-title,
  .hero-divider,
  .hero-subtitle,
  .hero-cta-wrap,
  .scroll-indicator {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero-divider {
    width: 80px;
  }
}

/* ==========================================================================
   24. Responsive Breakpoints
   ========================================================================== */

/* ---------- Mobile base (< 481px) ---------- */

.nav {
  padding: 16px 20px;
}

.nav.scrolled {
  padding: 12px 20px;
}

.nav-desktop {
  display: none;
}

.hamburger {
  display: flex;
}

.gallery-preview-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: 200px;
}

.gallery-preview-item:first-child {
  grid-column: span 1;
  grid-row: span 1;
}

.footer-top {
  flex-direction: column;
}

.footer-bottom {
  flex-direction: column;
  text-align: center;
}

/* ---------- Tablet (min-width: 481px) ---------- */

@media (min-width: 481px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-preview-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

/* ---------- Desktop nav (min-width: 769px) ---------- */

@media (min-width: 769px) {
  .nav {
    padding: 24px 40px;
  }

  .nav.scrolled {
    padding: 16px 40px;
  }

  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .gallery-preview-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 180px;
  }

  .gallery-preview-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .footer-top {
    flex-direction: row;
  }

  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ---------- Full desktop (min-width: 1025px) ---------- */

@media (min-width: 1025px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
