
/* Indian Matrimonial Design System - Traditional colors and elegant gradients */

/* CSS Variables - Color System */
:root {
  /* Background and base colors */
  --background: hsl(45, 20%, 98%);
  --foreground: hsl(0, 15%, 15%);

  /* Card colors with warm tones */
  --card: hsl(0, 0%, 100%);
  --card-foreground: hsl(0, 15%, 15%);

  /* Primary - Deep Maroon/Burgundy */
  --primary: hsl(0, 65%, 25%);
  --primary-foreground: hsl(45, 20%, 98%);
  --primary-light: hsl(0, 45%, 35%);
  --primary-glow: hsl(0, 55%, 45%);

  /* Secondary - Warm Gold */
  --secondary: hsl(45, 85%, 85%);
  --secondary-foreground: hsl(0, 65%, 25%);
  --gold: hsl(45, 90%, 60%);
  --gold-bright: hsl(45, 95%, 70%);

  /* Accent - Saffron Orange */
  --accent: hsl(30, 90%, 60%);
  --accent-foreground: hsl(0, 0%, 100%);
  --saffron: hsl(35, 95%, 65%);

  /* Emerald Green accent */
  --emerald: hsl(140, 70%, 35%);
  --emerald-light: hsl(140, 50%, 45%);

  /* Muted tones */
  --muted: hsl(45, 30%, 92%);
  --muted-foreground: hsl(0, 15%, 45%);

  /* Border and input */
  --border: hsl(45, 25%, 88%);
  --input: hsl(45, 25%, 88%);

  /* Design system variables */
  --radius: 0.75rem;

  /* Beautiful gradients for matrimonial theme */
  --gradient-primary: linear-gradient(135deg, var(--primary), var(--primary-light));
  --gradient-gold: linear-gradient(135deg, var(--gold), var(--gold-bright));
  --gradient-warm: linear-gradient(135deg, var(--saffron), var(--accent));
  --gradient-hero: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--accent) 100%);
  
  /* Elegant shadows */
  --shadow-elegant: 0 10px 30px -10px hsla(0, 65%, 25%, 0.3);
  --shadow-gold: 0 8px 25px -8px hsla(45, 90%, 60%, 0.4);
  --shadow-soft: 0 4px 20px -4px hsla(0, 65%, 25%, 0.1);
  
  /* Smooth transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 1024px) {
  .container {
      padding: 0 2rem;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-elegant);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-outline {
  border: 1px solid hsla(0, 65%, 25%, 0.2);
  background: transparent;
  color: var(--foreground);
}

.btn-outline:hover {
  background: hsla(0, 65%, 25%, 0.05);
}

.btn-gold {
  background: var(--gold);
  color: var(--primary);
}

.btn-gold:hover {
  background: var(--gold-bright);
}

.btn-small {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  flex: 1;
}

.btn-large {
  padding: 0.75rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
  margin-top: 1rem;
}

.btn svg {
  margin-left: 0.5rem;
}

/* Header */
.header {
  background: rgba(252, 251, 248, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heart-icon {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

.logo-text {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .desktop-nav {
      display: flex;
  }
}

.nav-link {
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--primary);
}

.desktop-actions {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .desktop-actions {
      display: flex;
  }
}

.mobile-menu-btn {
  display: block;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .mobile-menu-btn {
      display: none;
  }
}

.mobile-menu {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: block;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 1rem;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--background) 0%, var(--background) 70%, hsla(45, 85%, 85%, 0.3) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
      grid-template-columns: 1fr 1fr;
  }
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeIn 0.6s ease-out;
}

.hero-title {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .hero-title {
      font-size: 3.75rem;
  }
}

.hero-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 40rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.stat-icon {
  color: var(--primary);
}

.stat-emerald {
  color: var(--emerald);
}

.search-card {
  background: var(--card);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid hsla(45, 25%, 88%, 0.5);
}

.search-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}

