/* ===================================
   ContactUs Page Stylesheet
   =================================== */

:root {
    --color-primary: #f59e0b;
    --color-primary-dark: #d97706;
    --color-secondary-bg: #e5e7eb;
    --color-main-bg: #f3f4f6;
    --color-text-dark: #1f2937;
    --color-text-light: #4b5563;
    --color-text-title: #111827;
    --color-border: #d1d5db;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    overflow-x: hidden;
    width: 100%;
    height: 100%;
}

html,
body {
    max-width: 100%;
    position: relative;
}

body {
    font-family: 'Inter', 'Roboto', sans-serif;
    background-color: var(--color-main-bg);
    color: var(--color-text-dark);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 0;
    flex-direction: column;
    overflow-x: hidden;
    line-height: 1.6;
    width: 100%;
    touch-action: pan-y;
    height: auto;
}

.wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 92rem;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .wrapper {
        min-height: 100vh;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .wrapper {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Header */
.header {
    width: 100%;
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-wrap: wrap;
    gap: 1rem;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3000px;
    height: 1px;
    background-color: var(--color-border);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    height: 2.5rem;
    width: auto;
}

@media (min-width: 640px) {
    .logo-image {
        height: 3rem;
    }
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-title);
    letter-spacing: 0.05em;
}

@media (min-width: 640px) {
    .logo-text {
        font-size: 1.25rem;
    }
}

.connect-link {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-primary);
    transition: all 150ms ease-in-out;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    background-color: var(--color-secondary-bg);
    text-decoration: none;
    white-space: nowrap;
}

@media (min-width: 640px) {
    .connect-link {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
    }
}

.connect-link:hover {
    color: var(--color-primary-dark);
    background-color: #d1d5db;
}

.connect-link:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
}

/* Main Content */
.main-content {
    flex-grow: 0;
    width: 100%;
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 768px) {
    .main-content {
        flex-grow: 1;
        padding-top: 4rem;
        padding-bottom: 2.5rem;
    }
}

.page-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-text-title);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .page-title {
        font-size: 2rem;
    }
}

@media (min-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
}

.page-subtitle {
    text-align: center;
    font-size: 1rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .page-subtitle {
        font-size: 1.125rem;
        margin-bottom: 3rem;
    }
}

/* Contact Grid */
.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 28rem;
}

@media (min-width: 640px) {
    .contact-grid {
        flex-direction: row;
        max-width: 60rem;
    }
}

.contact-item {
    background-color: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    text-align: center;
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.icon-svg {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    padding: 0.5rem;
    box-sizing: content-box;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item:hover .icon-svg {
    transform: translateY(-2px);
}

.svg-email,
.svg-linkedin,
.svg-instagram {
    color: white;
    background-color: var(--color-primary);
}

.item-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-title);
    margin-bottom: 0.5rem;
}

.item-text {
    color: var(--color-text-light);
    font-size: 0.875rem;
    word-break: break-word;
}

@media (min-width: 640px) {
    .item-text {
        font-size: 0.9rem;
    }
}

/* Footer */
.footer {
    width: 100%;
    margin-top: auto;
    padding: 0.75rem 0.5rem;
    text-align: center;
    font-size: 0.65rem;
    color: var(--color-text-light);
    position: relative;
    line-height: 1.4;
}

.footer p {
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    user-select: none;
    -webkit-user-select: none;
}

@media (min-width: 640px) {
    .footer {
        font-size: 0.875rem;
        padding: 1rem 0;
    }
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
}