/* RK REDDY Matrimony Design System - Vanilla CSS */

/* === Root variables === */
:root {
  --background: hsl(35, 20%, 98%);
  --foreground: hsl(345, 25%, 15%);

  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(345, 25%, 15%);

  --popover: hsl(0, 0%, 100%);
  --popover-foreground: hsl(345, 25%, 15%);

  --primary: hsl(345, 65%, 45%);
  --primary-foreground: hsl(35, 20%, 98%);
  --primary-glow: hsl(345, 75%, 55%);

  --secondary: hsl(35, 45%, 92%);
  --secondary-foreground: hsl(345, 25%, 15%);

  --muted: hsl(35, 30%, 95%);
  --muted-foreground: hsl(345, 15%, 40%);

  --accent: hsl(45, 85%, 75%);
  --accent-foreground: hsl(345, 25%, 15%);

  --destructive: hsl(0, 84.2%, 60.2%);
  --destructive-foreground: hsl(35, 20%, 98%);

  --border: hsl(35, 25%, 88%);
  --input: hsl(35, 25%, 94%);
  --ring: hsl(345, 65%, 45%);

  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-glow));
  --gradient-hero: linear-gradient(135deg, hsla(345, 65%, 45%, 0.9), hsla(45, 85%, 65%, 0.9));
  --gradient-card: linear-gradient(180deg, var(--card), hsl(35, 30%, 96%));

  --shadow-elegant: 0 10px 30px -10px hsla(345, 65%, 45%, 0.3);
  --shadow-glow: 0 0 40px hsla(345, 75%, 55%, 0.2);
  --shadow-soft: 0 4px 20px -4px hsla(345, 65%, 45%, 0.15);

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  --radius: 0.5rem;
}

/* === Dark mode variables === */
.dark {
  --background: hsl(222.2, 84%, 4.9%);
  --foreground: hsl(210, 40%, 98%);

  --card: hsl(222.2, 84%, 4.9%);
  --card-foreground: hsl(210, 40%, 98%);

  --popover: hsl(222.2, 84%, 4.9%);
  --popover-foreground: hsl(210, 40%, 98%);

  --primary: hsl(210, 40%, 98%);
  --primary-foreground: hsl(222.2, 47.4%, 11.2%);

  --secondary: hsl(217.2, 32.6%, 17.5%);
  --secondary-foreground: hsl(210, 40%, 98%);

  --muted: hsl(217.2, 32.6%, 17.5%);
  --muted-foreground: hsl(215, 20.2%, 65.1%);

  --accent: hsl(217.2, 32.6%, 17.5%);
  --accent-foreground: hsl(210, 40%, 98%);

  --destructive: hsl(0, 62.8%, 30.6%);
  --destructive-foreground: hsl(210, 40%, 98%);

  --border: hsl(217.2, 32.6%, 17.5%);
  --input: hsl(217.2, 32.6%, 17.5%);
  --ring: hsl(212.7, 26.8%, 83.9%);
}

/* === Base === */
* {
  border-color: var(--border);
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: sans-serif;
}

/* === Components === */

/* Hero gradient overlay */
.hero-gradient {
  background: var(--gradient-hero);
}

/* Elegant card style */
.card-elegant {
  background: var(--gradient-card);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.card-elegant:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-2px);
}

/* Custom matrimony button style */
.btn-matrimony {
  background: var(--gradient-primary);
  box-shadow: var(--shadow-elegant);
  color: var(--primary-foreground);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-bounce);
}

.btn-matrimony:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

/* Form styling */
.form-elegant {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid hsla(35, 25%, 88%, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
}

/* Image overlay hover effect */
.image-overlay {
  position: relative;
  overflow: hidden;
}

.image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, hsla(345, 65%, 45%, 0.1), transparent);
  opacity: 0;
  transition: var(--transition-smooth);
}

.image-overlay:hover::after {
  opacity: 1;
}
/* === CONTAINER & LAYOUT === */
.register-section {
  padding: 5rem 1rem;
  background: var(--gradient-hero);
}

.container {
  max-width: 960px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header .heart-icon {
  font-size: 2.5rem;
}

.form-header h2 {
  font-size: 2rem;
  margin: 0.5rem 0;
}

.form-header p {
  font-size: 1rem;
  color: #555;
}

.card {
  background: var(--gradient-card);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 0.375rem;
}

/* === BUTTON === */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 1.1rem;
}

.form-submit {
  text-align: center;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #777;
}
