/* Home Page Styles */

:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --accent: #00d4ff;
    --bg-light: #f8f9fa;
    --text-dark: #2c3e50;
    --sidebar-bg: #ffffff;
}

/* ===== SIDEBAR ===== */
.sidebar {
    background: var(--sidebar-bg);
    border-right: 1px solid #e5e7eb;
    min-height: calc(100vh - 70px);
    padding: 1.5rem 0;
    position: fixed;
    left: 0;
    top: 70px;
    width: 260px;
    overflow-y: auto;
    transform: translateX(0);
    transition: transform 0.3s ease;
    z-index: 99;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.05);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar.show {
    transform: translateX(0);
}

.sidebar-header {
    padding: 0 1.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin: 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
    font-size: 0.95rem;
}

.sidebar-menu a:hover {
    background: #f3f4f6;
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 2rem;
}

.sidebar-menu a.active {
    background: #f0f8ff;
    color: var(--primary);
    border-left-color: var(--primary);
}

.sidebar-menu i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}

/* ===== MAIN CONTENT ===== */
.main-content {
/*    margin-left: 260px;*/
    /*padding: 2rem;*/
    transition: margin-left 0.3s ease;
    min-height: calc(100vh - 70px);
}

.main-content.expanded {
    margin-left: 0;
}

/* ===== HERO SECTION ===== */
.hero-section {
    animation: fadeInUp 0.6s ease-out;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    animation: fadeInUp 0.6s ease-out;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-illustration {
    text-align: center;
    padding: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SOCIAL MEDIA CARDS ===== */
.social-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 0.6s ease-out;
    cursor: pointer;
    background-size: cover;
    background-position: center;
}

.social-card:nth-child(1) { animation-delay: 0.1s; }
.social-card:nth-child(2) { animation-delay: 0.2s; }
.social-card:nth-child(3) { animation-delay: 0.3s; }
.social-card:nth-child(4) { animation-delay: 0.4s; }
.social-card:nth-child(5) { animation-delay: 0.5s; }
.social-card:nth-child(6) { animation-delay: 0.6s; }

.social-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 102, 204, 0.25);
}

/* Image background overlay */
.social-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
    transition: all 0.4s ease;
    z-index: 1;
}

.social-card:hover::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 100%);
}

/* Card content overlay */
.social-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 2;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.social-card:hover .social-card-content {
    transform: translateY(0);
}

.social-card-category {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.social-card-description {
    font-size: 0.9rem;
    opacity: 0.95;
    line-height: 1.5;
    margin-bottom: 1rem;
}

/* Card engagement metrics */
.social-card-stats {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.9;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.stat-item i {
    font-size: 1rem;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    content: "";
}

/* ===== AD SECTION ===== */
.ad-banner {
    margin: 3rem 0;
}

.ad-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ad-label {
    text-align: center;
    font-size: 0.75rem;
    color: #999;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== SIDEBAR OVERLAY ===== */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 98;
}

.sidebar-overlay.active {
    display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
        box-shadow: 2px 0 16px rgba(0, 0, 0, 0.1);
    }
    
    .sidebar.show {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (min-width: 993px) {
    #mobile-sidebar-toggle {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .social-card {
        height: 280px;
    }
    
    .social-card-content {
        padding: 1.5rem;
    }
    
    .social-card-title {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

