/* Contact Page Styles */

/* Prevent horizontal overflow from floating orbs */
html, body {
    overflow-x: hidden;
}

/* Hide hero background only */
.hero-background {
    display: none !important;
}

.wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #14b8a6 0%, #3b82f6 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 50% 0%; }
}

.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.2));
    backdrop-filter: blur(10px);
    animation: float 6s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    top: 50%;
    right: -100px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    bottom: -125px;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.home-logo {
    text-align: center;
    padding: 40px 20px 0;
    position: relative;
    z-index: 1;
}

.home-logo .logo-link {
    font: 900 3rem asap, arial;
    color: white;
    letter-spacing: -1px;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.home-logo .logo-link:hover {
    text-decoration: none;
    color: #f59e0b;
    transform: scale(1.05);
}

.hero-section {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease-out;
}

.title-icon {
    width: 64px;
    height: 64px;
    color: #f59e0b;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s both;
}

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

.contact-main {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 100px;
}

.alert-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    animation: slideInDown 0.6s ease-out;
}

.alert-card.error {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
    border-color: rgba(239, 68, 68, 0.3);
}

.alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.alert-content p {
    margin: 0;
    opacity: 0.9;
}

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

.glass-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.1);
    animation: slideInUp 0.8s ease-out 0.3s both;
    margin-bottom: 2rem;
}

.success-container {
    text-align: center;
}

.success-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.success-icon {
    width: 48px;
    height: 48px;
    color: #16A34A;
    flex-shrink: 0;
}

.success-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #16A34A;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.success-content p {
    color: rgba(22, 163, 74, 0.9);
    font-size: 1rem;
}

.success-actions {
    margin-top: 1rem;
}

.contact-methods-container {
    margin-top: 2rem;
}

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

.intro-section {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.intro-section p {
    font-size: 1.1rem;
    color: white;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.modern-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.required {
    color: #f59e0b;
}

.optional {
    color: rgba(255,255,255,0.6);
    font-weight: normal;
    font-style: italic;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-sizing: border-box;
    resize: vertical;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(255,255,255,0.6);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: #f59e0b;
    background: rgba(255,255,255,0.15);
    box-shadow: 0 0 0 4px rgba(255,107,53,0.1);
}

.form-textarea {
    min-height: 150px;
    line-height: 1.6;
}

.character-count {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    text-align: right;
}

.character-count .current {
    color: #f59e0b;
    font-weight: bold;
}

.validation-message {
    color: #f59e0b;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    margin-top: 2rem;
}

.primary-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border: none;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 4px 15px rgba(255,107,53,0.4);
    min-width: 180px;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #E55A2B 0%, #E8821A 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,107,53,0.5);
    text-decoration: none;
    color: white;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.secondary-btn:hover {
    background: rgba(255,255,255,0.3);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    text-decoration: none;
    color: white;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

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

.contact-methods {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-method-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.method-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(255,107,53,0.3);
}

.method-icon svg {
    width: 24px;
    height: 24px;
}

.method-details {
    flex: 1;
}

.method-label {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.method-value {
    font-size: 0.9rem;
}

.method-value a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.method-value a:hover {
    color: #f59e0b;
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .home-logo .logo-link {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .title-icon {
        width: 48px;
        height: 48px;
    }

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

    .glass-container {
        padding: 2rem;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .primary-btn, .secondary-btn {
        width: 100%;
        justify-content: center;
    }

    .success-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .success-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 80px 0 60px;
    }

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

    .contact-main {
        padding: 0 15px 60px;
    }

    .glass-container {
        padding: 1.5rem;
    }

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

    .modern-form {
        gap: 1.5rem;
    }

    .home-logo .logo-link {
        font-size: 2rem;
    }

    .contact-method-card {
        padding: 1rem;
        gap: 0.75rem;
    }

    .method-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
    }

    .method-icon svg {
        width: 20px;
        height: 20px;
    }
}
