/* ================= ROOT COLORS ================= */
:root {
    --gold: #D4A017;
    --deep-blue: #0A1F44;
    --light-blue: #061034;
    --white: #ffffff;
    --gray: #1e3a8a;
   
}
 /* :root {


/* ================= GLOBAL ================= */
* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #333;
    background: var(--white);
}

h1,h2,h3 {
    font-family: 'Playfair Display', serif;
    color: var(--deep-blue);
}

/* ================= TOP BAR ================= */
.top-bar {
    background: var(--gold);
    padding: 8px 0;
    text-align:center;
    font-size:14px;
    color:#000;
}

/* ================= HEADER ================= */
header {
    background: linear-gradient(135deg, var(--deep-blue), #1e3a8a);
    color:white;
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    box-shadow:0 4px 15px rgba(0,0,0,0.3);
}

.nav-logo-img {
    height: 70px; /* Increased size to make it clearly visible */
    width: auto;
    display: block;
    /* Optional: adds a slight glow to help it stand out on dark blue */
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3)); 
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:  5%; /* Removed vertical padding to let the logo define the height */
    height: 110px; /* Fixed height to keep things stable */
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px; /* Space between the circle logo and text */
    font-size: 32px; 
    font-weight: 700;
    color: var(--gold);
}

.logo img {
    height: 100x; /* Increased from 40px/45px to 60px */
    width: auto;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.2)); /* Makes it "pop" against the blue */
    transition: transform 0.3s ease;
    margin-top: 5px;
}

.logo:hover img {
    transform: scale(1.05);
}  
.logo span { color:white; }

.nav-links {
    display:flex;
    gap:30px;
}

