
/* ============================================================
   MACKAYE BARBER SHOP & SALON
   CONTACT US PAGE
   SAME DESIGN SYSTEM AS ABOUT / SERVICES / BOOKING / QUEUE
   ============================================================ */

   :root {
    --pink: #F9CDC4;
    --pink-light: #FFE4DE;
    --pink-bright: #F28FA3;
    --pink-dark: #D96F88;

    --rose: #A94F6B;
    --rose-dark: #7D354F;

    --champagne: #F6D6B8;

    --cream: #FFF9F7;
    --cream-soft: #FFF1EE;

    --plum: #351D28;
    --plum-soft: #563642;

    --white: #FFFFFF;

    --muted: #806872;

    --pink-shadow:
        rgba(242, 143, 163, 0.30);

    --rose-shadow:
        rgba(169, 79, 107, 0.20);
}


/* ============================================================
   RESET
   ============================================================ */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family:
        "Segoe UI",
        Arial,
        sans-serif;

    color: var(--plum);

    overflow-x: hidden;

    background:
        radial-gradient(
            circle at 8% 18%,
            rgba(249, 205, 196, 0.42),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 15%,
            rgba(246, 214, 184, 0.30),
            transparent 30%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(242, 143, 163, 0.15),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #FFF9F7,
            #FFF3F0
        );
}


/* ============================================================
   LIGHT FLOATING BACKGROUND ANIMATION
   ============================================================ */

body::before,
body::after {
    content: "";

    position: fixed;

    border-radius: 50%;

    pointer-events: none;

    z-index: -1;
}

body::before {
    width: 360px;
    height: 360px;

    left: -180px;
    top: 180px;

    background:
        radial-gradient(
            circle,
            rgba(242, 143, 163, 0.12),
            transparent 70%
        );

    animation:
        floatLeft 12s ease-in-out infinite alternate;
}

body::after {
    width: 400px;
    height: 400px;

    right: -200px;
    bottom: -130px;

    background:
        radial-gradient(
            circle,
            rgba(246, 214, 184, 0.16),
            transparent 70%
        );

    animation:
        floatRight 14s ease-in-out infinite alternate;
}

@keyframes floatLeft {
    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(30px, 25px, 0);
    }
}

@keyframes floatRight {
    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(-30px, -25px, 0);
    }
}


/* ============================================================
   NAVBAR
   SAME AS OTHER MACKAYE PAGES
   ============================================================ */

header {
    position: sticky;

    top: 0;

    z-index: 1000;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    width: 100%;

    padding:
        15px 5%;

    background:
        linear-gradient(
            135deg,
            rgba(255, 249, 247, 0.97),
            rgba(249, 205, 196, 0.93)
        );

    border-bottom:
        1px solid rgba(169, 79, 107, 0.18);

    box-shadow:
        0 8px 30px rgba(169, 79, 107, 0.12);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    animation:
        navbarAppear 0.55s ease both;
}

