/* netAvy - Modern Professional Styles */

:root {
    --bg: #0a0a0a;
    --bg-secondary: #121212;
    --text: #f0f0f0;
    --text-muted: #a0a0a0;
    --accent: #429894;
    --accent-dark: #2d6b67;
    --border: #222;
    --card-bg: #161616;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system_ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.1;
}

h1 { font-size: 3.2rem; }
h2 { font-size: 2.2rem; margin-bottom: 1rem; }
h3 { font-size: 1.35rem; margin-bottom: 0.75rem; }

/* Layout */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a2e2d, #0f1f1e);
    padding: 1.25rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: white;
}

.logo img {
    height: 46px;
    width: auto;
}

.logo-text h1 {
    font-size: 1.65rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-text p {
    font-size: 0.75rem;
    color: var(--accent);
    margin: 0;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Navigation */
nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    position: relative;
}

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

nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.2s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f1f1e 0%, #0a0a0a 100%);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at center, rgba(66, 152, 148, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 3.1rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(90deg, #fff, #ddd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--accent);
}

/* Sections */
section {
    padding: 90px 0;
}

/* Intro section - a bit tighter */
#home {
    padding-top: 50px;
    padding-bottom: 30px;
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 3rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

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

.service-card .icon {
    width: 48px;
    height: 48px;
    background: rgba(66, 152, 148, 0.1);
    color: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

/* Expertise */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.expertise-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s ease;
}

.expertise-item:hover {
    border-color: var(--accent);
    background: #1a1a1a;
}

.expertise-item i {
    color: var(--accent);
    font-size: 1.3rem;
    width: 26px;
}

/* Contact */
.contact {
    padding: 90px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem;
    max-width: 980px;
    margin: 0 auto;
}

.contact-info p {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 2.5rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.85rem; }
    
    .hero {
        padding: 90px 0 80px;
    }
    
    nav ul {
        gap: 1.25rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
}

/* Scroll animations */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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