﻿
/* =========================================================
   CONTACT PAGE - COMPACT PREMIUM CSS
   Matching Existing Contact.cshtml
========================================================= */

/* =========================================================
   1. CONTACT OVERVIEW
========================================================= */

.contact-overview {
    position: relative;
    overflow: hidden;
    padding: 30px 24px 45px;
    background: #f5f8f5;
}

.contact-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    width: min(1320px, 100%);
    margin: 0 auto;
}


/* =========================================================
   2. LEFT HERO SECTION
========================================================= */

.contact-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 440px;
    overflow: hidden;
    padding: 42px 42px 22px;
    border-radius: 14px;
    color: #fff;
    background: radial-gradient(circle at 85% 15%, rgba(16,185,129,.22), transparent 32%), linear-gradient(135deg, #052e2b 0%, #064e3b 55%, #075c48 100%);
    box-shadow: 0 15px 35px rgba(5,46,43,.10);
    animation: contactFadeUp .7s ease both;
}

.contact-hero-decoration {
    position: absolute;
    right: -75px;
    bottom: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 220px;
    pointer-events: none;
}

.contact-decoration-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(214,173,96,.35);
    border-radius: 50%;
    box-shadow: 0 0 0 22px rgba(214,173,96,.045), 0 0 0 44px rgba(214,173,96,.025);
    animation: contactRotate 22s linear infinite;
}

.contact-decoration-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 135px;
    height: 135px;
    border: 1px solid rgba(214,173,96,.45);
    border-radius: 50%;
    color: #e5c27e;
    background: rgba(255,255,255,.045);
    backdrop-filter: blur(5px);
    animation: contactFloat 4s ease-in-out infinite;
}

    .contact-decoration-inner span {
        margin-bottom: 5px;
        font-size: 23px;
    }

    .contact-decoration-inner strong {
        color: #fff;
        font-family: Manrope, sans-serif;
        font-size: 17px;
        font-weight: 800;
    }

    .contact-decoration-inner small {
        margin-top: 4px;
        color: #e5c27e;
        font-size: 11px;
        letter-spacing: 2px;
    }


/* Hero content */

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    animation: contactFadeUp .8s ease both;
}

.contact-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #bd9145;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
}

.contact-hero .contact-eyebrow {
    color: #e5c27e;
}

.contact-hero h1 {
    margin: 0 0 16px;
    color: #fff;
    font-family: Manrope, sans-serif;
    font-size: clamp(34px, 3.5vw, 48px);
    font-weight: 800;
    line-height: 1.16;
}

    .contact-hero h1 span {
        display: block;
        color: #e5c27e;
    }

.contact-hero-content > p {
    max-width: 450px;
    margin: 0 0 22px;
    color: rgba(255,255,255,.76);
    font-size: 14px;
    line-height: 1.8;
}


/* Hero button */

.contact-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 12px 21px;
    border: 1px solid #d6ad60;
    border-radius: 5px;
    color: #082f2a;
    background: #d6ad60;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    transition: all .3s ease;
}

    .contact-hero-btn span {
        font-size: 18px;
        transition: transform .3s ease;
    }

    .contact-hero-btn:hover {
        color: #052e2b;
        background: #f0d79d;
        border-color: #f0d79d;
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0,0,0,.15);
    }

        .contact-hero-btn:hover span {
            transform: translate(4px, -3px);
        }


/* Hero bottom */

.contact-hero-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 30px;
    padding-top: 17px;
    border-top: 1px solid rgba(255,255,255,.17);
}

    .contact-hero-bottom > span {
        color: rgba(255,255,255,.72);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1px;
    }

    .contact-hero-bottom b {
        color: #e5c27e;
        font-size: 14px;
    }


/* =========================================================
   3. RIGHT CONTACT INFORMATION PANEL
========================================================= */

.contact-info-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 5px 5px 5px 10px;
    animation: contactFadeUp .8s ease both;
    animation-delay: .12s;
}


/* Heading */

