/*
Theme Name: SoulMate Matrimonial
Description: A beautiful matrimonial theme extending Astra, compatible with Ultimate Member
Version: 1.0.0
Template: astra
Author: SoulMate Team
Text Domain: soulmate-matrimonial
*/

/* Import Astra parent theme styles */
@import url("../astra/style.css");

/* Custom theme styles */
:root {
  --primary-color: #e11d48;
  --secondary-color: #f97316;
  --accent-color: #3b82f6;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #e11d48 0%, #f97316 100%);
  --gradient-light: linear-gradient(135deg, #fdf2f8 0%, #fff7ed 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --border-radius: 0.5rem;
  --border-radius-lg: 1rem;
  --border-radius-full: 9999px;
}

/* Global Styles */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

#html-body {
  padding: 0;
  margin: 0;
}

.site-content {
  padding: 0;
  margin-top: 4rem;
}

.container {
  width: 90%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.site-header .site-branding {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-header .site-title {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.site-header .logo-icon {
  width: 2rem;
  height: 2rem;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Navigation Styles */
.main-navigation ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-navigation a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-navigation a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero-section {
  background: var(--gradient-light);
  padding: 8rem 0 4rem;
  text-align: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-content .highlight {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stat {
  text-align: center;
}

.hero-stat .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.hero-stat .label {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-secondary {
  background: white;
  color: var(--text-dark);
  border: 2px solid #e5e7eb;
}

.btn-outline-secondary:hover {
  background: white;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Search Section */
.search-section {
  padding: 4rem 0;
  background: white;
}

.search-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.filter-group label {
  font-weight: 600;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-group select,
.filter-group input {
  /* padding: 0.75rem; */
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

/* Profile Cards */
.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.profile-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  max-width: 400px;
}

.profile-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.profile-image {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.profile-card:hover .profile-image img {
  transform: scale(1.05);
}

.profile-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
}

/* .badge {
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.badge-verified {
  background: #10b981;
}

.badge-premium {
  background: var(--gradient-primary);
} */

.profile-info {
  padding: 1.5rem;
}

.profile-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.profile-details {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.profile-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.interest-tag {
  background: #fdf2f8;
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

/* Success Stories */
.success-stories {
  padding: 4rem 0;
  background: var(--gradient-light);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.story-card {
  background: white;
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s ease;
}

.story-card:hover {
  transform: translateY(-3px);
}

.story-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.story-images img {
  width: 4rem;
  height: 4rem;
  border-radius: var(--border-radius-full);
  object-fit: cover;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
}

.story-heart {
  width: 3rem;
  height: 3rem;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* Ultimate Member Integration */
.um-form {
  max-width: 500px;
  margin: 0 auto;
  background: inherit;
  /* padding: 2rem; */
  /* border-radius: var(--border-radius-lg); */
  /* box-shadow: var(--shadow-md); */
}

.um-form .um-field {
  margin-bottom: 1.5rem;
}

.um-form .um-field-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: block;
}

.um-form input[type="text"],
.um-form input[type="email"],
.um-form input[type="password"],
.um-form select,
.um-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.um-form input:focus,
.um-form select:focus,
.um-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.um-button {
  background: var(--gradient-primary) !important;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--border-radius-full);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.um-button.um-alt {
  background: var(--secondary-color) !important;
}

.um-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Ultimate Member Custom Styling */
.um-form-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.um-form-subtitle {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.um-form .um-col-1 {
  width: 100%;
}

.um-form .um-field-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.um-form .um-field-success {
  color: #10b981;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

/* Login/Register Page Styling */
.um-page {
  padding: 3rem 0 4rem;
  background: var(--gradient-light);
  min-height: 100vh;
}

/* Social Login Buttons */
.um-form .um-social-login {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.um-form .um-social-login a {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

/* Form Links */
.um-form .um-form-link {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.um-form .um-form-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.um-form .um-form-link a:hover {
  text-decoration: underline;
}

/* Footer */
.site-footer {
  background: #1f2937;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .search-filters {
    grid-template-columns: 1fr;
  }
  
  .profiles-grid {
    grid-template-columns: 1fr;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.6s ease forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}