/* ========================================
   RBGVS Ramtek — Static Site Stylesheet
   Theme: Impression (Google Sites recreation)
   Fonts: Oswald + Open Sans
   Primary Color: #607D8B (Blue Grey)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #212121;
  background-color: #fff;
}

a {
  color: #607D8B;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #455A64;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Oswald', Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #1F1F1F;
  line-height: 1.3;
}

h1 { font-size: 2.4rem; font-weight: 700; }
h2 { font-size: 1.8rem; font-weight: 600; margin-bottom: 1rem; }
h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 0.75rem; }

p {
  margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar-brand {
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #1F1F1F;
}

.navbar-brand:hover {
  color: #607D8B;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  display: block;
  padding: 8px 18px;
  font-family: 'Oswald', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background-color: #607D8B;
  color: #fff;
  text-decoration: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #1F1F1F;
  padding: 4px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 40px 24px;
  max-width: 800px;
}

.hero h1 {
  color: #fff;
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
}

/* --- Sections --- */
.section {
  padding: 60px 0;
}

.section--grey {
  background-color: #F4F4F4;
}

.section--light {
  background-color: #F7F7F7;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #607D8B;
  margin: 12px auto 0;
  border-radius: 2px;
}

/* --- Cards / Boxes --- */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.card h3 {
  color: #607D8B;
}

/* --- Grid Layouts --- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* --- Image Gallery --- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.gallery img:hover {
  transform: scale(1.02);
}

.gallery-caption {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-top: 8px;
  font-style: italic;
}

/* --- Table --- */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.schedule-table thead {
  background: #607D8B;
  color: #fff;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 20px;
  text-align: left;
  font-size: 0.95rem;
}

.schedule-table th {
  font-family: 'Oswald', Arial, sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.schedule-table tbody tr {
  border-bottom: 1px solid #eee;
  transition: background 0.15s;
}

.schedule-table tbody tr:last-child {
  border-bottom: none;
}

.schedule-table tbody tr:hover {
  background-color: #f5f8fa;
}

/* --- Map --- */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: 0;
}

/* --- Contact Info --- */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #607D8B;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

/* --- Footer --- */
.footer {
  background: #263238;
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 32px 24px;
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255,255,255,0.9);
}

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

/* --- Utility --- */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* --- Highlight Box --- */
.highlight-box {
  background: linear-gradient(135deg, #607D8B 0%, #455A64 100%);
  color: #fff;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
}

.highlight-box h2,
.highlight-box h3 {
  color: #fff;
}

/* --- List Styled --- */
.styled-list {
  list-style: none;
  padding: 0;
}

.styled-list li {
  padding: 10px 0 10px 28px;
  position: relative;
  border-bottom: 1px solid #eee;
}

.styled-list li:last-child {
  border-bottom: none;
}

.styled-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #607D8B;
  font-weight: 700;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero { min-height: 260px; }
  .hero h1 { font-size: 1.8rem; }
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 16px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }

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

  .nav-toggle {
    display: block;
  }

  .section {
    padding: 40px 0;
  }

  .schedule-table th,
  .schedule-table td {
    padding: 10px 12px;
    font-size: 0.85rem;
  }
}
