/* ============================================
   KLIFF VENTURES - Complete Stylesheet
   Modern Premium Design | Responsive | Animated
   ============================================ */

/* === CSS Variables === */
:root {
  --bg: #F6F6F2;
  --bg-warm: #F0EFE9;
  --text: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --accent: #01438F;
  --accent-hover: #015cb8;
  --accent-light: #E8F1FA;
  --white: #FFFFFF;
  --border: #E5E7EB;
  --border-light: rgba(229, 231, 235, 0.6);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 28px;
  --radius-sm: 16px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* === Reset & Base === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background-color: var(--accent);
  color: var(--white);
}

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

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

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

/* === Navigation === */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: var(--transition-slow);
}

.nav-hidden {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.nav-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-container {
  background: rgba(246, 246, 242, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 6vw;
}

.nav-logo-img {
  height: 1.5rem;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-cta {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: var(--transition);
}

.nav-cta:hover {
  color: var(--text);
  border-color: var(--text);
}

/* === Hero Section === */
.hero-section {
  background-color: var(--bg);
  position: relative;
  overflow: hidden;
}

/* Hero Header - logo + Partner with us */
.hero-header {
  position: absolute;
  left: 4.5vw;
  right: 4.5vw;
  top: 5.5vh;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-logo {
  flex-shrink: 0;
}

.hero-logo-img {
  height: 1.75rem;
  width: auto;
}

/* Partner with us link in hero header */
.hero-partner-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.hero-partner-link .hero-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.hero-partner-link:hover .hero-line {
  width: 3.5rem;
}

.hero-partner-link .hero-link-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: color 0.3s ease;
  white-space: nowrap;
}

.hero-partner-link:hover .hero-link-text {
  color: var(--accent);
}

.hero-partner-link .hero-arrow {
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.hero-partner-link:hover .hero-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* Hero Container - uses CSS Grid, equal height cards */
.hero-container {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 44vw 1fr;
  gap: 4vw;
  padding: 12vh 4.5vw 5vh;
  align-items: stretch;
}

/* Hero Cards */
.hero-card {
  border-radius: var(--radius);
  overflow: hidden;
  opacity: 0;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-lg);
}

.hero-photo-card {
  transform: translateX(-8vw);
  height: 100%;
}

.hero-photo-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}

/* Hero photo image - fills entire card */
.hero-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-text-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2.5rem 3rem;
  transform: translateX(8vw);
  transition-delay: 0.15s;
  height: 100%;
}

.hero-text-card.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.hero-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1.5rem;
}

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

.hero-description {
  font-size: clamp(0.8125rem, 1vw, 1rem);
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 28rem;
}

/* Hero Footer */
.hero-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

/* Hero backed by */
.hero-backed {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.hero-line {
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--accent);
  transition: width 0.5s ease;
}

.hero-link:hover .hero-line {
  width: 3.5rem;
}

.hero-link-text {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.hero-link:hover .hero-link-text {
  color: var(--accent);
}

.hero-arrow {
  color: var(--text-muted);
  transition: color 0.3s ease, transform 0.3s ease;
}

.hero-link:hover .hero-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

.hero-backed {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-backed-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.hero-backed-logo {
  height: 2rem;
  width: auto;
}

/* Mobile Hero */
.hero-mobile {
  display: none;
  position: absolute;
  inset: 0;
  flex-direction: column;
  padding: 6rem 1.5rem 1.5rem;
  gap: 1rem;
}

.hero-mobile-photo {
  border-radius: var(--radius);
  overflow: hidden;
  height: 50vh;
  box-shadow: var(--shadow-lg);
}

.hero-mobile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05);
}

.hero-mobile-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.hero-mobile-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-mobile-headline {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero-mobile-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.hero-mobile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

/* === Contact Section === */
.contact-section {
  background-color: var(--bg);
  padding: 1.25rem 0;
}

.contact-container {
  padding: 0 4.5vw;
}

/* Info Cards */
.info-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(4rem);
  transition: var(--transition-slow);
}

.info-cards.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.info-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.info-card-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.info-card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
}

/* Contact Card */
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 3rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(5rem);
  transition: var(--transition-slow);
}

