/* ============================================
   DIVINE TEMPLE THEME - SHREE RANCHHODRAYJI MANDIR
   Color Palette: #FFD41D, #FFA240, #D73535, #FF4646
   ============================================ */

/* Root Variables */
:root {
  --gold-bright: #FFD41D;
  --gold-orange: #FFA240;
  --red-deep: #D73535;
  --red-bright: #FF4646;
  --bg-cream: #FFF8F1;
  --bg-white: #FFFFFF;
  --text-dark: #2B1B0E;
  --text-brown: #5C3A1F;
  --shadow-soft: rgba(215, 53, 53, 0.15);
  --shadow-medium: rgba(215, 53, 53, 0.25);
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Noto Serif Gujarati', serif;
  background: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  position: relative;
}

/* Traditional Pattern Background */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 2px 2px, rgba(215, 53, 53, 0.03) 1px, transparent 0),
    radial-gradient(circle at 20px 20px, rgba(255, 162, 64, 0.02) 1px, transparent 0);
  background-size: 40px 40px, 60px 60px;
  pointer-events: none;
  z-index: 0;
}

body>* {
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ============================================
   HEADER - Divine & Traditional
   ============================================ */
.site-header {
  background: linear-gradient(135deg, var(--bg-white) 0%, rgba(255, 248, 241, 0.98) 100%);
  border-bottom: 3px solid var(--gold-bright);
  box-shadow: 0 4px 20px var(--shadow-soft);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1400px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 5.5rem;
  filter: drop-shadow(0 2px 8px rgba(255, 162, 64, 0.3));
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav {
  display: flex;
  gap: 8px;
  align-items: center;
}

.nav a {
  padding: 10px 18px;
  font-weight: 600;
  color: var(--text-brown);
  border-radius: 8px;
  position: relative;
  font-size: 16px;
}

.nav a::before {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-bright), var(--gold-orange));
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--red-deep);
  background: rgba(255, 212, 29, 0.1);
}

.nav a:hover::before {
  width: 70%;
}

/* Active page indicator */
.nav a.active {
  color: var(--red-deep);
  background: rgba(255, 212, 29, 0.15);
}

.nav a.active::before {
  width: 70%;
}

/* Hamburger Menu */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--red-deep);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 212, 29, 0.15);
  transform: rotate(90deg);
}

/* ============================================
   HERO SECTION - Divine Collage
   ============================================ */
.hero-collage-4 {
  background: linear-gradient(180deg, var(--bg-cream) 0%, rgba(255, 248, 241, 0.95) 100%);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}

/* Divine light rays effect */
.hero-collage-4::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center,
      rgba(255, 212, 29, 0.08) 0%,
      transparent 70%);
  pointer-events: none;
  animation: divineGlow 8s ease-in-out infinite;
}

@keyframes divineGlow {

  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) rotate(45deg) scale(1);
  }

  50% {
    opacity: 0.8;
    transform: translateX(-50%) rotate(45deg) scale(1.1);
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 480px 1fr;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  gap: 25px;
}

/* Side columns */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-side img {
  width: 100%;
  border-radius: 12px;
  opacity: 0.4;
  filter: saturate(0.85) brightness(0.95);
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.hero-side img:hover {
  opacity: 0.6;
  filter: saturate(1) brightness(1);
  transform: translateY(-5px);
}

.hero-side img {
  height: 20rem;
  object-fit: cover;
  object-position: center;
}

/* Center image - Divine focus */
.hero-center {
  text-align: center;
  position: relative;
}

.hero-center::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-orange), var(--red-deep));
  border-radius: 18px;
  opacity: 0.2;
  filter: blur(15px);
  z-index: -1;
  animation: divineBorder 4s ease-in-out infinite;
}

@keyframes divineBorder {

  0%,
  100% {
    opacity: 0.15;
  }

  50% {
    opacity: 0.25;
  }
}