.search-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .search-form {
      grid-template-columns: repeat(3, 1fr);
  }
}

.form-select {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--background);
  color: var(--foreground);
  font-family: inherit;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
      flex-direction: row;
  }
}

.hero-right {
  position: relative;
  order: -1;
}

@media (min-width: 1024px) {
  .hero-right {
      order: 0;
  }
}

.hero-image-container {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-elegant);
}

.hero-image {
  width: 100%;
  height: 31.25rem;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .hero-image {
      height: 37.5rem;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsla(0, 65%, 25%, 0.2) 0%, transparent 50%, transparent 100%);
}

.floating-element {
  position: absolute;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-gold);
  animation: float 3s ease-in-out infinite;
}

.floating-heart {
  top: -1rem;
  right: -1rem;
  background: var(--gradient-warm);
  color: white;
}

.floating-users {
  bottom: -1rem;
  left: -1rem;
  background: var(--gradient-gold);
  color: var(--primary);
  animation-delay: 1s;
}

/* Featured Profiles */
.featured-profiles {
  padding: 5rem 0;
  background: hsla(45, 85%, 85%, 0.1);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .section-title {
      font-size: 2.5rem;
  }
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 32rem;
  margin: 0 auto;
}

.profiles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .profiles-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .profiles-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

.profile-card {
  background: hsla(0, 0%, 100%, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(45, 25%, 88%, 0.5);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition-smooth);
  animation: fadeIn 0.6s ease-out;
}

.profile-card:hover {
  box-shadow: var(--shadow-elegant);
  transform: translateY(-0.5rem);
}

.profile-image-container {
  position: relative;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.profile-card:hover .profile-image {
  transform: scale(1.05);
}

.verified-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--emerald);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.heart-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--primary);
}

.heart-btn:hover {
  background: white;
}

.profile-content {
  padding: 1.5rem;
}

.profile-header {
  margin-bottom: 1rem;
}

.profile-name {
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--foreground);
}

.profile-age {
  color: var(--muted-foreground);
}

.profile-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
}

.detail-item svg {
  color: var(--primary);
}

.religion-badge {
  background: hsla(45, 85%, 85%, 0.5);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 1rem;
}

.profile-actions {
  display: flex;
  gap: 0.5rem;
  padding-top: 1rem;
}

.section-footer {
  text-align: center;
}

