
/*
Theme Name:   Hotel411-child
Description:  Child Theme for Cruise Port Miami
Author:       Jay Taylor
Template:     twentytwentyfive
Version:      1.0.0
*/

/* =========================================================================
   Hotel411 SEO Suite: TOC & Smooth Scrolling
   ========================================================================= */

/* Smooth Scrolling & Sticky Header Buffer */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; 
}

/* Table of Contents Container */
.tgb-toc-container {
    background-color: #f9f9f9;
    border: 1px solid #ddd; 
    border-radius: 5px;
    padding: 20px;
    margin: 30px 0;
    clear: both;
}

.tgb-toc-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #002244;
}

/* Two-Column Grid */
.tgb-toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; 
    gap: 10px 30px !important; 
}

.tgb-toc-list li {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4;
}

.tgb-toc-list .toc-level-3 {
    margin-left: 20px !important;
    font-size: 0.9em;
}

.tgb-toc-list a {
    color: #0073aa; 
    text-decoration: none; 
    transition: color 0.2s ease-in-out;
}

.tgb-toc-list a:hover {
    color: #00a8e1; 
    text-decoration: underline;
}

/* Mobile Responsiveness for Grid */
@media (max-width: 768px) {
    .tgb-toc-list {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================================
   Floating "Back to TOC" Button 
   ========================================================================= */
#tgb-back-to-toc {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #0073aa; 
    color: #ffffff !important;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 9999;
    
    /* The Smooth Fade-In Setup */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.2s ease;
}

#tgb-back-to-toc:hover {
    background-color: #002244; 
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}