/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #c2d8c4;
    --bg-secondary: #9ec1a1;
    --text-primary: #10121c;
    --text-secondary: #1e4044;
    --accent-primary: #214918;
    --accent-secondary: #ec273f;
    --highlight: #f3a833;
    --light-text: #f7f3b7;
    --dark-bg: #9ec1a1;
    --card-bg: rgba(255, 255, 255, 0.38);
}

body {
    font-family: "Fredoka", sans-serif;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    background-attachment: fixed;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow-x: hidden;
}

/* Full-width responsive banner */
.full-banner {
    width: 100%;
    padding-top: 31.25%; /* 300/960 = 0.3125 */
    background: url("https://img.itch.zone/aW1nLzE1NjExNDY4LmpwZw==/original/m5rJ3u.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-bottom: 40px;
}

/* Banner with blur around */
.banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner-wrapper::before {
    content: "";
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: url("https://img.itch.zone/aW1nLzE0MzI5MTk0LnBuZw==/original/0k423X.png") center / cover no-repeat;
    filter: blur(14px);
    z-index: 0;
}

.banner-img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 280px;
    object-fit: contain;
    display: block;
}

/* Content container */
.content-container {
    background-color: var(--bg-primary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    border: 3px solid var(--accent-primary);
    margin: 0 20px 40px;
    opacity: 0.9;
}

/* Japanese-inspired decorative elements */
.japanese-decoration {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    font-size: 180px;
    color: var(--accent-primary);
    pointer-events: none;
}

.decoration-1 {
    top: 50px;
    left: -50px;
    transform: rotate(-15deg);
}

.decoration-2 {
    bottom: 100px;
    right: -60px;
    transform: rotate(20deg);
}

/* New decorations */
.decoration-3 {
    top: 150px;
    right: -70px;
    transform: rotate(15deg);
}

.decoration-4 {
    bottom: 250px;
    left: -40px;
    transform: rotate(-10deg);
}

.decoration-5 {
    top: 300px;
    left: 50%;
    margin-left: -80px;
    transform: rotate(5deg);
}

.decoration-6 {
    bottom: 150px;
    right: 30%;
    transform: rotate(-25deg);
}

.decoration-7 {
    top: 100px;
    left: 30%;
    transform: rotate(10deg);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .japanese-decoration {
        font-size: 120px;
    }
    .decoration-5 {
        margin-left: -60px;
    }
}

@media (max-width: 480px) {
    .japanese-decoration {
        font-size: 90px;
    }
    .decoration-5 {
        margin-left: -45px;
    }
    .decoration-6,
    .decoration-7 {
        display: none; /* Hide on smallest screens */
    }
}

/* Video Trailer */
.trailer-container {
    max-width: 800px;
    margin: 40px auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--accent-primary);
    position: relative;
}

.trailer-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary));
    z-index: -1;
    transform: rotate(2deg);
    border-radius: 12px;
}

.trailer-iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* Content Sections */
section {
    padding: 50px 40px;
    position: relative;
    z-index: 1;
}

h2 {
    text-align: center;
    font-size: 2.8rem;
    color: var(--accent-primary);
    margin-bottom: 40px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 700;
}

h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(to right, var(--accent-secondary), var(--highlight));
    border-radius: 3px;
}

h3 {
    font-size: 2rem;
    color: var(--text-secondary);
    margin: 35px 0 20px;
    padding-left: 15px;
    border-left: 4px solid var(--highlight);
    font-weight: 600;
}

p {
    font-size: 1.25rem;
    margin-bottom: 25px;
    line-height: 1.7;
}

ul,
ol {
    padding-left: 30px;
    margin-bottom: 25px;
}

