/* CSS Variables */
:root {
    --color-bg-dark: #0d0d0d;
    --color-bg: #1a1a1a;
    --color-bg-card: #242424;
    --color-fire-orange: #ff6b35;
    --color-fire-red: #c41e3a;
    --color-ember: #ff8c42;
    --color-smoke: #4a4a4a;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --border-radius: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section - Compact */
.hero {
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    background: linear-gradient(
        135deg,
        var(--color-bg-dark) 0%,
        #1f1410 50%,
        var(--color-bg-dark) 100%
    );
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at 50% 100%,
        rgba(255, 107, 53, 0.15) 0%,
        transparent 50%
    );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.logo {
    margin-bottom: var(--spacing-xs);
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--color-fire-orange), var(--color-ember));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-img {
    height: 2rem;
    width: auto;
    filter: brightness(0) saturate(100%) invert(38%) sepia(96%) saturate(456%) hue-rotate(175deg) brightness(92%) contrast(89%);
}

.hero h1 {
    font-size: 1.125rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-muted);
    line-height: 1.6;
}

.hero h1 .highlight {
    color: var(--color-text);
    font-weight: 600;
}

.tagline {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Services Section */
.services {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--color-bg);
}

.services h2 {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-width: 500px;
    margin: 0 auto;
}

.service-card {
    background-color: var(--color-bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

.service-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background-color: var(--color-bg-dark);
}

.service-content {
    padding: var(--spacing-sm) var(--spacing-md);
}

.service-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--color-text);
}

.service-card p {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Globe Section */
.globe-section {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--color-bg-dark);
}

.globe-container {
    width: 320px;
    margin: 0 auto;
    text-align: center;
}

.globe-wrapper {
    position: relative;
    width: 100%;
}

#globe {
    display: block;
    width: 100%;
    cursor: grab;
}

#globe:active {
    cursor: grabbing;
}

.globe-label {
    position: absolute;
    font-size: 0.625rem;
    font-weight: 500;
    color: var(--color-text);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.globe-label.visible {
    opacity: 1;
}

.globe-caption {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: var(--spacing-xs);
}

/* Contact Section */
.contact {
    padding: var(--spacing-lg) var(--spacing-md);
    background-color: var(--color-bg);
    text-align: center;
}

.contact h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text);
}

.contact-intro {
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    max-width: 280px;
    margin: 0 auto;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: var(--color-bg-card);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.contact-link:hover {
    background-color: rgba(255, 107, 53, 0.1);
    border-color: var(--color-fire-orange);
}

.contact-link svg {
    color: var(--color-fire-orange);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

/* Footer */
.footer {
    padding: var(--spacing-md);
    text-align: center;
    background-color: var(--color-bg-dark);
    border-top: 1px solid var(--color-bg-card);
}

.footer p {
    font-size: 0.75rem;
    color: var(--color-smoke);
}

.footer-links {
    margin-top: var(--spacing-xs);
    font-size: 0.75rem;
}

.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-fire-orange);
}

.footer-links .separator {
    color: var(--color-smoke);
    margin: 0 var(--spacing-xs);
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .hero {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .logo-text {
        font-size: 2.5rem;
    }

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

    .services,
    .globe-section,
    .contact {
        padding: var(--spacing-xl) var(--spacing-lg);
    }

    .globe-container {
        width: 420px;
    }

    .contact h2 {
        font-size: 1.5rem;
    }

    .contact-links {
        flex-direction: row;
        max-width: 500px;
        justify-content: center;
    }

    .contact-link {
        flex: 0 1 auto;
    }
}
