/* Contact Page Specific Styles */

/* Contact Hero Section */
.contact-hero {
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    margin-top: 70px;
    overflow: hidden;
}

.contact-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: connection-move 25s linear infinite;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff, #00d4ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideInUp 1s ease-out both;
}

.contact-subtitle {
    font-size: 1.25rem;
    text-align: center;
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    animation: slideInUp 1s ease-out 0.2s both;
}

/* Contact Content Section */
.contact-content {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}

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

/* Contact Information */
.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.info-item:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.2);
}

.info-icon {
    width: 40px;
    height: 40px;
    color: #00d4ff;
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
}

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

.info-content a {
    color: #00d4ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #00ff7f;
}

.info-content p {
    color: #cccccc;
    margin: 0;
    line-height: 1.5;
}

.address-note {
    font-size: 0.9rem;
    color: #888888;
}

.office-hours {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.office-hours h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.hours-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    color: #cccccc;
    font-weight: 500;
}

.time {
    color: #00d4ff;
    font-weight: 500;
}

/* Contact Form */
.contact-form-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

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

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

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

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

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-group select {
    cursor: pointer;
}

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

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00d4ff, #00ff7f);
    color: #000000;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

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

.btn-text {
    transition: opacity 0.3s ease;
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 20px;
    height: 20px;
    color: #000000;
}

/* Form Success */
.form-success {
    background: rgba(0, 255, 127, 0.1);
    border: 1px solid rgba(0, 255, 127, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.success-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    color: #00ff7f;
}

.success-icon svg {
    width: 100%;
    height: 100%;
}

.form-success h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-success p {
    color: #cccccc;
    margin: 0;
}

/* Map Section */
.map-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #16213e 0%, #0f0f1a 100%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #ffffff;
}

.map-section .section-subtitle {
    font-size: 1.1rem;
    color: #888888;
    text-align: left;
    max-width: 1200px;
    margin: 0 auto 4rem;
    line-height: 1.6;
}

.map-container {
    max-width: 1200px;
    margin: 0 auto;
}

.google-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.3);
    position: relative;
    min-height: 600px;
}

/* Map Loading State */
.map-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
    background: rgba(15, 15, 26, 0.8);
}

.map-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.map-loading p {
    color: #00d4ff;
    font-size: 1rem;
}

/* Map Error State */
.map-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 600px;
    text-align: center;
    padding: 2rem;
}

.map-error p {
    color: #cccccc;
    margin: 1rem 0;
}

.retry-button {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid #00d4ff;
    color: #00d4ff;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

.retry-button:hover {
    background: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.map-content {
    text-align: center;
    z-index: 2;
}

.map-pin {
    width: 60px;
    height: 60px;
    color: #00d4ff;
    margin: 0 auto 1rem;
    animation: map-bounce 2s ease-in-out infinite;
}

.map-pin svg {
    width: 100%;
    height: 100%;
}

.map-info h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.map-info p {
    color: #cccccc;
    margin-bottom: 1rem;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.map-link:hover {
    color: #00ff7f;
}

.map-link svg {
    width: 16px;
    height: 16px;
}

/* Active Navigation Link */
.nav-link.active {
    color: #00d4ff;
}

.nav-link.active::after {
    width: 100%;
}

/* Animations */
@keyframes connection-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

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

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

/* AOS Animation Classes */
[data-aos="fade-right"] {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

[data-aos="fade-left"] {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-aos].animate {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
        min-height: 300px;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-info {
        order: 1;
    }

    .contact-form-container {
        order: 2;
    }

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

    .info-items {
        gap: 1.5rem;
    }

    .info-item {
        padding: 1rem;
    }

    .office-hours {
        padding: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .hours-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .google-map {
        min-height: 300px;
        box-shadow: 0 10px 20px rgba(0, 212, 255, 0.15);
    }
    
    .google-map iframe {
        height: 300px !important;
    }
}

@media (max-width: 480px) {
    .contact-content,
    .map-section {
        padding: 4rem 0;
    }

    .contact-info h2,
    .contact-form-container h2 {
        font-size: 1.5rem;
    }

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

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .google-map {
        border-radius: 15px;
        min-height: 250px;
        box-shadow: 0 10px 20px rgba(0, 212, 255, 0.1);
    }
    
    .google-map iframe {
        height: 250px !important;
    }
} 