/**
 * 123B Theme - Custom Styles
 */

/* Additional Header Styles */

/* Responsive Image Styles */
img {
    max-width: 100%;
    height: auto;
}

.content-block img {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

header .container {
    position: relative;
}

.auth-buttons button {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Menu Mobile Styles */
@media (max-width: 768px) {
    .nav-mobile li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 5px 0;
    }
    
    .nav-mobile li:last-child {
        border-bottom: none;
    }
}

/* Hero Section Enhancements */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Content Block Hover Effect */
.content-block {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.content-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

/* CTA Button Animations */
.cta-btn {
    position: relative;
    overflow: hidden;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Post Card Enhancements */
.post-card {
    position: relative;
}

.post-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.post-card:hover::after {
    transform: scaleX(1);
}

/* Sidebar Styles */
.sidebar {
    position: sticky;
    top: 100px;
}

.tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    margin: 3px;
    background: #f0f0f0;
    border-radius: 3px;
    font-size: 13px;
    color: #2a5298;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: #1e3c72;
    color: #fff;
}

/* Pagination */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: inline-flex;
    gap: 10px;
    list-style: none;
}

.pagination a,
.pagination span {
    padding: 10px 15px;
    background: #f0f0f0;
    border-radius: 5px;
    text-decoration: none;
    color: #1e3c72;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: #1e3c72;
    color: #fff;
}

.pagination .current {
    background: #1e3c72;
    color: #fff;
}

/* Footer Enhancements */
.footer-section a {
    display: block;
    margin-bottom: 8px;
}

.footer-bottom p {
    font-size: 14px;
}

/* Responsive Refinements */
@media (max-width: 768px) {
    .content-section {
        padding: 40px 0;
    }
    
    .content-block {
        padding: 20px;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-btn {
        text-align: center;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-block {
    animation: fadeIn 0.6s ease-out;
}

/* Scroll To Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #1e3c72;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #2a5298;
    transform: translateY(-5px);
}

/* Widget Styles */
.widget {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.widget-title {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: #ffd700;
}

/* Form Styles */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    margin-bottom: 15px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2a5298;
}

button,
input[type="submit"] {
    background: #1e3c72;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover,
input[type="submit"]:hover {
    background: #2a5298;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}