.hero-center img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 16px 40px var(--shadow-medium);
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.hero-center img:hover {
  transform: scale(1.02);
}

/* Hero Text */
.hero-text {
  margin-top: 20px;
  position: relative;
}

.hero-text h1 {
  color: var(--red-deep);
  font-size: 36px;
  margin-bottom: 8px;
  text-shadow: 2px 2px 8px rgba(255, 212, 29, 0.3);
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-text p {
  color: var(--text-brown);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 2px;
}

.hero-text p::before,
.hero-text p::after {
  content: " ✨ ";
  color: var(--gold-bright);
  font-size: 18px;
}

/* ============================================
   SECTIONS - Traditional Styling
   ============================================ */
.section {
  max-width: 1180px;
  margin: 28px auto;
  background: var(--bg-white);
  padding: 32px 28px;
  border-radius: 12px;
  box-shadow: 0 6px 25px var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* Traditional border decoration */
.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
      var(--gold-bright) 0%,
      var(--gold-orange) 25%,
      var(--red-deep) 50%,
      var(--gold-orange) 75%,
      var(--gold-bright) 100%);
}

.section h2 {
  text-align: center;
  color: var(--red-deep);
  margin-bottom: 22px;
  font-size: 32px;
  font-weight: 600;
  position: relative;
  padding-bottom: 15px;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

/* Subtle Om watermark in section corner */
.section::after {
  content: "🕉️";
  position: absolute;
  top: 16px;
  left: 18px;
  font-size: 20px;
  opacity: 0.06;
  color: var(--red-deep);
  pointer-events: none;
}

/* About Section */
.section p {
  text-align: center;
  max-width: 900px;
  margin: auto;
  color: var(--text-dark);
  font-size: 17px;
  line-height: 1.8;
}

.section p b {
  color: var(--red-deep);
  font-size: 18px;
}

/* ============================================
   DARSHAN TIMINGS SECTION
   ============================================ */
.darshan-section {
  background: linear-gradient(135deg, rgba(255, 212, 29, 0.08) 0%, rgba(255, 162, 64, 0.05) 100%);
  border: 2px solid rgba(255, 212, 29, 0.3);
}

.darshan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* Tablet: Stack timings and map vertically */
@media (max-width: 1000px) {
  .darshan-grid {
    grid-template-columns: 1fr;
  }
}

.darshan-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--shadow-soft);
  border-left: 4px solid var(--gold-bright);
  transition: all 0.3s ease;
}

.darshan-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.darshan-card h3 {
  color: var(--red-deep);
  margin-bottom: 25px;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: center;
  justify-content: center;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(255, 212, 29, 0.3);
}

.darshan-card h3::before {
  content: "⏰";
  font-size: 24px;
}

.darshan-card.map h3::before {
  content: "📍";
}

.darshan-card.map {
  grid-column: 1 / -1;
}

.darshan-card.map iframe {
  width: 100%;
  height: 450px;
  border-radius: 10px;
  border: 2px solid rgba(255, 212, 29, 0.3);
  margin-top: 15px;
}

/* Ensure timings card looks good */
.darshan-card.timings-card {
  min-height: auto;
}

/* Timeline Layout for Timings */
.timings-timeline {
  position: relative;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

/* Desktop: 2 columns for timings */
@media (min-width: 1000px) {
  .timings-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 20px;
  }
}

.timing-item {
  display: flex;
  gap: 15px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(255, 248, 241, 0.6);
  transition: all 0.3s ease;
  position: relative;
  border-left: 3px solid transparent;
  margin-bottom: 0;
}

.timing-item:hover {
  background: rgba(255, 212, 29, 0.1);
  transform: translateX(5px);
  box-shadow: 0 4px 12px var(--shadow-soft);
}

.timing-time {
  min-width: 110px;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--red-deep);
  padding: 8px 10px;
  background: var(--bg-white);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(255, 162, 64, 0.2);
  border: 1px solid rgba(255, 212, 29, 0.3);
  line-height: 1.3;
}

