/* ===== Color Palette (Extracted from reference) ===== */
:root {
    --bg: #0a0a0a;
    --surface: #1a1a2e;
    --surface-2: #16213e;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --primary: #1e90ff; /* Deep Sky Blue - Primary accent */
    --primary-dark: #1565c0;
    --primary-light: #42a5f5;
    --accent: #00d4ff;
    --border: #2a2a3e;
    --shadow: rgba(0, 0, 0, 0.6);
    --glow: rgba(30, 144, 255, 0.4);
}

/* ===== Reset & Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px var(--glow);
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-light);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px var(--shadow);
}

.navbar .logo img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.navbar .logo img:hover {
    transform: scale(1.05);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
    margin: 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

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

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

.nav-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
    border-radius: 4px;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 5% 4rem;
    background: linear-gradient(135deg, #0a0a0a 0%, var(--surface-2) 50%, #0a0a0a 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, var(--primary-dark) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--accent) 0%, transparent 50%);
    opacity: 0.15;
    z-index: 0;
}

.hero-logo {
    margin-bottom: 2rem;
    z-index: 1;
}

.hero-logo img {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 30px var(--glow));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 {
    max-width: 900px;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta {
    display: inline-block;
    padding: 1rem 2.5rem;
    margin: 0.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta:hover::before {
    width: 300px;
    height: 300px;
}

.cta.primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text);
    box-shadow: 0 4px 20px var(--glow);
}

.cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px var(--glow);
}

.cta.secondary {
    background: transparent;
    color: var(--primary-light);
    border: 2px solid var(--primary);
}

.cta.secondary:hover {
    background: var(--primary);
    color: var(--text);
    transform: translateY(-3px);
}

.cta:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

/* ===== Services Section ===== */
#services {
    padding: 5rem 5%;
    background: var(--bg);
    position: relative;
}

#services h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px var(--glow);
    border-color: var(--primary);
    background: var(--surface-2);
}

.service-card h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== About Section ===== */
#about {
    padding: 5rem 5%;
    background: linear-gradient(180deg, var(--bg) 0%, var(--surface) 100%);
    text-align: center;
}

#about h2 {
    margin-bottom: 1.5rem;
}

#about > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: var(--text-muted);
}

#about ul {
    list-style: none;
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem 3rem;
}

#about li {
    padding: 0.75rem 0;
    color: var(--text);
    position: relative;
    padding-left: 2rem;
}

#about li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* ===== Contact Section ===== */
#contact {
    padding: 5rem 5%;
    background: var(--bg);
    max-width: 800px;
    margin: 0 auto;
}

#contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

#contact > p {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

#contact a {
    color: var(--primary-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

#contact a:hover {
    color: var(--accent);
    text-decoration: underline;
}

#contact a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

#inquiry-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
}

#inquiry-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text);
    font-weight: 500;
}

#inquiry-form input,
#inquiry-form select,
#inquiry-form textarea {
    width: 100%;
    padding: 0.875rem;
    margin-bottom: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

#inquiry-form input:focus,
#inquiry-form select:focus,
#inquiry-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--glow);
}

#inquiry-form textarea {
    min-height: 120px;
    resize: vertical;
}

#inquiry-form button {
    padding: 1rem 2rem;
    margin: 0.5rem 0.5rem 0 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--text);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

#inquiry-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px var(--glow);
}

#inquiry-form button:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

#inquiry-form button[type="button"] {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
}

#inquiry-form button[type="button"]:hover {
    background: var(--primary);
    color: var(--text);
}

/* ===== Footer ===== */
footer {
    background: var(--surface-2);
    border-top: 1px solid var(--border);
    padding: 3rem 5%;
    text-align: center;
}

footer p:first-child {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-light);
    margin-bottom: 1rem;
}

footer p:last-child {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        width: 100%;
        padding: 2rem;
        gap: 1rem;
        transition: right 0.3s ease;
        border-top: 1px solid var(--border);
    }

    .nav-links.active {
        right: 0;
    }

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

    .hero p {
        font-size: 1.2rem;
    }

    .hero-logo img {
        max-width: 200px;
    }

    h2 {
        font-size: 1.75rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    #about ul {
        padding: 1.5rem 2rem;
    }

    #inquiry-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 3%;
    }

    .navbar .logo img {
        height: 40px;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .cta {
        padding: 0.875rem 2rem;
        font-size: 0.9rem;
    }

    #about ul {
        padding: 1rem;
    }

    #about li {
        padding-left: 1.5rem;
    }
}
