/* ===========================
   PEG CONCEPT - Landing Page
   =========================== */

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

:root {
    --bg-dark: #15172A;
    --light-blue: #678EDA;
    --white: #ffffff;
    --light-blue-hover: #7fa0e8;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html,
body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--white);
    font-family: var(--font-family);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===========================
   Layout
   =========================== */

.landing {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 10vw;
    position: relative;
}

/* ===========================
   Logo
   =========================== */

.logo-container {
    margin-bottom: 52px;
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.logo-img {
    width: 100%;
    max-width: 620px;
    height: auto;
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

.content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.content.visible {
    opacity: 1;
}

.email-link {
    font-size: 2rem;
    font-weight: 400;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

.email-link:hover {
    color: var(--light-blue);
}

.phone-link {
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--light-blue);
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
    letter-spacing: 1px;
}

.phone-link:hover {
    color: var(--light-blue-hover);
}

.owner {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--white);
    margin-top: 12px;
    letter-spacing: 0.5px;
}

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

.footer {
    position: absolute;
    bottom: 40px;
    left: 10vw;
    right: 10vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.footer.visible {
    opacity: 1;
}

.tagline {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
    letter-spacing: 0.3px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.address {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.3px;
}

.btn-directions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border: 1.5px solid var(--light-blue);
    border-radius: 30px;
    color: var(--light-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.btn-directions:hover {
    color: var(--white);
    background-color: var(--light-blue);
}

/* ===========================
   Responsive — Tablet
   =========================== */

@media (max-width: 768px) {
    .landing {
        padding: 50px 8vw;
        justify-content: center;
    }

    .logo-img {
        max-width: 420px;
    }

    .email-link {
        font-size: 1.5rem;
    }

    .phone-link {
        font-size: 1.8rem;
    }

    .owner {
        font-size: 0.85rem;
    }

    .footer {
        left: 8vw;
        right: 8vw;
        bottom: 30px;
    }

    .tagline {
        font-size: 0.82rem;
    }

    .footer-right {
        gap: 16px;
    }

    .address {
        font-size: 0.82rem;
    }

    .btn-directions {
        font-size: 0.82rem;
        padding: 8px 20px;
    }
}

/* ===========================
   Responsive — Mobile
   =========================== */

@media (max-width: 480px) {
    .landing {
        padding: 40px 7vw;
        justify-content: center;
    }

    .logo-container {
        margin-bottom: 24px;
    }

    .logo-img {
        max-width: 280px;
    }

    .email-link {
        font-size: 1.15rem;
    }

    .phone-link {
        font-size: 1.4rem;
    }

    .owner {
        font-size: 0.78rem;
        margin-top: 8px;
    }

    .content {
        gap: 2px;
    }

    .footer {
        left: 7vw;
        right: 7vw;
        bottom: 24px;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .tagline {
        font-size: 0.78rem;
    }

    .footer-right {
        gap: 12px;
    }

    .address {
        font-size: 0.78rem;
    }

    .btn-directions {
        font-size: 0.78rem;
        padding: 8px 20px;
    }
}