.nav-links a {
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.nav-links a:hover {
    color:var(--gold);
}

.mobile-menu {
    display:none;
    cursor:pointer;
    font-size:22px;
}

/* ================= HERO SECTION ================= */
.hero {
    min-height: 100vh;
    padding: 160px 20px 120px;
    background: linear-gradient(rgba(11, 39, 86, 0.85), rgba(10,31,68,0.9)),
                url('https://images.unsplash.com/photo-1507692049790-de58290a4334') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-box {
    background: none;
    box-shadow: none;
    padding: 0;
    text-align: center;
    width: 100%;
    max-width: 1100px;
}

.hero-title {
    color: var(--gold);
    font-size: 60px;
    margin-bottom: 40px;
    text-shadow: 0 6px 20px rgba(0,0,0,0.7);
}

/* HERO ROW - The Alignment Fix */
.hero-row {
    display: flex;
    align-items: center;      /* Vertically aligns logo and text */
    justify-content: center;   /* Centers the group horizontally */
    gap: 40px;                /* Space between logo and text */
    flex-wrap: wrap;           /* Allows stacking on mobile */
}

/* HERO LOGO - Updated */
.hero-logo {
    width: 180px;             /* Better size for side-by-side */
    height: auto;
    display: block;
    margin: 0;                /* Removed margin auto to allow side alignment */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
}

/* HERO TEXT - Updated */
.hero-text {
    color: white;
    font-size: 22px;
    max-width: 520px;
    text-align: left;         /* Aligns text left next to the logo */
    line-height: 1.8;
}

/* BUTTON */
.btn {
    display:inline-block;
    padding:14px 40px;
    background:var(--gold);
    color:#fff;
    border-radius:50px;
    text-decoration:none;
    font-weight:bold;
    margin-top:25px;
    transition:0.3s;
}

.btn:hover {
    background:#b8860b;
    transform:scale(1.05);
}

/* ================= SECTIONS ================= */
.section {
    padding:80px 5%;
    text-align:center;
}

.section-title {
    font-size:2.8rem;
    margin-bottom:50px;
}

.section-title span {
    color:var(--gold);
}

.bg-gray { background:var(--gray); }
.bg-light { background:var(--light-blue); }

.about-text {
    max-width:900px;
    margin:0 auto;
    font-size:1.1rem;
    line-height:1.8;
}

/* ================= CARDS ================= */
.features {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(300px,1fr));
    gap:30px;
}

.card {
    background:#1e3a8a;
    color:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
    transition:0.3s;
}

.card:hover {
    transform:translateY(-10px);
}

.card i {
    font-size:3rem;
    color:var(--gold);
    margin-bottom:20px;
}

/* ================= PRAYER LINE ================= */
.prayer-line {
    background:linear-gradient(135deg,var(--deep-blue),#1e40af);
    color:rgb(148, 171, 80);
    text-align:center;
    padding:60px 20px;
}

.prayer-line i {
    font-size:4rem;
    color:var(--gold);
    margin-bottom:20px;
}

.number {
    font-size:3rem;
    font-weight:bold;
    color:var(--gold);
}

/* ================= FORM ================= */
.prayer-form {
    max-width:700px;
    margin:0 auto;
    display:grid;
    gap:20px;
}

.prayer-form input,
.prayer-form textarea {
    padding:15px;
    border-radius:10px;
    border:1px solid #120f0f;
    font-size:1rem;
}

/* ================= TESTIMONY ================= */
.testimony {
    background:#1e40af;
    padding:40px;
    border-radius:15px;
    margin:30px auto;

    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    max-width:900px;
}

/* ================= FOOTER ================= */
footer {
    background:var(--deep-blue);
    /* background-color: #1e3a8a; */
    color:rgb(196, 190, 190);
    padding:60px 5% 20px;
}

.footer-grid {
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
    gap:40px;
    margin-bottom:40px;
}

.social-icons a {
    color:rgb(5, 5, 5);
    font-size:1.8rem;
    margin:0 10px;
    transition:0.3s;
}

.social-icons a:hover {
    color:var(--gold);
}

.footer-bottom {
    text-align:center;
    border-top:1px solid rgba(255,255,255,0.2);
    padding-top:20px;
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width:768px) {

    .nav-links {
        display:none;
        flex-direction:column;
        position:absolute;
        top:100%;
        left:0;
        width:100%;
        background:var(--deep-blue);
        padding:20px 0;
    }

    .nav-links.active { display:flex; }

    .mobile-menu { display:block; }

    .hero-title { font-size:40px; }

    .hero-row {
        flex-direction:column;
        gap:30px;
    }

    .hero-text {
        text-align:center;
    }
}


/* ================= DAILY DEVOTION ================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    text-align: center;

    /* Spiritual background gradient */
    background: linear-gradient(to bottom, #1592c8, #203a43, #2c5364);
    color: #ffffff;
}

/* Heading styles */
h1 {
    font-size: 48px;
    margin-top: 40px;
    color: #ffd700;
    text-align: center;
    text-shadow: 0px 0px 10px rgba(255, 215, 0, 0.7);
}

h2 {
    font-size: 30px;
    color: #1a1313;
    margin-bottom: 10px;
    text-align: center;
    text-indent: 0%;
}

p {
    font-size: 18px;
    color: #dcdcdc;
    margin-bottom: 30px;
}

/* Image container */
.images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 40px;
}

/* Image styling */
.images img {
    border-radius: 15px;
    box-shadow: 0px 0px 15px rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.images img:hover {
    transform: scale(1.05);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    text-align: center;
    color: rgb(111, 106, 106);
    overflow-x: hidden;

    /* Heavenly background */
    background: linear-gradient(to bottom, #1e3c72, #2a5298, #6dd5ed);
}

/* Real cloud images */
.cloud {
    position: absolute;
    width: 220px;
    opacity: 0.8;
}

/* Individual cloud positions */
.cloud1 {
    top: 80px;
    left: -250px;
    animation: moveClouds 80s linear infinite;
}

.cloud2 {
    top: 150px;
    left: -300px;
    width: 260px;
    animation: moveClouds 90s linear infinite;
}

/* Smooth floating animation */
@keyframes moveClouds {
    from { transform: translateX(0); }
    to { transform: translateX(140vw); }
}

/* Headings */
h1 {
    font-size: 48px;
    margin-top: 60px;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

p {
    font-size: 18px;
    color: #f0f0f0;
}

/* Cross glow */
.cross {
    font-size: 80px;
    margin: 20px 0;
    color: white;
    text-shadow: 0 0 20px white, 0 0 40px #ffd700;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 10px white; }
    to { text-shadow: 0 0 30px #ffd700; }
}

/* Images */
.images {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.images img {
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    transition: transform 0.3s;
}

.images img:hover {
    transform: scale(1.05);
}

/* Bible verse card */
.verse {
    background: rgba(255, 255, 255, 0.1);
    margin: 40px auto;
    padding: 20px;
    width: 60%;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.verse h3 {
    color: #ffd700;
}


/* Body divine background */
body {
    margin: 0;
    padding: 0;
    font-family: 'Georgia', serif;
    text-align: center;
    color: rgb(193, 189, 189);

    background: linear-gradient(to bottom, #2253ae, #2a5298, #1e3a8a);
}

/* Divine light glow from top */
.light {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: radial-gradient(circle at top, rgba(192, 60, 60, 0.6), transparent);
    pointer-events: none;
}

/* Heading */
h1 {
    font-size: 42px;
    margin-top: 60px;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.8);
}

/* ===== Sermon Video Grid ===== */
.videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 40px;
}

/* ===== Video Card ===== */
.video-card {
    background: white;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* ===== Video Player ===== */
.video-card iframe {
    width: 100%;
    height: 200px;
    border: none;
}

/* ===== Video Info Section ===== */
.video-info {
    padding: 18px;
}

/* Title */
.video-info h3 {
    font-size: 18px;
    color: #0A1F44;
    margin-bottom: 8px;
}

/* Speaker */
.video-info p {
    font-size: 14px;
    color: #555;
    margin: 4px 0;
}

/* Date */
.sermon-date {
    font-size: 13px;
    color: #888;
}


/* --- CLEAN VISION MUSIC STYLES --- */

/* Basic Reset to prevent overlap errors */
.music-body {
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    font-family: 'Poppins', sans-serif;
}

/* Header: Dark Blue & Gold Theme */
.page-header {
    background: linear-gradient(135deg, #1a2a6c, #2a4858);
    color: #ffffff;
    padding: 0.2px 0.2px;
    text-align: center;
    border-bottom: 5px solid #d4af37;
}

.page-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin: 0;
    color: #d4af37;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-header p {
    font-style: italic;
    opacity: 0.8;
}

/* Music Container */
.music-container {
    max-width: 400px;
    margin: 40px auto 120px auto; /* 120px bottom margin for footer space */
    padding: 0 20px;
}

/* Each Song Row */
.song-row {
    background: #ffffff;
    margin-bottom: 15px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.song-meta {
    display: flex;
    align-items: center;
    gap: 20px;
}

.track-id {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

.song-titles h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.song-titles p {
    margin: 0;
    font-size: 0.9rem;
    color: #777;
}

/* The Player */
audio {
    height: 40px;
}

/* Fixed Footer for Exit Button */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.1);
    z-index: 100;
}

.gold-exit-btn {
    background-color: #d4af37;
    color: white;
    text-decoration: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
}

.gold-exit-btn:hover {
    background-color: #b8952e;
    transform: scale(1.05);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .song-row {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .page-header h1 { font-size: 2rem; }
    audio { width: 100%; }
}