.contact-heading {
    max-width: 550px;
    margin-bottom: 20px;
}

    .contact-heading .contact-eyebrow {
        margin-bottom: 9px;
    }

    .contact-heading h2 {
        margin: 0 0 9px;
        color: #082f2a;
        font-family: Manrope, sans-serif;
        font-size: clamp(25px, 2.3vw, 32px);
        font-weight: 800;
        line-height: 1.25;
    }

    .contact-heading p {
        margin: 0;
        color: #718078;
        font-size: 13px;
        line-height: 1.7;
    }


/* =========================================================
   4. CONTACT CARDS GRID
========================================================= */

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.contact-info-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    padding: 18px 19px;
    border: 1px solid #e5ece7;
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(5,46,43,.04);
    transition: all .3s ease;
    animation: contactFadeUp .7s ease both;
}

    .contact-info-card:nth-child(2) {
        animation-delay: .12s;
    }

    .contact-info-card:nth-child(3) {
        grid-column: 1 / -1;
        animation-delay: .24s;
    }

    .contact-info-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: linear-gradient(90deg, #075c48, #d6ad60);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .3s ease;
    }

    .contact-info-card:hover {
        transform: translateY(-5px);
        border-color: rgba(214,173,96,.7);
        box-shadow: 0 13px 28px rgba(5,46,43,.09);
    }

        .contact-info-card:hover::before {
            transform: scaleX(1);
        }


/* Card top */

.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}


/* Card icon */

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 9px;
    color: #e5c27e;
    background: linear-gradient(135deg, #052e2b, #08765a);
    font-size: 21px;
    transition: all .3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: translateY(-3px) rotate(-5deg);
    background: linear-gradient(135deg, #075c48, #0a8a68);
    box-shadow: 0 7px 15px rgba(5,46,43,.15);
}


/* Number */

.contact-card-number {
    color: #d7e0da;
    font-family: Manrope, sans-serif;
    font-size: 23px;
    font-weight: 800;
    transition: color .3s ease;
}

.contact-info-card:hover .contact-card-number {
    color: #d6ad60;
}


/* Label */

.contact-card-label {
    display: block;
    margin-bottom: 6px;
    color: #a17c3b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
}


/* Heading */

.contact-info-card h3 {
    margin: 0 0 7px;
    color: #082f2a;
    font-family: Manrope, sans-serif;
    font-size: 17px;
    font-weight: 800;
}


/* Links and address */

.contact-card-link {
    display: block;
    overflow-wrap: anywhere;
    color: #08765a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.6;
    text-decoration: none;
    transition: color .25s ease;
}

a.contact-card-link:hover {
    color: #b58b43;
}

.contact-address {
    color: #08765a;
}

.contact-card-unavailable {
    margin: 0;
    color: #a0aaa4;
    font-size: 12px;
    line-height: 1.6;
}

.contact-card-description {
    margin: 7px 0 0;
    color: #7b8982;
    font-size: 11px;
    line-height: 1.6;
}


/* =========================================================
   5. MAP SECTION
========================================================= */

.contact-map-section {
    position: relative;
    overflow: hidden;
    padding: 45px 24px;
    background: #fff;
}

    .contact-map-section .contact-container {
        width: min(1320px, 100%);
        margin: 0 auto;
    }


/* Map heading */

.contact-map-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 22px;
}

    .contact-map-heading h2 {
        margin: 0 0 9px;
        color: #082f2a;
        font-family: Manrope, sans-serif;
        font-size: clamp(27px, 3vw, 36px);
        font-weight: 800;
        line-height: 1.2;
    }

    .contact-map-heading > div:first-child > p {
        max-width: 620px;
        margin: 0;
        color: #718078;
        font-size: 13px;
        line-height: 1.7;
    }


/* Map address */

.contact-map-address {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 220px;
    padding: 12px 16px;
    border: 1px solid #e7eee8;
    border-radius: 9px;
    background: #f7faf7;
}

.contact-location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 8px;
    color: #e5c27e;
    background: #075c48;
    font-size: 20px;
}

.contact-map-address small {
    display: block;
    margin-bottom: 4px;
    color: #a17c3b;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.contact-map-address strong {
    display: block;
    color: #075c48;
    font-size: 12px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}


