/* Basislayout */
:root {
    color-scheme: light;
    font-family: Inter, system-ui, sans-serif;
    font-size: 16px;
    color: #1f2937;
    background: #f8fafc;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    line-height: 1.6;
}

.container {
    width: min(1100px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    background: rgba(17, 24, 39, 0.95);
    color: #f8fafc;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
}

nav a {
    color: #d1d5db;
    text-decoration: none;
    margin-left: 1rem;
}

nav a:hover {
    color: #ffffff;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(2, 6, 23, 0.8) 0%, rgba(15, 23, 42, 0.7) 100%), url('../img/index-banner.jpeg') center/cover no-repeat;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.8) 0%, rgba(2, 6, 23, 0.2) 100%);
    pointer-events: none;
}

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

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1.05;
}

.hero p {
    margin: 0 0 1.5rem;
    max-width: 40rem;
    color: #dbeafe;
}

.button {
    display: inline-block;
    padding: 0.85rem 1.6rem;
    background: #103269;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 2px 25px rgba(59, 130, 246, 0.25);
}

.content {
    padding: 4rem 0 3rem;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-card {
    transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.reveal.is-visible .reveal-card {
    transform: translateY(0);
}

.content h2 {
    margin-top: 0;
}

.card-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}

.card {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.services {
    padding: 1rem 0 3rem;
    margin-top: -1rem;
}

.service-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}

.service-card {
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

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

.service-card p {
    margin: 0;
    color: #475569;
}

.card h3 {
    margin-top: 0;
}

.social-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    margin-top: 1.5rem;
}

.social-card {
    padding: 1.5rem;
    margin-bottom: 4rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 1rem;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.social-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.social-link {
    margin-top: 1rem;
}

.contact-details p,
.contact-form h2 {
    margin: 0 0 1rem;
}

.contact-form form {
    display: grid;
    gap: 1rem;
    max-width: 560px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.75rem;
    background: #ffffff;
    font: inherit;
}

.contact-form textarea {
    resize: vertical;
}

.form-feedback {
    margin-top: 0.75rem;
    font-weight: 600;
}

.form-error {
    color: #dc2626;
}

.form-success {
    color: #16a34a;
}

.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 1.5rem 0;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}

.link {
    color:#d1d5db;
}

.link:hover {
    color:#b2b7bf;
}

@media (min-width: 720px) {
    .footer-grid {
        flex-direction: column;

    }
}

@media (max-width: 640px) {
    .site-header .container {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .footer-grid {
        flex-direction: column;
        align-items: center;
    }

    nav {
        width: 100%;
    }

    nav a {
        display: inline-block;
        margin-left: 0;
        margin-right: 1rem;
    }
}

@media (max-width: 720px) {
    :root {
        font-size: 15px;
    }

    .hero {
        min-height: 90vh;
        padding: 3rem 0;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.75rem);
    }

    .content,
    .services {
        padding: 2rem 0;
    }

    .card,
    .service-card {
        padding: 1.25rem;
    }

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

    .container {
        width: min(100%, calc(100% - 1.5rem));
    }
}

@media (max-width: 520px) {
    .hero {
        padding: 2rem 0;
    }

    .button {
        width: 100%;
        text-align: center;
    }

    h1,
    h2,
    h3 {
        line-height: 1.1;
    }

    .site-footer {
        padding: 1.25rem 0;
    }
}
