/**
 * Custom Styles - Kadence Child Theme
 * Global styles for header, footer, and general elements
 */

/* ====================================
   BACK TO TOP BUTTON
   ==================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top:hover {
    background: #004c99;
    transform: translateY(-3px);
}
.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: #fff;
}

/* ====================================
   TOUR COUNT BADGE
   ==================================== */
.tour-count {
    display: inline-block;
    background: #0066cc;
    color: #fff;
    font-size: 11px;
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 5px;
    vertical-align: middle;
}

/* ====================================
   FOOTER STYLES
   ==================================== */
.cgm-custom-footer {
    background: #1a1a1a;
    color: #f8f9fa;
    margin-top: 60px;
}

.footer-widgets {
    padding: 60px 0 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widgets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column {
    min-width: 0;
}

.footer-title {
    color: #fff;
    font-size: 1.2em;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
    display: inline-block;
}

/* Footer Brand */
.footer-brand {
    text-align: left;
}

.footer-logo {
    max-height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.footer-address {
    margin: 15px 0;
    line-height: 1.8;
    color: #ccc;
}

/* Footer Contact Icons */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: #0066cc;
    flex-shrink: 0;
}

.footer-contact a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #fff;
}

/* Footer Menus */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-menu a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Social Menu - Perfect Centering */
.social-menu {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-menu li {
    margin: 0;
    padding: 0;
    line-height: 0;
}

.social-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-menu a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: all 0.3s ease;
    display: block;
}

.social-menu a:hover {
    background: #0066cc;
    transform: translateY(-3px);
}

.social-menu a:hover svg {
    transform: scale(1.1);
}

.footer-social .social-menu a svg {
    fill: #fff;
}

/* Association Badge */
.association-badge a {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.05);
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.association-badge a:hover {
    background: rgba(255,255,255,0.1);
}

.bvgd-logo {
    max-width: 60px;
    height: auto;
}

.bvgd-text {
    color: #ccc;
    font-size: 0.9em;
    line-height: 1.5;
}

.bvgd-text small {
    display: block;
    font-size: 0.8em;
    color: #999;
    margin-top: 5px;
}

/* Copyright Bar */
.footer-copyright {
    padding: 20px 0;
    background: rgba(0,0,0,0.3);
    font-size: 0.9em;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    color: #999;
}

.copyright-menu {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.copyright-menu a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9em;
}

.copyright-menu a:hover {
    color: #fff;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-widgets-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .copyright-content {
        flex-direction: column;
        text-align: center;
    }
    
    .copyright-menu {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-menu {
        justify-content: center;
    }
}

/* ====================================
   BREADCRUMB NAVIGATION
   ==================================== */
.cgm-breadcrumb {
    background: #f8f9fa;
    padding: 12px 0;
    margin-bottom: 30px;
    font-size: 0.9em;
    border-bottom: 1px solid #e9ecef;
}

.cgm-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
}

.cgm-breadcrumb a:hover {
    text-decoration: underline;
}

.cgm-breadcrumb .separator {
    margin: 0 8px;
    color: #999;
}

.cgm-breadcrumb .current {
    color: #666;
}