/* Home Banner */

.home-banner h1 {
    color: #264822;
    font-size: 3.6rem;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* =====================
   Body & Headings
===================== */
body {
    margin: 0; 
    overflow-x: hidden; 
}

h1[data-v-9ef6d3e8],
p[data-v-9ef6d3e8] {
    margin-bottom: 30px;
    color: #264822;
}

p[data-v-9ef6d3e8] {
    font-size: 1.8rem;
    line-height: 2.4rem;
    letter-spacing: 2px;
}

/* Directions Carousel */
.directions-carousel-wrapper {
    display: flex;
    overflow-x: hidden;
    width: 100%;
    margin: 2rem auto;
    position: relative;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Two-column layout */
.home-content-grid {
    display: grid;
    grid-template-columns: 270px 1fr;
    grid-column-gap: 20px;
    align-items: start;
}

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

.sidenav-grid {
    display: grid;
    grid-template-columns: repeat(2, 100px);
    gap: 15px;
    justify-content: start;
}

/* =====================
   Sidenav 
===================== */
.sidenav-btn {
    background: #47773D; 
    border-radius: 10px;
    padding: 12px 10px; 
    box-shadow: 0 4px 12px rgba(71, 119, 61, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-align: center;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    width: 100px;
    height: 100px;
    text-decoration: none;
    box-sizing: border-box;
}

.sidenav-btn i {
    font-size: 1.4rem;
    margin-bottom: 6px; 
}

/* SVG/icon image used in sidenav buttons */
.sidenav-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 6px;
    display: block;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: filter 0.18s ease;
}

.sidenav-btn:hover .sidenav-icon {
    filter: none;
    color: #47773D;
}

.sidenav-btn h4 {
    margin: 0;
    padding: 0 6px;
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
}

.sidenav-btn:hover {
    background: #fff;
    color: #47773D;
    border: 2px solid #47773D;
    box-shadow: 0 6px 16px rgba(71, 119, 61, 0.6), 0 3px 6px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

/* =====================
   Responsive Adjustments
===================== */
@media (max-width: 1200px) {
    .home-content-grid {
        grid-template-columns: 1fr; 
    }
    .sidenav {
        order: 2;
    }
    .sidenav-grid {
        grid-template-columns: repeat(auto-fit, 300px);
        gap: 20px;
        justify-content: center;
    }
    .main-area .blog-item {
        width: 45vw;
        height: 45vw;
    }
}

/* =====================
   Buttons & Flex Helpers
===================== */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

#prevBtn, #nextBtn {
    cursor: pointer;
    padding: 10px 15px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    margin: 10px;
}

/* =====================
   Blog
===================== */
.blog {
    position: relative;
    max-width: 500px;
    margin: 2rem auto 0;
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    color: white;
    font-size: 1.25rem;
    user-select: none;
    max-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    overflow: visible;
}

.blog-item {
    display: none;
    width: 100%;
    height: 100%;
    max-width: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: absolute;  
    top: 0;
    left: 0;
    transition: opacity 0.5s ease, transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; 
}

.blog-item.active {
    display: block;  
    opacity: 1;
    position: absolute;
}

.blog-item h2,
.blog-item p {
    margin: 0;
    text-align: center;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.blog-item h2 {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
}

.blog-item p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0 20px; 
}

.blog-title {
    top: 20%;
    font-size: 2rem;
}

.blog-text {
    margin-top: 1rem; 
}

.blog-item.active:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0,0,0,0.4);
}

.blog-inner {
    position: relative;
    width: 100%;
    height: 300px;      
    padding-top: 15px;
}

.blog-dots {
    display: flex;
    justify-content: center;
    margin-top: auto; 
    gap: 10px;
    padding-top: 20px;
    overflow: visible;
}

.blog-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.0);
    border: none;
    color: white;
    font-size: 2.5rem;
    padding: 0 12px;
    cursor: pointer;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 38px;
    transition: background 0.3s ease;
    user-select: none;
}

.blog-arrow:hover {
    background: rgba(0,0,0,0.6);
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
}

.blog-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding: 0;
    user-select: none;
}

.blog-dot.active,
.blog-dot:hover {
    background-color: white;
}

.content {
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
}

/* =====================
   Additional Responsive
===================== */
@media (max-width: 1200px) {
    .directions-carousel-wrapper {
        padding: 0 10px;
    }
    .direction-item {
        flex: 0 0 45vw;
        max-width: 45vw;
    }
}

@media (max-width: 900px) {
    .directions-carousel-wrapper {
        padding: 0 5px;
    }
    .direction-item {
        flex: 0 0 90vw;
        max-width: 90vw;
    }
}

@media (max-width: 768px) {
    .index-wrapper {
        display: flex;
        flex-direction: column;
    }

    .home-app.mobile-priority {
        order: 1;
    }

    .home-banner {
        order: 0;
    }

    .home-directions {
        order: 2;
    }

    .gogreen {
        order: 3;
    }
}
