/* General Styles */
:root {
    --primary-color: #00ffff; /* Neon Cyan/Blue */
    --secondary-color: #000000; /* Black/Dark Background */
    --text-color: #ffffff;
    --dark-card-bg: rgba(0, 0, 0, 0.5);
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Header logo link */
.logo-link {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
.logo-link .logo {
    color: var(--primary-color);
}

/* Primary-colored inline link (used on AGB back link) */
.primary-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}
.primary-link:hover,
.primary-link:focus {
    color: #33ffff;
    text-decoration: underline;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Subtle animated background gradients (Option A) */
body {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0,255,255,0.06) 0%, rgba(0,255,255,0.00) 30%),
        radial-gradient(circle at 85% 80%, rgba(0,179,137,0.05) 0%, rgba(0,179,137,0.00) 28%);
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed, fixed;
    background-position: 0% 0%, 100% 100%;
    background-size: 120% 120%, 140% 140%;
    animation: bgGradientShift 60s linear infinite;
}

@keyframes bgGradientShift {
    0% {
        background-position: 0% 0%, 100% 100%;
    }
    50% {
        background-position: 40% 20%, 60% 80%;
    }
    100% {
        background-position: 0% 0%, 100% 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body {
        animation: none;
        background-size: 110% 110%, 120% 120%;
    }
}

/* Header/Navigation */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 50px;
    z-index: 10;
}

.logo {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.8; /* Slightly darken the video */
}

.hero-content {
    position: absolute;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    bottom: 8%; /* push content towards the lower area of the hero */
    padding: 12px 20px; /* keep padding but smaller */
    background: transparent; /* remove background overlay as requested */
    border-radius: 0; /* no card look */
    text-align: center;
    width: calc(100% - 60px);
    max-width: 1100px;
}

.main-title {
    font-size: 8em;
    color: var(--primary-color);
    text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--primary-color);
    margin-bottom: 0;
    line-height: 1;
}

/* Improve readability of text over video without a background */
.hero-content .main-title,
.hero-content .subtitle,
.hero-content .tagline {
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.subtitle {
    font-size: 2em;
    color: var(--primary-color);
    margin-top: 10px;
}

.tagline {
    font-size: 1.2em;
    margin: 20px 0 30px;
    color: #ccc;
}

.cta-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 10px var(--primary-color);
}

.cta-button:hover {
    background-color: #33ffff;
    box-shadow: 0 0 15px #33ffff, 0 0 30px #33ffff;
}

/* General Section Styles */
section {
    padding: 80px 50px;
    text-align: center;
}

.section-title {
    font-size: 3em;
    margin-bottom: 50px;
    color: var(--text-color);
}

/* Values and Services Grid */
.values-grid, .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card, .service-card {
    background-color: var(--dark-card-bg);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    text-align: left;
    transition: transform 0.3s, box-shadow 0.3s;
}

.value-card:hover, .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0, 255, 255, 0.3);
}

.value-card h3, .service-card h3 {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-shadow: 0 0 5px rgba(0, 255, 255, 0.5);
}

.service-card ul {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

.service-card ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: #ccc;
}

.service-card ul li::before {
    content: '\2022'; /* Bullet point */
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Contact Section (reworked) */
.contact-section {
    background-color: transparent;
    padding-top: 60px;
    padding-bottom: 60px;
}

.contact-options {
    max-width: 1000px;
    margin: 0 auto;
    color: #ddd;
}
.contact-intro {
    margin-bottom: 22px;
    color: #cfdedf;
    font-size: 1.05em;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    align-items: stretch;
}
.contact-card {
    background: var(--dark-card-bg);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(0,255,255,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.contact-method {
    font-size: 0.95em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}
.contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 10px 14px;
    min-width: 56px;
    height: 56px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0,255,255,0.06);
    transition: transform 0.12s, box-shadow 0.12s, background-color 0.12s;
}
.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,255,255,0.08);
    background-color: #33ffff;
}
.contact-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
}
.contact-icon path,
.contact-icon rect,
.contact-icon circle {
    stroke: currentColor;
    fill: currentColor; /* for small filled elements like the head circle */
}
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.contact-note {
    margin-top: 18px;
    color: #9ea9ad;
    font-size: 0.95em;
}

/* Page overlay to make animated gradients visible over hero video */
.page-bg-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1; /* sits above the video (video z-index is 0) */
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0,255,255,0.06) 0%, rgba(0,255,255,0.00) 30%),
        radial-gradient(circle at 85% 80%, rgba(0,179,137,0.05) 0%, rgba(0,179,137,0.00) 28%);
    background-repeat: no-repeat, no-repeat;
    background-position: 0% 0%, 100% 100%;
    background-size: 120% 120%, 140% 140%;
    mix-blend-mode: screen;
    opacity: 0.12;
    animation: bgGradientShift 60s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
    .page-bg-overlay {
        animation: none;
    }
}

/* Canvas-based snowfall overlay */
#snow-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2; /* above overlay (1) and video (0), below hero content (3) */
    display: block;
    opacity: 0.82; /* make canvas snowfall less dominant */
}

@media (prefers-reduced-motion: reduce) {
    #snow-canvas { display: none; }
}

/* Footer */
.site-footer {
    background-color: #080808;
    color: #bbb;
    padding: 30px 20px 24px;
    position: relative;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px; /* thin green strip */
    background: linear-gradient(90deg, rgba(0,220,200,1) 0%, var(--primary-color) 100%);
}
.site-footer .footer-inner {
    max-width: 1200px;
    margin: 18px auto 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.footer-nav {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: center;
}
.footer-nav a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.18s, opacity 0.18s;
    opacity: 0.92;
    font-size: 0.98em;
}
.footer-nav a:hover {
    color: var(--primary-color);
    opacity: 1;
}
.cookie-settings {
    color: #ddd;
}
.footer-copy {
    font-size: 0.92em;
    color: #999;
    margin-top: 6px;
}

.footer-slogan {
    font-size: 1.05em;
    color: var(--primary-color);
    margin: 0 0 6px 0;
    font-style: italic;
    text-align: center;
}

@media (max-width: 600px) {
    .site-footer .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    .footer-nav {
        margin-bottom: 10px;
    }
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: var(--dark-card-bg);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(0, 255, 255, 0.5);
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.contact-form textarea {
    resize: vertical;
}

.submit-button {
    width: 100%;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    padding: 15px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 10px var(--primary-color);
}

.submit-button:hover {
    background-color: #33ffff;
    box-shadow: 0 0 15px #33ffff, 0 0 30px #33ffff;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
    .header {
        padding: 15px 20px;
    }

    .logo {
        font-size: 2em;
    }

    .main-title {
        font-size: 4em;
    }

    .subtitle {
        font-size: 1.5em;
    }

    .tagline {
        font-size: 1em;
    }

    section {
        padding: 60px 20px;
    }

    .section-title {
        font-size: 2.5em;
    }

    .values-grid, .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile: show the three contact buttons side-by-side centered */
@media (max-width: 600px) {
    .contact-grid {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 8px 0;
    }
    .contact-card {
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .contact-button {
        width: 52px;
        height: 52px;
        min-width: 52px;
        padding: 8px;
        border-radius: 50%;
        box-shadow: 0 6px 18px rgba(0,255,255,0.06);
    }
    .contact-intro, .contact-note { text-align: center; padding: 0 12px; }
}
