/* style.css */
:root {
    --primary-color: #000033;
    --accent-color: #00FFFF;
    --text-light: #e0e0e0;
    --white: #ffffff;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Raleway', sans-serif;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--white);
    text-shadow: 0 0 8px var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.section-title.text-left {
    left: 0;
    transform: none;
}

.section-title.text-left::after {
    left: 0;
}

section {
    padding: 80px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-color);
    background: transparent;
    color: var(--accent-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--accent-color);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: var(--primary-color);
    text-shadow: none;
    box-shadow: 0 0 20px var(--accent-color);
}

/* Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 51, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    transition: padding 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.header.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo:hover {
    color: var(--accent-color);
    text-shadow: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--white);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,51,0.8) 0%, rgba(0,0,51,0.4) 100%);
}

.hero-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/hero_animated.svg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero .main-title {
    font-size: 4.5rem;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.hero .subtitle {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 300;
    margin-bottom: 20px;
}

.hero .intro-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Highlights */
.highlights {
    background-color: #000022;
    padding: 60px 0;
    border-bottom: 1px solid rgba(0, 255, 255, 0.1);
}

.highlights-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.highlight-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 255, 255, 0.05);
    border-radius: 8px;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.1);
}

.highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* Portfolio */
.portfolio {
    background-color: var(--primary-color);
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 8px 20px;
    cursor: pointer;
    font-family: var(--font-body);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: var(--transition);
    border-radius: 30px;
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/3;
    cursor: pointer;
}

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 51, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

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

.portfolio-overlay h3 {
    color: var(--accent-color);
    margin-bottom: 5px;
    transform: translateY(20px);
    transition: var(--transition);
}

.portfolio-overlay p {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
    transform: translateY(0);
}

/* Services */
.services {
    background-color: #000022;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.service-card:hover {
    border-color: rgba(0, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.05);
}

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid var(--accent-color);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

/* About */
.about {
    background-color: var(--primary-color);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    box-shadow: 20px 20px 0 rgba(0, 255, 255, 0.1);
}

.about-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Blog */
.blog {
    background-color: #000022;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.blog-card {
    background: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(0, 255, 255, 0.2);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-content {
    padding: 30px;
}

.blog-category {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Contact */
.contact {
    background-color: var(--primary-color);
}

.contact-container {
    max-width: 1000px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: rgba(255, 255, 255, 0.02);
    padding: 50px;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.1);
}

.contact-info h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-details {
    list-style: none;
    margin: 30px 0;
}

.contact-details li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-details strong {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
}

.cyber-form .form-group {
    margin-bottom: 20px;
}

.cyber-form label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-light);
}

.cyber-form input[type="text"],
.cyber-form input[type="email"],
.cyber-form textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 4px;
    font-family: var(--font-body);
    transition: var(--transition);
}

.cyber-form input:focus,
.cyber-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.8rem;
}

.submit-btn {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #000011;
    padding: 30px 0;
    border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .highlights-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-container {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero .main-title {
        font-size: 3rem;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 51, 0.95);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 255, 255, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .highlights-container {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}
