/* ===========================================
   Arcwire - Landing Page Styles
   File path on server: /assets/css/style.css
   =========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #ffffff;
    background-image: url('/assets/images/watermountains.jpeg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* Optional dark overlay for legibility over the background */
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 0;
    pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    width: 100%;
}

.header-logo {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.header-logo img {
    height: 60px;
    width: auto;
    display: block;
    filter: invert(1);
}

.header-title {
    flex: 1;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.header-spacer {
    flex: 1;
}

/* ---------- Hero / Main ---------- */
.hero {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: clamp(3rem, 10vw, 8rem);
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
}

.hero-slogan {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(1rem, 2.5vw, 1.75rem);
    letter-spacing: 0.03em;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .site-header {
        padding: 1rem;
    }
    .header-logo img {
        height: 40px;
    }
    .header-title {
        font-size: 1.1rem;
    }
}

/* ---------- Icon grid ---------- */
.icon-grid {
    /* --- Tunables --------------------------------------- */
    --icon-size: 64px;
    --icon-gap: 2rem;
    --icon-grid-bottom: 12vh;   /* distance from bottom of viewport */
    /* ---------------------------------------------------- */

    position: absolute;
    bottom: var(--icon-grid-bottom);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;

    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--icon-gap);
    padding: 0 2rem;
    max-width: 90vw;
}

.icon-grid-item {
    width: var(--icon-size);
    height: var(--icon-size);
    display: block;
    transition: transform 0.15s ease;
}

.icon-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.icon-grid-item:hover {
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .icon-grid {
        --icon-size: 44px;
        --icon-gap: 1.25rem;
        --icon-grid-bottom: 6vh;
    }
}