.timing-content {
  flex: 1;
}

.timing-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.timing-note {
  font-size: 14px;
  color: var(--text-brown);
  font-style: italic;
  margin-top: 4px;
}

/* Time of Day Colors */
.timing-item.morning {
  border-left-color: var(--gold-bright);
}

.timing-item.morning .timing-time {
  background: linear-gradient(135deg, rgba(255, 212, 29, 0.15), rgba(255, 212, 29, 0.05));
  color: var(--red-deep);
}

.timing-item.afternoon {
  border-left-color: var(--gold-orange);
}

.timing-item.afternoon .timing-time {
  background: linear-gradient(135deg, rgba(255, 162, 64, 0.15), rgba(255, 162, 64, 0.05));
  color: var(--red-deep);
}

.timing-item.evening {
  border-left-color: var(--red-deep);
}

.timing-item.evening .timing-time {
  background: linear-gradient(135deg, rgba(215, 53, 53, 0.15), rgba(215, 53, 53, 0.05));
  color: var(--red-deep);
}

.timing-item.night {
  border-left-color: var(--red-bright);
}

.timing-item.night .timing-time {
  background: linear-gradient(135deg, rgba(255, 70, 70, 0.15), rgba(255, 70, 70, 0.05));
  color: var(--red-deep);
}

/* Open/Closed Indicators */
.timing-item.open {
  background: linear-gradient(135deg, rgba(255, 212, 29, 0.12), rgba(255, 248, 241, 0.8));
  border-left-width: 4px;
}

.timing-item.open .timing-note {
  color: var(--red-deep);
  font-weight: 600;
}

.timing-item.closed .timing-note {
  color: var(--text-brown);
}

.timing-item.closed::after {
  content: "🔒";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.4;
  font-size: 18px;
}

.timing-item.open::after {
  content: "✨";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
  font-size: 18px;
}

/* Time Dividers */
.timing-divider {
  margin: 25px 0 15px 0;
  text-align: center;
  position: relative;
  grid-column: 1 / -1;
}

.timing-divider::before,
.timing-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.timing-divider::before {
  left: 0;
}

.timing-divider::after {
  right: 0;
}

.timing-divider span {
  background: var(--bg-white);
  padding: 8px 20px;
  border-radius: 20px;
  color: var(--red-deep);
  font-weight: 600;
  font-size: 16px;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(255, 212, 29, 0.3);
  border: 1px solid rgba(255, 212, 29, 0.4);
}

/* Large screens: show timings in two columns */
@media (min-width: 1100px) {
  .timings-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .timing-item {
    margin-bottom: 0;
  }
}

/* ============================================
   FESTIVALS SECTION (Commented for Future)
   ============================================ */
/*
.festivals-section {
  background: linear-gradient(135deg, rgba(215, 53, 53, 0.05) 0%, rgba(255, 70, 70, 0.03) 100%);
}

.festivals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.festival-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px var(--shadow-soft);
  border-top: 3px solid var(--gold-bright);
  transition: all 0.3s ease;
}

.festival-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-medium);
}

.festival-card h3 {
  color: var(--red-deep);
  margin-bottom: 10px;
  font-size: 20px;
}

.festival-card .date {
  color: var(--gold-orange);
  font-weight: 600;
  margin-bottom: 8px;
}

.festival-card p {
  text-align: left;
  font-size: 15px;
  color: var(--text-dark);
}
*/

/* ============================================
   UPDATES SECTION - Facebook
   ============================================ */
.updates-section {
  margin-bottom: 40px;
}

/* Grid for Facebook + Contact */
.updates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 25px;
  align-items: start;
}

/* Facebook wrapper */
.updates-fb {
  width: 50%;
  min-width: 0;
  border-radius: 12px;
  border-left: 4px solid var(--gold-bright);
}

