/* Desert Cove Ventures – palette from DCV logo; layout parity with Sicilia Bedda */
:root {
  --dcv-bg: #faf8f5;
  --dcv-ink: #292524;
  --dcv-muted: #57534e;
  --dcv-accent: #4a5d2a;
  --dcv-accent-hover: #5d7334;
  --dcv-gold: #b8982e;
  --dcv-border: #e7e5e4;
  /* Quotation panels only – gray tint + rounded corners + green left trim */
  --dcv-quote-panel-bg: rgba(74, 93, 42, 0.06);
  --dcv-quote-panel-radius: 8px;
  --dcv-quote-panel-border-l: 4px solid var(--dcv-accent);
}

/* EN | IT switcher — active state uses DCV olive (nav-dropdowns defaults to SB brown) */
.dcv-site .lang-option-active {
  color: var(--dcv-accent);
  font-weight: 600;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
  background-color: var(--dcv-bg);
  color: var(--dcv-ink);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Footer must span full content column width (same as Sicilia Bedda). With flex body,
   margin-x auto alone shrink-wraps the footer so the logo line is too short. */
body > footer {
  width: 100%;
  max-width: 64rem; /* = Tailwind max-w-5xl */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Same wax-seal line treatment as Sicilia Bedda footer */
.footer-logo-wrap {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-logo-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--dcv-accent);
  z-index: 0;
}

/* Logo sits in the same size box as Sicilia Bedda (120px seal) so the horizontal line
   extends the same distance left and right of the mark (full-width line unchanged). */
.footer-logo-wrap img {
  position: relative;
  z-index: 1;
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 120px;
  height: 120px;
  max-width: 120px;
  object-fit: contain;
  box-sizing: border-box;
}

/* Landing hero image – same layout as Sicilia Bedda index (hero-image-wrap + hero-caption) */
.hero-caption {
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 0.625rem 0.75rem;
  text-align: center;
  font-size: 0.9375rem;
  font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  border-radius: 0 0 6px 6px;
}

.hero-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-image-wrap img {
  width: 100%;
  height: auto;
  max-width: 340px;
  max-height: 380px;
  object-fit: cover;
  border-radius: 6px 6px 0 0;
  display: block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.hero-image-wrap .hero-caption {
  max-width: 340px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .hero-image-wrap img {
    max-width: 100%;
    max-height: none;
    height: auto;
    object-fit: contain;
  }

  .hero-image-wrap .hero-caption {
    max-width: 100%;
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Quotation sections only – home + founder (panel wraps quote + attribution) */
.home-quote-block,
.founder-quote-block {
  background: var(--dcv-quote-panel-bg);
  border-radius: var(--dcv-quote-panel-radius);
  border-left: var(--dcv-quote-panel-border-l);
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
}

.home-quote-block {
  margin-top: 2rem;
}

.founder-quote-block {
  margin-top: 0;
}

.home-quote-block blockquote,
.founder-quote-block blockquote.founder-quote {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #44403c;
  font-style: italic;
  font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
}

.home-quote-attribution,
.founder-quote-attrib {
  margin-top: 1rem;
  margin-bottom: 0;
  text-align: right;
  color: var(--dcv-accent);
}

/* Header border – DCV green (footer uses logo line only; no border-t on <footer>, same as Sicilia Bedda) */
header.border-b {
  border-bottom-color: var(--dcv-accent);
}

.border-b.border-stone-200 {
  border-bottom-color: var(--dcv-accent);
}

/* Site title in header – mirrors Sicilia Bedda h1.heroTitle */
.dcv-site-title {
  font-family: 'Trajan Pro', 'Times New Roman', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--dcv-accent);
}

.nav-link {
  font-weight: 400;
}

/* Content links – mirror SB content-link weight/color */
main a,
section a,
.max-w-5xl a,
.dcv-inline-link {
  color: var(--dcv-accent);
  text-decoration: none;
  font-weight: 700;
}

main a:hover,
section a:hover,
.max-w-5xl a:hover,
.dcv-inline-link:hover {
  color: var(--dcv-accent-hover);
}

@media (max-width: 767px) {
  body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  header {
    overflow: visible;
  }

  nav {
    overflow: visible;
  }

  .nav-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
  }
}

.dcv-main {
  flex: 1;
}

.dcv-hero-page-title {
  text-align: center;
  font-family: 'Trajan Pro', 'Times New Roman', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.1em;
  color: var(--dcv-accent);
  margin: 0 0 1.5rem;
}

.dcv-page-title {
  text-align: center;
  font-weight: 400;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin: 0 0 1.5rem;
  color: var(--dcv-ink);
  font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
}

.dcv-prose {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--dcv-muted);
}

.dcv-prose p {
  margin: 0 0 1rem;
}

.dcv-prose-wide {
  max-width: 48rem;
}

/* Investment Philosophy – section titles & value pillars */
.dcv-subheading {
  text-align: center;
  font-weight: 500;
  font-size: 1.25rem;
  margin: 2.5rem 0 1rem;
  color: var(--dcv-accent);
  font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
  letter-spacing: 0.02em;
}

.dcv-subheading:first-of-type {
  margin-top: 1.5rem;
}

.dcv-subheading .dcv-subheading-strong {
  font-weight: 700;
  color: inherit;
}

.dcv-values-intro {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  color: var(--dcv-muted);
  font-size: 1.0625rem;
  line-height: 1.65;
}

.dcv-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 0 auto 2rem;
  max-width: 100%;
}

