/*
Theme Name: SeaiNet Professional with Paid Content
Description: A professional Bootstrap-based WordPress theme with modern layout, navigation, responsive design, and paid content access functionality.
Version: 1.2
Author: SeaiNet Enhanced
*/

/* Custom styles for professional layout */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Fix WordPress admin bar spacing */
body.admin-bar .professional-header {
    margin-top: 32px;
}

@media (max-width: 782px) {
    body.admin-bar .professional-header {
        margin-top: 46px;
    }
}

/* Header Styles */
.professional-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: rgba(0,0,0,0.1);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

/* Navigation Styles */
.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white !important;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: white !important;
    background: rgba(255,255,255,0.1);
    border-radius: 0.25rem;
}

/* Login/User Account Button Styles */
.user-account-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

.login-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24) !important;
    border: none !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3) !important;
}

.login-btn:hover {
    background: linear-gradient(45deg, #ee5a24, #ff6b6b) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4) !important;
    color: white !important;
}

.premium-btn {
    background: linear-gradient(45deg, #f39c12, #e67e22) !important;
    border: none !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(243, 156, 18, 0.3) !important;
}

.premium-btn:hover {
    background: linear-gradient(45deg, #e67e22, #f39c12) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4) !important;
    color: white !important;
}

.user-menu {
    position: relative;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    z-index: 1000;
    display: none;
}

.user-dropdown.show {
    display: block;
}

.user-dropdown a {
    display: block;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: background 0.3s ease;
}

.user-dropdown a:hover {
    background: #f8f9fa;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

/* Paid Content Styles */
.paid-content-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.paid-content-notice h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.paid-content-notice p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.unlock-btn {
    background: linear-gradient(45deg, #2ecc71, #27ae60) !important;
    border: none !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    box-shadow: 0 3px 12px rgba(46, 204, 113, 0.4) !important;
}

.unlock-btn:hover {
    background: linear-gradient(45deg, #27ae60, #2ecc71) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 18px rgba(46, 204, 113, 0.5) !important;
    color: white !important;
}

.premium-badge {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 8px;
    display: inline-block;
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background: white;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
}

.dropdown-item {
    color: #333;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #667eea;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.card:hover {
    transform: translateY(-5px);
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-widget {
    margin-bottom: 2rem;
}

.footer-widget h5 {
    color: #667eea;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .user-account-section {
        flex-direction: column;
        gap: 5px;
    }
    
    .login-btn, .premium-btn {
        padding: 6px 12px !important;
        font-size: 0.875rem !important;
    }
}

/* Search Form Styles */
.navbar .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
}

.navbar .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.navbar .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    color: white;
    box-shadow: none;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* User Status Indicators */
.user-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 8px;
}

.user-status.free {
    background: #95a5a6;
    color: white;
}

.user-status.premium {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: white;
}

.user-status.vip {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: white;
}
