/* Desert Dreams - Shared Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --sand: #E8D5B7;
  --sand-light: #F5EDE0;
  --rose: #C4847A;
  --rose-deep: #A85B50;
  --midnight: #1A1A2E;
  --gold: #D4A853;
  --gold-light: #E8C97A;
  --cream: #FDF8F0;
  --blush: #F2D9D5;
  --success: #4A9E6B;
  --error: #C4574A;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--midnight);
  background: var(--cream);
  overflow-x: hidden;
}

a { color: var(--rose-deep); text-decoration: none; }
a:hover { color: var(--rose); }

/* ============================================= */
/* NAVIGATION */
/* ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 213, 183, 0.4);
  transition: box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(26, 26, 46, 0.06);
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--midnight);
  text-decoration: none;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--rose-deep), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--midnight);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--rose-deep);
}

.nav-cta {
  display: inline-block;
  padding: 10px 24px;
  background: var(--midnight);
  color: white !important;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  -webkit-text-fill-color: white !important;
}

.nav-cta:hover {
  background: var(--rose-deep);
  transform: translateY(-1px);
}

/* ============================================= */
/* BUTTONS */
/* ============================================= */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border: none;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--midnight);
  color: white;
}

.btn-primary:hover {
  background: #2A2A4E;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 26, 46, 0.2);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid var(--midnight);
}

.btn-secondary:hover {
  background: var(--midnight);
  color: white;
}

.btn-rose {
  background: var(--rose-deep);
  color: white;
}

.btn-rose:hover {
  background: #924E44;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(168, 91, 80, 0.25);
  color: white;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--midnight);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
  color: var(--midnight);
}

.btn-lg {
  padding: 16px 48px;
  font-size: 1.05rem;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ============================================= */
/* CARDS */
/* ============================================= */
.card {
  background: white;
  border-radius: 16px;
  border: 1px solid rgba(232, 213, 183, 0.5);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(26, 26, 46, 0.08);
}

/* ============================================= */
/* FORMS */
/* ============================================= */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--midnight);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--rose-deep);
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(232, 213, 183, 0.6);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--midnight);
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(196, 132, 122, 0.12);
}

.form-input::placeholder {
  color: rgba(26, 26, 46, 0.3);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231A1A2E' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

.form-error {
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================= */
/* PAGE LAYOUT */
/* ============================================= */
.page-content {
  padding-top: 80px;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.page-header {
  padding: 60px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--midnight);
  margin-bottom: 16px;
}

.page-header h1 span {
  background: linear-gradient(135deg, var(--rose-deep), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header p {
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(26, 26, 46, 0.6);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================= */
/* PRICE DISPLAY */
/* ============================================= */
.price {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  color: var(--midnight);
}

.price-amount {
  font-size: 1.8rem;
}

.price-label {
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(26, 26, 46, 0.5);
}

/* ============================================= */
/* FOOTER */
/* ============================================= */
.footer {
  padding: 40px 24px;
  text-align: center;
  background: var(--midnight);
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  font-weight: 300;
}

.footer span {
  color: var(--gold-light);
}

/* ============================================= */
/* LOADING & EMPTY STATES */
/* ============================================= */
.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(232, 213, 183, 0.4);
  border-top-color: var(--rose);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}

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

.loading p {
  font-size: 0.95rem;
  color: rgba(26, 26, 46, 0.5);
}

/* ============================================= */
/* TOAST NOTIFICATIONS */
/* ============================================= */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 24px;
  background: var(--midnight);
  color: white;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 200;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  max-width: 400px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.error {
  background: var(--error);
}

.toast.success {
  background: var(--success);
}

/* ============================================= */
/* RESPONSIVE */
/* ============================================= */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a:not(.nav-cta) {
    display: none;
  }

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

  .page-header {
    padding: 40px 0 24px;
  }
}

@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
  }

  .btn-lg {
    padding: 14px 32px;
    font-size: 0.95rem;
    width: 100%;
  }
}
