
/* Hero Section */
.contact-hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: var(--text-light);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 26, 0.5) 100%),
                url('https://ik.imagekit.io/movodevmaz/img/Banner%20Size%202.jpg?updatedAt=1753602508577');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 110, 0.15) 0%, transparent 70%);
    animation: float 8s ease-in-out infinite;
    z-index: 2;
}

.contact-hero .container {
    position: relative;
    z-index: 3;
}

.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
    font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.contact-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form Section */
.contact-form-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8f9fa 100%);
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid rgba(201, 169, 110, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.03) 0%, transparent 70%);
    z-index: 1;
}

.form-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.form-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.form-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.contact-form {
    position: relative;
    z-index: 2;
}

.form-group {
    position: relative;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.form-label i {
    color: var(--accent-color);
    width: 20px;
}

.form-control {
    border: 2px solid rgba(201, 169, 110, 0.2);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(201, 169, 110, 0.25);
    background: rgba(255, 255, 255, 1);
    outline: none;
}

.form-control:valid {
    border-color: #28a745;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

select.form-control {
    cursor: pointer;
}

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

.form-feedback {
    font-size: 0.875rem;
    margin-top: 8px;
    min-height: 20px;
}

.form-feedback.valid {
    color: #28a745;
}

.form-feedback.invalid {
    color: #dc3545;
}

/* Form validation styles */
.form-control.is-valid {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.25);
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Loading button styles */
.btn-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Submit Button */
.btn-submit {
    background: var(--gradient-gold);
    border: none;
    padding: 18px 48px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    color: var(--primary-color);
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    min-width: 200px;
}

.btn-submit::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;
}

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

.btn-submit:hover {
    background: var(--accent-dark);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 110, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 60px 40px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: var(--border-radius-lg);
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.success-content i {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 24px;
}

.success-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.success-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Contact Info Section */
.contact-info-section {
    padding: 120px 0;
    background: var(--primary-color);
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.contact-details {
    color: var(--text-light);
}

.contact-details h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
}

.contact-details > p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border: 1px solid rgba(201, 169, 110, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 24px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-content h5 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 12px;
}

.contact-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    line-height: 1.6;
}

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

.contact-content a:hover {
    color: var(--accent-color);
}

/* Map Container */
.map-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
}

.map-wrapper {
    position: relative;
    height: 450px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

.map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 10, 10, 0.9));
    padding: 40px 30px 30px;
    color: var(--text-light);
}

.map-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--accent-color);
}

.map-info p {
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.btn-directions {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.btn-directions:hover {
    background: var(--accent-light);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 169, 110, 0.3);
}

/* Quick Contact Section */
.quick-contact-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f8f9fa 100%);
    position: relative;
}

.quick-contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.quick-contact-wrapper {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(201, 169, 110, 0.1);
}

.quick-contact-wrapper h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.quick-contact-wrapper p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.quick-contact-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.btn-quick-contact {
    display: flex;
    align-items: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-quick-contact i {
    font-size: 1.2rem;
    margin-right: 12px;
}

.btn-quick-contact:first-child {
    background: var(--gradient-gold);
    color: var(--primary-color);
    box-shadow: var(--shadow-gold);
}

.btn-quick-contact:first-child:hover {
    background: var(--accent-dark);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(201, 169, 110, 0.4);
}

.btn-quick-contact.whatsapp {
    background: #25D366;
    color: white;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-quick-contact.whatsapp:hover {
    background: #128C7E;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
}

/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .contact-form-wrapper {
        padding: 40px 30px;
        margin: 0 15px;
    }
    
    .form-header h2 {
        font-size: 2.5rem;
    }
    
    .contact-details h3 {
        font-size: 2rem;
    }
    
    .contact-item {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .quick-contact-wrapper {
        padding: 40px 30px;
        text-align: center;
    }
    
    .quick-contact-buttons {
        justify-content: center;
        margin-top: 30px;
    }
    
    .btn-quick-contact {
        flex: 1;
        justify-content: center;
        min-width: 140px;
    }
    
    /* Contact Form Mobile Improvements */
    .contact-form {
        padding: 0;
    }
    
    .contact-form .row {
        margin: 0;
    }
    
    .contact-form .col-md-6 {
        padding: 0 10px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 15px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 15px 30px;
        font-size: 1rem;
    }
    
    /* Services checkboxes mobile layout */
    .form-check {
        margin-bottom: 10px;
    }
    
    .form-check-input {
        margin-right: 8px;
    }
    
    .form-check-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 80vh;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-form-section,
    .contact-info-section,
    .quick-contact-section {
        padding: 60px 0;
    }
    
    .contact-form-wrapper {
        padding: 25px 15px;
        margin: 0 10px;
        border-radius: 15px;
    }
    
    .form-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .form-header p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .contact-details h3 {
        font-size: 1.8rem;
    }
    
    .quick-contact-wrapper h3 {
        font-size: 1.8rem;
    }
    
    .quick-contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-quick-contact {
        width: 100%;
        padding: 15px 20px;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    /* Contact Form Small Mobile Improvements */
    .contact-form .col-md-6 {
        padding: 0 5px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .btn-submit {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    /* Better spacing for form elements */
    .form-label {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .form-label i {
        font-size: 0.8rem;
    }
    
    /* Services section mobile optimization */
    .form-check {
        margin-bottom: 8px;
    }
    
    .form-check-label {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    /* Success message mobile */
    .form-success {
        padding: 30px 20px;
    }
    
    .success-content h3 {
        font-size: 1.8rem;
    }
    
    .success-content p {
        font-size: 0.95rem;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 20px 10px;
        margin: 0 5px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.8rem;
    }
    
    .contact-form .row {
        margin: 0 -5px;
    }
    
    .contact-form .col-md-6 {
        padding: 0 5px;
    }
    
    .form-control {
        padding: 8px 10px;
    }
    
    .btn-submit {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Keyframe Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-dark);
}

/* Selection Styles */
::selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

::-moz-selection {
    background: var(--accent-color);
    color: var(--primary-color);
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}