@import url('https://fonts.googleapis.com/css2?family=DotGothic16&family=Jersey+10&family=VT323&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #EEDCEF;
    color: #3F1C26;
    font-family: 'DotGothic16', monospace;
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font-family: inherit;
}

::selection {
    background: #59438D;
    color: #EEDCEF;
}




.navbar {
    width: 100%;
    padding: 22px 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.home-link {
    position: relative;
    font-family: 'VT323', monospace;
    font-size: 1.35rem;
    color: #EEDCEF;
    padding: 5px 12px;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255, 255, 255, 0.16),
        inset -2px -2px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 0 #24132C;
    border-radius: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.home-link::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.home-link::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(20, 15, 35, 0.4);
    pointer-events: none;
}

.home-link span {
    color: #EEDCEF;
    margin-right: 5px;
    text-shadow: 0 0 7px rgba(89, 67, 141, 0.65);
}

.home-link:hover {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 16px rgba(89, 67, 141, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.2),
        inset -2px -2px 0 rgba(0, 0, 0, 0.22);
}

.home-link:hover span {
    color: #EEDCEF;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-links a {
    position: relative;
    display: inline-block;
    min-width: 92px;
    padding: 9px 15px 8px;
    color: #EEDCEF;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    font-family: 'VT323', monospace;
    font-size: 1.15rem;
    line-height: 1.1;
    text-align: center;
    letter-spacing: 0.02em;
    box-shadow:
        4px 4px 0 #24132C,
        inset 2px 2px 0 rgba(255, 255, 255, 0.18),
        inset -2px -2px 0 rgba(0, 0, 0, 0.28);
    border-radius: 10px;
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.nav-links a::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 4px;
    right: 4px;
    height: 2px;
    background: rgba(255, 255, 255, 0.16);
    pointer-events: none;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: rgba(20, 15, 35, 0.35);
    pointer-events: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #EEDCEF;
    background: #59438D;
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    border-right-color: #24132C;
    border-bottom-color: #24132C;
    transform: translate(-2px, -2px);
    box-shadow:
        6px 6px 0 #24132C,
        0 0 14px rgba(89, 67, 141, 0.28),
        inset 2px 2px 0 rgba(255, 255, 255, 0.22),
        inset -2px -2px 0 rgba(0, 0, 0, 0.22);
}

.nav-links a:active {
    transform: translate(2px, 2px);
    background: #3F1C26;
    border-top-color: #24132C;
    border-left-color: #24132C;
    border-right-color: #723D51;
    border-bottom-color: #723D51;
    box-shadow:
        1px 1px 0 #24132C,
        inset 2px 2px 0 rgba(0, 0, 0, 0.22),
        inset -2px -2px 0 rgba(255, 255, 255, 0.12);
}

.menu-toggle {
    display: none;
    border: none;
    background: none;
    color: #3F1C26;
    font-size: 1.7rem;
    cursor: pointer;
}




.contact-hero {
    min-height: 650px;
    padding: 160px 8% 100px;
    display: flex;
    align-items: left;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
    background: #EEDCEF;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    flex: 1 1 500px;
}

.contact-hero h1 {
    font-family: 'Jersey 10', monospace;
    font-size: clamp(2.15rem, 5vw, 4.5rem);
    line-height: 1.0;
    letter-spacing: 0.03em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175, 125, 135, 0.5);
}

.contact-hero h1 span {
    color: #59438D;
}

.hero-tagline {
    margin-top: 25px;
    color: #59438D;
    font-family: 'VT323', monospace;
    font-size: 1.6rem;
}

.hero-description {
    max-width: 680px;
    margin-top: 15px;
    color: rgba(63, 28, 38, 0.75);
    font-family: 'DotGothic16', monospace;
    font-size: 0.95rem;
    line-height: 1.9;
    font-weight: bold;
}

.hero-image {
    width: min(30vw, 420px);
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-figure {
    width: 100%;
}

.hero-figure img {
    display: block;
    width: 100%;
    height: auto;
    border: 2px solid #723D51;
    box-shadow: 5px 5px 0 #24132C;
}

.hero-figure figcaption {
    margin-top: 10px;
    padding: 6px 10px;
    text-align: center;
    color: #AF7D87;
    background: #3F1C26;
    border: 1px solid #723D51;
    font-family: 'VT323', monospace;
    font-size: 1rem;
    letter-spacing: 0.05em;
}



.contact-section {
    padding: 100px 8%;
    background: #EEDCEF;
    border-top: 1px solid rgba(89, 67, 141, 0.08);
    border-bottom: 1px solid rgba(89, 67, 141, 0.08);
}

.section-heading {
    max-width: 750px;
    margin-bottom: 55px;
}

.section-heading h2,
.social-heading h2,
.final-content h2 {
    margin-top: 0;
    font-family: 'Jersey 10', monospace;
    font-size: clamp(1.6rem, 4vw, 3rem);
    line-height: 1.5;
    letter-spacing: -0.03em;
    color: #3F1C26;
    text-shadow: 4px 4px 0 rgba(175, 125, 135, 0.5);
}

.section-heading h2 span,
.social-heading h2 span,
.final-content h2 span {
    color: #59438D;
}

.section-heading > p,
.social-heading > p {
    max-width: 680px;
    margin-top: 20px;
    color: rgba(63, 28, 38, 0.75);
    font-family: 'VT323', monospace;
    font-size: 1.25rem;
    line-height: 1.65;
}




.contact-grid {
    display: flex;
    justify-content: flex-start;
}

.contact-form-box {
    width: min(720px, 100%);
    background: #3F1C26;
    border: 2px solid #723D51;
    box-shadow:
        7px 7px 0 #24132C,
        inset 0 0 0 2px #59438D;
}

.form-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    background: #24132C;
    border-bottom: 2px solid #723D51;
    color: #AF7D87;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
}

