@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap");
:root {
  --primary-color: #0d2a5c;
  --secondary-color: #d4af37;
  --accent-color: #fce8a1;
  --text-dark: #2d3748;
  --text-light: #718096;
  --bg-color: #fcfcfc;
  --white: #ffffff;
  --nav-height: 80px;
  --font-headings: "Playfair Display", serif;
  --font-body: "Outfit", sans-serif;
  --transition: all 0.3s ease;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --border-radius: 12px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.3;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-padding {
  padding: 6rem 0;
}
.text-center {
  text-align: center;
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--nav-height);
  padding: 0 2rem;
  max-width: 1400px;
  margin: 0 auto;
}
.logo a {
  font-family: var(--font-headings);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--primary-color);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.hamburger {
  display: none;
  cursor: pointer;
}
.hamburger div {
  width: 25px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 5px;
  transition: var(--transition);
}
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(13, 42, 92, 0.4), rgba(13, 42, 92, 0.7));
  z-index: 1;
}
.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: zoomIn 20s infinite alternate linear;
}
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}
.hero-content h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  font-weight: 300;
}
.btn {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 600;
  border-radius: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}
.btn:hover {
  background-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.section-title {
  text-align: center;
  margin-bottom: 4rem;
}
.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}
.page-header {
  height: 60vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  margin-top: var(--nav-height);
}
.page-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(13, 42, 92, 0.6), rgba(13, 42, 92, 0.8));
  z-index: 1;
}
.page-header img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-title {
  position: relative;
  z-index: 2;
  font-size: 3.5rem;
  color: var(--white);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
}
.content-block {
  background: var(--white);
  padding: 3rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-bottom: 3rem;
}
.content-block p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
}
.feature-split {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}
.card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-content p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  font-size: 1rem;
}
.card-btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border: 1px solid var(--secondary-color);
  color: var(--secondary-color);
  font-weight: 500;
  border-radius: 4px;
  text-align: center;
  align-self: flex-start;
  transition: var(--transition);
}
.card-btn:hover {
  background-color: var(--secondary-color);
  color: var(--white);
}
.feature-split.reverse {
  flex-direction: row-reverse;
}
.feature-image {
  flex: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}
.feature-image img {
  width: 100%;
  height: auto;
  transition: var(--transition);
}
.feature-image:hover img {
  transform: scale(1.03);
}
.feature-text {
  flex: 1;
}
.feature-text h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.timings-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}
.timings-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headings);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 3rem;
  color: var(--primary-color);
}
.timing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
}
.timing-table th,
.timing-table td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid #edf2f7;
}
.timing-table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: var(--primary-color);
}
.timing-table tr:last-child th,
.timing-table tr:last-child td {
  border-bottom: none;
}
.timing-table td {
  color: var(--text-light);
}
.timing-table .day-col {
  font-weight: 600;
  color: var(--primary-color);
  background-color: #f8fafc;
  width: 25%;
}
.service-icon {
  margin-right: 8px;
  color: var(--secondary-color);
}
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
  text-align: center;
}
footer .logo {
  font-family: var(--font-headings);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}
.footer-content {
  margin-bottom: 2rem;
}
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: var(--transition);
  margin-bottom: 2rem;
}
.contact-card:hover {
  transform: translateY(-5px);
}
.contact-card.vicar-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--accent-color);
}
.contact-info h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}
.contact-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
}
.map-container {
  height: 100%;
  min-height: 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .feature-split,
  .feature-split.reverse {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: var(--nav-height);
    flex-direction: column;
    background-color: var(--white);
    width: 60%;
    height: calc(100vh - var(--nav-height));
    gap: 0;
    transition: 0.4s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
  }
  .nav-links.nav-active {
    right: 0;
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #edf2f7;
  }
  .hamburger {
    display: block;
  }
  .hero-content h1 {
    font-size: 2.8rem;
  }
  .page-title {
    font-size: 2.5rem;
  }
  .timing-table {
    display: block;
    overflow-x: auto;
  }
  .content-block {
    padding: 1.5rem;
  }
}