/* Para Hills Modbury Catholic Parish - Main Stylesheet */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #fff;
}

a {
  color: #78350f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #e5e7eb;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;
  height: 48px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: bold;
  color: #78350f;
}

/* Navigation */
.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 8px 16px;
  border-radius: 6px;
  color: #374151;
  font-weight: 500;
  transition: background 0.2s;
}

.nav a:hover {
  background: #f3f4f6;
  text-decoration: none;
}

.nav a.active {
  background: #fef3c7;
  color: #78350f;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #fffbeb, #fff);
  padding: 80px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: #78350f;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: #78350f;
  color: #fff;
}

.btn-primary:hover {
  background: #92400e;
  text-decoration: none;
}

.btn-outline {
  background: #fff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.btn-outline:hover {
  background: #f9fafb;
  text-decoration: none;
}

/* Page Header */
.page-header {
  background: linear-gradient(to bottom, #fffbeb, #fff);
  padding: 60px 20px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.page-header h1 {
  font-size: 2.5rem;
  color: #78350f;
  margin-bottom: 10px;
}

.page-header p {
  font-size: 1.1rem;
  color: #6b7280;
}

/* Main Content */
.main-content {
  padding: 40px 20px;
}

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

.section-alt {
  background: #f8fafc;
}

.section-title {
  font-size: 1.875rem;
  color: #78350f;
  text-align: center;
  margin-bottom: 40px;
}

/* Cards */
.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  color: #78350f;
  margin-bottom: 8px;
}

.card-description {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

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

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

/* Prayer Box */
.prayer-box {
  background: #fef3c7;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.prayer-box p {
  font-style: italic;
  color: #374151;
  font-size: 1.1rem;
  line-height: 1.8;
}

.prayer-box .amen {
  color: #78350f;
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: 16px;
  font-style: normal;
}

/* Contact Box */
.contact-box {
  background: #fef3c7;
  border-radius: 12px;
  padding: 24px;
  margin-top: 32px;
}

.contact-box h3 {
  color: #78350f;
  margin-bottom: 12px;
}

/* Content Sections */
.content-section {
  margin-bottom: 32px;
}

.content-section h2 {
  font-size: 1.5rem;
  color: #78350f;
  margin-bottom: 16px;
  padding-top: 16px;
}

.content-section h3 {
  font-size: 1.25rem;
  color: #78350f;
  margin: 24px 0 12px;
}

.content-section ul {
  margin-left: 24px;
  margin-bottom: 16px;
}

.content-section li {
  margin-bottom: 8px;
}

/* Timeline */
.timeline-item {
  border-left: 4px solid #78350f;
  padding-left: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.timeline-year {
  font-weight: 600;
  color: #78350f;
}

/* Footer */
.footer {
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
  padding: 60px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer h4 {
  color: #78350f;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer ul {
  list-style: none;
}

.footer li {
  margin-bottom: 8px;
}

.footer a {
  color: #4b5563;
}

.footer a:hover {
  color: #78350f;
}

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: #6b7280;
  font-size: 0.9rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-8 {
  margin-bottom: 32px;
}

.mt-4 {
  margin-top: 16px;
}

.mt-8 {
  margin-top: 32px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    text-align: center;
  }

  .nav.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
