/* ============================================================
   kouch Theme — Main Stylesheet
   ============================================================ */

/* ----- RESET & ROOT ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose:       #d4b8ac;
  --rose-light: #e8d4cc;
  --rose-pale:  #f0e6e0;
  --grey:       #8a8a8a;
  --grey-dark:  #5a5a5a;
  --black:      #0d0d0d;
  --dark:       #141414;
  --dark2:      #1c1c1c;
  --mid:        #2c2c2c;
  --light-text: #e8e2de;
  --muted:      #9a9490;
}

html { scroll-behavior: smooth; }
body {
  background: var(--black);
  color: var(--light-text);
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* ----- NAVIGATION ----- */
nav#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 60px;
  transition: background 0.5s, padding 0.4s;
}
nav#main-nav.scrolled {
  background: rgba(13, 13, 13, 0.96);
  backdrop-filter: blur(12px);
  padding: 0px 60px;
  border-bottom: 1px solid rgba(212, 184, 172, 0.12);
}
.nav-logo img {
/*   height: 52px; */
  transition: opacity 0.3s;
}
.nav-logo img:hover { opacity: 0.8; }
.nav-links {
  display: flex;
  gap: 44px;
  list-style: none;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--rose); }

/* ----- HERO ----- */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 70%, rgba(212, 184, 172, 0.07) 0%, transparent 65%),
    radial-gradient(ellipse at 20% 20%, rgba(138, 138, 138, 0.04) 0%, transparent 55%);
}
.hero-arcs {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
}
.arc {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 184, 172, 0.1);
  animation: arcExpand 4s ease-out infinite;
}
.arc:nth-child(1) { width: 280px; height: 280px; animation-delay: 0s; }
.arc:nth-child(2) { width: 440px; height: 440px; animation-delay: 1s; }
.arc:nth-child(3) { width: 620px; height: 620px; animation-delay: 2s; }
.arc:nth-child(4) { width: 820px; height: 820px; animation-delay: 3s; }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  animation: fadeUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-logo-full {
  width: min(600px, 80vw);
  margin: 0 auto 36px;
  display: block;
  filter: drop-shadow(0 0 60px rgba(212, 184, 172, 0.1));
}
.hero-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
  display: block;
}
.hero-cta-group {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-block;
  padding: 15px 48px;
  background: var(--rose);
  color: var(--black);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--rose-light);
  transform: translateY(-1px);
}
.btn-outline {
  display: inline-block;
  padding: 15px 48px;
  border: 1px solid rgba(212, 184, 172, 0.4);
  color: var(--rose);
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: border-color 0.3s, background 0.3s;
}
.btn-outline:hover {
  border-color: var(--rose);
  background: rgba(212, 184, 172, 0.08);
}
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--grey);
  animation: pulse 2.5s infinite;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--rose), transparent);
}

/* ----- STATEMENT ----- */
#statement {
  background: var(--dark2);
  padding: 90px 60px;
  text-align: center;
  border-top: 1px solid rgba(212, 184, 172, 0.1);
  border-bottom: 1px solid rgba(212, 184, 172, 0.1);
}
.statement-text, #statement p {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 3.5vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: var(--light-text);
  max-width: 860px;
  margin: 0 auto;
  line-height: 1.55;
}
.statement-text strong,
 #statement p strong{
  font-style: normal;
  font-weight: 400;
  color: var(--rose);
}

/* ----- SHARED COMPONENTS ----- */
.section-label {
  font-size: 0.58rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 14px;
  display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--light-text);
}
.section-title em {
  font-style: italic;
  color: var(--rose);
}
.divider {
  width: 48px;
  height: 1px;
  background: var(--rose);
  margin: 28px 0;
  opacity: 0.5;
}
.body-text {
  font-size: 0.83rem;
  line-height: 2;
  color: var(--muted);
  max-width: 560px;
}

