/* QuasarApp Group - Main Stylesheet */

:root {
    --primary-color: #00bcd4;
    --secondary-color: #2196f3;
    --accent-color: #ff9800;
    --darker-bg: #0a0e17;
    --dark-bg: #111827;
    --card-bg: #1e293b;
    --card-border: #334155;
    --text-color: #e2e8f0;
    --muted-text: #94a3b8;
    --glow-color: rgba(0, 188, 212, 0.6);
    --gradient-1: linear-gradient(135deg, #00bcd4 0%, #2196f3 100%);
    --gradient-2: linear-gradient(135deg, #1e293b 0%, #0a0e17 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Roboto', sans-serif;
    background: var(--darker-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(10, 14, 23, 0.95); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border); padding: 15px 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }

.nav-brand {
    display: flex; align-items: center; gap: 10px; font-size: 1.5rem;
    font-weight: 700; color: var(--primary-color); text-decoration: none;
}
.nav-brand img,
.nav-brand svg {
    width: 50px;
    height: 50px;
    margin-right: 10px;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 188, 212, 0.3);
    transition: transform 0.3s ease;
}
.nav-brand img:hover {
    transform: scale(1.1);
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
.nav-brand a {
    display: flex; align-items: center; gap: 10px;
}
.nav-brand i { font-size: 1.8rem; }
.nav-brand span {
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.nav-links { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-links a {
    color: var(--text-color); text-decoration: none; font-weight: 500;
    transition: color 0.3s ease; position: relative;
}
.nav-links a:hover { color: var(--primary-color); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -5px; left: 0; width: 0;
    height: 2px; background: var(--primary-color); transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.lang-btn {
    background: var(--gradient-1); color: white; padding: 8px 16px;
    border-radius: 20px; font-weight: 600; border: none; cursor: pointer;
}
.lang-btn:hover { transform: scale(1.05); box-shadow: 0 5px 20px var(--glow-color); }

.hero-section {
    height: 100vh; display: flex; align-items: center; justify-content: center;
    position: relative; background: var(--gradient-2); overflow: hidden;
}
.parallax-bg {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(0, 188, 212, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(33, 150, 243, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 152, 0, 0.05) 0%, transparent 50%);
}
.hero-content { text-align: center; z-index: 1; padding: 0 20px; }
.hero-logo {
    width: 220px;
    height: auto;
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out, logoFloat 3s ease-in-out infinite;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 188, 212, 0.4));
    transition: transform 0.3s ease;
}
.hero-logo:hover {
    transform: scale(1.05);
}
@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
.hero-banner {
    max-width: 100%;
    height: auto;
    margin: 20px auto 30px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 188, 212, 0.2);
    animation: fadeInUp 0.8s ease-out;
    display: block;
}
@media (max-width: 768px) {
    .hero-banner {
        max-width: 90%;
        height: 120px;
    }
}
.glow-text {
    font-size: 4rem; font-weight: 900; margin-bottom: 20px;
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: 0 0 30px var(--glow-color); animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { text-shadow: 0 0 30px var(--glow-color); }
    50% { text-shadow: 0 0 50px var(--glow-color), 0 0 80px var(--glow-color); }
}
.subtitle {
    font-size: 1.5rem; color: var(--muted-text); margin-bottom: 40px;
    max-width: 600px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn {
    padding: 15px 30px; border-radius: 30px; text-decoration: none;
    font-weight: 600; transition: all 0.3s ease; display: inline-block;
}
.btn-primary {
    background: var(--gradient-1); color: white;
    box-shadow: 0 5px 20px rgba(0, 188, 212, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px); box-shadow: 0 10px 30px var(--glow-color);
}
.btn-secondary {
    background: transparent; color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background: var(--primary-color); color: white; transform: translateY(-3px);
}

.projects-section { padding: 100px 0; background: var(--dark-bg); }
.section-title {
    font-size: 2.5rem; text-align: center; margin-bottom: 60px;
    background: var(--gradient-1); -webkit-background-clip: text;
    -webkit-text-fill-color: transparent; background-clip: text;
}
.projects-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.project-card {
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 20px; padding: 40px 30px; text-align: center;
    transition: all 0.4s ease; position: relative; overflow: hidden;
}
.project-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--gradient-1); transform: scaleX(0); transition: transform 0.4s ease;
}
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 188, 212, 0.2);
    border-color: var(--primary-color);
}
.card-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }
.project-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--text-color); }
.lang-badge {
    display: inline-block; padding: 4px 12px; background: rgba(0, 188, 212, 0.2);
    color: var(--primary-color); border-radius: 15px; font-size: 0.8rem; margin-bottom: 15px;
}
.card-link {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--gradient-1);
    color: white; text-decoration: none; transition: all 0.3s ease; margin-top: 15px;
}
.card-link:hover { transform: scale(1.1) rotate(360deg); }

.about-section { padding: 100px 0; background: var(--darker-bg); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text { font-size: 1.1rem; color: var(--muted-text); }
.about-text p { margin-bottom: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.stat-item {
    text-align: center; padding: 30px; background: var(--card-bg);
    border-radius: 15px; border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}
.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.2);
    border-color: var(--primary-color);
}
.stat-number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.stat-label { color: var(--muted-text); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.contact-section { padding: 100px 0; background: var(--darker-bg); text-align: center; }
.contact-content { display: flex; justify-content: center; gap: 50px; flex-wrap: wrap; margin-top: 40px; }
.contact-link {
    display: flex; flex-direction: column; align-items: center; gap: 15px;
    color: var(--text-color); text-decoration: none; padding: 30px;
    background: var(--card-bg); border: 1px solid var(--card-border);
    border-radius: 20px; transition: all 0.3s ease;
}
.contact-link:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
}
.contact-link i { color: var(--primary-color); }
/* Custom social icons */
.contact-link i.fa-bluesky { 
    font-family: 'Brands'; 
    content: '\f17d';  /* Bluesky icon */
    color: #1d9bf0;
}

.footer {
    padding: 40px 0; background: var(--dark-bg);
    border-top: 1px solid var(--card-border); text-align: center; color: #888;
}
.footer p { margin: 5px 0; }
.made-with { color: var(--accent-color); }
.made-with .glow { color: var(--primary-color); text-shadow: 0 0 10px var(--glow-color); }

.particle {
    position: fixed; width: 4px; height: 4px;
    background: rgba(0, 188, 212, 0.5); border-radius: 50%;
    pointer-events: none; z-index: 1;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .glow-text { font-size: 2.5rem; }
    .subtitle { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; text-align: center; }
    .projects-grid { grid-template-columns: 1fr; }
    .about-content { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; }
    .contact-content { gap: 20px; }
    .section-title { font-size: 2rem; }
}

.parallax-card { will-change: transform; }
.parallax-text { transition: transform 0.3s ease; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.6s ease-out forwards; }
.stat-item { animation-delay: calc(var(--item-index) * 0.1s); --item-index: 0; }

.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: var(--gradient-1); z-index: 9999; width: 0;
    transition: width 0.1s ease;
}
