/* assets/css/style.css */

:root {
    --primary-red: #FF1A1A;
    --dark-bg: #0B0B0B;
    --card-bg: rgba(25, 25, 25, 0.7);
    --text-white: #FFFFFF;
    --text-gray: #B0B0B0;
    --neon-glow: 0 0 15px rgba(255, 26, 26, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Outfit', sans-serif;
}

body {
    background-color: #050505; /* Outer background */
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
}

.boxed-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    background-color: var(--dark-bg);
    box-shadow: 0 0 100px rgba(0,0,0,0.8);
    position: relative;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gradient {
    background: linear-gradient(90deg, #FF1A1A, #FF4D4D);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn-premium {
    background: var(--primary-red);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
    color: white;
}

.btn-outline-premium {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: white;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-outline-premium:hover {
    background: var(--primary-red);
    box-shadow: var(--neon-glow);
    transform: translateY(-3px);
}

/* Glassmorphism Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--primary-red);
    transform: translateY(-10px);
    background: rgba(255, 26, 26, 0.05);
}

/* Hero Section & Background */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    background: #0B0B0B;
}

.hero-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: linear-gradient(135deg, #0B0B0B 0%, #1a0505 50%, #0B0B0B 100%);
    overflow: hidden;
}

.hero-bg-anim::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 26, 26, 0.08) 0%, transparent 50%);
    animation: pulse-bg 10s ease-in-out infinite alternate;
}

@keyframes pulse-bg {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10%, 10%) scale(1.2); }
}

.floating-orb {
    position: absolute;
    background: radial-gradient(circle, rgba(255, 26, 26, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    33% { transform: translate(100px, 100px); }
    66% { transform: translate(-50px, 150px); }
    100% { transform: translate(0, 0); }
}

.hero-content {
    position: relative;
    z-index: 10;
}

.cyber-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid transparent;
}

.ring-1 {
    width: 400px;
    height: 400px;
    border-top-color: var(--primary-red);
    border-bottom-color: var(--primary-red);
    animation: rotate 10s linear infinite;
    opacity: 0.6;
}

.ring-2 {
    width: 350px;
    height: 350px;
    border-left-color: #fff;
    border-right-color: #fff;
    animation: rotate 15s linear infinite reverse;
    opacity: 0.3;
}

.ring-3 {
    width: 300px;
    height: 300px;
    border-top-color: var(--primary-red);
    border-left-color: var(--primary-red);
    animation: rotate 5s linear infinite;
    opacity: 0.8;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.z-index-10 {
    z-index: 10;
}

/* Navbar */
.navbar {
    background: rgba(11, 11, 11, 0.8) !important;
    backdrop-filter: blur(10px);
    padding: 20px 0;
    transition: var(--transition);
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 1320px !important;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(11, 11, 11, 0.95) !important;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white) !important;
}

.nav-link {
    color: var(--text-white) !important;
    font-weight: 500;
    margin: 0 15px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-red) !important;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 6px 15px;
    background: rgba(255, 26, 26, 0.1);
    border: 1px solid rgba(255, 26, 26, 0.3);
    color: var(--primary-red);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(var(--neon-glow));
}

/* Footer */
footer {
    background: #050505;
    padding: 80px 0 30px;
    border-top: 1px solid var(--glass-border);
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    margin: 0 8px;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
    color: white;
}

.footer-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer-link:hover {
    color: var(--primary-red);
    transform: translateX(5px);
}

/* Admin Dashboard Basic */
.admin-sidebar {
    background: #111;
    min-height: 100vh;
    border-right: 1px solid var(--glass-border);
}

.admin-card {
    background: #1a1a1a;
    border: 1px solid #333;
}

@media (max-width: 1320px) {
    .boxed-wrapper, .navbar {
        max-width: 100% !important;
        box-shadow: none;
    }
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .cyber-ring { transform: scale(0.8); }
    .display-3 { font-size: 3.5rem; }
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 80px;
    }
    .hero-content {
        margin-bottom: 50px;
    }
    .display-3 {
        font-size: 3rem;
    }
    .floating-orb {
        opacity: 0.5;
    }
    .cyber-ring {
        display: none; /* Hide complex animations on mobile for performance */
    }
    .navbar {
        background: rgba(11, 11, 11, 0.95) !important;
        padding: 15px 0;
    }
}

@media (max-width: 768px) {
    .display-3 {
        font-size: 2.5rem;
    }
    .display-4 {
        font-size: 2.2rem;
    }
    .navbar-brand img {
        height: 65px !important; /* Larger, clearer logo */
    }
    .navbar {
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .navbar-toggler {
        border: none !important;
        padding: 0;
    }
    .navbar-toggler:focus {
        box-shadow: none;
    }
    .navbar-toggler-icon {
        background-image: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 30px;
        height: 30px;
    }
    .navbar-toggler-icon::before {
        content: '\f0c9';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        color: var(--primary-red);
        font-size: 1.5rem;
    }
    .navbar-collapse {
        background: #0B0B0B !important;
        border: 1px solid var(--glass-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        margin-top: 10px;
        padding: 20px;
        border-radius: 15px;
    }
    .hero-section {
        padding-top: 100px;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    .glass-card {
        padding: 20px;
    }
    .service-icon {
        font-size: 2.5rem;
    }
    section {
        padding: 40px 0;
    }
    footer {
        padding: 60px 0 30px !important;
    }
    .nav-link {
        margin: 10px 0;
    }
}

@media (max-width: 576px) {
    .display-3 {
        font-size: 2.2rem;
    }
    .btn-premium, .btn-outline-premium {
        width: 100%;
        margin-bottom: 10px;
    }
    .hero-content .d-flex {
        flex-direction: column;
        gap: 10px !important;
    }
    .floating-orb {
        width: 150px !important;
        height: 150px !important;
    }
}

/* Fix for horizontal scroll */
.container {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    width: 100%;
}
