/* contact.css */
/* reset stuff */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --main-color: #0a192f;
    --secondary-color: #64ffda;
    --text-color: #8892b0;
    --light-text: #ccd6f6;
    --card-bg: #112240;
    --border-color: #233554;
    --accent: #ff6b6b;
    --shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
    --form-bg: #0d1b36;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--main-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* helper class */
.wrap-it {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* top bar - same as home */
.top-thing {
    background-color: rgba(10, 25, 47, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.top-thing .wrap-it {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.my-brand {
    flex: 1;
}

.brand-txt {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.links-box {
    display: flex;
    gap: 30px;
}

.page-link {
    color: var(--light-text);
    text-decoration: none;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.page-link:hover {
    color: var(--secondary-color);
}

.page-link.current {
    color: var(--secondary-color);
}

.page-link.current::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
}

.menu-btn {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--secondary-color);
    font-size: 1.2rem;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

/* contact top section */
.contact-top {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--main-color) 0%, #0d1b36 100%);
}

.contact-heading {
    text-align: center;
    margin-bottom: 60px;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1.1;
    margin-bottom: 15px;
}

.highlight-word {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.highlight-word::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: var(--secondary-color);
    opacity: 0.2;
    z-index: -1;
}

.contact-sub {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.title-line {
    width: 100px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
}

/* contact grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* left side - form */
.contact-left {
    background-color: var(--form-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
}

.form-title {
    font-size: 2rem;
    color: var(--light-text);
    margin-bottom: 10px;
}

.form-note {
    color: var(--text-color);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--light-text);
    font-weight: 500;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--light-text);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    padding: 12px 0;
    outline: none;
    resize: vertical;
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2364ffda' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    transition: background-color 0.3s ease;
}

.form-footer {
    margin-top: 40px;
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--secondary-color);
    color: var(--main-color);
    padding: 15px 30px;
    border-radius: 6px;
    border: none;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.submit-btn:hover {
    background-color: #52e0c4;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(100, 255, 218, 0.2);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-hint {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-color);
}

.email-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.email-link:hover {
    text-decoration: underline;
}

/* right side - contact methods */
.contact-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.info-title {
    font-size: 1.5rem;
    color: var(--light-text);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(35, 53, 84, 0.5);
}

.contact-method:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.method-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.method-content {
    flex: 1;
}

.method-title {
    font-size: 1.1rem;
    color: var(--light-text);
    margin-bottom: 5px;
}

.method-detail {
    display: block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px;
    word-break: break-all;
}

.method-detail:hover {
    text-decoration: underline;
}

.method-note {
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* FAQ box */
.faq-box {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
}

.faq-title {
    font-size: 1.3rem;
    color: var(--light-text);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: rgba(35, 53, 84, 0.3);
    color: var(--light-text);
    font-weight: 500;
}

.faq-q i {
    color: var(--secondary-color);
}

.faq-a {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-color);
    line-height: 1.6;
}

.faq-item.open .faq-a {
    padding: 15px;
    max-height: 200px;
}


/* footer - same as home */
.bottom-thing {
    background-color: #0a0f1c;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'JetBrains Mono', monospace;
}

.footer-motto {
    font-size: 0.95rem;
    line-height: 1.7;
}

.links-heading {
    color: var(--light-text);
    font-size: 1.2rem;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
}

.footer-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-link.current {
    color: var(--secondary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    color: var(--light-text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--secondary-color);
    color: var(--main-color);
    transform: translateY(-3px);
}

.copyright-line {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

/* responsive stuff */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-title {
        font-size: 2.8rem;
    }
    
    .contact-left, .contact-right {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .links-box {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--main-color);
        flex-direction: column;
        padding: 20px;
        border-top: 1px solid var(--border-color);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .links-box.show {
        transform: translateY(0);
    }
    
    .menu-btn {
        display: block;
    }
    
    .page-link {
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }
    
    .page-link:last-child {
        border-bottom: none;
    }
    
    .contact-title {
        font-size: 2.3rem;
    }
    
    .contact-top {
        padding: 60px 0 40px;
    }
    
    .contact-left, .contact-right {
        padding: 25px;
    }
    
    .map-visual {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-sub {
        font-size: 1.1rem;
    }
    
    .form-title {
        font-size: 1.5rem;
    }
    
    .submit-btn {
        padding: 12px 20px;
    }
    
    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .map-title {
        font-size: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}