/* =========================================================
   CONTACT PAGE
   Modern Southport Key Club styling
   ========================================================= */


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

.contact-hero {
    position: relative;
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(247, 189, 50, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 80%,
            rgba(21, 101, 216, 0.2),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            var(--navy),
            var(--navy-2)
        );

    overflow: hidden;
}


/* Giant background word */

.contact-hero::before {
    content: "CONTACT";

    position: absolute;
    right: -25px;
    bottom: -20px;

    color: rgba(255, 255, 255, 0.035);

    font-size: clamp(6rem, 14vw, 12rem);
    font-weight: 950;

    letter-spacing: -0.08em;
    line-height: 0.8;

    pointer-events: none;
}


/* Decorative glowing circle */

.contact-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -120px;
    top: -120px;

    border: 50px solid rgba(247, 189, 50, 0.08);
    border-radius: 50%;

    filter: blur(1px);
}


.contact-hero-content {
    position: relative;
    z-index: 2;

    text-align: center;

    max-width: 800px;

    padding: 60px 30px;
}


/* Small decorative gold line */

.contact-hero-content::before {
    content: "";

    display: block;

    width: 55px;
    height: 5px;

    margin: 0 auto 24px;

    background: var(--gold);

    border-radius: 999px;

    box-shadow:
        0 0 20px rgba(247, 189, 50, 0.35);
}


.contact-hero h1 {
    margin: 0 0 18px;

    color: var(--white);

    font-size: clamp(2.8rem, 6vw, 4.7rem);
    font-weight: 950;

    letter-spacing: -0.055em;
    line-height: 1;

    text-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);
}


.hero-subtitle {
    margin: 0;

    color: #dce8fa;

    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;

    line-height: 1.7;
    letter-spacing: 0.02em;
}


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

.contact-info {
    position: relative;

    padding: 100px 22px;

    background:
        linear-gradient(
            180deg,
            var(--white),
            #f7faff
        );
}


/* Small fade between sections */

.contact-info::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: min(90%, 900px);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(21, 101, 216, 0.25),
            transparent
        );
}


.info-container {
    width: min(calc(100% - 40px), var(--content));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;
}


.info-card {
    position: relative;

    padding: 45px 32px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.95),
            rgba(236, 243, 255, 0.95)
        );

    border: 1px solid rgba(21, 101, 216, 0.12);

    border-radius: 24px;

    text-align: center;

    overflow: hidden;

    box-shadow:
        0 10px 35px rgba(13, 39, 80, 0.06);

    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        border-color 220ms ease;
}


/* Gold highlight across top */

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

    position: absolute;

    top: 0;
    left: 50%;

    width: 0;
    height: 4px;

    transform: translateX(-50%);

    background: var(--gold);

    border-radius: 0 0 999px 999px;

    transition: width 250ms ease;
}


/* Decorative background glow */

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

    position: absolute;

    width: 130px;
    height: 130px;

    right: -60px;
    bottom: -60px;

    background:
        radial-gradient(
            circle,
            rgba(21, 101, 216, 0.08),
            transparent 70%
        );

    border-radius: 50%;

    pointer-events: none;
}


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

    border-color: rgba(21, 101, 216, 0.28);

    box-shadow:
        0 20px 50px rgba(13, 39, 80, 0.13);
}


.info-card:hover::before {
    width: 65%;
}


.info-icon {
    display: grid;
    place-items: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 24px;

    font-size: 2.2rem;

    background:
        linear-gradient(
            135deg,
            rgba(247, 189, 50, 0.18),
            rgba(21, 101, 216, 0.1)
        );

    border: 1px solid rgba(247, 189, 50, 0.25);

    border-radius: 20px;

    transition:
        transform 220ms ease,
        box-shadow 220ms ease;
}


.info-card:hover .info-icon {
    transform:
        translateY(-3px)
        rotate(-3deg)
        scale(1.05);

    box-shadow:
        0 10px 25px rgba(247, 189, 50, 0.15);
}


.info-card h3 {
    position: relative;

    margin: 0 0 14px;

    color: var(--navy);

    font-size: 1.3rem;
    font-weight: 850;

    letter-spacing: -0.025em;
}


.info-card p {
    position: relative;

    margin: 5px 0;

    color: var(--muted);

    font-size: 0.98rem;
    line-height: 1.7;
}


/* =========================================================
   CONTACT FORM SECTION
   ========================================================= */

