/* style.css */

/* --- ANIMATIONS --- */
img {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

img.loaded {
    opacity: 1;
}

/* --- GLOBAL STYLES --- */
body {
    margin: 0;
    padding: 0;
    background-color: #2e4a33; /* Your Main Green */
    font-family: 'Georgia', serif;
    text-align: center;
}

/* --- HERO BANNER --- */
.hero-banner {
    position: relative;
    width: 100%;
    margin-bottom: -10px; /* Slight overlap fix */
}

.banner-img {
    width: 100%;
    /* max-width: 1200px;  <-- DELETE THIS LINE */
    max-width: 100%;    /* <-- REPLACE WITH THIS */
    height: auto;
    display: block;     /* Adds extra safety against tiny gaps */
}

.tm-standalone {
    position: absolute;
    top: 45%;      /* Adjust as needed for your image */
    right: 16%;    
    width: 40px;
    z-index: 10;
}

/* --- MAIN CONTAINER --- */
.container {
    background-color: #fdf6e3; /* Cream background */
    border: 4px solid #4a3b2a; /* Dark Brown border */
    border-radius: 15px;
    width: 90%;
    max-width: 900px;
    margin: 20px auto;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.quote {
    font-style: italic;
    font-size: 1.4rem;
    color: #6b4c35;
    margin-bottom: 30px;
}

/* --- BUTTON GRIDS --- */
.grid-menu {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    gap: 20px;
    justify-items: center;
    margin-bottom: 30px;
}

.small-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.image-btn {
    display: block;
    width: 100%;
    max-width: 350px;
    transition: transform 0.2s ease;
}

.image-btn img {
    width: 100%;
    border-radius: 10px;
    /* Optional: add a slight shadow to buttons */
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.3));
}

.image-btn:hover {
    transform: scale(1.05); /* Slight grow on hover */
}

/* --- TOOLS SECTION --- */
.tools-section {
    border-top: 2px dashed #4a3b2a;
    padding-top: 30px;
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.tools-btn {
    max-width: 250px;
}

/* --- SPECIAL / TEXT BUTTONS --- */
.special-section h3 {
    color: #4a3b2a;
    margin-top: 30px;
    font-size: 1.2rem;
}

.text-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #4a3b2a;
    color: #fdf6e3;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s;
}

.text-btn:hover {
    background-color: #6b4c35;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 600px) {
    .grid-menu {
        grid-template-columns: 1fr; /* 1 column on phone */
    }
    
    .tm-standalone {
        width: 25px;
        right: 10px;
        top: 10px;
    }
    
    .container {
        width: 95%;
        padding: 20px;
    }
}
/* --- FOOTER STYLES --- */
.footer-section {
    background-color: #2e4a33; /* Matches your main green */
    border-top: 4px solid #4a3b2a; /* Wood color border */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px; /* Space between text and button */
    padding: 30px 20px;
    margin-top: 40px;
    color: #fdf6e3; /* Cream text */
    font-size: 0.9rem;
}

.footer-support-btn img {
    height: 40px; /* Keeps the button small and subtle */
    width: auto;
    vertical-align: middle;
    transition: transform 0.2s ease;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.footer-support-btn img:hover {
    transform: scale(1.15) rotate(-3deg); /* Little pop effect on hover */
}

/* Mobile tweak: Stack them on small screens */
@media (max-width: 600px) {
    .footer-section {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
/* FORCE ALL BUTTON LINKS TO BEHAVE */
a.text-btn, a.back-btn {
    color: #fdf6e3 !important; /* Force cream text */
    text-decoration: none !important; /* Remove the underline */
    background-color: #4a3b2a; /* Force brown background */
}

a.text-btn:hover, a.back-btn:hover {
    background-color: #6b4c35; /* Lighter brown on hover */
    color: #ffffff !important; /* Pure white text on hover */
}