/* ----- EXPERIENCE ----- */
#experience {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.exp-visual {
  position: relative;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  overflow: hidden;
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(212, 184, 172, 0.18);
  animation: arcExpand 3.5s ease-out infinite;
}
.pulse-ring:nth-child(1) { width: 200px; height: 200px; animation-delay: 0s; }
.pulse-ring:nth-child(2) { width: 340px; height: 340px; animation-delay: 1.1s; }
.pulse-ring:nth-child(3) { width: 500px; height: 500px; animation-delay: 2.2s; }
.exp-icon-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.exp-circle-img {
  width: 220px;
  height: 220px;
}
.exp-text {
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark2);
}
.exp-features {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.exp-feature {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}
.feature-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  color: rgba(212, 184, 172, 0.3);
  font-weight: 300;
  line-height: 1;
  min-width: 32px;
}
.feature-label {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 6px;
}
.feature-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ----- PRODUCTS ----- */
#products {
  background: var(--black);
  padding: 110px 60px;
}
.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 72px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--dark2);
}
.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 13, 13, 0.92) 0%, rgba(13, 13, 13, 0.25) 45%, transparent 100%);
  transition: opacity 0.4s;
}
.product-card:hover::after { opacity: 0.7; }
.product-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: brightness(0.72) saturate(0.88);
}
.product-card:hover .product-img {
  transform: scale(1.05);
  filter: brightness(0.88) saturate(1);
}
.product-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 28px 30px;
}
.product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 300;
  color: #f7f4f1;
  margin-bottom: 4px;
}
.product-tag {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose);
}
.product-cta {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 24px;
  border: 1px solid rgba(212, 184, 172, 0.45);
  color: var(--rose);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s 0.05s, transform 0.3s, background 0.3s, color 0.3s;
  cursor: pointer;
}
.product-card:hover .product-cta {
  opacity: 1;
  transform: translateY(0);
}
.product-cta:hover {
  background: var(--rose);
  color: var(--black);
}
.product-card.wide { grid-column: span 2; }
.product-card.wide .product-img { aspect-ratio: 8 / 3; }

/* ----- ABOUT ----- */
#about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}
.about-visual {
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 60px;
  flex-direction: column;
  gap: 0;
}
.stats-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat { text-align: center; padding: 36px 0; }
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--rose);
  line-height: 1;
  display: block;
}
.stat-label {
  font-size: 0.58rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
}
.stat-sep {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, rgba(212, 184, 172, 0.25), transparent);
}
.about-logo {
  width: 90px;
  margin-top: 44px;
  opacity: 0.35;
}
.about-text {
  padding: 90px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark2);
}
.about-text .body-text {
  margin-top: 20px;
  max-width: 100%;
}

/* ----- PHILOSOPHY ----- */
#philosophy {
  background: var(--rose);
  padding: 64px 60px;
  text-align: center;
}
.philosophy-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.3rem, 2.8vw, 2.1rem);
  color: var(--black);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
}
.philosophy-attr {
  margin-top: 16px;
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(13, 13, 13, 0.45);
}

/* ----- CONTACT ----- */
#contact {
  background: var(--black);
  padding: 110px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact-info-logo {
  width: 180px;
  margin-bottom: 36px;
  opacity: 0.6;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 28px;
}
.contact-detail-label {
  font-size: 0.58rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose);
}
.contact-detail-val {
  font-size: 0.85rem;
  color: var(--light-text);
}