/* Map frame */

.contact-map-frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 320px;
    border: 1px solid #e3ebe5;
    border-radius: 12px;
    background: #eaf1ec;
    box-shadow: 0 9px 25px rgba(5,46,43,.07);
    transition: box-shadow .3s ease;
}

    .contact-map-frame:hover {
        box-shadow: 0 15px 32px rgba(5,46,43,.12);
    }

    .contact-map-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }


/* Map placeholder */

.contact-map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    gap: 10px;
    color: #075c48;
    background: linear-gradient(135deg, #edf5f0, #e2eee7);
    text-align: center;
}

    .contact-map-placeholder span {
        color: #bd9145;
        font-size: 35px;
    }

    .contact-map-placeholder strong {
        color: #075c48;
        font-family: Manrope, sans-serif;
        font-size: 17px;
    }

    .contact-map-placeholder p {
        margin: 0;
        color: #718078;
        font-size: 12px;
    }


/* =========================================================
   6. ANIMATIONS
========================================================= */

@keyframes contactFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contactRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes contactFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}


/* =========================================================
   7. TABLET RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .contact-overview {
        padding: 30px 24px 40px;
    }

    .contact-overview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 850px;
    }

    .contact-hero {
        min-height: 410px;
    }

    .contact-info-panel {
        padding: 5px 0;
    }

    .contact-heading {
        max-width: 650px;
    }

    .contact-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-map-section {
        padding: 40px 24px;
    }
}


/* =========================================================
   8. MOBILE RESPONSIVE
========================================================= */

@media (max-width: 600px) {

    .contact-overview {
        padding: 22px 16px 35px;
    }

    /* Hero */

    .contact-hero {
        min-height: 390px;
        padding: 35px 22px 20px;
        border-radius: 11px;
    }

        .contact-hero h1 {
            font-size: 34px;
        }

    .contact-hero-content > p {
        font-size: 13px;
        line-height: 1.75;
    }

    .contact-hero-btn {
        padding: 11px 17px;
        font-size: 12px;
    }

    .contact-hero-decoration {
        right: -90px;
        bottom: 55px;
        width: 180px;
        height: 180px;
        opacity: .6;
    }

    .contact-decoration-inner {
        width: 115px;
        height: 115px;
    }

        .contact-decoration-inner strong {
            font-size: 15px;
        }

    .contact-hero-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        margin-top: 25px;
        padding-top: 15px;
    }

        .contact-hero-bottom > span {
            font-size: 8px;
        }


    /* Contact panel */

    .contact-info-panel {
        padding: 5px 0 0;
    }

    .contact-heading {
        margin-bottom: 18px;
    }

        .contact-heading h2 {
            font-size: 26px;
        }

        .contact-heading p {
            font-size: 12px;
        }


    /* Cards */

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-info-card {
        padding: 20px;
    }

        .contact-info-card:nth-child(3) {
            grid-column: auto;
        }


    /* Map */

    .contact-map-section {
        padding: 35px 16px;
    }

    .contact-map-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 18px;
    }

        .contact-map-heading h2 {
            font-size: 27px;
        }

        .contact-map-heading > div:first-child > p {
            font-size: 12px;
        }

    .contact-map-address {
        width: 100%;
        min-width: 0;
    }

    .contact-map-frame {
        height: 250px;
        border-radius: 9px;
    }
}


/* =========================================================
   9. SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .contact-hero {
        padding: 30px 18px 18px;
    }

        .contact-hero h1 {
            font-size: 30px;
        }

    .contact-info-card {
        padding: 18px;
    }

    .contact-map-frame {
        height: 220px;
    }
}


/* =========================================================
   10. ACCESSIBILITY
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .contact-hero,
    .contact-hero-content,
    .contact-info-panel,
    .contact-info-card,
    .contact-decoration-circle,
    .contact-decoration-inner {
        animation: none !important;
    }

    .contact-info-card,
    .contact-info-icon,
    .contact-hero-btn,
    .contact-map-frame {
        transition: none !important;
    }
}
