     :root {
      --sprucePine: #003a00; 
      --kentuckyNight: #000d08;
      --mountainFog: #f0fff8; 
      --stormCloud: #333849;
      --campfireSmoke: #2f2e2eb3;
      --smokeyMountainMist: #b0c4de;
      --blueRidgeParkway: #002167;
      --starLight: #e1ceff; 
      --midnightBlue: #001f3f;
      --transparentMidnight: #001f3f80;
      --marianaTrench: #00111f;
        --spacing-sm: 0.5rem;
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
    }

* {
    box-sizing: border-box;
    font-family:Arial, Helvetica, sans-serif
}

body {
        color: var(--mountainFog); 
        display: flex; 
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        margin: 0; 
        min-height: 100vh;
    }   

.header {
    font-size: 2rem;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
    text-align: center;
    text-shadow: 3px 3px 5px #000000a1;
    color: var(--mountainFog); 
    background-color: var(--transparentMidnight);
}

h1, h2, h3 {
    color: var(--mountainFog); 
}




/* Navigation menu base styles*/
        .topnav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: relative; 
            padding: 1rem 1.5rem;
            background: var(--midnightBlue);        
            color: var(--mountainFog);
            min-height: 10vh;
            width: 100%; 
        }
    
       

        .hamburger {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0.5rem;
        z-index: 1000;
        position: absolute;
        right: 1.5rem;
        top: 0.5rem;
        }

        
        .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: white;
        margin: 6px 0;
        transition: all 0.3s ease;
        }

        /* Hamburger becomes X when menu is open */
        .hamburger.active span:nth-child(1) {
          transform: rotate(45deg) translate(5px, 6px);   /* adjust translate values if needed */
        }

        .hamburger.active span:nth-child(2) {
          opacity: 0;   /* middle bar disappears */
        }

        .hamburger.active span:nth-child(3) {
          transform: rotate(-45deg) translate(7px, -6px);  /* adjust translate values if needed */
        }

        /* Optional: make transitions smoother on all spans */
        .hamburger span {
          display: block;
          width: 28px;
          height: 3px;
          background: white;
          margin: 6px 0;
          transition: all 0.35s ease;   /* slightly longer for nicer feel */
          transform-origin: center;
        }

        .navLinks {
        display: none;               
        flex-direction: column;
        left: 0;
        width: 100%;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        max-height: fit-content;
        }

        .navLinks a { 
            color: white;
            text-decoration: none;
            padding: 1rem 0;
            font-size: 1.4rem;
            border-bottom: 1px solid var(--blueRidgeParkway)
        }

        .nav-links a:hover, .nav-links a:focus {
        background: var(--stormCloud);
        }

        .navLinks.active {
            display: flex;
            flex-direction: column;
        }

        

.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.container {
    width: clamp(300px, 95%, 800px);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin: 20px auto;
    padding: 15px;
    background-color: var(--transparentMidnight);
    box-shadow: 5px 5px 15px #000000a1;
    border-radius: 8px;
}

.latestEpisodes {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 1.25rem;
}

.latestEpisodes > a {
    color: var(--starLight);
    text-decoration: none;
    font-weight: bold;
}

.latestEpisodes > a:hover {
    text-decoration: underline;
}

.episodeImage {
    width: clamp(200px, 100%, 400px);
    height: auto;
    border-radius: 8px;
    box-shadow: 3px 3px 10px #000000a1;
}


.quoteContainer {
    font-size: 1.2rem;
    text-align: center;
    align-items: center;
    background-color: var(--transparentMidnight);
    font-family: Arial, Helvetica, sans-serif;
    color: var(--mountainFog);
    box-shadow: 5px 5px 15px #000000a1;
}

.fullPassage.quoteContainer {
    width: 97%; 
    text-align: left;
}

/* Verse of the Day image styling */


