/* =========================================================
   RESET & GLOBAL
   ========================================================= */

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


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --background-color: #1A1818;

    --secondary-color: #242424;

    --primary-color: #FCBA2B;
    --primary-hover: #EFCBA2;

    --text-color: #F5F5F5;
    --text-secondary: #B5B5B5;

    --border-color: rgba(255, 255, 255, .08);

    --transition: .3s ease;
}


/* =========================================================
   BODY
   ========================================================= */

html,
body {
    width: 100%;
    min-height: 100%;

    overflow-x: hidden;

    scroll-behavior: smooth;
}


body {
    position: relative;

    min-height: 100vh;

    margin: 0;
    padding: 0;

    color: var(--text-color);

    font-family: "Poppins", sans-serif;

    line-height: 1.7;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h1,
h2,
h3 {
    font-family: "Cinzel", serif;
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.background-image {
    position: fixed;

    inset: 0;

    width: 100%;
    height: 100vh;

    background-image:
        linear-gradient(
            rgba(26, 24, 24, 0.60),
            rgba(26, 24, 24, 0.82)
        ),
        url("../imgs/Main/Link_Tree_Background.png");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;

    z-index: -2;
}


.background-image::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at center,
            rgba(26, 24, 24, 0.05),
            rgba(5, 5, 5, 0.45)
        );

    pointer-events: none;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.business-card {
    position: relative;

    z-index: 1;

    /*
       Main page width
    */

    width: 80%;

    max-width: 900px;

    margin: 0 auto;

    padding: 70px 0 60px;
}


/* =========================================================
   HEADER
   ========================================================= */

.header {
    text-align: center;

    margin-bottom: 45px;
}


.header h1 {
    color: var(--text-color);

    font-family: "Cinzel", serif;

    font-size: clamp(
        34px,
        5vw,
        52px
    );

    font-weight: 700;

    line-height: 1.15;

    letter-spacing: 1px;

    text-transform: uppercase;

    text-shadow:
        0 3px 20px rgba(5, 5, 5, 0.8);
}


.header h2 {
    margin-top: 15px;

    color: var(--primary-color);

    font-family: "Poppins", sans-serif;

    font-size: 15px;

    font-weight: 500;

    letter-spacing: 5px;

    text-transform: uppercase;
}


.header::after {
    content: "";

    display: block;

    width: 80px;

    height: 2px;

    margin: 25px auto 0;

    background: var(--primary-color);

    box-shadow:
        0 0 12px rgba(252, 186, 43, 0.25);
}


/* =========================================================
   LINKS
   ========================================================= */

.links-section {
    display: flex;

    flex-direction: column;

    gap: 15px;

    margin-bottom: 50px;
}


.link-card {
    position: relative;

    width: 100%;

    min-height: 76px;

    border: 1px solid var(--border-color);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(36, 36, 36, 0.94),
            rgba(26, 24, 24, 0.94)
        );

    box-shadow:
        0 8px 25px rgba(5, 5, 5, 0.35);

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}


.link-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background: var(--primary-color);

    transform: scaleY(0);

    transform-origin: bottom;

    transition:
        transform var(--transition);
}


.link-card:hover::before {
    transform: scaleY(1);
}


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

    border-color:
        rgba(252, 186, 43, 0.35);

    background:
        linear-gradient(
            135deg,
            #242424,
            #1A1818
        );

    box-shadow:
        0 12px 30px rgba(5, 5, 5, 0.45);
}


/* =========================================================
   LINK BUTTON
   ========================================================= */

.link-button {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 76px;

    padding: 16px 20px;

    color: var(--text-color);

    font-family: "Poppins", sans-serif;

    font-size: 17px;

    font-weight: 500;

    letter-spacing: 0.5px;

    text-decoration: none;

    transition:
        color var(--transition);
}


.link-button:hover {
    color: var(--primary-color);
}


/* =========================================================
   BOOK APPOINTMENT
   ========================================================= */

.link-card:last-child {
    border-color:
        rgba(252, 186, 43, 0.45);

    background:
        linear-gradient(
            135deg,
            rgba(252, 186, 43, 0.14),
            rgba(36, 36, 36, 0.95)
        );
}


.link-card:last-child .link-button {
    color: var(--primary-color);

    font-weight: 600;
}


.link-card:last-child:hover {
    border-color:
        var(--primary-color);

    background:
        linear-gradient(
            135deg,
            rgba(252, 186, 43, 0.20),
            rgba(36, 36, 36, 0.96)
        );
}


/* =========================================================
   INFORMATION SECTION
   ========================================================= */

