:root {
  --primary: #41271a;
  --primary-dark: #2a180f;
  --primary-light: #5a3826;
  --secondary: #dcb886;
  --secondary-light: #f3e5ce;
  --secondary-soft: rgba(220, 184, 134, 0.18);
  --site-bg: #fdfaf6;
  --site-card: #ffffff;
  --site-bg-alt: #f6eedf;
  --site-border: #e3d2be;
  --site-text: #261d18;
  --site-text-muted: #5e524a;
  --shadow-sm: 0 4px 15px rgba(65, 39, 26, 0.08);
  --shadow-lg: 0 12px 30px rgba(65, 39, 26, 0.16);
  --radius: 6px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--site-bg);
  color: var(--site-text);
  line-height: 1.7;
}

h1, h2, h3, h4, .brand-font {
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header & Navigation (Primary #41271a + Secondary #dcb886 Accent) */
header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.22);
  border-bottom: 3px solid var(--secondary);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  width: 300px;
  height: 80px;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.4rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-light);
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #ffffff;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--secondary);
  transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-btn {
  background: var(--secondary) !important;
  color: var(--primary-dark) !important;
  font-weight: 700 !important;
  padding: 8px 18px !important;
  border-radius: var(--radius);
  border: 1px solid var(--secondary-light) !important;
  transition: var(--transition);
}

.nav-btn:hover {
  background: #ecd4b0 !important;
  color: var(--primary) !important;
}

.nav-btn::after {
  display: none !important;
}

.mobile-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Page Banner */
.page-banner {
  background: linear-gradient(rgba(42, 24, 15, 0.9), rgba(42, 24, 15, 0.9)), url('https://images.unsplash.com/photo-1547153760-18fc86324498?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
  border-bottom: 3px solid var(--secondary);
}

.page-banner h1 {
  font-size: 2.4rem;
  color: var(--secondary-light);
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 1rem;
  color: #ede2d5;
  max-width: 700px;
  margin: 0 auto;
}

/* Section Headings */
section {
  padding: 70px 0;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
}

.section-tag {
  font-size: 0.8rem;
  color: #9f6b2f;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.section-head h2 {
  font-size: 2.1rem;
  color: var(--primary);
}

.divider {
  width: 65px;
  height: 3px;
  background: var(--secondary);
  margin: 12px auto 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-secondary {
  background: var(--secondary);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background: #ecd4b0;
}

.btn-outline {
  background: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.btn-outline:hover {
  background: #ffffff;
  color: var(--primary);
}

/* Forms */
.form-box {
  background: var(--site-card);
  border: 1px solid var(--site-border);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow-sm);
  max-width: 750px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-full {
  grid-column: span 2;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--site-border);
  background: var(--site-bg);
  border-radius: 4px;
  font-family: inherit;
  color: var(--site-text);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
}

/* Footer */
footer {
  background: var(--primary);
  color: #ffffff;
  padding: 70px 0 25px;
  border-top: 3px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 35px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-col p {
  font-size: 0.88rem;
  color: #ede2d5;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #ede2d5;
  font-size: 0.86rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: 4px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: #d1c1b2;
}

/* Responsive Queries */
@media (max-width: 992px) {
  .site-logo {
    width: 220px;
    height: 60px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 20px;
    border-bottom: 3px solid var(--secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    gap: 1.2rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-full {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* Latest Photos & Celebrations Grid (Home) */
.celebrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px;
}

.celebration-card {
  background: var(--site-card);
  border: 1px solid var(--site-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.celebration-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary);
}

.celebration-thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.celebration-body {
  padding: 18px 20px;
}

.celebration-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}

.celebration-body h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.4;
}

.celebration-body p {
  font-size: 0.88rem;
  color: var(--site-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Footer Credit */
.designer-credit {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--secondary);
}

.designer-credit a {
  color: var(--secondary-light);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition);
}

.designer-credit a:hover {
  color: #ffffff;
}

/* Mobile Bottom Floating Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  border-top: 2px solid var(--secondary);
  z-index: 9999;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.mobile-bottom-bar-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.mobile-bottom-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: var(--transition);
  border-right: 1px solid rgba(220, 184, 134, 0.2);
}

.mobile-bottom-item:last-child {
  border-right: none;
}

.mobile-bottom-item i {
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.mobile-bottom-item.call-btn { color: #ffffff; }
.mobile-bottom-item.whatsapp-btn { color: #25d366; }
.mobile-bottom-item.email-btn { color: var(--secondary-light); }

.mobile-bottom-item:active {
  background: var(--primary-light);
}

/* Designer Credits Link */
.developer-credit {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #d1c1b2;
}

.developer-credit a {
  color: var(--secondary);
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition);
}

.developer-credit a:hover {
  color: #ffffff;
}

/* Show only on Mobile Devices */
@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: block;
  }
  
  body {
    padding-bottom: 60px; /* Prevents footer content from getting blocked */
  }
}