/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    padding: 5rem 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
    pointer-events: none;
}

/* Contact Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.contact-form:hover::before {
    opacity: 1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 0.75rem;
    width: 100%;
    margin-bottom: 1.25rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #D4AF37;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.contact-form .input-group {
    position: relative;
}

.contact-form .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.contact-form input:focus + .input-icon,
.contact-form textarea:focus + .input-icon {
    color: #D4AF37;
}

/* Contact Info Cards */
.contact-info-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #D4AF37;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-info-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
}

.contact-info-card:hover::before {
    height: 100%;
}

.contact-info-icon {
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

/* Social Media Icons */
.social-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    color: white;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-right: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon:hover {
    background: #D4AF37;
    color: #0A0A0A;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
}

/* Map Section */
.map-section {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.2);
}

.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.map-section:hover .map-overlay {
    opacity: 0.3;
}

.map-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 2;
    display: flex;
    gap: 1rem;
}

.map-btn {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background: rgba(10, 10, 10, 0.8);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.map-btn:hover {
    background: #D4AF37;
    color: #0A0A0A;
    transform: translateY(-2px);
}

/* Floating Elements */
.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(5px);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form {
        padding: 1.75rem;
        border-radius: 1rem;
    }
    
    .contact-info-card {
        margin-bottom: 1.5rem;
        padding: 1.5rem;
    }
    
    .map-container {
        min-height: 350px;
    }
    
    .map-controls {
        bottom: 1rem;
        right: 1rem;
    }
    
    .map-btn {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 0.5rem;
    }
}

/* Form Submit Button */
.btn-submit {
    background: linear-gradient(135deg, #D4AF37 0%, #C19A3C 100%);
    color: #0A0A0A;
    font-weight: 600;
    padding: 0.875rem 2rem;
    border-radius: 0.75rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #C19A3C 0%, #D4AF37 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(212, 175, 55, 0.3);
}

.btn-submit:hover::before {
    opacity: 1;
}

/* Section Headings */
.section-heading {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 3.5rem;
    height: 3px;
    background: #D4AF37;
    border-radius: 3px;
}

/* Animated Background Elements */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.15;
    z-index: 0;
}

.bg-blob-1 {
    width: 400px;
    height: 400px;
    background: #D4AF37;
    top: -100px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.bg-blob-2 {
    width: 300px;
    height: 300px;
    background: #6C63FF;
    bottom: -50px;
    left: -50px;
    animation: float 12s ease-in-out infinite reverse;
}

/* Form Success/Error Messages */
.form-message {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    display: none;
}

.form-message.success {
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    color: #34D399;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #EF4444;
}

/* Loading Spinner */
.spinner {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #D4AF37;
    animation: spin 1s ease-in-out infinite;
    margin: 0 auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
