/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Merriweather', serif;
    line-height: 1.6;
    color: #1a2f1a;
    overflow-x: hidden;
    background: linear-gradient(135deg, #8fbc8f 0%, #9acd32 30%, #daa520 70%, #d2691e 100%);
    min-height: 100vh;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Animated Forest Background */
.forest-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background-image: url('mountain-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Header Styles */
.header {
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.logo {
    display: inline-block;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nature-icon {
    margin-bottom: 15px;
    animation: gentle-float 4s ease-in-out infinite;
}

.mountain-logo {
    width: 80px;
    height: 60px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

.site-title {
    font-family: 'Dancing Script', cursive;
    font-size: 4rem;
    font-weight: 700;
    color: #1a2f1a;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(139, 69, 19, 0.3), 1px 1px 2px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #2d4a2b, #8b4513, #2d4a2b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    display: grid;
    width: max-content;
    margin-inline: auto;
    font-size: 1.2rem;
    color: #4a5d4a;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.tagline-sizer,
.tagline-typed {
    grid-area: 1 / 1;
    justify-self: start;
}

.tagline-sizer {
    color: transparent;
}

.site-nav {
    display: flex;
    justify-content: center;
    gap: 22px;
    margin-top: 18px;
}

.site-nav a {
    color: #2d4a2b;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #8b4513;
}

.section-heading {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a2f1a;
    text-align: center;
    display: table;
    margin: 0 auto 28px;
    padding: 0.15em 0.75em 0.25em;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.card-kicker {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: inherit;
}

/* Main Content */
.main-content {
    padding: 40px 0;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 60px;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.nature-illustration {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.forest-scene {
    width: 300px;
    height: 150px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    border-radius: 15px;
    overflow: hidden;
}

.welcome-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    color: #2d4a2b;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.welcome-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1a2f1a;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    font-weight: 300;
}

/* Forest Paths Section */
.forest-paths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.path-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.path-card > p:not(.card-kicker) {
    flex: 1;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.path-card:hover::before {
    left: 100%;
}

.path-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.path-icon-nature {
    margin-bottom: 20px;
    animation: gentle-float 3s ease-in-out infinite;
    display: flex;
    justify-content: center;
}

.card-icon {
    width: 60px;
    height: 60px;
    color: inherit;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.02); opacity: 1; }
}

.path-card h3 {
    font-family: 'Merriweather', serif;
    font-size: 1.45rem;
    color: #1a2f1a;
    margin-bottom: 12px;
    font-weight: 700;
}

.path-card p {
    color: #4a5d4a;
    margin-bottom: 25px;
    line-height: 1.6;
    font-weight: 300;
}

.path-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #8fbc8f, #228b22);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(34, 139, 34, 0.3);
}

.path-link:hover {
    background: linear-gradient(135deg, #228b22, #006400);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 139, 34, 0.4);
}

/* Remove breadcrumb styling as we removed breadcrumbs from HTML */

@keyframes breadcrumb-drop {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(3px); }
}

.circles-section,
.contact-section {
    margin-bottom: 60px;
}

.contact-section {
    margin-bottom: 20px;
}

.updated {
    width: fit-content;
    margin: 0 0 36px auto;
    padding: 0.35em 0.7em;
    text-align: right;
    font-size: 0.85rem;
    font-weight: 400;
    color: #1a2f1a;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.circles-grid {
    margin-bottom: 0;
}

.contact-card h2 {
    font-family: 'Merriweather', serif;
    font-size: 1.6rem;
    color: #2d4a2b;
    margin-bottom: 12px;
    font-weight: 700;
}

.npub {
    font-family: ui-monospace, "Cascadia Code", "Source Code Pro", Menlo, Consolas, monospace;
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.6;
    color: #2d4a2b;
    overflow-wrap: anywhere;
    margin: 0 auto 25px;
    max-width: 42rem;
}

.contact-card .card-kicker {
    color: #8b4513;
}

.contact-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.contact-link {
    background: linear-gradient(135deg, #8b4513, #654321);
}

.contact-link:hover {
    background: linear-gradient(135deg, #654321, #3e2723);
}

/* Card accents */
.blog-path {
    border-left: 5px solid #2e8b57;
    color: #1f6b40;
}

.blog-path .path-link {
    background: linear-gradient(135deg, #1f6b40, #2e8b57);
}

.blog-path .path-link:hover {
    background: linear-gradient(135deg, #185433, #1f6b40);
}

.android-path {
    border-left: 5px solid #3d6b4f;
    color: #2d4a2b;
}

.android-path .path-link {
    background: linear-gradient(135deg, #2d4a2b, #3d6b4f);
}

.android-path .path-link:hover {
    background: linear-gradient(135deg, #1a2f1a, #2d4a2b);
}

.alexandria-path {
    border-left: 5px solid #8b4513;
    color: #8b4513;
}

.alexandria-path .path-link {
    background: linear-gradient(135deg, #8b4513, #a0522d);
}

.alexandria-path .path-link:hover {
    background: linear-gradient(135deg, #654321, #8b4513);
}

.biblestr-path {
    border-left: 5px solid #8a6a12;
    color: #8a6a12;
}

.biblestr-path .path-link {
    background: linear-gradient(135deg, #8a6a12, #a07b16);
}

.biblestr-path .path-link:hover {
    background: linear-gradient(135deg, #6e5410, #8a6a12);
}

.pipe-path {
    border-left: 5px solid #4a6670;
    color: #3d555e;
}

.pipe-path .path-link {
    background: linear-gradient(135deg, #3d555e, #4a6670);
}

.pipe-path .path-link:hover {
    background: linear-gradient(135deg, #2c3e46, #3d555e);
}

.mercury-path {
    border-left: 5px solid #5c6b7a;
    color: #3e4c5a;
}

.mercury-path .path-link {
    background: linear-gradient(135deg, #3e4c5a, #5c6b7a);
}

.mercury-path .path-link:hover {
    background: linear-gradient(135deg, #2a3540, #3e4c5a);
}

.scriptorium-path {
    border-left: 5px solid #6b4423;
    color: #6b4423;
}

.scriptorium-path .path-link {
    background: linear-gradient(135deg, #6b4423, #8b5a2b);
}

.scriptorium-path .path-link:hover {
    background: linear-gradient(135deg, #4e3018, #6b4423);
}

.gitea-path {
    border-left: 5px solid #3f6b2a;
    color: #3f6b2a;
}

.gitea-path .path-link {
    background: linear-gradient(135deg, #3f6b2a, #4f7d34);
}

.gitea-path .path-link:hover {
    background: linear-gradient(135deg, #2d4e1e, #3f6b2a);
}

.purple-path {
    border-left: 5px solid #6b3fa0;
    color: #6b3fa0;
}

.purple-path .path-link {
    background: linear-gradient(135deg, #5b2d91, #6b3fa0);
}

.purple-path .path-link:hover {
    background: linear-gradient(135deg, #452270, #5b2d91);
}

.citadel-path {
    border-left: 5px solid #3f4c6b;
    color: #3f4c6b;
}

.citadel-path .path-link {
    background: linear-gradient(135deg, #2f3a52, #3f4c6b);
}

.citadel-path .path-link:hover {
    background: linear-gradient(135deg, #222a3c, #2f3a52);
}

/* About Section */
.about-section {
    margin-bottom: 40px;
}

.about-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.forest-divider {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2d4a2b;
    max-width: 600px;
    margin: 0 auto 25px;
    font-style: italic;
}

.signature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.name {
    font-family: 'Dancing Script', cursive;
    font-size: 1.8rem;
    color: #8b4513;
    font-weight: 600;
}

.red-hood-small {
    font-size: 1.5rem;
    animation: gentle-sway 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .site-title {
        font-size: 3rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .welcome-card, .about-card {
        padding: 25px;
    }
    
    .path-card {
        padding: 25px;
    }
    
    .forest-paths {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .path-card h3 {
        font-size: 1.3rem;
    }

    .section-heading,
    .welcome-card h2,
    .contact-card h2 {
        font-size: 1.35rem;
    }

    .npub {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2.5rem;
    }
    
    .red-hood {
        font-size: 2.5rem;
    }
    
    .welcome-card, .about-card, .path-card {
        padding: 20px;
    }
    
    .welcome-text, .about-text {
        font-size: 1rem;
    }
}
