/*
Theme Name: Matrimony Theme V2
Theme URI: https://example.com/matrimony-theme-v2
Author: Custom Developer
Author URI: https://example.com
Description: A modern WordPress theme for matrimony websites.
Version: 2.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matrimony-theme-v2
*/

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

.hero-section {
  background: url('assets/hero.jpg') center/cover no-repeat;
  color: white;
  padding: 100px 20px;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 600;
}

.hero-subtitle {
  font-size: 18px;
  margin: 20px 0;
}

.hero-search input {
  padding: 10px;
  margin: 5px;
  width: 200px;
  max-width: 90%;
}

.hero-search button {
  padding: 12px 24px;
  background-color: #d94e62;
  color: white;
  border: none;
}

.featured-members {
  padding: 60px 20px;
  background: #f8f8f8;
}

.profile-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.profile-card {
  background: white;
  padding: 20px;
  border: 1px solid #eee;
  width: 220px;
  border-radius: 8px;
  text-align: center;
}

.cta-section {
  background: #d94e62;
  color: white;
  padding: 60px 20px;
}

.cta-button {
  background: white;
  color: #d94e62;
  padding: 12px 30px;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 4px;
}

.navbar-nav .nav-link {
  padding: 12px 20px;
  font-weight: 500;
  color: #000;
  transition: all 0.3s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .current-menu-item .nav-link {
  color: #e84150;
}

.btn-danger {
  background-color: #ff4e63;
  border: none;
  padding: 8px 16px;
  font-weight: bold;
  border-radius: 6px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-nav .nav-item .nav-link {
  padding: 10px 15px;
  font-weight: 500;
  color: #333;
  transition: 0.3s;
}

.navbar-nav .nav-item .nav-link:hover,
.navbar-nav .nav-item .nav-link.active {
  color: #ff4e63;
}

.btn-danger {
  background-color: #ff4e63;
  border: none;
  border-radius: 8px;
}

.form-select {
  padding: 10px 14px;
  border-radius: 10px;
}


section img {
  object-fit: cover;
  height: 100%;
}

.img-grid-square {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.our-members-section {
      /* background: #fa5c63 url(https://i.imgur.com/KyV8v8o.png) repeat; */
    padding: 80px 20px;
    text-align: center;
    color: #fff;
    background-color: #FF5A60;
    background-image: url(https://wpmatrimony.wpdating.com/wp-content/uploads/2021/11/heart-pattern-bg-1.png);
    background-position: center center;
    background-repeat: repeat;
}

.our-members-section .section-subtitle {
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: bold;
}

.our-members-section .section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.our-members-section .section-description {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 14px;
  color: #f8f8f8;
}

.member-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: #fff;
  color: #fa5c63;
  border: none;
  padding: 10px 18px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #c94b55;
  color: #fff;
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.member-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.member-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.member-name {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
  color: #fff;
  font-weight: 500;
  text-align: left;
  font-size: 15px;
}

.view-members-btn-wrap {
  text-align: center;
}

.view-members-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #fff;
  color: #fa5c63;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.view-members-btn:hover {
  background: #c94b55;
  color: #fff;
}


.site-footer {
  background-color: #1a1a1a;
  color: #f0f0f0;
  padding: 60px 20px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-col h3 {
  font-size: 18px;
  margin-bottom: 16px;
  color: #ffffff;
}

.footer-col p,
.footer-col ul {
  font-size: 15px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: #ff3366;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid #333;
  font-size: 14px;
}

.footer-logo {
  font-size: 24px;
}

/* Modal Styles */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.auth-modal-content {
  background: #fff;
  width: 100%;
  max-width: 500px;
  margin: 100px auto;
  padding: 20px;
  border-radius: 12px;
  position: relative;
}

.auth-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.auth-tab {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.auth-tab.active {
  border-color: #f44336; /* red */
  color: #f44336;
}

.auth-form-wrapper {
  display: flex;
  flex-direction: column;
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-close {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 24px;
  cursor: pointer;
}

/* Modal Background */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
}

/* Modal Box */
.auth-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  animation: fadeIn 0.3s ease-in-out;
}

/* Tabs */
.auth-tabs {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.auth-tab {
  background: none;
  border: none;
  font-weight: bold;
  padding-bottom: 5px;
  font-size: 18px;
  cursor: pointer;
  color: #333;
  position: relative;
}

.auth-tab.active {
  color: #e63946;
}

.auth-tab.active::after {
  content: '';
  height: 2px;
  width: 100%;
  background: #e63946;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Form */
.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  cursor: pointer;
}

/* Animate */
@keyframes fadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.blog-hero {
  background-color: #ff5c5c;
    color: white;
    text-align: center;
    padding: 100px 0 104px;
    position: relative;
    overflow: hidden;
}

.blog-hero::after {
  content: "";
  display: block;
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: white;
  border-radius: 100% 100% 0 0;
}

.blog-title {
  font-size: 42px;
  font-weight: 700;
  z-index: 2;
  position: relative;
}

.blog-posts {
  background-color: #fff;
  padding: 60px 0;
}

.blog-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card .category {
  font-size: 13px;
  color: #ff5c5c;
  font-weight: 600;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.blog-card h4 a {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}

.blog-card h4 a:hover {
  color: #ff5c5c;
}

.blog-date {
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

.blog-card img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin-bottom: 15px;
}
