
/*
Theme Name: Royal Shaadi
Description: Premium wedding planning and vendor directory theme with Firebase integration
Version: 1.0
Author: Royal Shaadi Team
Text Domain: royal-shaadi
*/

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Header Styles */
.site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  color: #333;
}

.brand .accent {
  color: #b88458;
}

.main-nav {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: #b88458;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.auth-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-badge img {
  border-radius: 50%;
  object-fit: cover;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/wp-content/themes/wedding-theme/assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 4px 18px rgba(0,0,0,0.45);
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #f8f9fa;
}

/* Premium Cards */
.premium-card {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(10,10,10,0.06);
  transition: transform .28s ease, box-shadow .28s ease;
  height: 100%;
}

.premium-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.premium-card .card-body {
  padding: 1.5rem;
}

.premium-card h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.premium-card .tag {
  background: rgba(183,138,88,0.08);
  color: #b88458;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 0.75rem;
}

.premium-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(10,10,10,0.12);
}

/* Buttons */
.btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #b88458;
  color: #fff;
}

.btn-primary:hover {
  background: #a0754e;
  color: #fff;
}

.btn-outline-primary {
  border: 2px solid #b88458;
  color: #b88458;
  background: transparent;
}

.btn-outline-primary:hover {
  background: #b88458;
  color: #fff;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Grid Layouts */
.blog-grid, .vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.vendor-carousel {
  margin: 2rem 0;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section-bg {
  background: #f8f9fa;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Footer */
.site-footer {
  background: #333;
  color: #fff;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 1rem;
  color: #b88458;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #b88458;
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  text-align: center;
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .blog-grid, .vendor-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .header-inner {
    flex-wrap: wrap;
  }
}

/* WordPress Specific Styles */
.wp-post {
  margin-bottom: 2rem;
}

.wp-post-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.wp-post-meta {
  color: #666;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.wp-post-content {
  line-height: 1.8;
}

.wp-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Custom Post Types */
.vendor-listing {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  margin-bottom: 2rem;
}

.vendor-listing h3 {
  color: #b88458;
  margin-bottom: 1rem;
}

.vendor-meta {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.vendor-meta span {
  background: #f8f9fa;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Firebase Auth Styles */
.auth-modal .modal-content {
  border-radius: 12px;
}

.auth-modal .modal-header {
  border-bottom: none;
  padding-bottom: 0;
}

.auth-modal .btn-close {
  background: none;
  border: none;
}

/* Profile Styles */
.profile-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
}

.profile-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

/* Loading States */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #b88458;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-flex { display: flex; }
.d-none { display: none; }
.d-block { display: block; }

.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.align-items-center { align-items: center; }

.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }

.rounded { border-radius: 8px; }
.rounded-circle { border-radius: 50%; }

.shadow { box-shadow: 0 4px 15px rgba(0,0,0,0.08); }

.bg-light { background: #f8f9fa; }
.bg-white { background: #fff; }

.text-muted { color: #666; }
.text-success { color: #28a745; }
.text-danger { color: #dc3545; }

.fw-bold { font-weight: bold; }
.fw-normal { font-weight: normal; }

.small { font-size: 0.9rem; }
.lead { font-size: 1.2rem; }