/* ==========================================================================
   PagePeak Promotions - Off-White Theme Contact Styles (css/contact.css)
   ========================================================================== */

:root {
  --bg-offwhite: #F8FAFC;      /* Clean Off-White Background */
  --card-bg: #FFFFFF;          /* Pure White Container */
  --input-bg: #F1F5F9;         /* Soft Pill Input Base */
  --border-light: #E2E8F0;     /* Subtle Border */
  --border-dark: #CBD5E1;      /* Hover/Focus Border */
  --text-dark: #0F172A;        /* Dark Slate Heading */
  --text-body: #334155;        /* Body Text */
  --text-muted: #64748B;       /* Secondary Muted Text */
  --accent-gold: #D97706;      /* Brand Gold Accent */
  --accent-glow: rgba(217, 119, 6, 0.15);
  --error-color: #EF4444;      /* Validation Red */
  --success-color: #10B981;    /* Success Green */
  --font-family: 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Playfair Display', serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-offwhite);
  color: var(--text-body);
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
  background-color: rgba(255, 255, 255, 0.9);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.logo-mark {
  background: var(--accent-gold);
  color: #FFFFFF;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 1rem;
}

.logo span {
  color: var(--accent-gold);
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-dark);
  font-weight: 600;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text-dark);
  font-size: 1.4rem;
  cursor: pointer;
}

/* Hero Section */
.contact-hero {
  padding: 60px 0 40px;
  text-align: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #FEF3C7;
  border: 1px solid #FDE68A;
  color: var(--accent-gold);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.contact-hero p {
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* Main Grid Layout */
.contact-section {
  padding: 20px 0 80px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}

/* Gallery Column */
.visual-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.image-card:hover img {
  transform: scale(1.04);
}

.hero-card {
  height: 280px;
}

.image-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.small-card {
  height: 160px;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.85) 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.card-overlay span {
  font-size: 0.75rem;
  color: #FDE68A;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}

.card-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: #FFFFFF;
  margin-top: 4px;
}

.card-overlay.compact {
  align-items: center;
  justify-content: center;
  text-align: center;
  background: rgba(15, 23, 42, 0.65);
}

.card-overlay.compact i {
  font-size: 1.6rem;
  color: #FDE68A;
  margin-bottom: 8px;
}

.card-overlay.compact h4 {
  font-size: 0.95rem;
  color: #FFFFFF;
}

/* Form Column Styling */
.form-col {
  display: flex;
  flex-direction: column;
}

.form-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-card h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 32px;
}

/* Minimal Pill-Input Design */
.input-field {
  margin-bottom: 24px;
  position: relative;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--border-light);
  border-radius: 50px;
  padding: 16px 24px;
  font-family: var(--font-family);
  font-size: 0.95rem;
  color: var(--text-dark);
  outline: none;
  transition: all 0.25s ease;
  appearance: none;
  -webkit-appearance: none;
}

.input-field textarea {
  border-radius: 24px;
  resize: vertical;
}

.input-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
}

.input-field input::placeholder,
.input-field textarea::placeholder {
  color: var(--text-muted);
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  border-color: var(--accent-gold);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.input-field.invalid input,
.input-field.invalid select,
.input-field.invalid textarea {
  border-color: var(--error-color);
}

.error-text {
  display: none;
  font-size: 0.8rem;
  color: var(--error-color);
  margin-top: 6px;
  padding-left: 16px;
}

.input-field.invalid .error-text {
  display: block;
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background-color: var(--text-dark);
  color: #FFFFFF;
  border: none;
  border-radius: 50px;
  padding: 16px 24px;
  font-family: var(--font-family);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.submit-btn:hover {
  background-color: var(--accent-gold);
  transform: translateY(-2px);
}

/* Form Status Banner */
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.88rem;
  text-align: center;
}

.form-status.success {
  display: block;
  background-color: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-light);
  padding: 30px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .nav-links.active {
    display: flex;
  }

  .form-card {
    padding: 28px 20px;
  }
}

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo .logo-img {
  height: 60px;      /* Adjust height to fit your navbar */
  width: auto;       /* Maintains aspect ratio */
  object-fit: contain;
  display: block;
}