/* -----------------------------------------------------------
   JUSTFIND FULL JUSTDIAL-STYLE UI
   Clean, modern, fully responsive front-page
------------------------------------------------------------*/

:root {
  --primary: #f37335;
  --primary-dark: #d5492f;
  --blue: #003366;
  --light-blue: #e6f0ff;
  --purple: #6a0dad;
  --pink: #e91e63;
  
  --bg: #fafafa;
  --card: #fff;
  --border: #e4e4e4;
  --text: #333;
  --text-muted: #666;

  --radius: 12px;
  --pill: 999px;

  --shadow: 0 2px 6px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-hover: 0 10px 25px rgba(0,0,0,0.15);

  --transition: all 0.3s ease;
}

/* Reset */
* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Container */
.container { 
  max-width:1200px; 
  margin:auto; 
  padding:0 16px;
}

/* -----------------------------------
   HEADER
-----------------------------------*/
.header {
  background:#fff;
  padding:12px 0;
  box-shadow:0 1px 4px rgba(0,0,0,0.1);
  position:sticky; top:0; z-index:40;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  font-size:26px; font-weight:700;
  color:var(--blue);
  display: flex;
  align-items: center;
}
.logo span { color:var(--primary); }

.city-select {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--text-muted);
}

.city-select select {
  border: none;
  background: transparent;
  font-weight: 500;
  cursor: pointer;
}

.search-wrapper {
  flex: 1;
  max-width: 500px;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--pill);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.search-wrapper:focus-within {
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.search-wrapper input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 15px;
  outline: none;
}

.search-mic {
  padding: 0 10px;
  color: var(--text-muted);
  cursor: pointer;
}

.search-btn {
  background: linear-gradient(135deg,var(--primary),var(--primary-dark));
  color: #fff;
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}

.search-btn:hover {
  background: linear-gradient(135deg,var(--primary-dark),var(--primary));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-link {
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.header-link:hover {
  color: var(--primary);
}

.header-pill {
  background: var(--blue);
  color: white;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.header-pill:hover {
  background: var(--primary);
}

/* -----------------------------------
   ROUND CATEGORIES
-----------------------------------*/
.round-section {
  background:#fff;
  padding:40px 0;
  margin-top:10px;
}

.section-title {
  font-size:26px;
  font-weight:700;
  margin-bottom:25px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
}

.round-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:20px;
  text-align:center;
}

.round-card {
  cursor: pointer;
  transition: var(--transition);
}

.round-card:hover {
  transform: translateY(-5px);
}

.round-card img {
  width:140px;
  height:140px;
  border-radius:50%;
  object-fit:cover;
  margin:auto;
  border: 3px solid transparent;
  transition: var(--transition);
}

.round-card:hover img {
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.round-card h4 {
  font-size:16px;
  margin-top:10px;
  font-weight:600;
}

/* -----------------------------------
   BRIDE / GROOM SECTIONS
-----------------------------------*/
.bg-floral {
  background:url('https://images.pexels.com/photos/7130498/pexels-photo-7130498.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
  background-size:cover;
  background-repeat:repeat;
  padding:40px 0;
}

.card-grid {
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:20px;
}

.simple-card {
  background:#fff;
  border:1px solid #eee;
  border-radius:var(--radius);
  overflow:hidden;
  text-align:center;
  box-shadow:var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.simple-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.simple-card img {
  width:100%; height:155px; object-fit:cover;
}
.simple-card h3 {
  padding:12px;
  font-size:15px;
  font-weight:600;
}

/* -----------------------------------
   PHOTOGRAPHER BANNER
-----------------------------------*/
.banner {
  background: linear-gradient(120deg, var(--purple), var(--pink));
  color:#fff;
  padding:30px;
  border-radius:var(--radius);
  margin:30px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  box-shadow: var(--shadow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(106, 13, 173, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(106, 13, 173, 0); }
  100% { box-shadow: 0 0 0 0 rgba(106, 13, 173, 0); }
}

.banner-text h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.banner-text p {
  opacity: 0.9;
}

.banner-cta {
  background:#fff;
  color: var(--pink);
  border: none;
  padding: 12px 24px;
  border-radius: var(--pill);
  cursor: pointer;
  font-weight:600;
  transition: var(--transition);
}

.banner-cta:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

/* -----------------------------------
   MAIN CONTENT STYLING
-----------------------------------*/
.page-section {
  padding: 30px 0;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb strong {
  color: var(--text);
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--blue);
}

.page-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 700px;
}

/* Planner Grid */
.planner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 30px 0;
}

.planner-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
}

.planner-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.planner-card:nth-child(1) {
  border-top-color: var(--pink);
}

.planner-card:nth-child(2) {
  border-top-color: var(--blue);
}

.planner-card:nth-child(3) {
  border-top-color: var(--primary);
}

.planner-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.planner-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
}

.planner-card:nth-child(1) .planner-icon {
  background: var(--pink);
}

.planner-card:nth-child(2) .planner-icon {
  background: var(--blue);
}

.planner-card:nth-child(3) .planner-icon {
  background: var(--primary);
}

.planner-title {
  font-weight: 600;
  font-size: 18px;
}

.planner-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.planner-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.planner-chip {
  background: var(--light-blue);
  padding: 6px 12px;
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--blue);
  transition: var(--transition);
  cursor: pointer;
}

.planner-chip:hover {
  background: var(--blue);
  color: white;
}

/* Hero Block */
.hero-block {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin: 30px 0;
}

.hero-couple {
  background: linear-gradient(135deg, #fff, #f9f9f9);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.hero-couple-top {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.hero-couple-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: url('https://images.pexels.com/photos/1264210/pexels-photo-1264210.jpeg?auto=compress&cs=tinysrgb&w=600') center/cover;
  border: 4px solid white;
  box-shadow: var(--shadow);
}

.hero-couple h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--blue);
}

