/* Laura Chou Portfolio - Contact Page Styles */

/* Contact Section */
.contact-section {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    text-align: center;
}

.contact-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.contact-image {
    width: 300px;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    z-index: 2;
    animation: imageFloat 4s ease-in-out infinite;
}

@keyframes imageFloat {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(5deg); }
}

.image-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--accent-gradient);
    border-radius: 25px;
    filter: blur(20px);
    opacity: 0.6;
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.contact-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-details p {
    color: #b8c6db;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: methodSlide 0.6s ease-out forwards;
    opacity: 0;
    transform: translateX(-50px);
}

@keyframes methodSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-method:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.method-icon {
    background: var(--accent-gradient);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.method-info h3 {
    color: var(--tech-blue);
    margin-bottom: 0.5rem;
}

.method-info a {
    color: #b8c6db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-info a:hover {
    color: var(--tech-blue);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2rem;
    display: none;
}

.contact-form h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b8c6db;
    font-weight: 500;
    transition: all 0.3s ease;
}

.form-group.focused label {
    color: var(--tech-blue);
    transform: translateY(-5px);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: inherit;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-blue);
    background: rgba(0, 255, 255, 0.1);
}

.input-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.form-group.focused .input-glow {
    transform: scaleX(1);
}

.submit-btn {
    width: 100%;
    background: var(--accent-gradient);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.4);
}

.submit-btn.submitting {
    pointer-events: none;
}

.submit-btn.submitting i {
    animation: spin 1s linear infinite;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover .btn-glow {
    left: 100%;
}

/* Social Section */
.social-section {
    padding: 4rem 2rem;
    text-align: center;
}

.social-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-container p {
    color: #b8c6db;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.social-link:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-10px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
    text-decoration: none;
    color: white;
}

.social-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon.bounce {
    animation: bounce 0.6s ease;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.twitter .social-icon { background: linear-gradient(135deg, #1da1f2, #0d8bd9); }
.instagram .social-icon { background: linear-gradient(135deg, #e4405f, #833ab4, #f77737); }
.github .social-icon { background: linear-gradient(135deg, #333, #666); }
.linkedin .social-icon { background: linear-gradient(135deg, #0077b5, #005885); }

.social-info{
    position: absolute;
    top: 60px;
}
.social-info h5 {
    margin-bottom: 0.5rem;
    color: var(--tech-blue);
}

.social-info p {
    color: #b8c6db;
    margin: 0;
    white-space: nowrap;
}

/* Quick Response Section */
.quick-response {
    padding: 4rem 2rem;
    text-align: center;
}

.response-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.response-container:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 30px 60px rgba(0, 255, 255, 0.2);
}

.response-icon {
    font-size: 4rem;
    color: var(--tech-blue);
    margin-bottom: 1rem;
    animation: rocketFloat 3s ease-in-out infinite;
}

@keyframes rocketFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(10deg); }
}

.response-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.response-content p {
    color: #b8c6db;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.response-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.response-btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.response-btn.primary {
    background: var(--accent-gradient);
    color: white;
}

.response-btn.secondary {
    background: transparent;
    color: var(--tech-blue);
    border: 2px solid var(--tech-blue);
}

.response-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 172, 254, 0.3);
    text-decoration: none;
    color: white;
}

/* Success Modal */
.success-modal {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    margin: 15% auto;
    padding: 3rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    color: white;
    animation: modalSlideIn 0.5s ease-out;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-modal h2 {
    margin-bottom: 1rem;
    color: var(--tech-blue);
}

.success-modal p {
    color: #b8c6db;
    margin-bottom: 2rem;
}

.close-success-btn {
    background: var(--accent-gradient);
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-success-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(79, 172, 254, 0.3);
}

/* Page Loader - Contact Specific */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-top: 2px solid var(--tech-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-image {
        width: 250px;
        height: 300px;
    }

    .contact-methods {
        gap: 1rem;
    }

    .social-links {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .response-buttons {
        flex-direction: column;
        align-items: center;
    }

    .response-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}


.page-container {
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 100px;
}

.hero-section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    padding: 2rem;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 2s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    from { filter: drop-shadow(0 0 20px rgba(79, 172, 254, 0.5)); }
    to { filter: drop-shadow(0 0 30px rgba(79, 172, 254, 0.8)); }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #b8c6db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(0, 255, 255, 0.1);
}

.contact-icon {
    font-size: 2rem;
    color: var(--tech-blue);
    margin-right: 1.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-details h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #b8c6db;
    margin: 0;
}

.contact-details a {
    color: var(--tech-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #ffffff;
}

.contact-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.contact-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--tech-blue);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 172, 254, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 5.5rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--tech-blue);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--accent-gradient);
    color: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.3);
}

.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loader {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-top: 2px solid var(--tech-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .contact-image {
        width: 250px;
        height: 320px;
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

   

    .page-container {
        padding-top: 0;
        padding-bottom: 120px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1rem;
    }

    .contact-section {
        padding: 1rem;
    }

    .contact-info,
    .contact-form-container {
        padding: 1.5rem;
    }

    .contact-image {
        width: 200px;
        height: 260px;
    }

    .contact-methods {
        gap: 1rem;
    }

    .contact-method {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .social-section {
        padding: 2rem 1rem;
    }

    .social-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .social-link {
        width: 70px;
        height: 70px;
        font-size: 1.3rem;
        flex-direction: column;
        padding: 0.5rem;
    }

    .social-info {
        margin-top: 0.5rem;
    }

    .social-info h3 {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }

    .social-info p {
        font-size: 0.7rem;
           
    }

    .quick-response {
        padding: 2rem 1rem;
    }

    .response-buttons {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .contact-container {
        padding: 0.5rem;
        gap: 1.5rem;
    }

    .contact-form-container {
        padding: 1rem;
    }

    .contact-image {
        width: 150px;
        height: 200px;
    }

    .contact-details h2 {
        font-size: 1.5rem;
    }

    .contact-method {
        padding: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .social-link {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .social-info h3 {
        font-size: 0.7rem;
    }

    .social-info p {
        font-size: 0.6rem;
    }

    .response-content h2 {
        font-size: 1.3rem;
    }

    .response-content p {
        font-size: 0.9rem;
    }

    .response-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}
