/* =========================
   RESET
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    color: #333;
    background: #fff;
}

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

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

/* =========================
   GLOBAL
========================= */

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

section {
    padding: 60px 0;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 20px;
    color: #1f2937;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 14px 30px;
    background: #1C8304;
    color: white;
    border-radius: 4px;
    transition: 0.3s;
}

.btn:hover {
    background: #1C8304;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

/* =========================
   TOP BAR
========================= */

.top-bar {
    background: #BE9315;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.top-bar i {
    margin-right: 8px;
}

/* =========================
   HEADER
========================= */

header {
    background: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 0;
}

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

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

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #222;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #8b1e1e;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* =========================
   HERO
========================= */

.hero {
    height: 90vh;
    background: url("../images/Bishop-Constantine.jpg") center center/cover;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    /* background: rgba(0,0,0,.55); */

    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    color: white;
    font-size: 4rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
}

/* =========================
   WELCOME
========================= */

.welcome {
    background: #fff;
}

.section-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* =========================
   ABOUT DIOCESE
========================= */

.about-diocese {
    background: #f8fafc;
    text-align: center;
}

.about-diocese h2 {
    margin-bottom: 25px;
}

.stats {
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.stat-card h3 {
    color: #8b1e1e;
    font-size: 2rem;
}

/* =========================
   MISSION
========================= */

.mission {
    background: #BEAC1F;
    color: black;
    text-align: center;
}

.mission h2 {
    color: white;
}

/* Welcome message */
.mission-message {
    background: #fafafa;
    color: white;
    text-align: center;
}

.message-color-heading {
    color: rgb(0, 0, 0);
}

.message-color-paragraph {
    color: #333;
}
/* =========================
   EVENTS
========================= */

.events {
    background: white;
}

.events h2 {
    text-align: center;
    margin-bottom: 40px;
}

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

.event-card {
    background: white;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    transition: .3s;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-card img {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    margin-bottom: 15px;
}

.event-content a {
    color: #8b1e1e;
    font-weight: bold;
}

/* =========================
   SCRIPTURE
========================= */

.scripture {
    background: #BEAC1F;
    text-align: center;
    color:#fff;

}

.scripture blockquote {
    max-width: 700px;
    margin: auto;
    font-size: 1.4rem;
    font-style: italic;
}

/* =========================
   FOOTER
========================= */

footer {
    background: #111827;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 40px;
    padding: 70px 0;
}

.footer-grid h3 {
    color: white;
}

.footer-grid ul li {
    margin-bottom: 10px;
}

.footer-grid a {
    color: #d1d5db;
}

.footer-grid a:hover {
    color: white;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 20px;
}

/* =========================
   INNER PAGE HERO
========================= */

.page-hero {
    height: 350px;
    background: url("../images/church.jpg") center/cover;
    position: relative;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.55);
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.page-hero-content h1 {
    color: white;
    font-size: 3rem;
}

/* =========================
   CARDS
========================= */

.card-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
    
}

.card-grid-gallery {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    
}

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

.card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,.08);
}

.card img {
    height: 260px;
    width: 100%;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

/* =========================
   TABLES
========================= */

table {
    width: 100%;
    border-collapse: collapse;
}

table th {
    background: #8b1e1e;
    color: white;
}

table th,
table td {
    padding: 15px;
    border: 1px solid #ddd;
}

/* =========================
   FORMS
========================= */

form {
    max-width: 700px;
    margin: auto;
}

input,
textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

textarea {
    resize: vertical;
    min-height: 180px;
}

button {
    cursor: pointer;
}

/* =========================
   ANIMATION
========================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s ease;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   MOBILE
========================= */

@media(max-width:992px){

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

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

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

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

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

@media(max-width:768px){

    .menu-btn{
        display:block;
    }

    .nav-links{
        display:none;
        flex-direction:column;
        background:white;
        position:absolute;
        left:0;
        right:0;
        top:90px;
        padding:20px;
    }

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

    .hero-content h1{
        font-size:2.5rem;
    }

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

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

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

    .top-bar .container{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }
    
    .card-grids {
    grid-template-columns: 1fr;
}

  .card-grid-gallery {
    grid-template-columns: 1fr;
  }
}

.nav-links a.active {
    color: #8b1e1e;
    font-weight: bold;
}

.card,
.parish {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

body {
    overflow-x: hidden;
}

.about-image {
    margin-bottom: 40px;
}

.about-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.about-text {
    text-align: center; /* change to left if preferred */
}

.about-text h2 {
    margin-bottom: 20px;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}
.youtube-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #ff0000;
  color: #fff;
  border-radius: 5px;
  font-weight: bold;
  transition: 0.3s ease;
}

.youtube-btn:hover {
  background: #cc0000;
}

.youtube-btn i {
  margin-right: 8px;
}