/* Layout Styles */

/* Header */
.site-header {
    height: var(--header-height);
    background-color: var(--color-bg-body);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

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

.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.main-nav a:not(.btn) {
    font-weight: 500;
    color: var(--color-text-muted);
}

.main-nav a:not(.btn):hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-bg-body) 0%, var(--color-bg-alt) 100%);
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-md);
    max-width: 480px;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-graphic {
    width: 100%;
    max-width: 500px;
    height: 400px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(10, 37, 64, 0.2);
}

.hero-graphic::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.circle {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

.c1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 15%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.c2 {
    width: 180px;
    height: 180px;
    bottom: 15%;
    right: 15%;
    background: rgba(0, 184, 217, 0.2);
    animation: float 8s ease-in-out infinite reverse;
}

.c3 {
    width: 60px;
    height: 60px;
    top: 40%;
    right: 30%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 5s ease-in-out infinite 1s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Services Section */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-body);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-xs);
}

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

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

.service-card {
    background: var(--color-bg-body);
    border: 1px solid var(--border-color);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.05);
    border-color: var(--color-accent);
}

.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: rgba(0, 184, 217, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    font-size: 0.875rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-primary);
}

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

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg-alt);
    text-align: center;
}

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

.about-content h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
}

.about-content p {
    font-size: 1.25rem;
    color: var(--color-text-main);
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-primary);
    color: var(--color-text-inverse);
}

.contact-container {
    display: flex;
    justify-content: center;
    text-align: center;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.contact-info p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
}

/* Footer */
.site-footer {
    padding: var(--spacing-md) 0;
    background-color: var(--color-bg-dark);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

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

.footer-links a {
    color: inherit;
    margin-left: var(--spacing-md);
}

.footer-links a:hover {
    color: var(--color-text-inverse);
}

/* Responsiveness */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

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

    .main-nav {
        display: none;
        /* Mobile menu todo if time permits, for now simple */
    }
}