.dcv-value-card {
  background: #fff;
  border: 1px solid var(--dcv-border);
  border-radius: 8px;
  padding: 1.25rem 1.35rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.dcv-value-card h4 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dcv-accent);
  font-family: 'Georgia Pro', Georgia, 'Times New Roman', serif;
}

.dcv-value-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--dcv-muted);
}

.dcv-philosophy-bridge {
  margin-top: 2rem;
}

.dcv-philosophy-bridge p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--dcv-muted);
}

/* About dropdown – same behavior & animation as Sicilia Bedda (nav-dropdowns.css + JS) */
#about-dropdown-menu a.about-dropdown-item,
nav .about-dropdown-menu a.about-dropdown-item {
  transition: background-color 0.28s ease, color 0.28s ease;
}

#about-dropdown-menu a.about-dropdown-item:hover,
nav .about-dropdown-menu a.about-dropdown-item:hover {
  background-color: var(--dcv-accent) !important;
  color: #fff !important;
}

#about-dropdown-menu,
#projects-dropdown-menu,
nav .about-dropdown-menu {
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

#about-dropdown-menu.active,
#projects-dropdown-menu.active,
nav .about-dropdown-menu.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Founder page – mirrors Sicilia Bedda Our Founder; DCV accent */
.founder-section .content-link {
  color: var(--dcv-accent);
  text-decoration: none;
  font-weight: 700;
}

.founder-section .content-link:hover {
  color: var(--dcv-accent-hover);
}

/* Contact Us page – form styles duplicated from Sicilia Bedda; DCV accent */
.dcv-contact-page .form-message {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
  display: none;
}

.dcv-contact-page .form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.dcv-contact-page .form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.dcv-contact-page .form-message.show {
  display: block;
}

.dcv-contact-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dcv-contact-page .form-group label {
  font-weight: 500;
  color: #292524;
}

.dcv-contact-page .form-group input,
.dcv-contact-page .form-group textarea,
.dcv-contact-page .form-group select {
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.dcv-contact-page .form-group input:focus,
.dcv-contact-page .form-group textarea:focus {
  outline: none;
  border-color: var(--dcv-accent);
}

.dcv-contact-page .country-dropdown {
  position: relative;
  width: 100%;
}

.dcv-contact-page .country-dropdown-button {
  width: 100%;
  padding: 0.75rem;
  min-height: 44px;
  font-size: 1rem;
  color: #292524;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: border-color 0.15s;
  box-sizing: border-box;
}

.dcv-contact-page .country-dropdown-button:focus {
  outline: none;
  border-color: #78716c;
}

.dcv-contact-page .country-dropdown-arrow {
  font-size: 0.65em;
  opacity: 0.8;
}

.dcv-contact-page .country-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  max-height: 280px;
  overflow-y: auto;
}

.dcv-contact-page .country-dropdown-menu.active {
  display: block;
}

.dcv-contact-page .country-dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  min-height: 36px;
  font-size: 0.9375rem;
  color: #44403c;
  transition: background-color 0.28s ease, color 0.28s ease;
  line-height: 1.4;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.dcv-contact-page .country-dropdown-item:hover {
  background-color: var(--dcv-accent);
  color: #fff;
}

.dcv-contact-page .stay-interests-heading {
  display: block;
  font-weight: 500;
  color: #292524;
  margin-bottom: 0.5rem;
}

.dcv-contact-page .stay-interests-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.dcv-contact-page .dcv-contact-interests-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 0.35rem;
}

.dcv-contact-page .interest-other-wrap {
  margin-top: 0.75rem;
}

.dcv-contact-page .interest-other-wrap[hidden] {
  display: none !important;
}

.dcv-contact-page .interest-other-label {
  display: block;
  font-weight: 500;
  color: #292524;
  margin-bottom: 0.35rem;
}

.dcv-contact-page .interest-other-input {
  max-width: 25ch;
  font-family: inherit;
}

.dcv-contact-page .stay-interest-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  color: #44403c;
}

.dcv-contact-page .stay-interest-cb {
  flex-shrink: 0;
  accent-color: var(--dcv-accent);
}

.dcv-contact-page .form-submitting {
  opacity: 0.6;
  pointer-events: none;
}

.dcv-contact-page .form-submitting button {
  cursor: not-allowed;
}

.dcv-contact-page #submit-button {
  background-color: var(--dcv-accent);
  font-size: 1rem;
  font-weight: 600;
}

.dcv-contact-page #submit-button:hover {
  background-color: var(--dcv-accent-hover);
}

@media (max-width: 767px) {
  .dcv-contact-page .country-dropdown-menu {
    z-index: 1100;
  }

  .dcv-contact-page #submit-button {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    -webkit-tap-highlight-color: transparent;
  }

  .dcv-contact-page input,
  .dcv-contact-page textarea,
  .dcv-contact-page select {
    font-size: 16px !important;
    min-height: 44px;
  }

  .dcv-contact-page textarea {
    min-height: 120px;
  }
}

/* Language switcher on DCV Contact page – active uses DCV green, not Sicilia brown */
.dcv-contact-page .lang-option-active {
  color: var(--dcv-accent) !important;
}
