/* ============================
   VARIABLES
============================ */
:root {
    --primary: #14325f;
    --accent: #d4af37;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #1f2d3d;
    --text-muted: #4a4a4a;
    --border-light: rgba(200,212,242,0.4);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);
    --transition: 0.4s ease;
    --font-heading: "Cinzel", "Georgia", serif;
    --font-body: "Segoe UI", Arial, sans-serif;
}

/* ============================
   GENERAL
============================ */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding-top: 80px;
    padding-bottom: 30px;
    line-height: 1.7;
}

/* ============================
   VARIABLES
============================ */
:root {
    --primary: #14325f;
    --accent: #d4af37;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --text-dark: #1f2d3d;
    --text-muted: #4a4a4a;
    --border-light: rgba(200,212,242,0.4);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 6px 18px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 36px rgba(0,0,0,0.12);
    --transition: 0.4s ease;
    --font-heading: "Cinzel", "Georgia", serif;
    --font-body: "Segoe UI", Arial, sans-serif;
}

/* ============================
   GENERAL
============================ */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding-top: 80px;
    line-height: 1.7;
}

/* ============================
   NAVBAR
============================ */
.navbar {
    width: 100%;
    height: 80px;
    padding: 0 50px;
    background: var(--bg-white);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.home-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    width: 65px;
    height: 65px;
    margin-right: 15px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.logo-text {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 12px;
    position: relative;
    font-family:Verdana, Geneva, Tahoma, sans-serif;
    font-weight: 800;
    color: var(--accent);
}

.menu a:hover { color: var(--accent); }
.menu a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s;
}
.menu a:hover::after { width: 100%; }

/* MOBILE NAV */
.mobile-toggle { display: none; font-size: 24px; cursor: pointer; }
@media(max-width:768px){
    .mobile-toggle{display:block;}
    .menu{position:absolute; top:80px; left:0; width:100%; background:var(--bg-white); display:none; padding:25px 0; box-shadow: var(--shadow-lg);}
    .menu.open{display:block;}
    .menu ul{flex-direction:column; align-items:center; gap:25px;}
}
/* ============================
   INTRO / VIDEO SECTION
============================ */
.intro {
    text-align: center;
    margin: 60px auto 80px auto;
    padding: 0 20px;
    position: relative;
    
}

.intro::after {
    content:'';
    position:absolute;
    top:0; 
    left:50%;
    width:80%; 
    height:100%;
    transform:translateX(-50%);
    background: linear-gradient(to right, rgba(212,175,55,0.05), rgba(212,175,55,0.02));
    z-index:-1;
    border-radius: var(--radius-lg);
}

.intro h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
    color:  #d4af37;
}

/* Video container */
.video-container {
    position: relative;
    width: 80%;
    max-width: 1100px;
    margin: auto;
    aspect-ratio: 16/ 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================
   PASTOR / LEADERS SECTION
============================ */
.pastor-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    padding: 80px 20px;
    background: linear-gradient(to right, rgba(20,50,95,0.05), rgba(212,175,55,0.02));
}

.pastor-card1, 
.pastor-card2, 
.pastor-card3 {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    width: 220px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    padding: 10px 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pastor-card1:hover, 
.pastor-card2:hover, 
.pastor-card3:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 48px rgba(0,0,0,0.2);
}

.pastorA-img, 
.pastorB-img, 
.pastorC-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: auto;
    display: block;
    border: 3px solid var(--accent);
}

.pastorA-text, 
.pastorB-text, 
.pastorC-text {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.pastorA-info h4, 
.pastorB-info h4, 
.pastorC-info h4 {
    margin: 5px 0 0 0;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}


/* ============================
   FOOTER
============================ */
.footer {
    background: linear-gradient(to right, #10294d, #14325f);
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.footer-logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
}

.footer-copy {
    font-size: 13px;
    color: #d4d4d4;
}


/* ============================
   RESPONSIVE
============================ */
@media(max-width:768px){
    .intro h2 { font-size: 22px; }

    .pastor-card1, 
    .pastor-card2, 
    .pastor-card3 {
        width: 100%;
        max-width: 300px;
    }
}

/*================ Churches=========*/

.content {
    text-align: center;
    margin-top: 30px;
    padding: 0px;
    padding-bottom: 30px;
    padding-top: 30px;
}

.content h1 {
    color:  #1a3f7a;
    margin-bottom: 10px;
    
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;

}

.content .par {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
}

.content h2 {
    color: #1a3f7a;
    margin: 30px 0 15px 0;
    text-align: left;
}

.dropdown {
    background-color: #f5f5f5;
    border-radius: 10px;
    margin: 10px 0 30px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.dropbtn {
    position: relative;           
    color: white;
    padding: 14px;
    font-size: 18px;
    width: 100%;
    border: none;
    text-align: left;
    cursor: pointer;
    border-radius: 10px;
    background-size: cover;       
    background-position: center;  
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.dropbtn::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.4));
    z-index: 0;
    border-radius: 10px;
}

.dropbtn span {
    position: relative;
    z-index: 1;
}

.dropbtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.dropbtn.luzon { background-image: url('Luzon\ button.jpg'); }
.dropbtn.visayas { background-image: url('Visayas\ button.jpg');}
.dropbtn.westasia { background-image: url('WestAsia\ button.jpg'); }
.dropbtn.texas { background-image: url('texas\ button.jpg'); }

.dropdown-content {
    display: none;
    background-color: #fff;
    padding: 15px;
    border-radius: 0 0 10px 10px;
    text-align: left;
}

.church-entry a{
    text-decoration: none;
    color: #0b3d91;
    font-weight: 600;
}
.church-entry {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.church-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.church-entry h4 {
    margin: 5px 0;
    color: #0b3d91;
}

.church-entry p {
    margin: 2px 0;
    font-size: 15px;
    line-height: 1.4;
}

.dashboard {
    margin: 30px auto;
    width: 80%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-5px);
    background: #f0f0ff;
}

.btn-card {
    background: #2d68ff;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s ease;
}

.btn-card:hover {
    background: #1b4dcc;
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-content h3 {
    color: #2d68ff;
    margin-bottom: 15px;
}

.popup-content p {
    margin: 6px 0;
    color: #444;
}