/* ================================
   Contact Page Specific Styles
   ================================ */

.contact-section {
    padding-top: 140px;
    min-height: 100vh;
}

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

/* ================================
   Header Animation
   ================================ */

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInDown 0.8s ease-out;
}

.contact-title {
    font-size: 48px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 18px;
    color: var(--secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   Layout
   ================================ */

.contact-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

/* ================================
   Form Card with Animation
   ================================ */

.form-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    animation: fadeInLeft 0.8s ease-out 0.2s backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', system-ui;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(162, 123, 92, 0.1);
    transform: translateY(-2px);
}

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

/* ================================
   Animated Submit Button
   ================================ */

.submit-button {
    width: 100%;
    padding: 16px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.submit-button::before {
    content: '';
    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 ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(162, 123, 92, 0.3);
}

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

.button-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.submit-button:hover .button-icon {
    transform: translateX(5px);
}

/* ================================
   Info Cards with Staggered Animation
   ================================ */

.info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-card:hover::before {
    transform: scaleY(1);
}

.email-card {
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
}

.location-card {
    animation: fadeInRight 0.8s ease-out 0.4s backwards;
}

.social-card {
    animation: fadeInRight 0.8s ease-out 0.5s backwards;
}

.info-card:hover {
    transform: translateX(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: white;
    transition: transform 0.3s ease;
}

.info-card:hover .card-icon {
    transform: rotate(10deg) scale(1.1);
}

.info-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary);
}

.info-card p {
    color: var(--secondary);
    font-size: 15px;
}

/* ================================
   Social Links
   ================================ */

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

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

.social-link:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-3px) rotate(5deg);
    box-shadow: 0 5px 15px rgba(162, 123, 92, 0.3);
}

/* ================================
   Keyframe Animations
   ================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ================================
   Responsive Design
   ================================ */

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-title {
        font-size: 36px;
    }

    .form-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding-top: 120px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 16px;
    }

    .social-links {
        justify-content: center;
    }
}