@keyframes navbarAppear {
    from {
        opacity: 0;

        transform:
            translateY(-12px);
    }

    to {
        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ============================================================
   LOGO
   MATCHES YOUR HTML
   ============================================================ */

.logo {
    display: flex;

    align-items: center;

    gap: 10px;

    min-width: max-content;

    color: var(--rose-dark);

    text-decoration: none;

    font-size: 22px;

    font-weight: 900;

    letter-spacing: 4px;

    transition:
        color 0.25s ease,
        transform 0.25s ease,
        text-shadow 0.25s ease;
}

.logo:hover {
    color: var(--rose);

    transform:
        translateY(-2px);

    text-shadow:
        0 5px 15px
        rgba(169, 79, 107, 0.20);
}

.logo span {
    display: block;

    color: var(--rose);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* ============================================================
   BACK TO HOME BUTTON
   ============================================================ */

.btn-back {
    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 155px;

    padding:
        11px 20px;

    color: var(--white);

    background:
        linear-gradient(
            135deg,
            var(--pink-bright),
            var(--rose)
        );

    border:
        1px solid rgba(169, 79, 107, 0.15);

    border-radius: 13px;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    box-shadow:
        0 7px 18px
        rgba(169, 79, 107, 0.22);

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}


/* Button shine */

.btn-back::before {
    content: "";

    position: absolute;

    top: 0;

    left: -120%;

    width: 65%;

    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.35),
            transparent
        );

    transform:
        skewX(-20deg);

    transition:
        left 0.55s ease;
}

.btn-back:hover::before {
    left: 140%;
}

.btn-back:hover {
    color: var(--white);

    transform:
        translateY(-3px);

    box-shadow:
        0 11px 26px
        rgba(169, 79, 107, 0.30);

    filter:
        brightness(1.04);
}

.btn-back:active {
    transform:
        translateY(-1px);
}


/* ============================================================
   MAIN CONTACT CARD
   ============================================================ */

.card {
    position: relative;

    width:
        min(
            760px,
            calc(100% - 32px)
        );

    margin:
        70px auto 90px;

    padding:
        55px 60px;

    background:
        linear-gradient(
            145deg,
            rgba(252, 217, 240, 0.505),
            rgba(255, 219, 247, 0.505)
        );

    border:
        1px solid rgba(169, 79, 107, 0.13);

    border-radius: 30px;

    box-shadow:
        0 25px 65px
        rgba(230, 149, 175, 0.832);

    overflow: hidden;

    animation:
        cardAppear 0.75s ease 0.10s both;
}

@keyframes cardAppear {
    from {
        opacity: 0;

        transform:
            translateY(25px)
            scale(0.985);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


/* ============================================================
   CARD TOP GRADIENT LINE
   ============================================================ */



.card::before {
    content: "";

    position: absolute;

    top: 0;

    left: 7%;

    width: 86%;

    height: 4px;

    border-radius:
        0 0 15px 15px;

    background:
        linear-gradient(
            90deg,
            var(--pink),
            var(--pink-bright),
            var(--rose),
            var(--champagne)
        );

    background-size:
        200% 100%;

    animation:
        gradientMove 5s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position:
            200% 0;
    }

    100% {
        background-position:
            -200% 0;
    }
}


/* ============================================================
   DECORATIVE CORNER
   ============================================================ */

.card::after {
    content: "✦";

    position: absolute;

    top: 28px;

    right: 42px;

    color:
        rgba(242, 143, 163, 0.40);

    font-size: 20px;

    pointer-events: none;

    animation:
        sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%,
    100% {
        opacity: 0.35;

        transform:
            scale(0.90)
            rotate(0deg);
    }

    50% {
        opacity: 1;

        transform:
            scale(1.10)
            rotate(15deg);
    }
}


/* ============================================================
   CONTACT TITLE
   ============================================================ */

.card h1 {
    position: relative;

    z-index: 2;

    margin-bottom: 35px;

    color: var(--rose-dark);

    font-size:
        clamp(
            34px,
            5vw,
            46px
        );

    font-weight: 900;

    letter-spacing: -0.5px;

    text-align: center;
}

.card h1::after {
    content: "✦";

    display: block;

    margin:
        9px auto 0;

    color: var(--pink-bright);

    font-size: 15px;

    animation:
        sparkle 3s ease-in-out infinite;
}


/* ============================================================
   CONTACT INFORMATION
   ============================================================ */

.info-item {
    position: relative;

    display: flex;

    align-items: center;

    min-height: 68px;

    margin-bottom: 14px;

    padding:
        16px 20px;

    color: var(--muted);

    background:
        linear-gradient(
            135deg,
            rgba(255, 205, 251, 0.729),
            rgba(255, 210, 248, 0.72)
        );

    border:
        1px solid rgba(169, 79, 107, 0.11);

    border-left:
        4px solid var(--pink-bright);


    border-radius: 14px;

    font-size: 15px;

    line-height: 1.6;

    box-shadow:
        0 5px 16px
        rgba(226, 156, 178, 0.572);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}


/* ============================================================
   CONTACT ITEM HOVER
   ============================================================ */

.info-item:hover {
    transform:
        translateX(6px);

    color: var(--plum-soft);

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.98),
            rgba(249, 205, 196, 0.35)
        );

    border-color:
        rgba(169, 79, 107, 0.22);

    box-shadow:
        0 10px 25px
        rgba(169, 79, 107, 0.10);
}


/* ============================================================
   LABEL / STRONG TEXT
   ============================================================ */

.info-item strong {
    color: var(--rose);

    margin-right: 8px;

    font-weight: 800;
}


/* ============================================================
   LAST CONTACT ITEM
   ============================================================ */

.info-item:last-child {
    margin-bottom: 0;
}


/* ============================================================
   MOBILE ICON / ITEM EFFECT
   ============================================================ */

.info-item::after {
    content: "";

    position: absolute;

    right: 18px;

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background:
        var(--pink-bright);

    opacity: 0.35;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.info-item:hover::after {
    opacity: 0.9;

    transform:
        scale(1.5);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 800px) {

    header {
        padding:
            14px 3%;
    }

    .logo {
        font-size: 19px;

        letter-spacing: 3px;
    }

    .logo span {
        font-size: 8px;

        letter-spacing: 1.7px;
    }

    .card {
        width:
            calc(100% - 32px);

        padding:
            45px 35px;

        border-radius: 26px;
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 600px) {

    header {
        position: relative;

        flex-direction: column;

        gap: 14px;

        padding:
            16px 15px;
    }

    .logo {
        justify-content: center;

        text-align: center;

        font-size: 18px;

        letter-spacing: 2.5px;
    }

    .logo span {
        font-size: 8px;

        letter-spacing: 1.5px;
    }

    .btn-back {
        width: 100%;

        max-width: 240px;
    }

    .card {
        width:
            calc(100% - 24px);

        margin:
            35px auto 55px;

        padding:
            40px 18px;

        border-radius: 22px;
    }

    .card h1 {
        font-size: 31px;

        margin-bottom: 28px;
    }

    .info-item {
        align-items: flex-start;

        min-height: auto;

        padding:
            15px 16px;

        padding-right: 30px;

        font-size: 13px;

        line-height: 1.7;

        flex-wrap: wrap;
    }

    .info-item:hover {
        transform:
            translateY(-2px);
    }
}


/* ============================================================
   VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 400px) {

    .card {
        padding:
            32px 14px;
    }

    .card h1 {
        font-size: 27px;
    }

    .info-item {
        font-size: 12px;
    }

    .logo {
        font-size: 16px;
    }

    .logo span {
        font-size: 7px;
    }
}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }
}
