* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: lightsalmon;
  color: #333;
}

.hero {
  background: url('mainbackground1.jpg');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 4rem 2rem;
  color: #1f2937;
  color: white;
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-bottom: 3rem;
  gap: 2rem;

}

nav a {
  text-decoration: none;
  color: #1f2937;
  font-weight: 500;
  font-size: 1rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn {
  background-color:red;
  color: white;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.6s;
}

.btn:hover {
  background-color: #f87171;
}

/* Services Section */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  padding: 3rem 2rem;
  background-color: ghostwhite;
}

.card {
  background: #fdfdfd;
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  height: 60px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card p {
  font-size: 0.95rem;
  color: #555;
}



/*photography*/
.photography-header {
  text-align: center;
  padding: 50px 20px;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 2px solid #eee;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 40px;
}

.photo img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.photo img:hover {
  transform: scale(1.05);
}

.center {
  text-align: center;
  margin: 40px 0;
}

.dark-mode-transition {
  transition: background 0.3s, color 0.3s;
}

body.dark {
  background: #121212;
  color: #f0f0f0;
}

body.dark .photography-header {
  background: rgba(0, 0, 0, 0.6);
}

body.dark .photo img {
  box-shadow: 0 8px 20px rgba(255,255,255,0.1);
}


/* Modern Photography Page Styles */
.photography-page {
  background: #fef6f9;
  font-family: 'Segoe UI', sans-serif;
  
}

.header {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1rem;
  color: #666;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 10px;
}

.photo-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.photo-card:hover {
  transform: translateY(-8px);
}

.photo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.photo-card h3 {
  margin: 10px;
  color: #e75480;
  font-size: 1.2rem;
}

.photo-card p {
  margin: 0 10px 15px;
  font-size: 0.95rem;
  color: #444;
}

.back-button {
  text-align: center;
  margin-top: 30px;
}

.back-button a {
  text-decoration: none;
  color: #fff;
  background-color: #e75480;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-button a:hover {
  background-color: #c3436f;
}

/*Catering*/

.catering-page {
  font-family: 'Inter', sans-serif;
  background-color: lightsalmon;
  padding-bottom: 50px;
}

.header {
  text-align: center;
  padding: 40px 20px;
  background-color: #fff5e6;
  border-bottom: 2px solid #eee;
}

.header h1 {
  font-size: 2.5rem;
  color: #333;
}

.header p {
  color: #666;
  font-size: 1.1rem;
}

.catering-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.catering-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.catering-card:hover {
  transform: scale(1.03);
}

.catering-card h2 {
  color: #e67e22;
  margin-bottom: 10px;
}

.catering-card p {
  margin: 8px 0;
  color: #333;
}

.back-button {
  text-align: center;
  margin-top: 40px;
}

.back-button a {
  background: #e67e22;
  color: white;
  padding: 10px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.back-button a:hover {
  background: #d35400;
}
.catering-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/*Decoration*/
.decoration-page {
  font-family: 'Inter', sans-serif;
  background-color: lightsalmon;
  padding-bottom: 50px;
}

.decoration-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.decoration-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.decoration-card:hover {
  transform: scale(1.03);
}

.decoration-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.decoration-card h3 {
  color: #c0392b;
  margin-bottom: 8px;
}

.decoration-card p {
  color: #444;
}

/*mandabum*/
.mandapam-page {
  font-family: 'Inter', sans-serif;
  background-color: lightsalmon;
  padding-bottom: 50px;
}

.mandapam-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
}

.mandapam-card {
  background: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.mandapam-card:hover {
  transform: scale(1.03);
}

.mandapam-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.mandapam-card h3 {
  color: #8e44ad;
  margin-bottom: 8px;
}

.mandapam-card p {
  color: #444;
}

.deep{
  padding-top: 25px;
}


/*hower effect*/
/* ---------- General Button Hover Effect ---------- */
.btn, .nav-link, .back-button a {
  transition: all 0.3s ease;
}

.btn:hover, .back-button a:hover {
  transform: scale(1.05);
  background-color: #ff4d4d;
  color: #fff;
}

/* ---------- Navigation Hover ---------- */
.nav-link:hover {
  background-color: #ffe0e0;
  color: #ff4d4d;
  transform: scale(1.1);
}

/* ---------- Card Hover (for photography, catering, etc.) ---------- */
.card, .photo-card, .catering-card, .invitation-card, .mandapam-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.card:hover, .photo-card:hover, .catering-card:hover, .invitation-card:hover, .mandapam-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ---------- Image Hover Animation ---------- */
.card img, .photo-card img, .catering-card img, .invitation-card img, .mandapam-card img {
  transition: transform 0.3s ease;
}

.card:hover img,
.photo-card:hover img,
.catering-card:hover img,
.invitation-card:hover img,
.mandapam-card:hover img {
  transform: scale(1.05);
}

/* ---------- Explore Services Link Hover (modern smooth scroll) ---------- */
a.btn:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/*page translation*/
/* Page transition container */
body.fade-in {
  opacity: 0;
  transition: opacity 1.0s ease-in-out;
}

body.fade-in.show {
  opacity: 1;
}
/*active nav bar*/
.nav-link.active h3 {
  background-color:orangered ;
  color: black;
  border-radius: 8px;
  padding: 5px 10px;
}