li {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Feature Boxes */
.features {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 40px 0;
}

.feature-box {
    flex: 1;
    min-width: 300px;
    background: rgba(158, 193, 161, 0.25);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    transform: translateY(-8px);
    background: rgba(158, 193, 161, 0.35);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-box h4 {
    color: var(--accent-primary);
    font-size: 1.7rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.feature-box h4::before {
    content: "◆";
    color: var(--accent-secondary);
    margin-right: 12px;
    font-size: 1.8rem;
}

/* Cards for Development Status */
.dev-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.dev-card {
    background: linear-gradient(135deg, rgba(158, 193, 161, 0.3), rgba(187, 193, 188, 0.3));
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.dev-card h3 {
    color: var(--accent-primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    border-left: none;
    padding: 0;
}

.dev-card ul {
    padding-left: 20px;
}

.dev-card li {
    margin-bottom: 12px;
    position: relative;
}

.dev-card li::before {
    content: "•";
    color: var(--accent-secondary);
    font-size: 1.5rem;
    position: absolute;
    left: -20px;
    top: -2px;
}

/* Cards for Support Section */
.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.support-card {
    background: rgba(255, 255, 255, 0.7);
    border: 2px solid var(--highlight);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.support-card i {
    font-size: 4rem;
    color: var(--highlight);
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.8rem;
    color: var(--accent-primary);
    margin-bottom: 15px;
    text-align: center;
    border-left: none;
    padding: 0;
}

.support-card p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.support-btn {
    display: inline-block;
    background: var(--accent-primary);
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--highlight);
}

.support-btn:hover {
    background: var(--highlight);
    color: var(--text-primary);
    transform: scale(1.05);
}

/* Game Images */
.game-image {
    display: block;
    max-width: 600px;
    width: 100%;
    margin: 30px auto; /* This centers the image */
    border-radius: 12px;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.game-image:hover {
    transform: scale(1.02);
}

/* Call to Action */
.cta-section {
    text-align: center;
    background: linear-gradient(to bottom, var(--dark-bg), #0d2c30);
    color: var(--light-text);
    padding: 60px 20px;
}

.cta-section h2 {
    color: var(--highlight);
}

.cta-section h2::after {
    background: linear-gradient(to right, var(--highlight), var(--accent-secondary));
}

.buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--light-text);
    font-size: 1.4rem;
    font-weight: 700;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 3px solid var(--highlight);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--highlight);
    color: var(--text-primary);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

.itch-embed {
    margin: 50px auto;
    max-width: 600px;
    border: 3px solid var(--highlight);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.demo-info {
    font-size: 1.2rem;
    margin-top: 20px;
    line-height: 1.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 30px;
    background: var(--dark-bg);
    color: var(--light-text);
    border-top: 3px solid var(--highlight);
}

footer h2 {
    color: var(--highlight);
}

footer h2::after {
    background: linear-gradient(to right, var(--highlight), var(--accent-secondary));
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid var(--highlight);
}

.social-icons a:hover {
    background: var(--highlight);
    transform: translateY(-8px);
}

.social-icons img {
    width: 32px;
    height: 32px;
    filter: invert(100%);
    transition: filter 0.3s ease;
}

.social-icons a:hover img {
    filter: invert(0%);
}

.copyright {
    margin-top: 25px;
    font-size: 1.1rem;
    color: var(--dab163);
}

/* Responsive design */
@media (max-width: 900px) {
    .trailer-iframe {
        height: 350px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 40px 25px;
    }

    .features,
    .dev-cards,
    .support-cards {
        grid-template-columns: 1fr;
    }

    .buttons {
        flex-direction: column;
        gap: 20px;
    }

    .trailer-iframe {
        height: 250px;
    }

    .japanese-decoration {
        font-size: 120px;
    }
}

@media (max-width: 480px) {
    h2 {
        font-size: 2.2rem;
    }

    .trailer-iframe {
        height: 200px;
    }

    .btn {
        font-size: 1.2rem;
        padding: 15px 30px;
    }
}

/* Footer Links with Icons */
.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

.footer-link {
    display: flex;
    align-items: center;
    margin: 10px 0;
    max-width: 400px;
    width: 100%;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.footer-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    fill: var(--highlight);
    flex-shrink: 0;
}

.footer-link p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--light-text);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-link {
        max-width: 100%;
    }

    .footer-icon {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    .footer-link {
        padding: 6px 10px;
    }

    .footer-icon {
        width: 24px;
        height: 24px;
        margin-right: 10px;
    }

    .footer-link p {
        font-size: 1rem;
    }
}

/* Gallery Section */
.gallery-section {
    padding: 40px 20px;
    text-align: center;
}

.gallery-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    margin: 20px auto;
    padding: 10px 0;
}

.gallery-track {
    display: flex;
    gap: 15px;
    padding: 10px 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.gallery-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 2px solid var(--accent-primary);
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.gallery-nav button {
    background: var(--accent-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--highlight);
}

.gallery-nav button:hover {
    background: var(--highlight);
    transform: scale(1.1);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border: 3px solid var(--highlight);
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(243, 168, 51, 0.5);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--highlight);
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1001;
}

.close-btn:hover {
    color: var(--accent-secondary);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .gallery-item {
        width: 250px;
        height: 150px;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 200px;
        height: 120px;
    }

    .gallery-nav button {
        width: 40px;
        height: 40px;
    }
}

/* Footer Logo */
.footer-logo {
    text-align: center;
    margin: 25px 0;
    padding: 0 20px;
}

.footer-logo img {
    max-width: 70px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 0 8px rgba(243, 168, 51, 0.5));
    transition: transform 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.1);
}

@media (min-width: 1200px) {
    .container {
        overflow-x: visible;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-card {
    background: rgba(158, 193, 161, 0.25);
    border: 2px solid var(--accent-primary);
    border-radius: 12px;
    margin: 20px 0;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.faq-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.faq-card.active {
    background: rgba(158, 193, 161, 0.35);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: rgba(33, 73, 24, 0.1);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(33, 73, 24, 0.15);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--text-secondary);
    padding-left: 0;
    border-left: none;
    flex: 1;
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-card.active .faq-question i {
    transform: rotate(180deg);
}

/* Smoother Expand/Collapse Animation */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease 0.1s;
    opacity: 0;
}

.faq-card.active .faq-answer {
    max-height: 1000px; /* Sufficiently large value */
    opacity: 1;
    transition: max-height 0.7s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.faq-card.active .faq-question i {
    transform: rotate(180deg);
    color: var(--highlight);
}

.faq-question:hover i {
    color: var(--accent-secondary);
}

.faq-answer p,
.faq-answer ul {
    padding: 0 20px 20px;
    margin: 0;
}

.faq-answer li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .faq-question h3 {
        font-size: 1.2rem;
    }

    .faq-question {
        padding: 15px;
    }
}

/* Enhanced Fade-in Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Special animations for unique sections */
.cta-section.fade-in {
    transform: translateY(50px);
    transition-delay: 0.1s;
}

footer.fade-in {
    transform: translateY(40px);
    transition-delay: 0.2s;
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(100px);
    z-index: 100;
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--highlight);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Sticky Navigation - Fixed Version */
#sticky-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(158, 193, 161, 0.5); /* More transparent */
    border: 2px solid rgba(33, 73, 24, 0.5); /* Semi-transparent border */
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    max-width: 60px;
    backdrop-filter: blur(5px);
}

#sticky-nav.expanded {
    max-width: 280px;
    background: rgba(158, 193, 161, 0.9); /* More opaque */
    border: 2px solid var(--accent-primary); /* Solid border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.nav-header {
    display: flex;
    align-items: center;
    padding: 10px;
    background: rgba(33, 73, 24, 0.15); /* More transparent */
    height: 60px;
    box-sizing: border-box;
    position: relative;
    transition: background 0.4s ease; /* Smooth background transition */
}

#sticky-nav.expanded .nav-header {
    background: rgba(33, 73, 24, 0.8); /* Opaque when expanded */
}

.nav-toggle {
    background: var(--highlight);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

#sticky-nav.expanded .nav-toggle {
    position: relative;
    left: 0;
    transform: none;
}

.nav-toggle:hover {
    transform: translateX(-50%) rotate(90deg) scale(1.1);
    background: var(--accent-secondary);
    color: white;
}

#sticky-nav.expanded .nav-toggle:hover {
    transform: rotate(90deg) scale(1.1);
}

