/* ===================================
   Reset & Custom Properties
=================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root {
    --bg-color: #000000;
    --card-bg: #111111;
    --border-color: #222222;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --accent-color: #024aff;
    --accent-hover: #08197e;
    --transition: all 0.3s ease;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: -apple-system, Roboto, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===================================
   Header & Navigation
=================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container > nav {
    display: contents;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.5rem;
    z-index: 1001;
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    list-style: none;
    transition: right 0.4s ease-in-out;
    z-index: 1000;
}

.nav-links.active {
    right: 0;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }

    .nav-links {
        position: static;
        width: auto;
        height: auto;
        flex-direction: row;
        gap: 2rem;
        background-color: transparent;
    }

    .nav-links a {
        font-size: 1rem;
    }
}

/* ===================================
   Hero Section
=================================== */
.hero {
    padding: 6rem 1rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.hero h1 {
    font-size: clamp(1.4rem, 5vw, 1.6rem);
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.4;
    width: 100%;

}

.hero-img-container {
    width: 100%;
    max-width: 1280px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.hero-img-container img {
    width: 100%;
    height: auto;
    transform: scale(1.4);
}

@media (min-width: 769px) {
    .hero {
        padding: 7rem 1rem 3rem;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 4vw, 2.4rem);
        letter-spacing: -0.5px;
    }

    .hero-img-container {
        margin-top: 0;
        overflow: visible;
    }

    .hero-img-container img {
        transform: none;
    }
}

@media (min-width: 1028px) {
    .hero-img-container {
        min-width: 960px;
        margin: -9rem 0;
        padding: 0;
        z-index: -1;
    }
}

/* ===================================
   Buttons
=================================== */
.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-main);
    padding: 0.6rem 6rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 16px;
    border-bottom: 1px solid cyan;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(2, 74, 255, 0.4);
    margin-top: 1rem;
}

.cta-button:hover {
    background-color: var(--accent-hover);
    /*transform: translateY(-2px);*/
    /*border-bottom: 2px solid cyan;*/
}

@media (min-width: 769px) {
    .cta-button {
        padding: 0.55rem 6rem;
        font-size: 1.5rem;
        margin-top: 0;
    }
}

/* ===================================
   Features / Cards
=================================== */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    scroll-margin-top: 90px;
}

.card:hover {
    border-color: #444;
    transform: translateY(-4px);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: #222;
}

.card-content {
    padding: 1.5rem;
}

.card-content .title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--text-main);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (min-width: 769px) {
    .features {
        padding: 2rem 2rem 4rem;
    }

    .cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* ===================================
   Footer
=================================== */
footer {
    padding-bottom: 30vh; /* scroll room below footer elements */
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 2rem 1rem 1.5rem;
    background-color: var(--bg-color);
    margin-top: 2rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.footer-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    scroll-margin-top: 90px;
}

.footer-card:hover {
    border-color: #444;
}

.map-card .map-title {
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    text-transform: capitalize;
}

.map-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.map-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: var(--accent-color);
    color: var(--text-main);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 1rem 0 0.5rem;
    transition: var(--transition);
}

.map-btn:hover {
    background-color: var(--accent-hover);
}

.map-card .address {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.company-info h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.company-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.contact-details {
    margin-top: 1rem;
}

.contact-details a {
    color: var(--text-main);
    transition: var(--transition);
}

.contact-details a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (min-width: 769px) {
    .footer {
        padding: 3rem 2rem 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }

    .map-btn {
        width: auto;
    }
}
