/* ===================================
   FLURIX STUDIOS - CLEAN STYLESHEET
   =================================== */

/* CSS Variables */
:root {
    --bg: #e5e7eb;
    --bg-soft: #f3f4f6;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --accent: #2dd4ff;
    --accent-purple: #8b5cf6;
    --border: rgba(45, 212, 255, 0.2);
    --shadow: 0 10px 40px rgba(45, 212, 255, 0.1);
}

body.dark-mode {
    --bg: #0a0e1a;
    --bg-soft: #0f1420;
    --text-main: #e9faff;
    --text-muted: #94a3b8;
    --border: rgba(45, 212, 255, 0.3);
    --shadow: 0 10px 40px rgba(45, 212, 255, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.dark-mode nav {
    background: rgba(10, 14, 26, 0.9);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-icon {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dark-mode-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.dark-mode-toggle:hover {
    border-color: var(--accent);
    transform: scale(1.1);
}

.dark-mode-toggle svg {
    position: absolute;
    transition: all 0.3s;
    color: var(--text-main);
}

.sun-icon {
    opacity: 1;
    transform: scale(1);
}

.moon-icon {
    opacity: 0;
    transform: scale(0);
}

body.dark-mode .sun-icon {
    opacity: 0;
    transform: scale(0);
}

body.dark-mode .moon-icon {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    box-shadow: 0 8px 20px rgba(45, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(45, 212, 255, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    border: 2px solid var(--border);
}

body.dark-mode .btn-secondary {
    background: rgba(15, 20, 32, 0.8);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(45,212,255,0.15), transparent 60%),
                radial-gradient(ellipse at bottom, rgba(139,92,246,0.15), transparent 60%),
                var(--bg);
    padding: 100px 20px;
}

.hero-content {
    max-width: 800px;
}

.hero-logo {
    width: 280px;
    height: 280px;
    margin-bottom: 30px;
    filter: drop-shadow(0 0 60px rgba(45, 212, 255, 0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.hero-tagline {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Section Styles */
section {
    padding: 80px 20px;
    background: var(--bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Social Section */
.social-section {
    background: var(--bg-soft);
    padding: 60px 20px;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: white;
    border-radius: 20px;
    border: 2px solid var(--border);
    text-decoration: none;
    transition: all 0.3s;
}

body.dark-mode .social-item {
    background: rgba(15, 20, 32, 0.8);
}

.social-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.social-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.social-item span {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

/* About Section */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-photo img {
    width: 100%;
    border-radius: 24px;
    border: 3px solid var(--border);
    box-shadow: var(--shadow);
}

.about-content h2 {
    text-align: left;
    margin-bottom: 20px;
}

.about-content .lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Projects Section */
.projects-section {
    background: var(--bg-soft);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.project-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s;
}

body.dark-mode .project-card {
    background: rgba(15, 20, 32, 0.8);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.project-icon {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
}

.project-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.project-card h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.project-description {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
    font-size: 0.95rem;
}

.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.online {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
}

.status-dot.offline {
    background: #ff4444;
    box-shadow: 0 0 10px #ff4444;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.badge-soon {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-dev {
    color: #ff9800;
}

.status-online {
    color: #00ff88;
}

.copy-btn {
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    color: white;
    border: none;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    margin-left: auto;
}

.copy-btn:hover {
    transform: translateY(-2px);
}

.project-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.project-actions .btn-primary,
.project-actions .btn-secondary {
    flex: 1;
    text-align: center;
}

/* Employees Section */
.employees-section {
    position: relative;
    overflow: hidden;
}

.bg-animations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
}

.float-line {
    position: absolute;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
}

.line-1 {
    width: 2px;
    height: 200px;
    top: 10%;
    left: 15%;
    animation: float-line-1 8s ease-in-out infinite;
}

.line-2 {
    width: 2px;
    height: 150px;
    top: 30%;
    right: 20%;
    animation: float-line-2 10s ease-in-out infinite;
}

.line-3 {
    width: 150px;
    height: 2px;
    top: 25%;
    left: 10%;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: float-line-3 12s ease-in-out infinite;
}

.line-4 {
    width: 200px;
    height: 2px;
    bottom: 30%;
    right: 15%;
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    animation: float-line-4 9s ease-in-out infinite;
}

@keyframes float-line-1 {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(20px, -30px); opacity: 0.7; }
}

@keyframes float-line-2 {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(-15px, 40px); opacity: 0.7; }
}

@keyframes float-line-3 {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(25px, -20px); opacity: 0.6; }
}

@keyframes float-line-4 {
    0%, 100% { transform: translate(0, 0); opacity: 0.3; }
    50% { transform: translate(-30px, 15px); opacity: 0.6; }
}

.float-particle {
    position: absolute;
    border-radius: 50%;
    box-shadow: 0 0 15px currentColor;
}

.particle-1 {
    width: 8px;
    height: 8px;
    background: var(--accent);
    top: 20%;
    left: 25%;
    animation: particle-float-1 6s ease-in-out infinite;
}

.particle-2 {
    width: 6px;
    height: 6px;
    background: var(--accent-purple);
    top: 60%;
    right: 30%;
    animation: particle-float-2 8s ease-in-out infinite;
}

.particle-3 {
    width: 10px;
    height: 10px;
    background: #ff6ec7;
    bottom: 25%;
    left: 20%;
    animation: particle-float-3 7s ease-in-out infinite;
}

.particle-4 {
    width: 7px;
    height: 7px;
    background: var(--accent);
    top: 45%;
    right: 25%;
    animation: particle-float-4 9s ease-in-out infinite;
}

@keyframes particle-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-20px, -40px) scale(1.3); opacity: 1; }
}

@keyframes particle-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(30px, 35px) scale(1.2); opacity: 1; }
}

@keyframes particle-float-3 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(25px, -30px) scale(1.4); opacity: 0.9; }
}

@keyframes particle-float-4 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(-25px, 25px) scale(1.1); opacity: 1; }
}

