/* --- Variables & Reset --- */
:root {
    --primary-color: #007bff; /* Tech Blue */
    --secondary-color: #00d2ff; /* Cyan Gradient End */
    --dark-bg: #0f1012;
    --card-bg: #1a1b1e;
    --text-color: #e0e0e0;
    --heading-font: 'Orbitron', sans-serif;
    --body-font: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3 {
    font-family: var(--heading-font);
    color: #fff;
}

.divider {
    height: 3px;
    width: 60px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 10px auto 30px;
}

/* --- Header & Nav --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: 0.4s;
    background: rgba(15, 16, 18, 0.95);
}

header.sticky {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    border-bottom: 1px solid #333;
}

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

.logo img {
    height: 50px; /* Adjust based on your logo aspect ratio */
    vertical-align: middle;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn-nav {
    background: var(--primary-color);
    padding: 8px 20px;
    border-radius: 5px;
    color: #fff !important;
}

/* --- Hero Section --- */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80'); /* Tech server bg */
    background-size: cover;
    background-position: center;
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ccc;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    margin: 0 10px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* --- Services Section --- */
#services {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.service-card .icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.service-card p {
    color: #aaa;
    font-size: 0.95rem;
}

.note {
    font-size: 0.8rem;
    color: #ff4d4d;
    font-style: italic;
}

/* --- Contact Section --- */
#contact {
    padding: 80px 0;
    background-color: #151618;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--card-bg);
    border: 1px solid #333;
    color: #fff;
    border-radius: 5px;
    font-family: inherit;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* --- Footer --- */
footer {
    padding: 30px 0;
    text-align: center;
    background: #000;
    border-top: 1px solid #222;
    color: #777;
}

/* --- Mobile Responsive --- */
.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 5px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-links {
        position: absolute;
        right: 0px;
        top: 80px;
        background-color: #1a1b1e;
        height: auto;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        transform: translateY(-150%);
        transition: 0.5s;
    }

    .nav-links.active {
        transform: translateY(0%);
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}