/* Features */
.features {
  padding: 5rem 0;
  background: var(--background);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .features-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
      grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: hsla(0, 0%, 100%, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid hsla(45, 25%, 88%, 0.5);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  animation: fadeIn 0.6s ease-out;
}

.feature-card:hover {
  box-shadow: var(--shadow-elegant);
}

.feature-icon-container {
  margin-bottom: 1.5rem;
}

.feature-icon-bg {
  display: inline-flex;
  padding: 1rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, hsla(45, 85%, 85%, 0.5) 0%, hsla(45, 85%, 85%, 0.2) 100%);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-bg {
  background: linear-gradient(135deg, hsla(45, 85%, 85%, 0.7) 0%, hsla(45, 85%, 85%, 0.3) 100%);
}

.feature-icon {
  width: 2rem;
  height: 2rem;
}

.feature-primary {
  color: var(--primary);
}

.feature-emerald {
  color: var(--emerald);
}

.feature-saffron {
  color: var(--saffron);
}

.feature-gold {
  color: var(--gold);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.feature-description {
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Footer */
.footer {
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-main {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
      grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo-text {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

.footer-description {
  color: hsla(45, 20%, 98%, 0.8);
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: transparent;
  border: none;
  border-radius: var(--radius);
  color: var(--primary-foreground);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-link:hover {
  background: hsla(45, 20%, 98%, 0.1);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: hsla(45, 20%, 98%, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--primary-foreground);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: hsla(45, 20%, 98%, 0.8);
  font-size: 0.875rem;
}

.newsletter-title {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem;
  background: hsla(45, 20%, 98%, 0.1);
  border: 1px solid hsla(45, 20%, 98%, 0.2);
  border-radius: var(--radius);
  color: var(--primary-foreground);
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: hsla(45, 20%, 98%, 0.6);
}

.footer-bottom {
  border-top: 1px solid hsla(45, 20%, 98%, 0.2);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-bottom-content {
      flex-direction: row;
      justify-content: space-between;
  }
}

.copyright {
  color: hsla(45, 20%, 98%, 0.6);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-link {
  color: hsla(45, 20%, 98%, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.footer-bottom-link:hover {
  color: var(--primary-foreground);
}

/* Animations */
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-10px);
  }
}

/* Animation delays for staggered effects */
.profile-card:nth-child(1) { animation-delay: 0s; }
.profile-card:nth-child(2) { animation-delay: 0.2s; }
.profile-card:nth-child(3) { animation-delay: 0.4s; }

.feature-card:nth-child(1) { animation-delay: 0s; }
.feature-card:nth-child(2) { animation-delay: 0.1s; }
.feature-card:nth-child(3) { animation-delay: 0.2s; }
.feature-card:nth-child(4) { animation-delay: 0.3s; }
.feature-card:nth-child(5) { animation-delay: 0.4s; }
.feature-card:nth-child(6) { animation-delay: 0.5s; }

@layer utilities {
  /* Gradient utilities */
  .bg-gradient-primary {
    background: var(--gradient-primary);
  }
  
  .bg-gradient-gold {
    background: var(--gradient-gold);
  }
  
  .bg-gradient-warm {
    background: var(--gradient-warm);
  }
  
  .bg-gradient-hero {
    background: var(--gradient-hero);
  }
  
  /* Shadow utilities */
  .shadow-elegant {
    box-shadow: var(--shadow-elegant);
  }
  
  .shadow-gold {
    box-shadow: var(--shadow-gold);
  }
  
  .shadow-soft {
    box-shadow: var(--shadow-soft);
  }
  
  /* Text gradient utilities */
  .bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
  }
  
  .text-transparent {
    color: transparent;
  }
  
  /* Color utilities for matrimonial theme */
  .bg-primary {
    background-color: hsl(var(--primary));
  }
  
  .bg-primary-light {
    background-color: hsl(var(--primary-light));
  }
  
  .bg-gold {
    background-color: hsl(var(--gold));
  }
  
  .bg-gold-bright {
    background-color: hsl(var(--gold-bright));
  }
  
  .bg-saffron {
    background-color: hsl(var(--saffron));
  }
  
  .bg-emerald {
    background-color: hsl(var(--emerald));
  }
  
  .bg-emerald-light {
    background-color: hsl(var(--emerald-light));
  }
  
  .text-primary {
    color: hsl(var(--primary));
  }
  
  .text-primary-foreground {
    color: hsl(var(--primary-foreground));
  }
  
  .text-gold {
    color: hsl(var(--gold));
  }
  
  .text-saffron {
    color: hsl(var(--saffron));
  }
  
  .text-emerald {
    color: hsl(var(--emerald));
  }
  
  /* Border utilities */
  .border-primary {
    border-color: hsl(var(--primary));
  }
  
  .border-gold {
    border-color: hsl(var(--gold));
  }
  
  /* Hover states */
  .hover\:bg-primary\/5:hover {
    background-color: hsl(var(--primary) / 0.05);
  }
  
  .hover\:bg-primary\/10:hover {
    background-color: hsl(var(--primary) / 0.1);
  }
  
  .hover\:bg-gold:hover {
    background-color: hsl(var(--gold));
  }
  
  .hover\:bg-gold-bright:hover {
    background-color: hsl(var(--gold-bright));
  }
  
  .hover\:text-primary:hover {
    color: hsl(var(--primary));
  }
  
  .hover\:text-primary-foreground:hover {
    color: hsl(var(--primary-foreground));
  }
  
  .hover\:opacity-90:hover {
    opacity: 0.9;
  }
}