.info-section {
    display: flex;

    flex-direction: column;

    gap: 20px;

    margin-bottom: 50px;
}


.info-card {
    padding: 32px;

    border:
        1px solid
        var(--border-color);

    border-radius: 14px;

    background:
        rgba(36, 36, 36, 0.92);

    box-shadow:
        0 8px 25px rgba(5, 5, 5, 0.30);

    backdrop-filter: blur(8px);

    -webkit-backdrop-filter: blur(8px);
}


/* =========================================================
   INFORMATION HEADINGS
   ========================================================= */

.info-card h2 {
    position: relative;

    margin-bottom: 24px;

    padding-bottom: 14px;

    color: var(--text-color);

    font-family: "Cinzel", serif;

    font-size: 23px;

    font-weight: 700;

    letter-spacing: 0.5px;
}


.info-card h2::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 0;

    width: 40px;

    height: 2px;

    background: var(--primary-color);
}


/* =========================================================
   HOURS
   ========================================================= */

.hours-list {
    list-style: none;
}


.hours-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    padding: 13px 0;

    border-bottom:
        1px solid
        var(--border-color);

    color: var(--text-secondary);

    font-size: 15px;
}


.hours-item:last-child {
    border-bottom: none;
}


.hours-item span:first-child {
    color: var(--text-color);

    font-weight: 500;
}


.hours-item span:last-child {
    color: var(--text-secondary);

    text-align: right;
}


.hours-item:last-child span:last-child {
    color: var(--primary-color);

    font-weight: 500;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-row {
    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 25px;

    padding: 16px 0;

    border-bottom:
        1px solid
        var(--border-color);

    color: var(--text-secondary);

    font-size: 15px;
}


.contact-row:last-child {
    border-bottom: none;
}


.contact-row strong {
    flex-shrink: 0;

    color: var(--text-color);

    font-weight: 500;
}


.contact-link-row {
    color: var(--text-secondary);

    text-align: right;

    text-decoration: none;

    transition:
        color var(--transition);
}


.contact-link-row:hover {
    color: var(--primary-color);
}


/* =========================================================
   GOOGLE MAP
   ========================================================= */

.map-section {
    width: 100%;

    margin-bottom: 50px;
}


.map-container {
    width: 100%;

    height: 400px;

    overflow: hidden;

    border:
        1px solid
        var(--border-color);

    border-radius: 14px;

    background: var(--secondary-color);

    box-shadow:
        0 10px 30px rgba(5, 5, 5, 0.40);
}


/*
   IMPORTANT:
   No filter is applied here.

   This keeps Google Maps in its
   original colors.
*/

.map-container iframe {
    display: block;

    width: 100%;

    height: 100%;

    border: none;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .business-card {
        width: 90%;

        padding-top: 45px;

        padding-bottom: 35px;
    }


    .header {
        margin-bottom: 35px;
    }


    .header h1 {
        font-size: 30px;
    }


    .header h2 {
        font-size: 10px;

        letter-spacing: 3px;
    }


    .header::after {
        width: 60px;

        margin-top: 20px;
    }


    .links-section {
        gap: 11px;

        margin-bottom: 35px;
    }


    .link-card,
    .link-button {
        min-height: 68px;
    }


    .link-button {
        font-size: 15px;
    }


    .info-section {
        gap: 14px;

        margin-bottom: 35px;
    }


    .info-card {
        padding: 23px 19px;
    }


    .info-card h2 {
        font-size: 19px;

        margin-bottom: 19px;
    }


    .hours-item {
        font-size: 13px;

        padding: 10px 0;
    }


    .contact-row {
        flex-direction: column;

        gap: 4px;

        font-size: 13px;
    }


    .contact-link-row {
        text-align: left;
    }


    .map-container {
        height: 300px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .business-card {
        width: 92%;

        padding-top: 35px;
    }


    .header h1 {
        font-size: 26px;
    }


    .header h2 {
        font-size: 9px;

        letter-spacing: 2px;
    }


    .link-button {
        min-height: 62px;

        font-size: 14px;
    }


    .info-card {
        padding: 20px 16px;
    }


    .info-card h2 {
        font-size: 17px;
    }


    .hours-item {
        font-size: 11px;
    }


    .contact-row {
        font-size: 11px;
    }


    .map-container {
        height: 260px;
    }
}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) {

    .link-card:hover {
        transform: none;

        border-color: var(--border-color);
    }


    .link-card:hover::before {
        transform: scaleY(0);
    }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }


    *,
    *::before,
    *::after {
        transition: none !important;
    }
}