.hero-couple p {
  color: var(--text-muted);
}

.hero-couple-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-couple-link {
  background: white;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 14px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.hero-couple-link:hover {
  background: var(--primary);
  color: white;
}

.hero-side-tiles {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.side-tile {
  background: white;
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.side-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.side-tile h4 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--blue);
}

.side-tile p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.side-tile button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--pill);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.side-tile button:hover {
  background: var(--primary-dark);
}

/* Custom Banner */
.custom-banner {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
  padding: 20px 24px;
  border-radius: var(--radius);
  margin: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
}

.custom-banner button {
  background: white;
  color: var(--blue);
  border: none;
  padding: 10px 20px;
  border-radius: var(--pill);
  cursor: pointer;
  font-weight: 600;
  transition: var(--transition);
}

.custom-banner button:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow);
}

/* Guide Section */
.guide-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.guide-section-header h2 {
  font-size: 24px;
  color: var(--blue);
}

.guide-section-header a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.guide-section-header a:hover {
  color: var(--primary-dark);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.guide-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.guide-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.guide-card-img {
  height: 180px;
  background-size: cover;
  background-position: center;
  transition: var(--transition);
}

.guide-card:hover .guide-card-img {
  transform: scale(1.05);
}

.guide-card-body {
  padding: 16px;
  background: white;
}

.guide-card-body h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--blue);
}

.guide-card-body p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.guide-card-body span {
  font-size: 12px;
  color: var(--text-muted);
}

/* Trending Businesses */
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.section-title-row h2 {
  font-size: 24px;
  color: var(--blue);
}

.filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 8px 16px;
  border-radius: var(--pill);
  background: var(--light-blue);
  color: var(--blue);
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab.active,
.filter-tab:hover {
  background: var(--blue);
  color: white;
}

.listing-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.listing-card {
  display: flex;
  gap: 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow);
  transition: var(--transition);
  cursor: pointer;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.listing-thumb {
  width: 120px;
  height: 100px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.listing-body {
  flex: 1;
}

.listing-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--blue);
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--text-muted);
}

