/* --- Mudra Events Color Palette --- */
:root {
  --deep-purple: #800080;
  --medium-purple: #A64AC9;
  --light-lavender: #E1BEE7;
  --rich-black: #000000;
  --charcoal-gray: #333333;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  background: var(--white);
  color: var(--charcoal-gray);
}

/* Header */
header.header {
  background: var(--white);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(128,0,128,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--deep-purple);
}
.logo img {
  height: 50px; /* adjust height as needed */
  width: auto;  /* maintain aspect ratio */
}
@media (max-width: 768px) {
  .logo img {
    height: 40px;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--charcoal-gray);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a.cta {
  background: var(--medium-purple);
  color: var(--white);
  padding: 0.4rem 1rem;
  border-radius: 20px;
}

.nav-links a:hover,
.nav-links a.cta:hover {
  color: var(--deep-purple);
}

/* Responsive Header */
@media (max-width: 900px) {
  header.header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  .logo img {
    height: 40px;
  }
  .nav-links {
    gap: 0.7rem;
  }
}

/* Responsive Navigation */
@media (max-width: 700px) {
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    align-items: flex-start;
  }
  .nav-links a {
    padding: 0.5rem 0;
    width: 100%;
  }
}

/* Hero Section */
.hero {
  background: url('../assets/images/beautiful-mandap-decor.jpg') center/cover no-repeat;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}



.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(128,0,128,0.4);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(128,0,128,0.15);
}

.hero-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--deep-purple);
  color: var(--white);
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

/* Services */
.services {
  padding: 4rem 2rem;
  background: var(--light-lavender);
  text-align: center;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--deep-purple);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Show only 2nd, 4th, and 6th service cards */
.service-card {
  display: none;
}
.service-card:nth-child(2),
.service-card:nth-child(4),
.service-card:nth-child(6) {
  display: block;
}

.service-card.highlight {
  border: 2px solid #b76e79;
  background: #fff0f2;
}

.image-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .image-row {
    gap: 10px;
  }
}

.circle-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 150px;  /* fixed width for layout consistency */
}

.circle-container img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--medium-purple);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.circle-container img:hover {
  transform: scale(1.1);
}

.circle-container a {
  text-decoration: none;
}

.image-name {
  margin-top: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  color: var(--deep-purple);
}

/* Responsive Circle Images */
@media (max-width: 600px) {
  .circle-container {
    width: 100px;
  }
  .circle-container img {
    width: 100px;
    height: 100px;
  }
}

/* --- Birthday Decoration Section Modern Styling --- */
.birthday-section {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--light-lavender) 60%, #f8f9fb 100%);
  border-radius: 1.5rem;
  box-shadow: 0 4px 32px 0 rgba(166, 74, 201, 0.10);
  animation: fadeIn 1.2s;
}

.birthday-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.birthday-title {
  font-size: 2rem;
  font-weight: bold;
  color: var(--deep-purple);
  letter-spacing: 1px;
}

.birthday-viewall {
  color: var(--medium-purple);
  font-weight: bold;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 2px;
  text-decoration-color: var(--medium-purple);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, text-decoration-color 0.2s;
}

.birthday-viewall:hover {
  color: var(--deep-purple);
  text-decoration-color: var(--deep-purple);
}

.birthday-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.birthday-card {
  background: var(--white);
  border-radius: 1.2rem;
  overflow: hidden;
  border: 2px solid var(--light-lavender);
  box-shadow: 0 2px 12px 0 rgba(166, 74, 201, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: popIn 1.2s;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.birthday-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px 0 rgba(183, 110, 121, 0.13);
}

.birthday-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #f1f5f9;
  transition: filter 0.2s;
}

.birthday-card:hover img {
  filter: brightness(0.95);
  transform: scale(1.03);
  transition: filter 0.2s, transform 0.2s;
}

.birthday-card-content {
  padding: 1rem 1.2rem 1.2rem 1.2rem;
  background: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.birthday-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--deep-purple);
  margin-bottom: 0.5rem;
  text-decoration: none !important;
}

.birthday-card-price {
  color: var(--deep-purple);
  font-weight: bold;
  font-size: 1.1rem;
  margin-right: 0.7rem;
  text-decoration: none !important;
}

.birthday-card-oldprice {
  color: var(--medium-purple, #A64AC9);
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-size: 1rem;
}

.birthday-card-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.95rem;
  color: #fbbf24;
  margin-top: 0.3rem;
  text-decoration: none !important;
}

.birthday-card-rating svg {
  width: 1em;
  height: 1em;
  fill: #fbbf24;
}
.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

@media (max-width: 700px) {
  .birthday-header { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .birthday-title { font-size: 1.3rem; }
  .birthday-section { padding: 1rem 0.5rem; }
}

/* Responsive Birthday Grid */
@media (max-width: 900px) {
  .birthday-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}
@media (max-width: 600px) {
  .birthday-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .birthday-card img {
    height: 120px;
  }
  .birthday-card-content {
    padding: 0.7rem 0.7rem 1rem 0.7rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes popIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.portfolio {
  text-align: center;
  padding: 60px 20px;
  background: #fdfdfd;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: #4b0082;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto 40px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  background-color: white;
  transition: transform 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.caption {
  padding: 10px;
  font-weight: 600;
  font-size: 1rem;
  color: #333;
  background-color: #fff;
}

.see-more {
  display: inline-block;
  margin-top: 20px;
  color: #6a1b9a;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.see-more:hover {
  color: #4a148c;
}

.about {
  padding: 4rem 2rem;
  background: #f8f9fb;
  text-align: center;
  color: var(--charcoal-gray);
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--deep-purple);
}

/* Responsive About, Contact, Footer */
@media (max-width: 700px) {
  .about, .contact {
    padding: 1.5rem 0.5rem;
  }
  .about h2, .contact h2 {
    font-size: 1.2rem;
  }
}
@media (max-width: 600px) {
  footer {
    font-size: 0.8rem;
    padding: 0.5rem;
  }
}

.contact {
  background: var(--medium-purple);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.contact-btn {
  display: inline-block;
  margin-top: 1rem;
  background: var(--white);
  color: var(--medium-purple);
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.contact-btn:hover {
  background: var(--deep-purple);
  color: var(--white);
}

footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: var(--light-lavender);
  color: var(--deep-purple);
}

/* Floating Call Button */
.floating-call-btn {
    position: fixed;
    bottom: 22px;
    right: 22px;
    background-color: #6C63FF;  
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    z-index: 9999;
    transition: 0.3s ease-in-out;
}

.floating-call-btn img {
    width: 28px;
    height: 28px;
}

.floating-call-btn:hover {
    transform: scale(1.12);
    background-color: #554bdb;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}

.star {
  font-size: 14px;
}

.star.filled {
  color: #f5c518;
}

.star.half {
  color: #f5c518;
  opacity: 0.6;
}

.star.empty {
  color: #d1d5db;
}

.rating-value {
  font-weight: 600;
  color: #111827;
}

.review-count {
  color: #6b7280;
  font-size: 13px;
}
