/*
Theme Name: Guido Child
Theme URI: https://themeforest.net/item/guido-directory-listing-wordpress-theme/36719791
Template: guido
Author: ApusTheme
Author URI: https://themeforest.net/user/apustheme
Description: Guido is a listing directory WordPress theme that will help you create, manage and monetize a local or global directory site.
Tags: custom-background,custom-colors,custom-header,custom-menu,editor-style,featured-images,microformats,post-formats,rtl-language-support,sticky-post,threaded-comments,translation-ready
Version: 1.0.18.1768942738
Updated: 2026-01-20 15:58:58
*/


/* ===== HERO ===== */
.listing-hero {
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.listing-hero-title {
    background: #0b4c7d;
    color: #ffffff;
    padding: 14px 28px;
    margin: 24px;
    font-size: 2rem;
}

/* ===== PAGE ===== */
.listing-page {
    background: #ffffff;
    padding: 50px 0;
}

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

/* ===== COLUMNS ===== */
.listing-main {
    float: left;
    width: 65%;
}

.listing-sidebar {
    float: right;
    width: 32%;
}

/* ===== CONTENT ===== */
.listing-description {
    margin-bottom: 30px;
}

.listing-gallery {
    margin-top: 20px;
}

.listing-gallery img {
    width: 100px;
    height: 70px;
    border-radius: 6px;
    margin-right: 10px;
    margin-bottom: 10px;
    display: inline-block;
}

/* ===== FEATURES ===== */
.listing-features {
    margin: 20px 0;
}

.feature-icon {
    width: 36px;
    height: 36px;
    display: inline-block;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    cursor: help;
}

.feature-accepts-credit-cards {
    background-image: url('/icons/credit-card.svg');
}
.feature-bus-parking {
    background-image: url('/icons/bus.svg');
}
.feature-wheelchair-accessible {
    background-image: url('/icons/wheelchair.svg');
}
.feature-gift-shop {
    background-image: url('/icons/gift.svg');
}
.feature-garden-centre {
    background-image: url('/icons/leaf.svg');
}

/* ===== SIDEBAR ===== */
.listing-info-card {
    background: #ffffff;
    padding: 24px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.08);
}

.info-item {
    margin-bottom: 14px;
}

/* ================================================= */
/* ===== HERO ANIMATION FIX ===== */
/* ================================================= */
.hero-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease, transform 1s ease;
}
.hero-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CUSTOM HEADER ================= */
#apus-header {
    width: 100%;
    background-color: #12487b;
    color: #ffffff;
    position: relative;
    z-index: 999;
}

.main-sticky-header-wrapper,
.main-sticky-header {
    width: 100%;
}

#site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}

/* LOGO */
#logo a {
    display: block;
    line-height: 0;
}

#logo img {
    height: 55px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

/* DESKTOP NAV */
#main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

#main-nav ul.desktop-menu {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-weight: 600;
    align-items: center;
}

#main-nav ul.desktop-menu li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
    white-space: nowrap;
}

#main-nav ul.desktop-menu li a:hover {
    color: #fee316;
}

/* DESKTOP LOGIN BUTTONS */
#login-btn.desktop-login {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    align-items: center;
}

#login-btn.desktop-login a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap;
}

#login-btn.desktop-login a:first-child {
    background-color: #ffffff;
    color: #12487b;
}

#login-btn.desktop-login a:first-child:hover {
    background-color: transparent;
    color: #ffffff;
    outline: 2px solid #ffffff;
}

#login-btn.desktop-login a:last-child {
    background-color: #fee316;
    color: #12487b;
}

#login-btn.desktop-login a:last-child:hover {
    background-color: #ffffff;
    color: #12487b;
}

/* HAMBURGER - hidden on desktop */
#hamburger {
    background: none;
    border: none;
    outline: none;
    padding: 8px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

#hamburger span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 2px;
    display: block;
}

@media (max-width: 1023px) {
    #hamburger {
        display: flex !important;
    }
}

/* MOBILE MENU - hidden by default, position relative so it flows in the page */
#mobile-menu {
    display: none;
    position: relative;
    width: 100%;
    background-color: #0d3a63;
    z-index: 9999;
}

#mobile-menu ul {
    list-style: none;
    padding: 8px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

#mobile-menu ul li a {
    display: block;
    padding: 14px 24px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}

