/* =========================
   Reset & Base
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  color: #e6eae6;
  background-color: #0f1a14;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #13251c;
  padding: 1rem 2rem;
  border-bottom: 1px solid #1f3a2c;
}

header a {
  color: #9fe0b8;
  text-decoration: none;
  margin-right: 1rem;
}

/* =========================
   Layout
   ========================= */
main, section {
  padding: 2rem;
  max-width: 80%;
  margin: 0 auto;
}

h2 {
  margin-bottom: 1rem;
  color: #e6f2ea;
}

.helper-text {
  font-size: 0.85rem;
  color: #cfe6da;
  margin-bottom: 0.5rem;
}

/* =========================
   Hero Section
   ========================= */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% 74%;
  transform: scale(1.82);
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  padding: 2rem;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: inherit;
}

.hero p {
  font-size: 1.2rem;
  max-width: 80%;
  margin: 0 auto 2rem;
  color: #cfe6da;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero button – previously conflicted with .feature-card */
.hero-button {
  display: inline-block;
  background: #f97316;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.8rem;
  border-radius: 2rem;
  font-weight: 600;
  transition: background 0.2s;
}

.hero-button:hover {
  background: #e65c00;
}

/* =========================
   Feature Cards
   ========================= */
.feature-card,
.feature-card-main {
  box-sizing: border-box;
  width: 100%;
  border-radius: 14px;
  padding: 2rem;
  border: 1px solid #1f3a2c;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}

.feature-card {
  background-color: #e65c00;
  border-radius: 14px;
  padding: 1rem 2rem;
  border: 1px solid #1f3a2c;
  transition: transform 0.2s, background 0.2s;
  cursor: pointer;
  color: #e9f4ee;
  font-weight: 600;
}

.feature-card-main {
  background: linear-gradient(90deg, #0d1f14, #13251c);
}

/* Hover effect for consistency (optional) */
.feature-card:hover,
.feature-card-main:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

/* Responsive: reduce padding on mobile */
@media (max-width: 768px) {
  .feature-card,
  .feature-card-main {
    padding: 1.25rem;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
    max-width: 90%;
  }
  
  main, section {
    padding: 1rem;
    max-width: 95%;
  }
  
  header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* =========================
   Inputs & Textareas
   ========================= */
label {
  display: block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #cfe6da;
}

input, textarea, select {
  width: 100%;
  margin-top: 0.4rem;
  padding: 0.6rem 0.75rem;
  font-size: 0.95rem;
  border-radius: 6px;
  border: 1px solid #1f3a2c;
  background-color: #0f1a14;
  color: #e6eae6;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #2f6f4e;
}

/* =========================
   Photo Source Buttons
   ========================= */
.photo-source {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.photo-btn {
  display: inline-block;
  padding: 0.8rem 1.2rem;
  border-radius: 10px;
  background-color: #2f6f4e;
  color: #e9f4ee;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  text-align: center;
  user-select: none;
}

.photo-btn input[type="radio"] {
  display: none;
}

.photo-btn:hover {
  background-color: #3e8b63;
  transform: translateY(-2px);
}

.photo-btn input[type="radio"]:checked + span,
.photo-btn input[type="radio"]:checked {
  border-color: #9fe0b8;
  box-shadow: 0 4px 10px rgba(0, 255, 150, 0.4);
}

/* =========================
   Drag & Drop Zone
   ========================= */
.drop-zone {
  margin-top: 1rem;
  padding: 2rem;
  border: 2px dashed #2f6f4e;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  background-color: #1e3b2e;
  color: #cfe6da;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.drop-zone:hover,
.drop-zone.dragover,
.drop-zone:focus-within {
  background-color: #2f6f4e;
  border-color: #9fe0b8;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0,0,0,0.35);
  color: #e9f4ee;
}

.drop-zone.has-file {
  background-color: #2f6f4e;
  box-shadow: 0 0 10px #9fe0b8;
}

.drop-zone p {
  margin: 0;
}

/* =========================
   Preview
   ========================= */
.preview {
  margin-top: 1rem;
  display: none;
}

.preview img {
  max-width: 100%;
  border-radius: 10px;
  border: 1px solid #1f3a2c;
}

/* =========================
   Buttons
   ========================= */
button {
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  background-color: #2f6f4e;
  color: #e9f4ee;
  border: none;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.2s ease;
}

button:hover {
  background-color: #3e8b63;
  transform: translateY(-2px);
}

/* Buttons side by side container */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* =========================
   Status & Success
   ========================= */
#status {
  margin-top: 1rem;
  font-size: 0.9rem;
}

.success {
  color: #9fe0b8;
  animation: pop 0.6s ease forwards;
}

@keyframes pop {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}


/* Mobile photo action buttons */
.photo-source-mobile {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.photo-action-btn {
  flex: 1;
  padding: 14px 10px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid #2f6f4e;
  border-radius: 10px;
  background: #1c3a2a;
  color: #9fe0b8;
  cursor: pointer;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s, color 0.15s;
}

.photo-action-btn:active {
  background: #2f6f4e;
  color: #fff;
}