/* ==========================================================================
   Green Echoes — shared styles
   Used by: index.html, thank-you.html, privacy-policy.html,
            terms-and-conditions.html, disclaimer.html
   ========================================================================== */

/* Base */
body { background-color: #FEFCF5; color: #1E2F1C; overflow-x: clip; }
html { scroll-behavior: smooth; }

/* Utilities */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* Hero Ken Burns animation */
@keyframes kenburns-zoom {
    0%   { transform: scale(1); }
    100% { transform: scale(1.1); }
}
.animate-kenburns { animation: kenburns-zoom 20s ease-out forwards; }

/* Scrolled header state */
.header-scrolled {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background-color: rgba(254, 252, 245, 0.95);
    backdrop-filter: blur(8px);
}

/* Adaptive transparent header over the hero (index.html) — light at top, dark when scrolled */
#header .nav-link { color: rgba(255,255,255,0.92); }
#header .nav-link:hover { color: #ffffff; }
#header #mobile-menu-btn { color: #ffffff; }
#header .header-cta { border: 1.5px solid rgba(255,255,255,0.6); color: #ffffff; }
#header .header-cta:hover { background-color: #ffffff; color: #2B4F2B; }

#header.scrolled .nav-link { color: #2F402C; }
#header.scrolled .nav-link:hover { color: #7D9F6E; }
#header.scrolled #mobile-menu-btn { color: #1C3B1A; }
#header.scrolled .header-cta { border-color: #2B4F2B; color: #2B4F2B; }
#header.scrolled .header-cta:hover { background-color: #2B4F2B; color: #ffffff; }

/* Buttons */
.btn-outline {
    border: 1.5px solid #2B4F2B;
    color: #2B4F2B;
    transition: all 0.3s ease;
}
.btn-outline:hover { background-color: #2B4F2B; color: white; }

.btn-solid {
    background-color: #2B4F2B;
    color: white;
    transition: all 0.3s ease;
}
.btn-solid:hover { background-color: #1F3A1F; }

/* Thank-you page check animation */
@keyframes pop-in {
    0%   { transform: scale(0.6); opacity: 0; }
    60%  { transform: scale(1.08); }
    100% { transform: scale(1); opacity: 1; }
}
.animate-pop { animation: pop-in 0.6s ease-out forwards; }

/* Legal pages (privacy / terms / disclaimer) prose */
.legal-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1C3B1A;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
}
.legal-content h3 { font-weight: 600; color: #2F402C; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p  { color: #4B5563; line-height: 1.8; margin-bottom: 1rem; }
.legal-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; color: #4B5563; }
.legal-content li { margin-bottom: 0.5rem; line-height: 1.7; }
.legal-content a  { color: #588545; text-decoration: underline; }
.legal-content strong { color: #2F402C; }

/* Blog article prose (blog post pages) */
.blog-content > p { color: #4B5563; line-height: 1.85; margin-bottom: 1.25rem; font-size: 1.05rem; }
.blog-content .lead { font-size: 1.2rem; color: #374151; line-height: 1.8; margin-bottom: 1.5rem; }
.blog-content h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: #1C3B1A;
    margin-top: 2.5rem;
    margin-bottom: 0.85rem;
    line-height: 1.2;
}
.blog-content h3 { font-weight: 600; font-size: 1.15rem; color: #2F402C; margin-top: 1.75rem; margin-bottom: 0.5rem; }
.blog-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; color: #4B5563; }
.blog-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; color: #4B5563; }
.blog-content li { margin-bottom: 0.6rem; line-height: 1.75; }
/* Underline + green only for in-text links, so CTA buttons keep their own styling */
.blog-content p a,
.blog-content li a,
.blog-content blockquote a { color: #588545; text-decoration: underline; }
.blog-content strong { color: #2F402C; }
.blog-content blockquote {
    border-left: 4px solid #9BBF88;
    background: rgba(88,133,69,0.06);
    padding: 1rem 1.5rem;
    margin: 1.75rem 0;
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 1.35rem;
    color: #2D5229;
    border-radius: 0 0.5rem 0.5rem 0;
    line-height: 1.5;
}
