/* === HOSTING PAGE SPECIFIC STYLES === */

/* === HEADER SECTION === */
.hosting-header {
    padding: var(--space-16) 0 var(--space-12);
    text-align: center;
    position: relative;
    margin-top: 72px; /* Adjust for the fixed header */
}

.hosting-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at center, rgba(255, 30, 79, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.hosting-title {
    margin-bottom: var(--space-2);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.025em;
}

.hosting-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hosting-title span::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 10px;
    background: var(--primary);
    opacity: 0.2;
    z-index: -1;
}

.hosting-subtitle {
    font-size: 1.5rem;
    color: var(--text-alt);
    font-weight: 600;
    margin-bottom: var(--space-8);
}

/* === SERVICES SECTION === */
.hosting-services {
    padding: var(--space-4) 0 var(--space-20);
    min-height: 50vh;
}

/* Force services to be visible (overriding any conflicting animations) */
.hosting-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
    opacity: 1 !important;
    transform: none !important;
}

.hosting-services .service-card {
    position: relative;
    background-color: var(--dark-alt);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all var(--transition);
    cursor: pointer;
    color: var(--text);
    height: 100%;
    min-height: 380px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: var(--z-10);
    opacity: 1 !important;
    transform: none !important;
}

.hosting-services .service-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-xl), 0 0 20px rgba(255, 30, 79, 0.2);
    border-color: rgba(255, 30, 79, 0.3);
}

.hosting-services .service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-gradient);
    margin-bottom: var(--space-6);
    transition: all var(--transition);
    position: relative;
    box-shadow: 0 0 20px rgba(255, 30, 79, 0.3);
}

.hosting-services .service-icon i {
    font-size: 2.25rem;
    color: var(--light);
    transition: all var(--transition);
}

.hosting-services .service-card:hover .service-icon {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(255, 30, 79, 0.5);
}

.hosting-services .service-card:hover .service-icon i {
    transform: scale(1.1);
}

.hosting-services .service-content {
    z-index: var(--z-10);
}

.hosting-services .service-content h2 {
    font-size: 1.75rem;
    margin-bottom: var(--space-3);
    transition: all var(--transition);
}

.hosting-services .service-content p {
    color: var(--text-alt);
    margin-bottom: var(--space-6);
    font-size: 1.1rem;
}

.hosting-services .service-cta {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: 600;
    color: var(--primary);
    transition: all var(--transition);
}

.hosting-services .service-card:hover .service-cta {
    gap: var(--space-3);
    color: var(--primary-light);
}

.hosting-services .service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-0);
    opacity: 0;
    transition: opacity var(--transition);
}

.hosting-services .service-card[data-service="game"] .service-bg {
    background: linear-gradient(135deg, rgba(255, 30, 79, 0.05) 0%, rgba(255, 30, 79, 0) 100%);
}

.hosting-services .service-card[data-service="web"] .service-bg {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 107, 107, 0) 100%);
}

.hosting-services .service-card[data-service="vps"] .service-bg {
    background: linear-gradient(135deg, rgba(72, 187, 120, 0.05) 0%, rgba(72, 187, 120, 0) 100%);
}

.hosting-services .service-card:hover .service-bg {
    opacity: 1;
}

/* Creating the shine effect */
.hosting-services .service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0) 40%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    transition: all 0.7s;
    z-index: var(--z-0);
    pointer-events: none;
    opacity: 0;
    transform-origin: center;
}

.hosting-services .service-card:hover::after {
    animation: shine 1.5s forwards;
    opacity: 1;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

/* Special hover effects for VPS service */
.hosting-services .service-card[data-service="vps"] .service-icon {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.hosting-services .service-card[data-service="vps"]:hover {
    border-color: rgba(72, 187, 120, 0.3);
    box-shadow: var(--shadow-xl), 0 0 20px rgba(72, 187, 120, 0.2);
}

/* === RESPONSIVE STYLES === */
@media (max-width: 768px) {
    .hosting-title {
        font-size: 2.75rem;
    }
    
    .hosting-services .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 576px) {
    .hosting-title {
        font-size: 2.25rem;
    }
    
    .hosting-subtitle {
        font-size: 1.25rem;
    }
    
    .hosting-services .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hosting-services .service-card {
        min-height: 300px;
    }
}