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

body {
  font-family: 'Georgia', serif;
  background-color: #fdfdfc; /* light ivory */
  color: #2f2e2d; /* dark charcoal */
  line-height: 1.6;
  font-size: 16px;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .logo img {
  height: 60px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav a {
  text-decoration: none;
  color: #2f2e2d;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover,
nav a.active {
  color: #9c5f1e; /* gold-brown accent */
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)),
              url('../images/lehenga-royal.jpg') center/cover no-repeat;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #624335;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #55504b;
}

.cta-button {
  display: inline-block;
  background: #9c5f1e;
  color: #fff;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s, transform 0.2s;
}

.cta-button:hover {
  background: #ca9257;
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 4rem 2rem;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #624335;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.card {
  background: #fff;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-align: center;
}

.card img {
  width: 100%;
  height: auto;          /* maintain original proportions */
  max-height: 400px;     /* prevent overly tall images */
  object-fit: contain;   /* show full image without cropping */
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  color: #2f2e2d;
}

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

/* Contact Info */
.contact-info {
  margin-bottom: 3rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

/* Appointment Form */
.appointment-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.appointment-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.appointment-form label {
  font-weight: bold;
  color: #624335;
}

.appointment-form input,
.appointment-form textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
}

.appointment-form input:focus,
.appointment-form textarea:focus {
  outline: none;
  border-color: #9c5f1e;
  box-shadow: 0 0 4px rgba(156,95,30,0.4);
}

.appointment-form button {
  background: #9c5f1e;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.appointment-form button:hover {
  background: #ca9257;
  transform: translateY(-2px);
}

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

@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    border: 1px solid #ddd;
    position: absolute;
    top: 70px;
    right: 20px;
  }
  nav ul.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
    margin-right: 1rem;
  }
}

/* Lightbox */
#lightbox {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
}

#lightbox.active {
  display: flex;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border: 5px solid #fff;
  border-radius: 8px;
}

/* ===== Mobile Enhancements ===== */

/* Adjust hero section padding on small screens */
@media (max-width: 768px) {
  .hero {
    padding: 3rem 1rem;
  }
}

/* Scale down headings for phones */
@media (max-width: 480px) {
  h1 {
    font-size: 2rem;   /* smaller main title */
  }
  h2 {
    font-size: 1.5rem; /* section headings */
  }
  h3 {
    font-size: 1.1rem; /* card titles */
  }
  p {
    font-size: 0.95rem;
  }
}

/* Map iframe responsive height */
.map iframe {
  width: 100%;
  height: 300px; /* smaller for mobile */
}
@media (min-width: 768px) {
  .map iframe {
    height: 400px; /* larger for desktop */
  }
}

/* Contact info spacing */
.contact-info p {
  font-size: 1rem;
  margin: 0.4rem 0;
}

/* Make form fields more touch-friendly */
.appointment-form input,
.appointment-form textarea {
  font-size: 1rem;
  padding: 1rem;
}
.appointment-form button {
  padding: 1rem;
  font-size: 1rem;
}
  
/* Grid layout for By Occasion pages */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 992px) {
  .grid {
    grid-template-columns: repeat(4, 1fr); /* always 4 per row on large screens */
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
  }
}

@media (max-width: 480px) {
  .grid {
    grid-template-columns: 1fr; /* 1 per row on mobile */
  }
}
  
/* Card hover effects */
.card {
  display: block;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  text-align: center;
  padding: 1rem;
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

/* Hover state */
.card:hover {
  transform: translateY(-6px) scale(1.03);
  border: 2px solid #f8d57e; /* bridal gold accent */
  box-shadow: 0 6px 20px rgba(248, 213, 126, 0.4);
}

.card h3 {
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #4a2c2a; /* deep elegant brown */
}
  
/* Fade-in animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Apply animation to cards */
.card {
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
}

/* Staggered animation for grids */
.grid .card:nth-child(1) { animation-delay: 0.1s; }
.grid .card:nth-child(2) { animation-delay: 0.2s; }
.grid .card:nth-child(3) { animation-delay: 0.3s; }
.grid .card:nth-child(4) { animation-delay: 0.4s; }
.grid .card:nth-child(5) { animation-delay: 0.5s; }
.grid .card:nth-child(6) { animation-delay: 0.6s; }
.grid .card:nth-child(7) { animation-delay: 0.7s; }
.grid .card:nth-child(8) { animation-delay: 0.8s; }
.grid .card:nth-child(9) { animation-delay: 0.9s; }
.grid .card:nth-child(10) { animation-delay: 1s; }
  
/* Header layout */
header {
  text-align: center;
  padding: 1rem 0;
}

header .logo img {
  width: 96px;   /* ~1 inch */
  height: 96px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Navigation menu */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem; /* space between links */
}

nav ul li {
  display: inline-block;
}

nav ul li a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #b38b59; /* bridal gold accent */
}
  
