/* Contact Page Specific Styles */

/* Hero Section */
.parallax-section {
    position: relative;
    height: 70vh;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/LOGO.png');
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    transform: scale(1.1);
    animation: float 6s ease-in-out infinite;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    color: var(--white);
    flex: 0 1 auto;
    min-width: 150px;
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: transform 0.3s var(--bezier-bounce);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.8;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    margin: 0 auto 1rem;
    position: relative;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scrollMouse 1.5s infinite;
}

/* Contact Form */
.contact-section {
    position: relative;
    margin-top: -120px;
    z-index: 2;
    padding: 0 1rem;
}

/* Two Column Layout */
.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin: -120px auto 0;
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

@media (max-width: 992px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: -80px;
    }
}

/* Contact Intro Section */
.contact-intro {
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s var(--bezier-bounce);
}

.contact-intro:hover {
    transform: translateY(-5px);
}

.intro-content {
    max-width: 450px;
    animation: fadeInUp 0.6s var(--bezier-bounce) forwards;
}

.contact-highlights {
    margin-top: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s var(--bezier-bounce);
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.95);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.6s var(--bezier-bounce) forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.floating-label {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-label .form-control {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.5);
}

.floating-label .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.floating-label label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 0.5rem;
    color: var(--gray);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-label .form-control:focus ~ label,
.floating-label .form-control:not(:placeholder-shown) ~ label {
    top: 0;
    font-size: 0.875rem;
    color: var(--primary-color);
    background: var(--white);
    font-weight: 500;
}

.form-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.form-control:focus ~ .form-indicator {
    width: 100%;
}

/* Contact Information Cards */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-card {
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s var(--bezier-bounce);
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.6s var(--bezier-bounce) forwards;
    opacity: 0;
}

.contact-card:nth-child(1) { animation-delay: 0.2s; }
.contact-card:nth-child(2) { animation-delay: 0.3s; }
.contact-card:nth-child(3) { animation-delay: 0.4s; }

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(var(--primary-color-rgb), 0.1) 0%, rgba(var(--primary-color-rgb), 0.05) 100%);
    transform: translateY(100%);
    transition: transform 0.6s var(--bezier-bounce);
    z-index: 0;
}

.contact-card:hover::before {
    transform: translateY(0);
}

.card-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    fill: var(--primary-color);
    transition: transform 0.3s var(--bezier-bounce);
}

.contact-card:hover .card-icon svg {
    transform: scale(1.1);
}

.hours-grid {
    display: grid;
    gap: 0.5rem;
}

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

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

/* Map Section */
.map-section {
    padding: 2rem 0;
    margin-top: 2rem;
    animation: fadeIn 0.6s var(--bezier-bounce) forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.map-container {
    position: relative;
    height: 450px;
    overflow: hidden;
    border-radius: 24px;
    margin: 0 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) scale(1.1); }
    50% { transform: translateY(-20px) scale(1.1); }
}

@keyframes scrollMouse {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hover-lift {
    transition: transform 0.3s var(--bezier-bounce);
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .parallax-section {
        height: 60vh;
    }

    .hero-background {
        background-size: 80%;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-item {
        min-width: 120px;
        padding: 0.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .contact-form, .contact-intro {
        padding: 2rem;
    }

    .form-grid {
        gap: 1.5rem;
    }

    .map-container {
        height: 350px;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        gap: 1rem;
    }

    .stat-item {
        min-width: 100px;
        padding: 0.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

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

.animated-link {
    position: relative;
    color: var(--primary-color);
    text-decoration: none;
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.animated-link:hover::after {
    width: 100%;
}

/* Success Message Animation */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    display: none;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
