/* ============================================
   CONTACT PAGE CSS
   ============================================ */

/* Body Background */
body {
    background: var(--gray-100);
}

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 5rem 2rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.contact-hero p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 0;
}

/* Contact Info Cards */
.contact-info-section {
    padding: 4rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.info-card:hover .info-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-medium);
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-card p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.info-card a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Contact Form Section */
.contact-form-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 4rem 3rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--gray-200);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 2rem;
}

.form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--gray-100);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1);
    transform: translateY(-1px);
}

.form-control::placeholder {
    color: var(--gray-600);
    opacity: 0.7;
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
    font-family: inherit;
}

.form-error {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    background: var(--success-color);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-submit:active {
    transform: translateY(-1px);
}

/* Alert Messages */
.alert {
    padding: 1.2rem 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    border: none;
    position: relative;
    animation: slideInDown 0.5s ease;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #e74c3c;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-left: 4px solid var(--secondary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-hero p {
        font-size: 1rem;
    }

    .contact-info-section {
        padding: 2rem 1rem;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form-section {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .info-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 4rem 1rem 2rem;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-form-section {
        padding: 1.5rem 1rem;
    }
}