/* Header layout */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

/* Logo */
header .logo img {
  width: 96px;  /* ~1 inch */
  height: 96px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* Navigation menu */
nav ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  font-size: 1rem;
  color: #333;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #b38b59;
}

/* Floating Chat Bot */
.chat-bot {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 280px;
  background: #fff;
  border: 2px solid #b38b59;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
  font-family: Arial, sans-serif;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Header */
.chat-header {
  background: #b38b59;
  color: #fff;
  padding: 0.6rem;
  text-align: center;
  font-weight: bold;
  font-size: 0.95rem;
  position: relative;
}

/* Body */
.chat-body {
  padding: 0.8rem;
  flex: 1;
  overflow-y: auto;
  font-size: 0.9rem;
  max-height: 200px;
}

/* Input row */
.chat-input {
  display: flex;
  border-top: 1px solid #eee;
}

.chat-input input {
  flex: 1;
  border: none;
  padding: 0.5rem;
  font-size: 0.85rem;
}

.chat-input button {
  background: #b38b59;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Button inside chat */
.chat-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: #b38b59;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
}

.chat-btn:hover {
  background: #8c6a3f;
}

/* Close button */
.chat-close {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  color: #fff;
  font-size: 14px;
}

/* Booking form popup */
.booking-form {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.form-box {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  width: 300px;
  text-align: center;
}

.form-box input,
.form-box textarea {
  width: 100%;
  margin: 0.4rem 0;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-box button {
  margin-top: 0.6rem;
  padding: 0.6rem;
  width: 100%;
  background: #b38b59;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ✅ Modern Slim Footer (replaced old footer styles) */
.footer {
  background: url('../assets/images/nikkah-ivory-elegance.jpg') no-repeat center/cover;
  position: relative;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 0.85rem;
  border-top: 2px solid #b38b59;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); /* dark overlay */
  z-index: 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer-left {
  flex: 1;
  text-align: left;
  font-size: 0.75rem;
  color: #ccc;
}

.footer-center {
  flex: 2;
  text-align: center;
  line-height: 1.6;
}

.footer-center p {
  margin: 0.3rem 0;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.footer a {
  color: #f5d79c;
  text-decoration: none;
  font-weight: bold;
}

.footer a:hover {
  color: #fff;
}

/* Social icons */
.footer-socials {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-socials img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(255, 215, 128, 0.6);
}

/* ===== Modern Multi-Column Footer ===== */
.footer {
  background: #222; /* Dark background */
  color: #eee;
  padding: 3rem 2rem 1rem;
  font-size: 0.9rem;
  border-top: 2px solid #b38b59; /* Bridal gold accent */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: left;
}

.footer-column h4 {
  color: #f8d57e; /* gold highlight */
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.footer-column ul li a:hover {
  color: #fff;
}

/* Social Media */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.footer-socials img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-socials img:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(248, 213, 126, 0.6);
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  font-size: 0.8rem;
  color: #aaa;
  border-top: 1px solid #444;
  padding-top: 1rem;
  margin-top: 1rem;
}


/* Force horizontal nav on mobile */
@media (max-width: 768px) {
  nav ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    gap: 0.8rem; /* tighter spacing */
  }

  nav ul li a {
    font-size: 0.8rem; /* smaller text */
    padding: 0.3rem 0.4rem;
  }

  /* Hide hamburger button entirely */
  .menu-toggle {
    display: none !important;
  }
}


/* Mobile nav adjustment */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  nav ul {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.3rem; /* tighter spacing */
    margin-top: 1.8rem;
  }

  nav ul li a {
    font-size: 0.6rem;   /* smaller font */
    padding: 0.2rem 0.3rem; /* less padding */
    line-height: 1.2;   /* compact height */
  }

  header .logo img {
    max-width: 80px;  /* smaller logo */
    height: auto;
    margin-bottom: 0.2rem;
  }
}


