:root {
  --default-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --color-dark: #4b2743;
  --color-purple: #5a2a57;
  --color-main-bg: #fff6ef;
  --color-nav: #e7d2df;
  --color-white: #ffffff;
}

/* --- Global Styles --- */
body {
  margin: 0;
  background: var(--color-main-bg);
  font-family: Roboto, var(--default-font-family);
  overflow-x: hidden; 
}

* {
  box-sizing: border-box;
}

/* --- STANDARDIZED HEADER --- */
.header {
  display: flex; 
  justify-content: space-between; 
  align-items: center;
  flex-wrap: wrap; 
  padding: 1rem 2rem; 
  background: #ffffff;
  
  /* THIS IS THE NEW 3D SHADOW */
  box-shadow: 0 4px 15px rgba(75, 39, 67, 0.08); 
  
  position: relative; 
  z-index: 100; 
}

.logo {
  display: flex; align-items: center; gap: 0.625rem;
  font-family: 'Cormorant Garamond', serif; color: var(--color-purple); font-size: 2rem;
}

.green-cross-design {
  width: 2.625rem; height: 3.9375rem;
  background: url(https://codia-f2c.s3.us-west-1.amazonaws.com/image/2025-10-01/Y3qA72zk9z.png) no-repeat center;
  background-size: cover;
}

.hamburger {
  display: none; background: none; border: none;
  font-size: 2rem; color: var(--color-dark); cursor: pointer;
}

.nav-bar { display: flex; align-items: center; gap: 2rem; }
.nav-bar a {
  position: relative; color: #3c2139; font-size: 1.15rem; font-weight: 500; padding: 0.5rem 0; text-decoration: none;
}
.nav-bar a::after {
  content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
  background-color: #3c2139; transform: translateX(-50%); transition: width 0.3s ease;
}
.nav-bar a:hover::after, .nav-bar a.active::after { width: 100%; }

/* --- MASS TIMINGS CONTENT --- */
.main-section {
  padding: 5rem 2rem;
  background: var(--color-main-bg);
  max-width: 1200px;
  margin: 0 auto;
}

.main-section h1 {
  color: var(--color-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.75rem; /* 60px */
  font-weight: 600;
  text-align: center;
  margin: 0 0 1rem 0;
}

.main-section h2 {
  color: var(--color-dark);
  font-family: 'Roboto', sans-serif;
  font-size: 1.5rem; /* 25px */
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem; 
}

/* --- Timings Table --- */
.timings-table {
  width: 100%;
  border-collapse: separate; 
  border-spacing: 5px; 
}

.timings-table th {
  background: #f4e0d0; 
  padding: 1.25rem;
  border-radius: 10px;
  color: var(--color-dark);
  font-size: 1.5rem;
  font-weight: 600;
  width: 33.3%; 
}

.timings-table td {
  background: #ffffff;
  border: 1px solid #ae8766; 
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
  color: var(--color-dark);
  font-size: 1rem;
  vertical-align: middle; 
}

.timings-table td.timing-cell {
  background: none;
  border: none;
  padding: 0;
  vertical-align: top; 
}

.timing-slot {
  background: #ffffff;
  border: 1px solid #ae8766;
  border-radius: 10px;
  padding: 1.5rem; 
  text-align: center;
  font-size: 1rem;
  color: var(--color-dark);
}

.timing-slot + .timing-slot {
  margin-top: 5px;
}

/* --- STANDARDIZED FOOTER --- */
.footer { width: 100%; display: flex; flex-direction: column; }
.footer-top {
  display: flex; justify-content: space-evenly; padding: 4rem 2rem;
  background: var(--color-dark); flex-wrap: wrap; gap: 2rem;
}
.footer-column { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.footer-title { color: #fff6ef; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-weight: 700; }
.footer-data { color: #fff6ef; font-size: 1rem; }

.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  padding: 2rem; background: #331a2d; position: relative; flex-wrap: wrap; gap: 1rem;
}
.footer-hall-booking { display: flex; gap: 1rem; align-items: center; }
.credits { position: absolute; right: 2rem; color: rgba(255, 255, 255, 0.3); font-size: 0.9rem; }

.credits {
  position: absolute;
  bottom: 0.5rem;
  right: 1rem;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;

}


/* =========================================
   MOBILE RESPONSIVENESS (Screens < 768px)
========================================= */
@media (max-width: 768px) {
  
  /* Shared Header Mobile */
  .header { flex-wrap: nowrap; align-items: center; padding: 1rem; }
  .logo { font-size: 1.1rem; line-height: 1.2; flex: 1; }
  .green-cross-design { width: 2rem; height: 3rem; flex-shrink: 0; }
  .hamburger { display: block; margin-left: 1rem; padding: 0.5rem; }
  
  /* Right-Aligned Dropdown Nav */
  .nav-bar {
    display: none; flex-direction: column; align-items: flex-end; padding-right: 2rem;
    width: 100%; background-color: var(--color-nav); position: absolute;
    top: 100%; left: 0; padding-top: 1.5rem; padding-bottom: 1.5rem; box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  }
  .nav-bar.active { display: flex; }

  /* Adjust Main Section Typography */
  .main-section { padding: 3rem 1rem; }
  .main-section h1 { font-size: 2.5rem; }
  .main-section h2 { font-size: 1.25rem; }

  /* Mobile Responsive Table -> Converts into "Cards" */
  .timings-table, .timings-table tbody, .timings-table tr {
    display: block; 
    width: 100%;
  }
  
  /* Hide the headers on mobile */
  .timings-table thead {
    display: none; 
  }
  
  /* Style each row as a neat card */
  .timings-table tr {
    margin-bottom: 2rem;
    border: 1px solid var(--color-purple);
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  }

  .timings-table td {
    display: block;
    width: 100%;
    border: none;
    text-align: center;
    padding: 0.5rem 0;
  }

  /* Target the 'Day' cell to look like a title */
  .timings-table td:nth-child(1) {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-purple);
    border-bottom: 2px solid var(--color-nav);
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  /* Target the 'Language' cell to look like a footer */
  .timings-table td:nth-child(3) {
    font-style: italic;
    color: #666;
    margin-top: 1rem;
  }

  .timings-table td.timing-cell {
    padding: 0; 
  }

  /* Shared Footer Mobile */
  .footer-top { flex-direction: column; gap: 2rem; align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-hall-booking { flex-direction: column; text-align: center; }
  .social-media { position: static; margin-top: 1rem; }
}