.nav-title {
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.3rem;
    margin-left: 55px;
    white-space: nowrap;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    width: 0;
}

#sticky-nav.expanded .nav-title {
    opacity: 1;
    width: auto;
}

.nav-links {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

#sticky-nav.expanded .nav-links {
    max-height: 1000px;
}

.nav-links a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(33, 73, 24, 0.1);
}

.nav-links a:last-child {
    border-bottom: none;
}

.nav-links a i {
    width: 30px;
    font-size: 1.2rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: 25px;
}

.nav-links a:hover i {
    color: var(--accent-secondary);
    transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #sticky-nav {
        top: 10px;
        left: 10px;
    }

    #sticky-nav.expanded {
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    #sticky-nav {
        max-width: 50px;
    }

    .nav-header {
        padding: 8px;
        height: 50px;
    }

    .nav-toggle {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .nav-title {
        font-size: 1.1rem;
        margin-left: 45px;
    }

    .nav-links a {
        padding: 10px 15px;
        font-size: 1rem;
    }

    .nav-links a i {
        width: 25px;
        font-size: 1rem;
    }
}

/* Section Scroll Offsets */
@media (min-width: 769px) {
    section,
    footer {
        scroll-margin-top: 120px;
    }
}

@media (max-width: 768px) {
    section,
    footer {
        scroll-margin-top: 80px;
    }
}

/* Mobile header spacing */
@media (max-width: 480px) {
    section:first-of-type {
        padding-top: 30px;
    }
}