.contact-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Contact Info */
.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 1rem;
}

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

.contact-desc {
  font-size: clamp(0.8125rem, 1vw, 1rem);
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 28rem;
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 0.25rem;
}

.contact-email-link {
  font-size: 0.875rem;
  color: var(--text);
  transition: color 0.3s ease;
}

.contact-email-link:hover {
  color: var(--accent);
}

/* === Contact Form === */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.form-required {
  color: #dc2626;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-light);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(1, 67, 143, 0.1);
}

.form-textarea {
  resize: none;
  min-height: 120px;
}

/* Form Validation */
.form-error {
  font-size: 0.75rem;
  color: #dc2626;
  margin-top: 0.375rem;
  display: none;
}

.form-error.visible {
  display: block;
}

.form-input.error,
.form-textarea.error {
  border-color: #dc2626;
  background: #fef2f2;
}

/* File Upload */
.file-upload {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg);
}

.file-upload:hover,
.file-upload.drag-over {
  border-color: var(--accent);
  background: var(--accent-light);
}

.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.file-upload-content {
  pointer-events: none;
}

.file-upload-icon {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.file-upload-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.file-upload-text strong {
  color: var(--accent);
}

.file-upload-hint {
  font-size: 0.6875rem;
  color: var(--text-light);
}

/* File Selected */
.file-selected {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  margin-top: 0.5rem;
}

.file-selected.visible {
  display: flex;
}

.file-name {
  font-size: 0.8125rem;
  color: var(--accent);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-remove {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.file-remove:hover {
  background: #fee2e2;
  color: #dc2626;
}

/* Submit Button */
.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  transition: var(--transition);
  align-self: flex-start;
  position: relative;
}

.form-submit:hover {
  background: var(--accent-hover);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-icon {
  transition: transform 0.3s ease;
}

.form-submit:hover .submit-icon {
  transform: translate(2px, -2px);
}

.submit-loader {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.form-submit.loading .submit-text,
.form-submit.loading .submit-icon {
  display: none;
}

.form-submit.loading .submit-loader {
  display: inline-flex;
}

.spinner {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Form Success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0;
  animation: fadeInUp 0.5s ease;
}

.form-success.visible {
  display: flex;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}

.form-success-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.form-success-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-success-text {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* === Footer === */
.site-footer {
  background: var(--bg);
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
  opacity: 0;
  transition: opacity 1s ease;
}

.site-footer.visible {
  opacity: 1;
}

.footer-container {
  padding: 0 4.5vw;
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 1.5rem;
  width: auto;
}

.footer-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-backed {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-backed-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.footer-backed-logo {
  height: 2rem;
  width: auto;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.footer-copyright {
  font-size: 10px;
  color: var(--text-light);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-social-link:hover {
  background: rgba(1, 67, 143, 0.15);
  color: var(--accent);
}

/* === Scroll Reveal === */
.scroll-reveal {
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .hero-section {
    min-height: auto;
    height: auto;
  }

  /* On tablet: stack hero cards vertically, keep grid layout */
  .hero-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 2rem;
    padding: 12vh 4vw 4vh;
  }

  .hero-photo-card {
    height: 100%;
    min-height: 400px;
  }

  .hero-text-card {
    min-height: auto;
    padding: 2rem;
  }

  .hero-logo {
    left: 4vw;
    top: 3vh;
  }

  .contact-grid {
    gap: 2rem;
  }

  .info-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Hide desktop hero, show mobile */
  .hero-container {
    display: none;
  }

  .hero-mobile {
    display: flex;
    position: relative;
  }

  .hero-section {
    padding: 0;
    min-height: auto;
  }

  .hero-logo {
    left: 1rem;
    top: 1rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-link {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-mobile {
    padding: 5rem 1rem 1rem;
  }

  .hero-mobile-headline {
    font-size: 1.5rem;
  }

  .contact-container {
    padding: 0 1rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .contact-card {
    padding: 1.25rem;
    border-radius: var(--radius-sm);
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* === Print === */
@media print {
  .noise-overlay,
  #main-nav {
    display: none !important;
  }

  .hero-section {
    min-height: auto;
    page-break-after: always;
  }
}
                                            