/* Contact Page - Modern Redesign */

/* Page Hero - Matching Inventory Banner */
.page-hero {
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1565538810643-b5bdb714032a?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
    margin-top: 70px;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(51, 51, 51, 0.8) 100%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Main Contact Section */
.contact-main-section {
    padding: 40px 0 60px;
    background: #f9f9f9;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-split {
    display: flex;
    gap: 40px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

/* Left Side - Contact Form */
.contact-left {
    flex: 1;
    padding: 60px 40px;
}

.contact-container {
    max-width: 600px;
}

/* Quick Info Cards */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.quick-info-card {
    background: #f8f8f8;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.quick-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-color: var(--secondary-color);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), #e4c47a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 1.25rem;
}

.info-content h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
    margin-bottom: 3px;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary-color);
}

.info-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    margin: 0;
}

/* Contact Form Section */
.contact-form-section h2 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-form-section > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Modern Form Styling */
.contact-form {
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 16px 8px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #fafafa;
    transition: all 0.3s ease;
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group textarea + label {
    top: 20px;
    transform: translateY(0);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group select:valid,
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--secondary-color);
    background: white;
}

.form-group input:focus + label,
.form-group select:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:valid + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: 0;
    font-size: 0.75rem;
    background: white;
    padding: 0 5px;
    color: var(--secondary-color);
}

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
    border: none;
}

/* Right Side - Map */
.contact-right {
    flex: 1;
    background: #f0f0f0;
    padding: 40px;
}

.map-wrapper {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border: 3px solid white;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

/* Floating Location Cards on Map */
.map-locations {
    position: absolute;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 280px;
}

.map-location-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.map-location-card.main-location {
    background: rgba(26, 26, 26, 0.95);
    color: white;
}

.map-location-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 1rem;
}

.map-location-card h4 i {
    color: var(--secondary-color);
}

.main-location h4 i {
    color: var(--secondary-color);
}

.map-location-card p {
    font-size: 0.875rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.map-directions {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.main-location .map-directions {
    color: var(--secondary-color);
}

.map-directions:hover {
    transform: translateX(3px);
}

/* Business Hours & Social Section */
.contact-footer-info {
    background: white;
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.hours-card,
.social-card {
    text-align: center;
}

.hours-card h3,
.social-card h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hours-card h3 i,
.social-card h3 i {
    color: var(--secondary-color);
}

.hours-table {
    max-width: 300px;
    margin: 0 auto;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.hours-row:last-child {
    border-bottom: none;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links-large a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.social-links-large a:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-5px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-split {
        flex-direction: column;
    }
    
    .contact-right {
        padding: 30px;
    }
    
    .map-container {
        min-height: 500px;
    }
    
    .map-locations {
        flex-direction: row;
        bottom: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .map-location-card {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 0 30px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .contact-left {
        padding: 30px 20px;
    }

    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-locations {
        flex-direction: column;
        position: static;
        margin-top: 15px;
        max-width: none;
    }

    .map-container {
        min-height: 350px;
    }

    .map-container iframe {
        min-height: 350px;
    }

    .contact-footer-info {
        padding: 40px 0;
    }

    .hours-card h3,
    .social-card h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0 25px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .page-subtitle {
        font-size: 0.95rem;
    }

    .contact-left {
        padding: 25px 15px;
    }

    .contact-right {
        padding: 15px;
    }

    .contact-form-section h2 {
        font-size: 1.5rem;
    }

    .map-container {
        min-height: 300px;
    }

    .map-locations {
        position: static;
        margin-top: 15px;
    }

    .map-location-card {
        padding: 15px;
        font-size: 0.875rem;
    }

    .social-links-large a {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .quick-info-card {
        padding: 15px;
    }

    .info-icon {
        width: 40px;
        height: 40px;
    }

    .info-content a {
        font-size: 0.95rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quick-info-card,
.contact-form-section,
.map-location-card {
    animation: fadeInUp 0.6s ease-out;
}

.quick-info-card:nth-child(2) {
    animation-delay: 0.1s;
}

.map-location-card:nth-child(2) {
    animation-delay: 0.2s;
}