@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@400;600;700&family=Atkinson+Hyperlegible+Next:wght@400;700&display=swap');

/* =========================
   Base
========================= */

body {
    margin: 0;
    font-family: "Atkinson Hyperlegible Next", Arial, sans-serif;
    background: #111;
    color: white;
}

h1,
h2,
h3,
.main-nav,
.primary {
    font-family: "Manrope", Arial, sans-serif;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
}

p {
    line-height: 1.5;
    color: #d8d8d8;
}

/* =========================
   Containers
========================= */

.page-width {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 20px;
}


/* =========================
   Header
========================= */

header {
    background: #181818;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.logo img {
    width: 50px;
    height: 50px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: #7b4cff;
}

/* =========================
   Sections
========================= */

.content-section {
    padding: 70px 0;
}

.intro-section {
    padding: 70px 0;
    text-align: center;
}

/* =========================
   Two Column Layout
========================= */

.content-split {
    display: grid;
    grid-template-columns: 350px minmax(0, 700px);
    gap: 80px;
    align-items: start;
    max-width: 1150px;
    margin: 60px auto;
}

.content-column {
    display: flex;
    flex-direction: column;
}

.content-column h2 {
    margin-top: 40px;
}

.content-column h2:first-child {
    margin-top: 0;
}

/* =========================
   Images
========================= */

.content-split img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.image-square {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.image-wide {
    height: auto;
    object-fit: contain;
}

.info-video {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 1.5rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

/* =========================
   Tables
========================= */

.comparison-table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    background: #222;
    border-radius: 20px;
    overflow: hidden;
}

.comparison-table th {

    background: #7b4cff;
    color: white;
    padding: 18px;
    text-align: center;
    font-family: "Manrope", sans-serif;

}

.comparison-table td {
    padding: 16px 18px;
    color: #d8d8d8;
    border-bottom: 1px solid #444;
    text-align: center;
}

.comparison-table th + th,
.comparison-table td + td {
    border-left: 1px solid #444;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: #2d2d2d;
}


/* =========================
   Checks and Xs
========================= */

.care-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 15px 0;
    line-height: 1.5;
}

.care-item span {
    font-size: 1.4rem;
    font-weight: bold;
}

.care-item.do span {
    color: #4caf50;
}

.care-item.dont span {
    color: #ff4c4c;
}

/* =========================
   Buttons
========================= */

.primary {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 35px;
    border-radius: 30px;
    background: #7b4cff;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition:
        background .2s ease,
        transform .2s ease;
}

.primary:hover {
    background: #9168ff;
    transform: translateY(-2px);
}

/* =========================
   Homepage Image
========================= */

.intro-section-image {
    display: block;
    width: 50%;
    margin: 40px auto 0;
    border-radius: 20px;
}

/* =========================
   Cards
========================= */

.welcome {
    background: #222;
    padding: 70px 0;
    text-align: center;
}

.welcome p {
    max-width: 800px;
    margin: auto;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 50px auto;
}

.card {
    background: #2d2d2d;
    padding: 30px;
    border-radius: 20px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;

    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}

.card:hover {
    transform: translateY(-8px);

    box-shadow: 0 12px 24px rgba(0,0,0,.30);
}

.card h3 {
    text-align: center;
}

.card p {
    text-align: left;
}

.dashboard-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.dashboard-card-link:hover {
    text-decoration: none;
}

.dashboard-card-link .primary {
    display: inline-block;
}

/* =========================
   Appointments
========================= */

.appointments-page {
    padding: 70px 0 100px;
}

.appointments-header {
    max-width: 850px;
    margin: 0 auto 50px;
    text-align: center;
}

.appointments-header h1 {
    margin-bottom: 15px;
}

.appointments-header p {
    font-size: 1.1rem;
}

.appointments-section {
    max-width: 900px;
    margin: 0 auto 50px;
}

.appointments-section > h2 {
    margin-bottom: 25px;
}

.appointment-card {
    background: #222;
    border-radius: 20px;
    padding: 35px;
    box-sizing: border-box;
}

.appointment-card-empty {
    text-align: center;
}

.appointment-card-empty p {
    margin: 0;
}

.appointment-card-content {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.appointment-card-content h2 {
    margin-top: 0;
}

/* =========================
   Footer
========================= */

footer {
    background: #080808;
    padding: 50px 0;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
}

.footer-brand img {
    width: 50px;
    height: 50px;
}

.sitemap-links {
    display: grid;
    grid-template-columns: repeat(2, 250px);
    gap: 10px 40px;
}

.sitemap-links a {
    color: white;
    text-decoration: none;
}

.sitemap-links a:hover {
    color: #7b4cff;
}

/* =========================
   Mobile
========================= */

.mobile-menu-toggle {
    display: none;
}

@media (max-width: 900px) {

    /* =========================
       General Mobile Layout
    ========================= */

    .page-width {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* =========================
       Header
    ========================= */

    .header-inner {
        flex-direction: row;
        gap: 0;
        padding: 15px 20px;
        position: relative;
    }

    .logo {
        gap: 10px;
        font-size: 1.15rem;
    }

    .logo img {
        width: 42px;
        height: 42px;
    }

    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        gap: 8px;

        padding: 10px 15px;

        border: 1px solid #444;
        border-radius: 10px;

        background: #222;
        color: white;

        font-family: "Manrope", Arial, sans-serif;
        font-size: 1rem;
        font-weight: 600;

        cursor: pointer;
    }

    .mobile-menu-icon {
        font-size: 1.3rem;
        line-height: 1;
    }

    /* =========================
       Mobile Navigation
    ========================= */

    .main-nav {
        display: none;

        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        z-index: 1000;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px 20px 20px;

        background: #181818;
        border-top: 1px solid #333;

        box-sizing: border-box;
    }

    .main-nav.mobile-menu-open {
        display: flex;
    }

    .main-nav a {
        display: block;

        margin: 0;
        padding: 14px 10px;

        border-bottom: 1px solid #333;

        color: white;
        text-decoration: none;
    }

    .main-nav a:last-child {
        border-bottom: none;
    }

    .main-nav a:hover {
        color: #7b4cff;
    }

    .main-nav .header-signup {
        margin-top: 10px;
        text-align: center;
        border-bottom: none;
    }

    /* =========================
       Content
    ========================= */

    .content-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    /* =========================
       Footer
    ========================= */

    .footer-inner {
        flex-direction: column;
        gap: 40px;
        padding: 0 20px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand h2 {
        margin-top: 15px;
    }

    .footer-logo {
        width: 50px;
        height: 50px;
    }

    .footer-flag {
        width: 180px;
        height: auto;
        display: block;
        margin: 20px auto 0;
        border-radius: 4px;
    }

    .sitemap-links {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-sitemap {
        width: 100%;
    }

}