#mobile-menu ul li a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #fee316;
}

/* Mobile menu buttons */
.mobile-menu-divider {
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 8px;
    padding-top: 8px;
}

.mobile-btn-create {
    background-color: #ffffff !important;
    color: #12487b !important;
    margin: 4px 16px !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    text-align: center;
}

.mobile-btn-login {
    background-color: #fee316 !important;
    color: #12487b !important;
    margin: 4px 16px 12px !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1023px) {
    #main-nav,
    #login-btn.desktop-login {
        display: none !important;
    }

    #hamburger {
        display: flex !important;
    }

    #site-header {
        padding: 12px 16px;
        justify-content: space-between;
    }

    #logo img {
        height: 44px;
    }
}

/* ================= FOOTER ================= */
#site-footer {
    background-color: #12487b;
    color: #ffffff;
    padding: 48px 24px 20px;
    font-size: 15px;
    width: 100%;
    box-sizing: border-box;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.footer-col {
    flex: 1 1 220px;
    min-width: 180px;
}

.footer-brand img {
    max-width: 160px;
    height: auto;
    margin-bottom: 12px;
}

.footer-name {
    font-weight: 700;
    margin-bottom: 6px;
}

.footer-date {
    font-size: 13px;
    opacity: 0.85;
}

#site-footer h4 {
    margin-bottom: 12px;
    color: #fee316;
    font-size: 16px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-email,
.footer-social a,
.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
}

.footer-links a:hover,
.footer-email:hover,
.footer-social a:hover,
.footer-bottom a:hover {
    color: #fee316;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
}

@media (max-width: 900px) {
    .footer-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .footer-col {
        flex: 1 1 45%;
        margin-bottom: 20px;
    }
}

@media (max-width: 500px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-col {
        flex: 1 1 100%;
        margin-bottom: 16px;
    }
    .footer-social {
        align-items: center;
    }
}

/* ================= MAP SECTION ================= */

/* Prevent horizontal page overflow globally */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Scrollbar styling - desktop */
#garden-panel::-webkit-scrollbar {
    width: 8px;
}
#garden-panel::-webkit-scrollbar-thumb {
    background-color: #12487b;
    border-radius: 4px;
}

/* Leaflet popup */
.leaflet-popup-content h3 {
    color: #12487b;
    font-weight: 700;
    margin-bottom: 4px;
}
.leaflet-popup-content a {
    color: #fee316;
    text-decoration: underline;
}

/* Map container */
#map {
    border-radius: 12px;
    height: 100%;
}

/* ── Garden Cards ─────────────────────────────── */
#garden-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ── Mobile: horizontal swipe layout ─────────── */
@media (max-width: 1023px) {
    #map-section {
        height: auto !important;
        flex-direction: column;
    }

    #garden-panel {
        overflow-x: scroll;
        overflow-y: hidden;
        padding: 16px 16px 8px;
        height: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    #garden-panel::-webkit-scrollbar {
        display: none;
    }

    #garden-list.garden-list-scroll {
        display: flex;
        flex-direction: row;
        gap: 12px;
        flex-wrap: nowrap;
        margin: 0;
        padding: 0;
    }

    #garden-list li.garden-card {
        min-width: 260px;
        max-width: 260px;
        margin-bottom: 0;
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    #map {
        height: 50vh !important;
        width: 100% !important;
        border-radius: 0 !important;
    }
}
/* ================= GUIDO DASHBOARD NAV MOBILE 2x3 GRID ================= */
@media (max-width: 1023px) {

    .apus-user-nav ul,
    .user-nav-menu,
    .guido-user-menu ul,
    .user-dashboard-menu ul {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
        padding: 12px !important;
        margin: 0 !important;
        list-style: none !important;
    }

    .apus-user-nav ul li,
    .user-nav-menu li,
    .guido-user-menu ul li,
    .user-dashboard-menu ul li {
        display: flex !important;
        flex-shrink: 0 !important;
    }

    .apus-user-nav ul li a,
    .user-nav-menu li a,
    .guido-user-menu ul li a,
    .user-dashboard-menu ul li a {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        padding: 10px 8px !important;
        text-align: center !important;
        font-size: 12px !important;
        white-space: normal !important;
        border-radius: 8px !important;
        background: rgba(255,255,255,0.1) !important;
    }
}
