body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: #f0f4f0;
    padding-top: 90px;
    color: #2c3e2c;
}

header {
    background: linear-gradient(90deg, #2e5d2e 0%, #4a7a4a 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 70px;
    padding: 0 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

nav {
    height: 100%;
    display: flex;
    align-items: center;
}

nav ul {
    height: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav a {
    color: #1f3a16;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.7rem 1.3rem;
    border-radius: 16px;
    transition: all 0.2s ease, transform 0.15s ease;
    background: linear-gradient(145deg, #f4fff3, #d8e9cd);
    border: 2px solid #5c8f5d;
    box-shadow: 0 4px 12px rgba(30, 75, 34, 0.2);
    text-shadow: 0 1px 1px rgba(255,255,255,0.6);
}

nav a:focus-visible,
nav a:hover {
    background: linear-gradient(145deg, #d8ebd0, #a8c293);
    color: #12310a;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 8px 16px rgba(30, 75, 34, 0.3);
    outline: none;
}

nav a:hover {
    background: linear-gradient(145deg, #d8ebd0, #b6d1a8);
    color: #1f3a16;
    transform: translateY(-1px) scale(1.03);
    box-shadow: 0 6px 12px rgba(30, 75, 34, 0.3);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    animation: bounce 2s infinite;
    text-align: right;
    width: 100%;
    color: #1f5d20;
    text-shadow:
      -1px -1px 0 #000,
      1px -1px 0 #000,
      -1px 1px 0 #000,
      1px 1px 0 #000;
    padding-right: 5rem;
}
.hero-content {
    width: 100%;
    max-width: 1200px;
}
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@media (max-width: 600px) {
    nav a {
        font-size: 0.9rem;
        padding: 0.35rem 0.5rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}

@media (max-width: 400px) {
    body {
        padding-top: 120px;
    }

    nav ul {
        gap: 0.7rem 0.7rem;
    }

    nav a {
        font-size: 0.85rem;
    }
}

nav a {
    color: #000000;
    text-decoration: none;
    font-weight: bold;
}

main {
    max-width: 900px;
    margin: 2em auto;
    padding: 1.5em 2em;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideUp 1s ease-out;
    color: #2c3e2c;
}

section#summary {
    background: #f9fbf9;
    border-left: 4px solid #4a7a4a;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

header {
    background: linear-gradient(90deg, #2f5d2a 0%, #5e8c3d 100%);
}

footer {
    background: linear-gradient(90deg, #3e6d20 0%, #69a03b 100%);
    color: #ffffff;
    border-top: 4px solid #8fb66a;
}
@media (max-width: 768px) {
    header {
        height: 64px;
        padding: 0 0.9rem;
    }
    body {
        padding-top: 78px;
        font-size: 0.85rem;
    }
    nav ul {
        gap: 0.3rem;
        flex-wrap: nowrap;
        justify-content: space-between;
        overflow-x: auto;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    nav ul::-webkit-scrollbar {
        height: 6px;
    }
    nav ul::-webkit-scrollbar-thumb {
        background: rgba(50, 80, 44, 0.5);
        border-radius: 3px;
    }
    nav a {
        display: inline-block;

        color: #1f3a16;
        text-decoration: none;
        font-weight: 700;
        font-size: 0.95rem;

        padding: 0.7rem 1.3rem;
        border-radius: 16px;

        background: #d8e9cd;

        /* ONLY ONE BORDER */
        border: 2px solid #5c8f5d;

        /* 🔥 THIS IS THE REAL PROBLEM */
        box-shadow: none !important;

        /* remove glow */
        text-shadow: none;

        /* reset any weird offsets */
        transform: none;
    }
    .hero {
        height: 44vh;
        min-height: 280px;
    }
    .hero-content h1 {
        font-size: 1.95rem;
        padding-right: 1.5rem;
    }
    .hero-content p {
        font-size: 0.98rem;
    }
    main {
        margin: 0.9rem auto;
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    header {
        height: 60px;
    }
    body {
        padding-top: 76px;
    }
    nav ul {
        gap: 0.35rem;
    }
    nav a {
        font-size: 0.92rem;
        padding: 0.4rem 0.68rem;
    }
    .hero {
        height: 40vh;
        min-height: 260px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1.1rem;
    }
    main {
        margin: 0.8rem auto;
        padding: 0.7rem;
    }
}

@media (max-width: 480px) {
    header {
        height: 60px;
    }
    body {
        padding-top: 76px;
    }
    nav ul {
        gap: 0.35rem;
    }
    nav a {
        font-size: 0.78rem;
        padding: 0.34rem 0.6rem;
    }
    .hero {
        height: 40vh;
        min-height: 260px;
    }
    .hero-content h1 {
        font-size: 1.65rem;
    }
    main {
        margin: 0.8rem auto;
        padding: 0.6rem;
    }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

footer {
    background: linear-gradient(90deg, #2e5d2e 0%, #4a7a4a 100%);
    color: #ffffff;
    text-align: center;
    padding: 1.5em 0;
    margin-top: 2em;
}

h1, h2 {
    color: #2e5d2e;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    border-bottom: 3px solid #2f5d2a;
    padding-bottom: 0.5rem;
}

.instrument-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.instrument-card {
    background: #f7faf5;
    border: 1px solid #d8e9cd;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

.instrument-guitar {
    /* Centering removed since single column */
}

.instrument-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.instrument-card img:hover {
    transform: scale(1.03);
}

.instrument-card.placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

.instrument-placeholder {
    width: 100%;
    height: 170px;
    background: rgba(168, 214, 148, 0.25);
    border: 2px dashed #9bbf92;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.instrument-card figcaption {
    margin-top: 0.75rem;
    font-weight: 700;
    color: #2e5d2a;
}

.sports-image {
    text-align: center;
    margin: 2rem 0;
}

.sports-image img {
    max-width: 320px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.sports-image img:hover {
    transform: scale(1.05);
}

.hero {
    position: relative;
    width: 100%;
    height: 55vh;
    min-height: 420px;
    background: url("../img/madisa-cartoon.png") center 20% / cover no-repeat, linear-gradient(180deg, rgba(232,244,232,0.85) 0%, rgba(196,220,192,0.6) 100%);
    color: #2c3e2c;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    overflow: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    padding: 0 1.25rem;
    text-align: right;
}

.hero-content h1 {
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
}

.hero-content p {
    font-size: 1.3rem;
    max-width: 700px;
    animation: fadeInUp 2s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Book cards */
.book-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 1rem 0;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.book-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
}

/* Poem styles */
.poem {
    background: #f8f9fa;
    border-left: 5px solid #74b9ff;
    padding: 1rem;
    margin: 1rem 0;
    border-radius: 10px;
    font-style: italic;
}

/* List styles */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    background: #e3f2fd;
    margin: 0.5rem 0;
    padding: 0.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
}


/* ===== REMOVE OUTER SHADING (li layer) ===== */
header nav ul li {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

header nav ul li::before,
header nav ul li::after {
    content: none !important;
    display: none !important;
}

/* ===== KEEP BUTTON CLEAN ===== */
header nav a {
    background: #d8e9cd !important;
    border: 2px solid #5c8f5d !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
}

.travel-intro,
.future-updates {
    background: #f9fbf9;
    border-left: 4px solid #4a7a4a;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 1.2rem;
}

.travel-log {
    margin: 1.6rem 0;
}

.trip-card {
    background: #f7faf5;
    border: 1px solid #d8e9cd;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 1rem;
}

.trip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.trip-card-header h3 {
    margin: 0;
    color: #2f5d2a;
}

.trip-date {
    margin: 0;
    font-weight: 700;
    color: #446f3a;
}

.travel-media-item {
    margin: 1rem 0 0;
}

.travel-video {
    width: min(100%, 560px);
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #000;
}

@media (max-width: 768px) {
    .travel-video {
        width: min(100%, 500px);
    }
}

@media (max-width: 480px) {
    .travel-video {
        width: 100%;
    }
}

.travel-media-item figcaption {
    margin-top: 0.6rem;
    color: #2e5d2e;
    font-weight: 600;
}