.contact-form-section {
    position: relative;

    padding: 120px 22px;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(21, 101, 216, 0.08),
            transparent 25%
        ),
        radial-gradient(
            circle at 85% 80%,
            rgba(247, 189, 50, 0.09),
            transparent 28%
        ),
        var(--soft);
}


.form-container {
    position: relative;

    width: min(calc(100% - 40px), 850px);

    margin: 0 auto;

    padding: 58px;

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

    border:
        1px solid rgba(21, 101, 216, 0.1);

    border-radius: 28px;

    box-shadow:
        0 25px 60px rgba(13, 39, 80, 0.10);

    overflow: hidden;
}


/* Top color strip */

.form-container::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--blue),
            var(--gold),
            var(--blue)
        );
}


.form-header {
    text-align: center;

    margin-bottom: 45px;
}


.form-header .eyebrow {
    display: inline-block;

    margin: 0 0 14px;

    padding: 7px 13px;

    background:
        rgba(21, 101, 216, 0.08);

    border:
        1px solid rgba(21, 101, 216, 0.12);

    border-radius: 999px;

    color: var(--blue);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.2em;

    text-transform: uppercase;
}


.form-header h2 {
    margin: 0 0 14px;

    color: var(--navy);

    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 950;

    letter-spacing: -0.045em;
}


.form-subtitle {
    margin: 0 auto;

    max-width: 550px;

    color: var(--muted);

    font-size: 1rem;
    line-height: 1.65;
}


.contact-form {
    display: flex;

    flex-direction: column;

    gap: 26px;
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;
}


.form-group {
    display: flex;

    flex-direction: column;

    gap: 9px;
}


.form-group label {
    color: var(--navy);

    font-weight: 800;

    font-size: 0.88rem;

    letter-spacing: 0.015em;
}


.form-group input,
.form-group textarea {
    width: 100%;

    padding: 15px 17px;

    border:
        2px solid rgba(13, 39, 80, 0.10);

    border-radius: 14px;

    color: var(--navy);

    font-size: 1rem;
    font-family: inherit;

    background:
        rgba(245, 248, 253, 0.8);

    transition:
        border-color 180ms ease,
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;

    resize: vertical;

    box-sizing: border-box;
}


.form-group input:hover,
.form-group textarea:hover {
    border-color:
        rgba(21, 101, 216, 0.25);

    background: var(--white);
}


.form-group input:focus,
.form-group textarea:focus {
    outline: none;

    border-color: var(--blue);

    background: var(--white);

    box-shadow:
        0 0 0 4px rgba(21, 101, 216, 0.09);

    transform: translateY(-1px);
}


/* Placeholder styling */

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9caac0;
}


/* Submit button */

.contact-form .submit-btn {
    position: relative;

    margin-top: 10px;

    padding: 16px 30px;

    border: none;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            var(--blue),
            #0d4ea3
        );

    color: var(--white);

    font-size: 1rem;
    font-weight: 850;

    letter-spacing: 0.01em;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 10px 24px rgba(21, 101, 216, 0.25);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease;
}


.contact-form .submit-btn::before {
    content: "";

    position: absolute;

    top: 0;
    left: -120%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.25),
            transparent
        );

    transform: skewX(-20deg);

    transition: left 450ms ease;
}


.contact-form .submit-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 32px rgba(21, 101, 216, 0.32);
}


.contact-form .submit-btn:hover::before {
    left: 140%;
}


.contact-form .submit-btn:active {
    transform: translateY(-1px);
}


/* =========================================================
   FAQ SECTION
   ========================================================= */

.faq-section {
    position: relative;
    
    padding: 110px 22px;
    
    background: #ffffff;
}


.faq-section .section-header {
    width: min(calc(100% - 40px), var(--content));

    margin: 0 auto 55px;

    text-align: center;
}


.faq-section .section-header .eyebrow {
    display: inline-block;

    margin: 0 0 14px;

    color: var(--blue);

    font-size: 0.72rem;
    font-weight: 900;

    letter-spacing: 0.22em;

    text-transform: uppercase;
}


.faq-section .section-header h2 {
    margin: 0;

    color: var(--navy);

    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 950;

    letter-spacing: -0.05em;
}


.faq-grid {
    width: min(calc(100% - 40px), var(--content));

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 26px;
}


