/* Blog-specific styles for Florida Climbing Directory */

/* Navigation updates for menu */
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    color: inherit;
    text-decoration: none;
}

.nav-logo:hover {
    color: inherit;
}

/* Menu System */
.nav-menu {
    position: relative;
}

.menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    cursor: pointer;
    padding: 0.8rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.menu-toggle.active {
    background: rgba(255, 71, 87, 0.2);
    border-color: #ff4757;
}

.menu-icon {
    display: flex;
    flex-direction: column;
    width: 18px;
    height: 14px;
    justify-content: space-between;
}

.menu-icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: #ffffff;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.menu-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    min-width: 200px;
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.menu-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
}

.menu-item.disabled {
    color: #666;
    cursor: not-allowed;
}

.menu-item.disabled:hover {
    background: transparent;
}

.nav-tabs {
    display: flex;
    gap: 1.5rem;
}

.nav-tab {
    background: none;
    border: none;
    color: #b0b0b0;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.nav-tab:hover,
.nav-tab.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Content sections */
.content-section {
    display: none;
}

.content-section.active {
    display: block;
}

/* Blog grid for gear guide */
.gear-guide-header {
    margin-bottom: 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.blog-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.blog-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.blog-card.coming-soon {
    opacity: 0.6;
    cursor: default;
}

.blog-card.coming-soon:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-image-placeholder {
    font-size: 4rem;
    opacity: 0.8;
}

.blog-content {
    padding: 1.5rem;
}

.blog-content h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.blog-excerpt {
    color: #b0b0b0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
}

/* Individual blog post styles */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-header h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.blog-content .lead {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-content h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-top: 1rem;
}

.blog-content h3 {
    color: #ffffff;
    font-size: 1.4rem;
    margin: 2rem 0 0.8rem 0;
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-content h4 {
    color: #4ecdc4;
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem 0;
}

.blog-content p {
    margin-bottom: 1.2rem;
}

.blog-content strong {
    color: #ffffff;
    font-weight: 600;
}

.blog-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.blog-content li {
    margin-bottom: 0.5rem;
}

/* Special styling for gear recommendations */
.gear-recommendation {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(76, 205, 196, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
}

.gear-recommendation h4 {
    color: #4ecdc4;
    margin-top: 0;
}

.gear-recommendation ul {
    margin-left: 0;
    list-style: none;
}

.gear-recommendation li {
    padding-left: 1.5rem;
    position: relative;
}

.gear-recommendation li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #4ecdc4;
    font-weight: bold;
}

.gear-summary {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(76, 205, 196, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.gear-summary h3 {
    margin-top: 0;
    text-align: center;
}

.conclusion {
    font-size: 1.2rem;
    color: #ffffff;
    font-style: italic;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin: 2rem 0;
}

.blog-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-link {
    color: #4ecdc4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #ffffff;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .nav-content h1 {
        font-size: 1.2rem;
    }
    
    .menu-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .menu-text {
        display: none;
    }
    
    .menu-dropdown {
        min-width: 180px;
        right: 0;
    }
    
    .menu-item {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .nav-tabs {
        gap: 1rem;
    }
    
    .nav-tab {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-header h1 {
        font-size: 2rem;
    }
    
    .blog-content {
        font-size: 1rem;
    }
    
    .blog-content .lead {
        font-size: 1.1rem;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
}

/* Audio Player Styles */
.blog-title-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-title-row h1 {
    flex: 1;
    margin: 0;
}

.audio-controls {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.audio-play-btn, .premium-audio-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 100px;
    justify-content: center;
    flex-shrink: 0;
}

.audio-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

.audio-play-btn:active {
    transform: translateY(-1px);
}

.audio-play-btn.playing {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.audio-play-btn.playing:hover {
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    background: linear-gradient(135deg, #ff3742, #ff2d42);
}

.premium-audio-btn {
    background: linear-gradient(135deg, #f093fb, #f5576c);
    min-width: 90px;
}

.premium-audio-btn:hover {
    background: linear-gradient(135deg, #e084fc, #f04569);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
}

.audio-play-btn svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.audio-status {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Mobile responsiveness for audio button */
@media (max-width: 768px) {
    .blog-title-row {
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
    }
    
    .audio-play-btn {
        align-self: flex-start;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .blog-title-row h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .audio-play-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}
