/* Data Processing & Security Page Styles
   Built on the cyberpunk theme for security documentation
-------------------------------------------------------------- */

@import '../variables/_variables.css';

/* Page-specific styles */
  


/* Main Content */
body.dataprocessing-active .site-main {
    padding-top: 5.5rem; /* Adjusted from 80px to ensure navbar clearance */
    min-height: 100vh;
    background: var(--primary-black);
    color: var(--cyber-text);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.1), rgba(26, 26, 46, 0.6));
    border-radius: 16px;
    border: 1px solid rgba(21, 72, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--neon-blue));
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.page-title {
    color: var(--brand-blue);
    text-shadow: 0 0 15px rgba(21, 72, 255, 0.8);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: var(--font-secondary);
}

.page-subtitle {
    color: var(--cyber-text);
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Security Sections Grid */
.security-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Security Cards */
.security-card {
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.2), rgba(26, 26, 46, 0.8));
    border: 2px solid rgba(21, 72, 255, 0.4);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    filter: drop-shadow(0 0 10px rgba(21, 72, 255, 0.7));
}

.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-blue), var(--neon-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.security-card:hover {
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.4), rgba(26, 26, 46, 0.9));
    filter: drop-shadow(0 0 15px rgba(21, 72, 255, 1));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(21, 72, 255, 0.3);
}

.security-card:hover::before {
    transform: scaleX(1);
}

/* Card Icon */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.2), rgba(26, 26, 46, 0.8));
    border: 2px solid rgba(21, 72, 255, 0.4);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.card-icon i {
    font-size: 2rem;
    color: var(--brand-blue);
    filter: drop-shadow(0 0 10px rgba(21, 72, 255, 0.7));
    transition: all 0.3s ease;
}

.security-card:hover .card-icon {
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.4), rgba(26, 26, 46, 0.9));
    border-color: var(--brand-blue);
    transform: scale(1.1);
}

.security-card:hover .card-icon i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 15px rgba(21, 72, 255, 1));
}

/* Card Content */
.card-content {
    flex: 1;
}

.card-title {
    color: var(--light-blue);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
    transition: color 0.3s ease;
}

.security-card:hover .card-title {
    color: var(--white);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.card-content p {
    color: var(--cyber-text);
    line-height: 1.7;
    font-size: 1.05rem;
    margin: 0;
}

.card-content strong {
    color: var(--light-blue);
    font-weight: 600;
}

/* Contact Card Special Styling */
.contact-card {
    background: linear-gradient(135deg, rgba(21, 72, 255, 0.15), rgba(26, 26, 46, 0.8));
    border: 2px solid rgba(21, 72, 255, 0.4);
    position: relative;
}

.contact-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(21, 72, 255, 0.1), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.contact-card .card-title {
    color: var(--white);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

/* Security Email Link */
.security-email {
    color: var(--brand-blue);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.security-email:hover {
    color: var(--light-blue);
    text-shadow: 0 0 10px rgba(21, 72, 255, 0.7);
    border-bottom-color: var(--light-blue);
}

.social-icon:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: rgba(21, 72, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(21, 72, 255, 0.3);
}

.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .security-sections {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding-top: 70px;
    }
    
    .page-header {
        padding: 2rem 1rem;
        margin-bottom: 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .security-sections {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .security-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-links {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .page-header {
        padding: 1.5rem 0.75rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .security-card {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-content p {
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 0.5rem;
    }
    
    .social-icon {
        font-size: 1rem;
        padding: 0.4rem;
    }
}

/* Animation for scroll reveal */
.security-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.security-card:nth-child(1) { animation-delay: 0.1s; }
.security-card:nth-child(2) { animation-delay: 0.2s; }
.security-card:nth-child(3) { animation-delay: 0.3s; }
.security-card:nth-child(4) { animation-delay: 0.4s; }
.security-card:nth-child(5) { animation-delay: 0.5s; }
.security-card:nth-child(6) { animation-delay: 0.6s; }
.security-card:nth-child(7) { animation-delay: 0.7s; }
.security-card:nth-child(8) { animation-delay: 0.8s; }
.security-card:nth-child(9) { animation-delay: 0.9s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
