/* ==============================================================================
   SEEMA CREATIONS — ARTISANAL DESIGN SYSTEM (CSS VARIABLES & TOKENS)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400&display=swap');

:root {
  /* Brand Heritage Color Palette */
  --primary: #1B4332;
  --primary-dark: #122F23;
  --primary-light: #2D6A4F;
  --primary-rgb: 27, 67, 50;

  --background: #FDFBF7;
  --secondary: #F5EFE6;
  --surface: #FFFFFF;
  --surface-alt: #FAF6F0;

  --accent: #C8963E;
  --accent-light: #E5B25D;
  --accent-dark: #A57827;
  --accent-rgb: 200, 150, 62;

  --terracotta: #C85A32;
  --terracotta-light: #DF7651;

  --text: #281B13;
  --text-muted: #756E67;
  --text-light: #9B948D;

  --border: #E8DED0;
  --border-light: #F0E8DC;

  /* Compatibility Aliases */
  --bg-cream: #FDFBF7;
  --charcoal: #281B13;
  --gold-dark: #A57827;
  --forest-green: #1B4332;
  --shadow-md: 0 4px 16px rgba(40, 27, 19, 0.08);

  --success: #2D6A4F;
  --warning: #D97706;
  --error: #B94A3D;

  /* Typography */
  --font-serif: "Playfair Display", Georgia, Cambria, serif;
  --font-sans: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Layout & Spacing */
  --container-max: 1280px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-subtle: 0 2px 8px rgba(40, 27, 19, 0.04);
  --shadow-card: 0 4px 16px rgba(40, 27, 19, 0.06);
  --shadow-hover: 0 10px 28px rgba(27, 67, 50, 0.12);
  --shadow-modal: 0 20px 48px rgba(40, 27, 19, 0.16);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--text);
  font-weight: 600;
  line-height: 1.25;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.85rem; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.2rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.35rem; }
  h3 { font-size: 1.75rem; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Containers */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 1024px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF !important;
  border-color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.3);
  transform: translateY(-1px);
}

.btn-accent {
  background-color: var(--accent);
  color: #FFFFFF !important;
  border-color: var(--accent);
}

.btn-accent:hover {
  background-color: var(--accent-dark);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.35);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn-outline:hover {
  background-color: var(--primary);
  color: #FFFFFF !important;
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: #EFE6DA;
}

.btn-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==============================================================================
   FORM DESIGN SYSTEM (Ultra-Clean Modern Artisan Forms)
   ============================================================================== */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.45rem;
  letter-spacing: 0.01em;
}

.form-label .required,
.form-label .text-danger {
  color: var(--terracotta);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.925rem;
  line-height: 1.5;
  color: var(--text);
  background-color: #FFFFFF;
  background-clip: padding-box;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
  outline: none;
  font-family: inherit;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: var(--text-light);
  opacity: 0.85;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 67, 50, 0.12);
  background-color: #FFFFFF;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: var(--surface-alt);
  opacity: 0.75;
  cursor: not-allowed;
}

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

select.form-control {
  appearance: none;
  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='%23756E67' 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 1rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

.input-with-icon {
  position: relative;
}

.input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.input-with-icon .form-control {
  padding-left: 42px;
}

.form-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.form-check-input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label {
  font-size: 0.875rem;
  color: var(--text);
  cursor: pointer;
  line-height: 1.4;
}

/* Micro-animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.animate-fade-in { animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up { animation: slideUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-scale-in { animation: scaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(var(--primary-rgb), 0.35);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