.employees-grid {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.employee-card {
    max-width: 420px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 2px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
}

body.dark-mode .employee-card {
    background: rgba(15, 20, 32, 0.6);
}

.employee-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.employee-photo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border);
    box-shadow: 0 0 30px rgba(45, 212, 255, 0.4);
    margin-bottom: 20px;
    image-rendering: high-quality;
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
}

.employee-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.employee-role {
    color: var(--text-muted);
    margin-bottom: 25px;
}

.employee-contact {
    text-align: left;
}

.employee-contact .contact-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.employee-contact .contact-item:last-child {
    border-bottom: none;
}

/* Contact Section */
.contact-section {
    background: var(--bg-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: white;
    border: 2px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

body.dark-mode .contact-form-wrapper,
body.dark-mode .contact-info-wrapper {
    background: rgba(15, 20, 32, 0.8);
}

.card-header {
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(45,212,255,0.1), rgba(139,92,246,0.1));
    border-bottom: 2px solid var(--border);
}

.card-header h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form {
    padding: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

body.dark-mode .form-group input,
body.dark-mode .form-group select,
body.dark-mode .form-group textarea {
    background: rgba(15, 20, 32, 0.8);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(45, 212, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-loading {
    display: none;
}

.contact-info {
    padding: 30px;
}

.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.info-item .icon {
    font-size: 1.5rem;
}

.info-item h4 {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 5px;
}

.info-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.info-item a:hover {
    color: var(--accent);
}

.contact-logo {
    text-align: center;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.contact-logo img {
    max-width: 150px;
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--bg-soft);
    padding: 40px 20px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand img {
    height: 40px;
}

.footer-brand span {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 1000;
    padding: 20px;
    transition: right 0.3s;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .mobile-menu {
    background: var(--bg-soft);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.mobile-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mobile-nav a {
    padding: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.mobile-nav a:hover {
    background: rgba(45, 212, 255, 0.1);
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-primary {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .about-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