form {
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #AF7D87;
    font-family: 'Jersey 10', monospace;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid #723D51;
    outline: none;
    resize: vertical;
    background: #24132C;
    color: #EEDCEF;
    font-family: 'VT323', monospace;
    font-size: 1.25rem;
    box-shadow:
        inset 2px 2px 0 rgba(0, 0, 0, 0.25);
    transition: 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #59438D;
    box-shadow:
        0 0 12px rgba(89, 67, 141, 0.2),
        inset 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(238, 220, 239, 0.35);
}




.send-button {
    width: 100%;
    padding: 14px 22px;
    border: 3px solid #AF7D87;
    background: #723D51;
    color: #EEDCEF;
    cursor: pointer;
    font-family: 'DotGothic16', monospace;
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    box-shadow:
        4px 4px 0 #24132C,
        inset 1px 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        transform 0.12s steps(2),
        background 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.send-button::before {
    content: "▶";
    margin-right: 8px;
    color: #EEDCEF;
    font-size: 0.75rem;
}

.send-button:hover {
    transform: translate(-2px, -2px);
    background: #59438D;
    border-color: #EEDCEF;
    box-shadow:
        6px 6px 0 #24132C,
        0 0 16px rgba(89, 67, 141, 0.3);
}

.send-button:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0 #24132C;
}

.form-message {
    min-height: 20px;
    margin-top: 12px;
    color: #59438D;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    text-align: center;
}




.social-section {
    padding: 100px 8%;
    background: #EEDCEF;
}

.social-heading {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.social-card {
    min-height: 220px;
    padding: 0;
    position: relative;
    background: #3F1C26;
    border: 3px solid #723D51;
    border-top-color: #59438D;
    border-left-color: #723D51;
    border-radius: 10px;
    overflow: hidden;
    box-shadow:
        6px 6px 0 #24132C,
        inset 2px 2px 0 rgba(255, 255, 255, 0.14),
        inset -2px -2px 0 rgba(0, 0, 0, 0.32);
    transition:
        transform 0.12s steps(2),
        border-color 0.12s steps(2),
        box-shadow 0.12s steps(2);
}

.social-card:hover {
    transform: translate(-3px, -4px);
    border-top-color: #EEDCEF;
    border-left-color: #EEDCEF;
    box-shadow:
        9px 9px 0 #24132C,
        0 0 20px rgba(89, 67, 141, 0.18),
        inset 2px 2px 0 rgba(255, 255, 255, 0.18),
        inset -2px -2px 0 rgba(0, 0, 0, 0.28);
}

.social-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    background: #24132C;
    border-bottom: 3px solid #723D51;
}

.social-card-header h3 {
    margin: 0;
    font-family: 'Jersey 10', monospace;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #EEDCEF;
}

.social-card-body {
    padding: 22px 22px 26px;
    text-align: center;
}

.social-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: pixelated;
}

.social-card-body p {
    margin-top: 14px;
    color: rgba(238, 220, 239, 0.75);
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    line-height: 1.55;
}

.social-card-body a {
    color: #AF7D87;
    transition: 0.2s;
}

.social-card-body a:hover {
    color: #EEDCEF;
}




footer {
    padding: 40px 8%;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(89, 67, 141, 0.25);
    background: #24132C;
    color: rgba(238, 220, 239, 0.65);
    font-family: 'DotGothic16', monospace;
    font-size: 1rem;
}




@media (max-width: 900px) {

    .contact-hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-content {
        flex: 1 1 auto;
    }

    .hero-image {
        width: min(45vw, 320px);
    }

}




@media (max-width: 700px) {

    .navbar {
        padding: 20px 6%;
    }

    .menu-toggle {
        display: block;
        position: relative;
        z-index: 102;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 6%;
        right: 6%;
        width: auto;
        background: #3F1C26;
        border: 2px solid rgba(89, 67, 141, 0.3);
        padding: 20px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        box-shadow: 6px 6px 0 rgba(36, 19, 44, 0.25);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 12px;
        font-size: 1.05rem;
    }

    .contact-hero {
        min-height: auto;
        padding: 130px 6% 75px;
        gap: 35px;
    }

    .contact-hero h1 {
        font-size: clamp(1.85rem, 8vw, 3.4rem);
        line-height: 1.35;
    }

    .hero-tagline {
        font-size: 1.35rem;
    }

    .hero-description {
        font-size: 0.82rem;
        line-height: 1.9;
    }

    .hero-image {
        width: min(70vw, 300px);
    }

    .contact-section {
        padding: 65px 6%;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .social-heading h2,
    .final-content h2 {
        font-size: clamp(1.35rem, 7vw, 2.2rem);
    }

    .section-heading > p,
    .social-heading > p {
        font-size: 1.1rem;
    }

    form {
        padding: 26px;
    }

    .social-section {
        padding: 65px 6%;
    }

    .social-heading {
        margin-bottom: 30px;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .social-card {
        min-height: auto;
    }

    .social-card-icon {
        width: 42px;
        height: 42px;
    }

    footer {
        padding: 35px 6%;
        flex-direction: column;
        text-align: center;
    }

}




@media (max-width: 450px) {

    .form-group label {
        font-size: 0.82rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 1.1rem;
    }

    .send-button {
        font-size: 1rem;
    }

    .social-card-icon {
        width: 38px;
        height: 38px;
    }

    .hero-image {
        width: min(80vw, 260px);
    }

    .hero-figure figcaption {
        font-size: 0.85rem;
    }

}