.rating-badge {
  background: #fff5cd;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: #e0a200;
  font-weight: 600;
}

.listing-category {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.listing-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.btn-call {
  background: var(--blue);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-call:hover {
  background: var(--primary);
}

.btn-quote {
  background: white;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-quote:hover {
  background: var(--blue);
  color: white;
}

.listing-tags {
  display: flex;
  gap: 8px;
}

.listing-tag {
  background: var(--light-blue);
  color: var(--blue);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
}

.listing-tag.secondary {
  background: #e8f5e9;
  color: #2e7d32;
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-load-more {
  background: white;
  color: var(--blue);
  border: 1px solid var(--blue);
  padding: 10px 20px;
  border-radius: var(--pill);
  font-size: 15px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-load-more:hover {
  background: var(--blue);
  color: white;
}

/* Text Guide */
.text-guide h2 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 16px;
}

.text-guide h3 {
  font-size: 18px;
  color: var(--blue);
  margin: 20px 0 10px;
}

.text-guide p {
  margin-bottom: 16px;
  color: var(--text);
}

.text-guide ul {
  margin-left: 20px;
  margin-bottom: 16px;
}

.text-guide li {
  margin-bottom: 8px;
  color: var(--text);
}

/* FAQ */
.faq-section {
  margin-top: 40px;
}

.faq-section h2 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 20px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-hover);
}

.faq-item summary {
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: var(--transition);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #f9f9f9;
}

.faq-item[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-toggle-icon {
  font-size: 18px;
  color: var(--primary);
  transition: var(--transition);
}

.faq-item[open] .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 16px;
  color: var(--text-muted);
}

/* -----------------------------------
   FOOTER
-----------------------------------*/
.footer {
  background:#fff;
  padding:40px 0 20px;
  margin-top:40px;
  border-top:1px solid #ddd;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-top p {
  max-width: 500px;
  color: var(--text-muted);
}

.store-badges {
  display: flex;
  gap: 15px;
}

.store-badge {
  background: var(--blue);
  color: white;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.store-badge:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.store-badge span {
  font-size: 12px;
  display: block;
}

.store-badge strong {
  font-size: 16px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.footer-col-title {
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--blue);
}

.footer-link-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-link-list a:hover {
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  cursor: pointer;
  transition: var(--transition);
}

.footer-social span:hover {
  background: var(--blue);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-bottom-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* -----------------------------------
   RESPONSIVE
-----------------------------------*/
@media (max-width: 1200px) {
  .round-grid,
  .card-grid { grid-template-columns:repeat(4,1fr); }
  
  .planner-grid { grid-template-columns: repeat(2, 1fr); }
  
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px){
  .round-grid,
  .card-grid { grid-template-columns:repeat(3,1fr); }
  
  .hero-block { grid-template-columns: 1fr; }
  
  .footer-top { flex-direction: column; text-align: center; }
}

@media (max-width: 768px){
  .header-top { flex-direction: column; gap: 15px; }
  
  .search-wrapper { max-width: 100%; }
  
  .round-grid,
  .card-grid { grid-template-columns:repeat(2,1fr); }
  
  .planner-grid { grid-template-columns: 1fr; }
  
  .guide-grid { grid-template-columns: 1fr; }
  
  .listing-card { flex-direction: column; }
  
  .listing-thumb { width: 100%; height: 180px; }
  
  .section-title-row { flex-direction: column; align-items: flex-start; }
  
  .filter-tabs { width: 100%; overflow-x: auto; padding-bottom: 10px; }
  
  .footer-links { grid-template-columns: 1fr; }
  
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px){
  .round-grid,
  .card-grid { grid-template-columns:1fr; }
  
  .banner { flex-direction: column; gap: 15px; text-align: center; }
  
  .custom-banner { flex-direction: column; gap: 15px; text-align: center; }
}