.faq-item {
    position: relative;

    padding: 34px 34px 34px 38px;

    background:
        linear-gradient(
            145deg,
            #f8faff,
            #f1f6fd
        );

    border:
        1px solid rgba(21, 101, 216, 0.10);

    border-radius: 20px;

    overflow: hidden;

    transition:
        transform 200ms ease,
        box-shadow 200ms ease,
        border-color 200ms ease;
}


/* Gold side accent */

.faq-item::before {
    content: "";

    position: absolute;

    top: 20%;
    left: 0;

    width: 4px;
    height: 60%;

    background: var(--gold);

    border-radius: 0 999px 999px 0;

    transition:
        height 200ms ease,
        top 200ms ease;
}


.faq-item:hover {
    transform:
        translateY(-5px)
        translateX(2px);

    border-color:
        rgba(21, 101, 216, 0.2);

    box-shadow:
        0 16px 38px rgba(13, 39, 80, 0.09);
}


.faq-item:hover::before {
    top: 10%;

    height: 80%;
}


.faq-item h3 {
    margin: 0 0 12px;

    color: var(--navy);

    font-size: 1.18rem;
    font-weight: 850;

    letter-spacing: -0.025em;
}


.faq-item p {
    margin: 0;

    color: var(--muted);

    font-size: 0.95rem;

    line-height: 1.75;
}


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

.social-links {
    position: relative;

    padding: 120px 22px;

    background:
        radial-gradient(
            circle at 15% 25%,
            rgba(21, 101, 216, 0.35),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--navy),
            var(--navy-2)
        );

    overflow: hidden;
}


.social-links::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -160px;
    top: -160px;

    border:
        60px solid rgba(247, 189, 50, 0.07);

    border-radius: 50%;
}


.social-links::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -100px;
    bottom: -120px;

    background:
        radial-gradient(
            circle,
            rgba(247, 189, 50, 0.10),
            transparent 70%
        );

    border-radius: 50%;
}


.social-content {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 40px), var(--content));

    margin: 0 auto;

    text-align: center;
}


.social-content h2 {
    margin: 0 0 16px;

    color: var(--white);

    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 950;

    letter-spacing: -0.045em;
}


.social-content > p {
    max-width: 600px;

    margin: 0 auto 42px;

    color: #afc2df;

    font-size: 1.05rem;

    line-height: 1.7;
}


.social-buttons {
    display: flex;

    justify-content: center;

    gap: 18px;

    flex-wrap: wrap;
}


.social-btn {
    position: relative;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 16px 30px;

    background:
        rgba(255, 255, 255, 0.08);

    border:
        1px solid rgba(255, 255, 255, 0.14);

    border-radius: 999px;

    color: var(--white);

    text-decoration: none;

    font-size: 0.98rem;
    font-weight: 750;

    backdrop-filter: blur(12px);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    transition:
        transform 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}


.social-btn:hover {
    transform:
        translateY(-4px)
        scale(1.02);

    background:
        rgba(255, 255, 255, 0.14);

    border-color:
        rgba(247, 189, 50, 0.65);

    box-shadow:
        0 12px 32px rgba(0, 0, 0, 0.18);
}


.social-icon {
    display: grid;

    place-items: center;

    width: 32px;
    height: 32px;

    font-size: 1.35rem;

    transition:
        transform 180ms ease;
}


.social-btn:hover .social-icon {
    transform:
        scale(1.15)
        rotate(-5deg);
}


/* =========================================================
   ACCESSIBILITY / SMALL POLISH
   ========================================================= */

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.submit-btn:focus-visible,
.social-btn:focus-visible {
    outline:
        3px solid rgba(247, 189, 50, 0.55);

    outline-offset: 3px;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

    .info-container {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        max-width: 750px;
    }

}


@media (max-width: 720px) {

    .contact-hero {
        min-height: 370px;
    }

    .contact-hero h1 {
        font-size: clamp(2.4rem, 10vw, 3.4rem);
    }

    .contact-hero::before {
        font-size: 6rem;
        right: -15px;
    }

    .contact-info,
    .contact-form-section,
    .faq-section,
    .social-links {
        padding:
            80px 18px;
    }

    .form-container {
        padding:
            42px 24px;

        border-radius: 22px;
    }

    .info-card {
        padding:
            38px 26px;
    }

    .faq-item {
        padding:
            28px 26px 28px 30px;
    }

    .social-buttons {
        flex-direction: column;

        width: 100%;
    }

    .social-btn {
        justify-content: center;

        width: 100%;

        box-sizing: border-box;
    }

}