/* ----- CONTACT FORM (CF7 overrides) ----- */
.contact-form,
.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-label,
.wpcf7-form .kouch-label {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  display: block;
  margin-bottom: 8px;
}
.form-input,
.form-textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--mid);
  padding: 12px 0;
  color: var(--light-text);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #404040;
}
.form-input:focus,
.form-textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--rose);
}
.form-textarea,
.wpcf7-form textarea {
  resize: none;
  height: 90px;
}
.form-submit,
.wpcf7-form input[type="submit"] {
  align-self: flex-start;
  margin-top: 8px;
  padding: 15px 48px;
  background: var(--rose);
  color: var(--black);
  border: none;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.form-submit:hover,
.wpcf7-form input[type="submit"]:hover {
  background: var(--rose-light);
  transform: translateY(-1px);
}

/* CF7 validation messages */
.wpcf7-not-valid-tip {
  color: var(--rose-pale);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}
.wpcf7-response-output {
  border: 1px solid rgba(212, 184, 172, 0.3) !important;
  color: var(--light-text) !important;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  padding: 12px 18px !important;
  margin: 0 !important;
}
.wpcf7-mail-sent-ok { border-color: rgba(212, 184, 172, 0.6) !important; }
.wpcf7-mail-sent-ng,
.wpcf7-spam-blocked { border-color: rgba(200, 100, 100, 0.4) !important; }

/* ----- FOOTER ----- */
footer#main-footer {
  background: var(--dark2);
  padding: 10px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(212, 184, 172, 0.08);
}
.footer-logo img {
  height: 38px;
  opacity: 0.6;
}
.footer-links {
  display: flex;
  gap: 36px;
}
.footer-links a {
  color: var(--grey);
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--rose); }
.footer-copy {
  font-size: 0.58rem;
  color: #8d8d8d;
  letter-spacing: 0.14em;
}

/* ----- PRODUCT MODAL ----- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--dark2);
  max-width: 880px;
  width: 100%;
  position: relative;
  animation: fadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  border: 1px solid rgba(212, 184, 172, 0.12);
  overflow: hidden;
}
.modal-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 3;
  line-height: 1;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--rose); }
.modal-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.modal-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  filter: brightness(0.85);
}
.modal-body {
  padding: 44px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-tag {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--rose);
  margin-bottom: 10px;
}
.modal-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 300;
  color: #f7f4f1;
}
.modal-divider {
  width: 36px;
  height: 1px;
  background: var(--rose);
  margin: 18px 0;
  opacity: 0.5;
}
.modal-desc {
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--muted);
}
.modal-features {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.modal-feature {
  font-size: 0.7rem;
  color: var(--light-text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal-feature::before {
  content: '◆';
  color: var(--rose);
  font-size: 0.38rem;
  flex-shrink: 0;
}
.modal-inquire {
  display: inline-block;
  margin-top: 28px;
  padding: 13px 32px;
  background: var(--rose);
  color: var(--black);
  font-family: 'Josefin Sans', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.modal-inquire:hover { background: var(--rose-light); }

.hidden-fields-container{ display:none !important; }
.wpcf7-response-output{ display:none !important; }
.wpcf7-form.invalid .wpcf7-response-output{ display:block !important; }
.nav-logo img{ max-width: 120px; height: initial; }


/* ----- ANIMATIONS ----- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.45; }
  50%       { opacity: 1; }
}
@keyframes arcExpand {
  0%   { opacity: 0.5; transform: scale(0.6); }
  100% { opacity: 0; transform: scale(1.4); }
}

/* ----- RESPONSIVE ----- */
@media (max-width: 960px) {
  nav#main-nav { padding: 18px 24px; }
  nav#main-nav.scrolled { padding: 14px 24px; }
  .nav-links { display: none; }

  #experience,
  #about,
  #contact { grid-template-columns: 1fr; }

  .exp-visual { min-height: 320px; }
  .exp-text { padding: 52px 28px; }
  .about-text { padding: 60px 28px; }

  #products { padding: 80px 20px; }
  .products-grid { grid-template-columns: 1fr; }
  .product-card.wide { grid-column: span 1; }
  .product-card.wide .product-img { aspect-ratio: 4 / 3; }
  .products-header { flex-direction: column; gap: 20px; align-items: flex-start; }

  #contact { padding: 80px 24px; gap: 48px; }

  .modal-inner { grid-template-columns: 1fr; }
  .modal-img { height: 220px; }

  footer#main-footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
	.nav-logo img{ max-width: 150px; height: initial; }
	#main-nav{ text-align:center; justify-content:center; }
	.hero-tagline{ line-height:25px; }
	.modal-body{ padding: 20px 20px; }
	.modal-desc{ font-size: 0.8rem; line-height: 1.4; }
	nav#main-nav.scrolled{         justify-content: center; }
}
