/* IIC Spaceship Design - TechnoMODERN Abstract Theme */

/* Color Palette */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #ff006b;
    --accent-color: #b300ff;
    --bg-dark: #0a0e27;
    --bg-darker: #050810;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --border-color: #00d4ff;
    --gradient-primary: linear-gradient(135deg, #00d4ff, #0099cc);
    --gradient-accent: linear-gradient(135deg, #ff006b, #cc0055);
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.6);
    --glow-accent: 0 0 20px rgba(255, 0, 107, 0.6);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Courier New', 'Lucida Console', monospace;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 0, 107, 0.1) 0%, transparent 50%);
    min-height: 100vh;
}

/* Header Styles */
.spaceship-header {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 8, 16, 0.85) 100%);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    letter-spacing: 0.2em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.3em;
}

.logo-tagline {
    font-size: 0.8rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    position: relative;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Main Content */
.content-wrapper {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 2rem;
    min-height: calc(100vh - 300px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 107, 0.1));
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 4rem 2rem;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.2), var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* Card Styles */
.card {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.8), rgba(5, 8, 16, 0.9));
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 2rem;
    margin: 1.5rem 0;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.card:hover {
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.4), 0 0 20px var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    margin: 0.5rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 50px var(--primary-color);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--gradient-accent);
    box-shadow: 0 0 15px rgba(255, 0, 107, 0.5);
}

.btn-secondary:hover {
    box-shadow: 0 0 30px rgba(255, 0, 107, 0.8), 0 0 50px var(--secondary-color);
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Footer Styles */
.spaceship-footer {
    background: linear-gradient(180deg, rgba(10, 14, 39, 0.95) 0%, rgba(5, 8, 16, 0.95) 100%);
    border-top: 2px solid var(--primary-color);
    box-shadow: 0 -4px 20px rgba(0, 212, 255, 0.2);
    margin-top: 3rem;
    padding: 3rem 2rem;
    color: var(--text-secondary);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
    text-shadow: var(--glow-primary);
}

.footer-bottom {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(20px, 20px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
    }
    
    .content-wrapper {
        padding: 1rem;
        margin: 1rem auto;
    }
}

/* Print Styles */
@media print {
    .spaceship-header,
    .spaceship-footer {
        display: none;
    }
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
    box-shadow: var(--glow-primary);
}