.container.verseContainer {
    position: relative;           /* contains the absolute children */
    width: clamp(320px, 95%, 780px);
    max-width: 780px;
    margin: 1.5rem auto;
    border: 3px solid var(--mountainFog);
    border-radius: 10px;
    overflow: hidden;             /* ← very important */
    background: var(--kentuckyNight); /* dark fallback */
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

.verseContainer > h2 {
    margin: 1rem 1rem 0.5rem;
    font-size: clamp(1.4rem, 5vw, 2rem);
    color: var(--mountainFog);
}

/* Image wrapper – controls aspect ratio & prevents layout shift */
.verseImageContainer {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;          /* ← adjust: 5/4, 3/2, 1/1 etc. to match your images */
}

/* Background image */
.verseImage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Text overlay */
.verseTextContainer {
    position: absolute;
    inset: 0;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: clamp(1.5rem, 6vw, 3rem);

    color: var(--mountainFog);
    text-align: center;

    /* Readability helpers – pick ONE or combine lightly */
    background: rgba(0, 0, 0, 0.45);          /* semi-dark overlay */
    /* backdrop-filter: blur(2.5px); */        /* nice but optional – remove if perf concern */
    text-shadow: 0 0 10px #000c, 0 0 5px #0008; /* strong shadow = works on almost any image */
}

/* Responsive font scaling + line-height for long verses */
.verseTextContainer .verse-text {
    font-size: clamp(1.05rem, 3.8vw, 1.9rem);
    line-height: 1.38;
    max-width: 92%;
    margin: 0.4em 0;
    font-weight: 400;
}

.verseTextContainer .reference {
    font-size: clamp(1rem, 3.2vw, 1.45rem);
    opacity: 0.92;
    margin-top: 1.1rem;
    font-style: italic;
}

.link-text {
    font-size: clamp(1.3rem, 4.5vw, 1.7rem);
    font-style: italic;
    font-weight: 600;
    color: var(--mountainFog);

}


      /* Social links container */
      .socialLinks {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: clamp(1rem, 4vw, 2rem);           
        margin: var(--spacing-md) 0;
        padding: 0;
        list-style: none;  
      }

      .socialLinks li {
        margin: 0;
      }

      /* Social icon styling (works with inline SVG or <img class="social-icon">) */
      .social-icon {
        width:          clamp(2rem, 6vw, 2.8rem);
        height:         auto;
        fill:           white;               
        color:          white;
        transform:      scale(1);    
        isolation:      isolate;                             
        transition: transform 0.2s ease, color 0.2s ease;
      }

      /* Hover/focus interaction */
      .socialLinks a:hover .social-icon,
      .socialLinks a:focus .social-icon {
        transform: scale(1.18);                
        color: var(--starLight);               /* hover glow */
      }

      /* Optional: slight platform-specific hover tint (subtle) */
      .socialLinks a[href*="x.com"]:hover .social-icon    { color: #1da1f2; }
      .socialLinks a[href*="github"]:hover .social-icon   { color: #f0f6fc; }
      .socialLinks a[href*="linkedin"]:hover .social-icon { color: #0a66c2; }

      /* Make links more touch-friendly */
      .socialLinks a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: var(--spacing-sm);
        border-radius: 10px;                   
        background-color: var(--marianaTrench);
        transition: background 0.2s ease;
      }

      .socialLinks a:hover,
      .socialLinks a:focus {
        background: rgba(51, 56, 73, 0.1);     /* --stormCloud faint overlay */
      }


.footer {
    text-align: center;
    font-style: italic;
    font-size: 1.25rem;
    padding: 1rem;
    color: var(--mountainFog);
    text-shadow: 1px 1px 2px #000000a1;
    margin-top: 3vh;
}


.container.iframe-container {
    min-height: fit-content; 
    padding: 5vh 5vw; 
    }

.iframe {
    width: 100%; 
    height: 66.25%; 
    box-sizing: border-box;
}

@media only screen and (min-width: 600px) {
    
    .iframe {
        height: 315px; 
        width: 560px; 
    }

}