/* ==========================================================================
   HC Photography - Luxury Booking Inquiry Form Stylesheet
   Theme: Obsidian & Metallic Gold with Ambient Floral Pattern
   ========================================================================== */

:root {
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-brand: 'Marcellus', 'Cormorant Garamond', 'Playfair Display', serif;
  --font-serif: 'Marcellus', 'Playfair Display', serif;
  
  --bg-page: #050608;
  --bg-card: #0c0e12;
  --bg-day-card: #090b10;
  --bg-input: #06070b;
  --bg-team-item: #0d0f15;
  
  --border-card: rgba(212, 175, 55, 0.28);
  --border-card-hover: rgba(212, 175, 55, 0.5);
  --border-divider: rgba(212, 175, 55, 0.3);
  --border-input: #1f232e;
  --border-day-card: #1a1d26;
  --border-team: #1a1e28;
  
  --gold-primary: #dfba45;
  --gold-light: #fff2be;
  --gold-dark: #aa8014;
  --gold-text: #dfba45;
  --gold-btn-bg: rgba(212, 175, 55, 0.08);
  --gold-btn-border: rgba(212, 175, 55, 0.35);
  
  --text-white: #ffffff;
  --text-label: #e2e4e9;
  --text-muted: #8a919e;
  --text-dim: #555b68;
  
  --radius-card: 16px;
  --radius-sm: 6px;
  --radius-btn: 8px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  min-height: 100vh;
  background-color: #050608;
  background-image: linear-gradient(180deg, #090a0e 0%, #050608 100%);
  background-attachment: fixed;
  color: var(--text-white);
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
}

/* ==========================================================================
   Clean Minimalist Background Architecture
   ========================================================================== */
.modern-bg-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

/* Crisp Clean Line-Art Botanicals (No Glow) */
.modern-line-botanical {
  position: absolute;
  top: 0;
  height: 100%;
  width: clamp(160px, 22vw, 340px);
  pointer-events: none;
  opacity: 0.45;
  will-change: transform, opacity;
  transition: opacity 0.3s ease;
}

.botanical-left {
  left: -10px;
  animation: modernSwayLeft 18s ease-in-out infinite alternate;
}

.botanical-right {
  right: -10px;
  animation: modernSwayRight 20s ease-in-out infinite alternate;
}

@keyframes modernSwayLeft {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(14px) rotate(1.2deg); }
}

@keyframes modernSwayRight {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-14px) rotate(-1.2deg); }
}

@media (max-width: 768px) {
  .modern-line-botanical {
    opacity: 0.22;
    width: clamp(100px, 22vw, 150px);
  }
}

/* ==========================================================================
   Page Container & Layout
   ========================================================================== */
.page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 42px 16px 54px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Studio Brand Banner (Crisp Luxury - No Glow)
   ========================================================================== */
.studio-brand-banner {
  text-align: center;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeInDown 0.6s ease;
}

.brand-logo-wrap {
  width: clamp(110px, 16vw, 150px);
  height: clamp(110px, 16vw, 150px);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo-wrap:hover {
  transform: scale(1.06);
}

.brand-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-main-name {
  font-family: var(--font-brand);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 500;
  letter-spacing: clamp(4px, 1.2vw, 8px);
  text-transform: uppercase;
  color: var(--gold-primary);
  background: linear-gradient(180deg, #fff3c4 0%, #dfba45 55%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: 4px;
  margin-bottom: 2px;
}

.brand-luxury-badge {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  padding: 5px 20px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 30px;
  background: rgba(18, 15, 10, 0.8);
}

.brand-studio-location {
  font-size: 0.76rem;
  color: #9ca3af;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  font-weight: 500;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Modal Form Card (Crisp Minimalist Luxury)
   ========================================================================== */
.modal-form-card {
  width: 100%;
  max-width: 680px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  position: relative;
  transition: border-color 0.3s ease;
}

.modal-form-card:hover {
  border-color: var(--border-card-hover);
}

/* Header */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.header-content-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Calendar Badge */
.calendar-badge {
  width: 34px;
  height: 34px;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

.cal-top-bar {
  height: 9px;
  background: #ef4444;
  width: 100%;
}

.cal-number {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
}

.header-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-main-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.form-sub-title {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Header Close Button */
.btn-close-box {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1.5px solid #2563eb;
  background: rgba(37, 99, 235, 0.08);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}

.btn-close-box:hover {
  background: rgba(37, 99, 235, 0.22);
  color: #93c5fd;
}

/* Section Dividers */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0 10px;
}

.section-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--gold-text);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  white-space: nowrap;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.45) 0%, rgba(212, 175, 55, 0.08) 100%);
}

/* Grids & Groups */
.form-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 10px;
}

@media (max-width: 600px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group.full-width {
  margin-top: 8px;
}

.field-title {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-label);
}

.field-input,
.field-select,
.field-textarea {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  padding: 8.5px 12px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field-input:focus,
.field-select:focus,
.field-textarea:focus {
  border-color: var(--gold-text);
  box-shadow: 0 0 0 2px rgba(223, 186, 69, 0.35);
}

.field-input::placeholder,
.field-textarea::placeholder {
  color: var(--text-dim);
}

/* Custom Select Dropdown */
.select-container {
  position: relative;
  width: 100%;
}

.select-container select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 30px;
  cursor: pointer;
}

.select-container::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-right: 1.5px solid #9ca3af;
  border-bottom: 1.5px solid #9ca3af;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.select-container option {
  background: #0c0e12;
  color: #fff;
}

.field-textarea {
  resize: vertical;
  min-height: 76px;
  line-height: 1.5;
}

/* Schedule & Requirements */
.schedule-caption-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 6px 0 8px;
}

