/* 
 * Home page specific styles for Cabal Russia
 */

/* Custom animation for hero content */
.hero {
    background-image: url('/public/images/background.png') !important;
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    margin-top: -70px; /* Offset the header height to make truly fullscreen */
    display: flex;
    align-items: center;
    padding-top: 220px; /* Add padding equal to header height */
}

.hero-content h1 {
    animation: fadeInDown 1s ease-out;
    font-family: 'Play', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
}

.hero-content h1 span {
    font-family: 'Orbitron', sans-serif;
    color: var(--color-accent-primary);
    text-shadow: 0 0 15px rgba(255, 62, 62, 0.6);
    position: relative;
    display: inline-block;
    letter-spacing: 3px;
    font-weight: 700;
    background: linear-gradient(to right, #ff3e3e, #ff5252);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulseText 2s infinite ease-in-out;
}

@keyframes pulseText {
    0% { text-shadow: 0 0 10px rgba(255, 62, 62, 0.4); }
    50% { text-shadow: 0 0 20px rgba(255, 62, 62, 0.7); }
    100% { text-shadow: 0 0 10px rgba(255, 62, 62, 0.4); }
}

.hero-content p {
    animation: fadeInUp 1s ease-out 0.3s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
    animation-fill-mode: forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Home page feature cards with hover effects */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--color-accent-primary), var(--color-accent-secondary));
    transform: translateY(-4px);
    transition: transform var(--transition-medium);
}

.feature-card:hover::before {
    transform: translateY(0);
}

/* Custom gradient animation for hero */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15%;
    background: linear-gradient(to top, var(--color-bg-primary), transparent);
    z-index: 1;
}

/* Pulse animation for accent elements */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-primary {
    animation: pulse 2s infinite;
}

/* Glow effect for feature icons */
.feature-icon {
    background-color: rgba(255, 62, 62, 0.1);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.feature-icon:before {
    content: '';
    width: 40px;
    height: 40px;
    background-color: var(--color-accent-primary);
    opacity: 0.8;
    border-radius: 10px;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-accent-primary);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(10px);
    transform: scale(0.8);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.feature-card:hover .feature-icon::after {
    transform: scale(1.2);
    opacity: 0.5;
}

/* News section styling */
.news-section {
    padding: 60px 0;
    background: rgba(20, 20, 28, 0.4);
}

.news-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.news-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.news-section .section-header h2 {
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 15px;
    margin: 0;
    font-family: 'Play', sans-serif;
    letter-spacing: 1px;
}

.news-section .section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e53935, #ff5252);
    border-radius: 3px;
}

.news-section .section-header h2 span {
    color: #e53935;
    font-family: 'Orbitron', sans-serif;
}

.news-section .view-all {
    display: inline-flex;
    align-items: center;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 10px 15px;
    border-radius: 6px;
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
}

.news-section .view-all:hover {
    color: #ff5252;
    background: rgba(229, 57, 53, 0.2);
    transform: translateY(-2px);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: rgba(22, 22, 30, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(229, 57, 53, 0.3);
}

.news-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.news-image:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(22, 22, 30, 1), transparent);
}

.news-image-placeholder {
    background-color: #2b2b35;
    background-image: linear-gradient(135deg, #333340, #1a1a24);
    position: relative;
}

.news-image-placeholder:before {
    content: '\f03e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: rgba(255, 255, 255, 0.1);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.news-date {
    color: #7a7a8c;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.news-date:before {
    content: '\f017';
    font-family: 'Font Awesome 5 Free';
    margin-right: 6px;
    opacity: 0.7;
    font-size: 12px;
}

/* News type styles moved to style.css for consistency */

.news-title {
    font-size: 20px;
    margin-bottom: 12px;
    color: #fff;
    line-height: 1.3;
    font-weight: 600;
    transition: color 0.3s ease;
    font-family: 'Play', sans-serif;
}

.news-card:hover .news-title {
    color: #ff5252;
}

.news-summary {
    color: #a0a0b0;
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 14px;
    flex: 1;
	display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.news-footer {
    margin-top: auto;
    text-align: right;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.news-footer .btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 12px;
    letter-spacing: 0.5px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.news-footer .btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(62, 138, 255, 0.3);
}

.read-more {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.read-more:hover {
    color: #ff5252;
}

.news-empty {
    grid-column: 1 / -1;
    background: rgba(22, 22, 30, 0.5);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.news-empty p {
    color: #a0a0b0;
    font-size: 16px;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .news-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        max-width: 100%;
    }
}

.cta-section {
    background-image: linear-gradient(135deg, #2b2b35 0%, #0e0e12 100%) !important;
}

/* Add CTA section heading font */
.cta-content h2 {
    font-family: 'Play', sans-serif;
    letter-spacing: 1px;
}

.cta-content p {
    font-family: 'Montserrat', sans-serif;
} 