.fb-wrapper {
  width: 100%;
  border-radius: 12px;
  max-width: 100%;
  overflow: hidden;
  box-shadow: 0 8px 25px var(--shadow-medium);
  background: var(--bg-white);
  padding: 4px;
  position: relative;
}

.fb-wrapper iframe {
  width: 100% !important;
  min-width: 0;
  max-width: 100% !important;
  border-radius: 10px;
  height: 520px;
  border: none;
  display: block;
}

/* Contact card */
.updates-contact {
  display: flex;
  align-items: stretch;
}

.contact-card {
  background: var(--bg-white);
  border-radius: 12px;
  padding: 24px 22px;
  box-shadow: 0 6px 20px var(--shadow-soft);
  border-left: 4px solid var(--gold-bright);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-card h3 {
  margin: 0 0 8px 0;
  font-size: 22px;
  color: var(--red-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-card h3::before {
  content: "📞";
  font-size: 22px;
}

.contact-card p {
  margin: 0;
  font-size: 16px;
  color: var(--text-dark);
}

.contact-card p strong {
  color: var(--text-brown);
}

.contact-note {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-brown);
  font-style: italic;
}

/* ============================================
   FOOTER - Traditional
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, var(--red-deep) 0%, var(--red-bright) 100%);
  color: var(--bg-white);
  text-align: center;
  padding: 30px 20px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

.site-footer p {
  margin: 10px 0;
  font-size: 16px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.site-footer p b {
  font-size: 18px;
  color: var(--gold-bright);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1200px) {
  .hero-grid {
    grid-template-columns: 1fr 420px 1fr;
    gap: 20px;
  }

  .section {
    max-width: 1100px;
    padding: 28px 24px;
  }

  .updates-fb {
    width: 46%;
  }
}

/* Mobile & Tablet */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero-side {
    display: none;
  }

  .hero-center img {
    max-width: 95%;
  }

  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 18px;
  }

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

  .fb-wrapper iframe {
    height: 450px;
  }

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

  .darshan-card.map {
    grid-column: 1;
  }

  .timings-timeline {
    grid-template-columns: 1fr !important;
  }

  .timing-item {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .timing-time {
    min-width: 100%;
    width: 100%;
  }

  .timing-divider {
    grid-column: 1;
  }

  .timing-divider::before,
  .timing-divider::after {
    width: 25%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .header-container {
    padding: 12px 20px;
  }

  .logo img {
    height: 4.5rem;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: 75px;
    right: 20px;
    background: var(--bg-white);
    border: 2px solid var(--gold-bright);
    border-radius: 10px;
    width: 220px;
    display: none;
    flex-direction: column;
    box-shadow: 0 10px 30px var(--shadow-medium);
    padding: 10px 0;
  }

  .nav a {
    padding: 12px 20px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 212, 29, 0.2);
    text-align: left;
  }

  .nav a:last-child {
    border-bottom: none;
  }

  .nav a::before {
    display: none;
  }

  .nav.show {
    display: flex;
  }

  .section {
    margin: 25px auto;
    padding: 25px 20px;
  }

  .section h2 {
    font-size: 26px;
  }

  .section h2::before,
  .section h2::after {
    display: none;
  }

  .hero-collage-4 {
    padding: 30px 15px;
  }

  .fb-wrapper iframe {
    height: 400px;
    min-width: 0;
  }

  .darshan-card {
    padding: 20px;
    margin-bottom: 10px;
  }

  .darshan-card h3 {
    font-size: 20px;
  }

  .timings-timeline {
    grid-template-columns: 1fr !important;
  }

  .timing-item {
    margin-bottom: 0;
    padding: 12px;
  }

  .timing-time {
    font-size: 14px;
    padding: 6px 10px;
    min-width: 100px;
  }

  .timing-title {
    font-size: 15px;
  }

  .timing-note {
    font-size: 13px;
  }

  .timing-item.closed::after,
  .timing-item.open::after {
    display: none;
  }

  .timing-divider {
    grid-column: 1;
  }

  .darshan-card.map iframe {
    height: 350px;
  }

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

  .contact-card {
    padding: 20px 18px;
  }
  
  .updates-fb {
    width: 70%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .section h2 {
    font-size: 22px;
  }

  .fb-wrapper iframe {
    height: 350px;
  }
}

/* ============================================
   Donation Page
   ============================================ */
.account {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  align-items: center;
}

.bank-details {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: center;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .bank-details {
    margin-bottom: 1rem;
    border-bottom: 1px solid black;
  }
}

/* ============================================
   AARTI PAGE – BOOK STYLE
   ============================================ */

   .aarti-section {
    background: linear-gradient(
      180deg,
      #fffdf9 0%,
      #fff8f1 100%
    );
  }
  
  /* Aarti card = one printed page */
  .aarti-card {
    max-width: 760px;
    margin: 35px auto;
    padding: 40px 35px;
    background: #fffefb;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(215,53,53,0.15);
    position: relative;
  }
  
  /* Decorative top & bottom line */
  .aarti-card::before,
  .aarti-card::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(
      90deg,
      transparent,
      var(--gold-bright),
      transparent
    );
  }
  
  .aarti-card::before {
    top: 18px;
  }
  
  .aarti-card::after {
    bottom: 18px;
  }
  
  /* Aarti title */
  .aarti-card h3 {
    text-align: center;
    color: var(--red-deep);
    font-size: 22px;
    margin-bottom: 28px;
    letter-spacing: 1px;
    position: relative;
  }
  
  /* Small diya icon */
  .aarti-card h3::after {
    content: "🪔";
    display: block;
    margin-top: 6px;
    font-size: 18px;
    opacity: 0.7;
  }
  
  /* Main aarti text */
  .aarti-text {
    text-align: center;
    font-size: 17px;
    line-height: 2.1;
    color: var(--text-dark);
    white-space: normal;
  }
  
  /* Highlight important words */
  .aarti-text b {
    color: var(--red-deep);
  }
  
  /* Mobile adjustments */
  @media (max-width: 768px) {
    .aarti-card {
      padding: 28px 20px;
      margin: 25px 10px;
    }
  
    .aarti-text {
      font-size: 16px;
      line-height: 2;
    }
  
    .aarti-card h3 {
      font-size: 20px;
    }
  }
  
  /* Tablet */
@media (max-width: 1024px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .updates-contact {
    margin-top: 20px;
  }
  .updates-fb {
    width: 51%;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .updates-grid {
    grid-template-columns: 1fr;
  }

  .fb-wrapper iframe {
    height: 480px; /* better mobile ratio */
  }

  .updates-contact {
    margin-top: 16px;
  }

  .updates-fb {
    width: 100%;
  }
}

/* =========================
   HAMBURGER FIX (SAFE PATCH)
========================= */

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 1.6rem;
  height: 0.18rem;
  background: var(--primary);
  margin: 0.35rem 0;
  border-radius: 2px;
}

/* Mobile only */
@media (max-width: 48rem) {
  .hamburger {
    display: block;
    z-index: 1200;
  }

  .nav {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    background: #fff;
    flex-direction: column;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
/* =========================
   HAMBURGER VISIBILITY FIX
========================= */

.hamburger {
  display: none;
  width: 2rem;
  height: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 0.2rem;
  background-color: #e53935; /* same red as theme */
  margin: 0.35rem 0;
  border-radius: 2px;
}

/* Mobile only */
@media (max-width: 48rem) {
  .hamburger {
    display: block;
  }

  .nav {
    position: fixed;
    top: 4.5rem;
    right: 1rem;
    background: #fff;
    padding: 1.25rem;
    border-radius: 1rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 1rem;

    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.3s ease;
  }

  .nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}