.schedule-sub-hint {
  font-size: 0.73rem;
  color: var(--text-muted);
}

/* Day Cards List */
.days-list-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.day-card {
  background: var(--bg-day-card);
  border: 1px solid var(--border-day-card);
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.day-card-header {
  display: grid;
  grid-template-columns: 1.3fr 1fr auto;
  gap: 10px;
  align-items: center;
}

@media (max-width: 560px) {
  .day-card-header {
    grid-template-columns: 1fr;
  }
}

.day-field-pair {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gold-inline-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-text);
  white-space: nowrap;
}

.day-input {
  width: 100%;
  background: #050608;
  border: 1px solid #1c1f28;
  border-radius: 5px;
  padding: 7px 10px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.day-input:focus {
  border-color: var(--gold-text);
}

.day-card-desc {
  margin-top: 8px;
}

.btn-remove-day {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 5px;
  padding: 6px 8px;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.btn-remove-day:hover {
  background: rgba(239, 68, 68, 0.22);
}

/* Team Checkbox Grid & Quantity Controls */
.day-team-section {
  margin-top: 12px;
}

.team-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #858b97;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

@media (max-width: 520px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-check-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--bg-team-item);
  border: 1px solid var(--border-team);
  border-radius: 6px;
  padding: 6px 10px;
  user-select: none;
  transition: all 0.2s ease;
}

.team-check-item:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.team-cb-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.team-cb-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.custom-cb {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  border: 1px solid #4b5563;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.team-cb-label input[type="checkbox"]:checked + .custom-cb {
  background: var(--gold-text);
  border-color: var(--gold-text);
}

.team-cb-label input[type="checkbox"]:checked + .custom-cb::after {
  content: "";
  position: absolute;
  width: 3.5px;
  height: 7px;
  border: solid #000;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
  top: 1.5px;
}

.team-name {
  font-size: 0.8rem;
  font-weight: 500;
  color: #e5e7eb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Quantity Controls - Displayed only when checked (Digit only) */
.team-qty-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
  background: #06080c;
  border: 1px solid rgba(223, 186, 69, 0.5);
  border-radius: 4px;
  padding: 1px 3px;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  animation: qtySlideIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes qtySlideIn {
  from {
    opacity: 0;
    transform: translateX(6px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.team-qty-input {
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  color: #fff3c4;
  font-family: var(--font-main);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
  outline: none;
  padding: 0;
  -moz-appearance: textfield;
}

.team-qty-input::-webkit-outer-spin-button,
.team-qty-input::-webkit-inner-spin-button {
  opacity: 0.7;
  cursor: pointer;
}

.team-qty-input:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.team-qty-input:focus {
  background: rgba(223, 186, 69, 0.18);
  border-radius: 2px;
}

/* Active State */
.team-check-item.active,
.team-check-item:has(input[type="checkbox"]:checked) {
  border-color: rgba(223, 186, 69, 0.65);
  background: rgba(223, 186, 69, 0.08);
}

.team-check-item.active .team-name,
.team-check-item:has(input[type="checkbox"]:checked) .team-name {
  color: #ffffff;
  font-weight: 600;
}

.team-check-item.active .team-qty-wrapper,
.team-check-item:has(input[type="checkbox"]:checked) .team-qty-wrapper {
  display: flex;
}

/* + Add Another Event Date Button */
.btn-add-event-date {
  width: 100%;
  background: var(--gold-btn-bg);
  border: 1px solid var(--gold-btn-border);
  border-radius: 6px;
  color: var(--gold-text);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8.5px 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
  text-align: center;
}

.btn-add-event-date:hover {
  background: rgba(212, 175, 55, 0.18);
  border-color: var(--gold-text);
}

/* Footer & Copyright */
.card-footer-copyright {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.72rem;
  margin: 18px 0 14px;
}

/* Bottom Action Buttons */
.card-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.btn-action-cancel {
  background: #11141b;
  border: 1px solid #232836;
  border-radius: 6px;
  color: #e5e7eb;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  padding: 8.5px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-action-cancel:hover {
  background: #171c26;
  color: #ffffff;
  border-color: #3b4254;
}

/* Clean Solid Gold Submit Button (No Glow) */
.btn-action-submit {
  background: linear-gradient(135deg, #fff2be 0%, #dfba45 45%, #b8860b 100%);
  border: none;
  border-radius: var(--radius-btn);
  color: #08090c;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9.5px 24px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.btn-action-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  filter: brightness(1.05);
}

.btn-action-submit:active:not(:disabled) {
  transform: translateY(0);
}

.btn-action-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Success Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #0f1217;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  max-width: 440px;
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 30px rgba(212, 175, 55, 0.15);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-window {
  transform: scale(1);
}

.modal-icon-ring {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1.5px solid #10b981;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.modal-headline {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}

.modal-description {
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 16px;
}

.modal-reference {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 5px;
  padding: 5px 12px;
  font-family: monospace;
  color: var(--gold-text);
  font-size: 0.82rem;
  display: inline-block;
  margin-bottom: 20px;
}

.modal-btn-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-close-modal {
  background: linear-gradient(135deg, #fff2be 0%, #dfba45 45%, #b8860b 100%);
  border: none;
  color: #08090c;
  font-family: inherit;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px 20px;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.btn-close-modal:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  filter: brightness(1.05);
}

/* Spinner */
.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

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

/* Studio Micro-Footer */
.studio-bottom-footer {
  margin-top: 24px;
  text-align: center;
  color: #626875;
  font-size: 0.74rem;
  letter-spacing: 0.8px;
  z-index: 1;
}

/* Date input calendar icon styling for dark mode */
input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8) sepia(1) saturate(5) hue-rotate(5deg);
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

