
:root {
    --primary-blue: #0F4C81;
    --secondary-purple: #6554C0;
    --accent-orange: #FFA726;
    --accent-green: #66BB6A;
    --dark-bg: #121826;
    --light-bg: rgba(255, 255, 255, 0.1);
    --text-light: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-blue));
    color: var(--text-light);
    font-family: 'Montserrat', 'Open Sans', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.header-notice {
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
    color: var(--dark-bg);
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 14px;
    position: relative;
    z-index: 1001;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(15, 76, 129, 0.95), rgba(101, 84, 192, 0.95));
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.navbar.scrolled {
    padding: 10px 5%;
    background: rgba(15, 76, 129, 0.98);
}

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, var(--text-light), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--accent-orange);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.main-content {
    max-width: 1200px;
    margin: 100px auto 50px;
    padding: 0 20px;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--text-light), var(--accent-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-image {
    position: relative;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tech-card {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 167, 38, 0.3);
}

.tech-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--accent-orange);
}

.tech-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 167, 38, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.tech-icon i {
    font-size: 24px;
    color: var(--accent-orange);
}

.article-container {
    background: var(--light-bg);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 60px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-container h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 15px;
}

.article-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-green));
}

.article-container h3 {
    font-size: 24px;
    margin: 30px 0 15px;
    color: var(--accent-orange);
}

.article-container p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

pre {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 4px solid var(--accent-orange);
}

code {
    font-family: 'Courier New', monospace;
    color: var(--accent-green);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.footer {
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-purple));
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
}

@media (max-width: 992px) {
    .hero-section {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        order: 1;
    }
    
    .hero-image {
        order: 2;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        padding: 15px;
    }
    
    .nav-menu {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .main-content {
        margin-top: 150px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .article-container {
        padding: 20px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulsing {
    animation: pulse 4s ease-in-out infinite;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

