/* Ohmic Test Systems - Brand Styles */

:root {
    /* Brand Colors - Slate Steel Blue + Midnight Blue */
    --primary-color: #607D8B;
    --primary-dark: #455A64;
    --primary-light: #78909C;
    --accent-color: #003366;
    --accent-light: #1a4d80;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f9fafb;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Container */
    --max-width: 1200px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Typography */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header & Navigation */
.header {
    background: var(--bg-color);
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

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

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

/* Sections */
.section {
    padding: var(--spacing-xl) var(--spacing-md);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    text-align: center;
    padding: var(--spacing-xl) var(--spacing-md);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-logo {
    width: 150px;
    height: auto;
    margin-bottom: var(--spacing-md);
    border-radius: 8px;
}

.hero h1 {
    margin-bottom: var(--spacing-sm);
}

.hero-tagline {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.cta-button {
    display: inline-block;
    background: white;
    color: var(--accent-color);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.services h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--accent-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-sm);
}

.service-card p {
    color: var(--text-light);
}

/* Why Ohmic Section */
.why-ohmic h2 {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--accent-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature {
    text-align: center;
    padding: var(--spacing-md);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.feature h3 {
    color: var(--primary-dark);
    margin-bottom: var(--spacing-xs);
}

/* About Section */
.about {
    background: var(--bg-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.about p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: var(--spacing-sm);
}

/* Contact Section */
.contact h2 {
    text-align: center;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

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

.contact-item a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.calendly-embed {
    background: var(--bg-light);
    border-radius: 12px;
    padding: var(--spacing-md);
    min-height: 700px;
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: white;
    padding: var(--spacing-md);
    text-align: center;
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: var(--spacing-sm);
    border-radius: 4px;
}

.footer-info {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: var(--spacing-xs);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }

    .nav {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-links {
        gap: var(--spacing-sm);
    }

    .contact-info {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
}
