/* ===================================
   Contact Page Styles - Gumex Webshop
   =================================== */

/* Hero Section */
.contact-hero-section {
    position: relative;
    min-height: 400px;
    background-image: url('/images/gumex-landing.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    margin-bottom: 60px;
}

.contact-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 187, 52, 0.95) 0%, rgba(255, 187, 52, 0.75) 100%);
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 80px 20px;
    text-align: center;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.contact-hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 0;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Form Section */
.contact-form-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    padding: 40px;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-form-section:hover {
    border-color: #e74c3c;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-form-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #e74c3c 0%, #ffbb34 100%);
    border-radius: 2px;
}

.contact-form-section .form-group {
    margin-bottom: 1.5rem;
}

.contact-form-section .form-label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-form-section .form-control {
    border: 2px solid #dee2e6;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form-section .form-control:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 0.2rem rgba(231, 76, 60, 0.15);
}

.contact-form-section textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form-section .btn-primary {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.contact-form-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%);
}

.contact-form-section .btn-primary:active {
    transform: translateY(0);
}

/* Contact Info Section */
.contact-info-section {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    padding: 40px;
    transition: all 0.3s ease;
    height: 100%;
}

.contact-info-section:hover {
    border-color: #2a5298;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-info-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-section h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2a5298 0%, #1e3c72 100%);
    border-radius: 2px;
}

/* Contact Info Cards */
.contact-info-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #e74c3c;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: #fff;
    border-left-color: #2a5298;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.contact-info-card:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    font-size: 1.5rem;
    margin-right: 15px;
    float: left;
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1) rotate(5deg);
}

.contact-info-content {
    overflow: hidden;
}

.contact-info-label {
    font-weight: 700;
    color: #1e3c72;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.contact-info-value {
    color: #495057;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info-value a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info-value a:hover {
    color: #2a5298;
    text-decoration: underline;
}

/* Working Hours Card */
.working-hours-card {
    background: linear-gradient(135deg, #2a5298 0%, #1e3c72 100%);
    padding: 30px;
    border-radius: 12px;
    color: #fff;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.working-hours-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.working-hours-title i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.working-hours-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.working-hours-item:last-child {
    border-bottom: none;
}

.working-hours-day {
    font-weight: 600;
    font-size: 1.1rem;
}

.working-hours-time {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Social Links */
.contact-socials {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-socials a {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
}

.contact-socials a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.contact-socials a svg {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.contact-socials a:hover svg {
    transform: scale(1.1);
}

.contact-socials a:first-child {
    border-color: #E1306C;
}

.contact-socials a:first-child:hover {
    background: #E1306C;
    border-color: #E1306C;
}

.contact-socials a:first-child:hover svg path {
    fill: #fff;
}

.contact-socials a:last-child {
    border-color: #1877F2;
}

.contact-socials a:last-child:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.contact-socials a:last-child:hover svg path {
    fill: #fff;
}

/* Map Section */
.contact-map-section {
    margin-top: 60px;
    margin-bottom: 60px;
}

.contact-map-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-map-card:hover {
    border-color: #2a5298;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.contact-map-card iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Breadcrumb Enhancement */
.page-container .breadcrumb {
    background: transparent;
    padding: 1rem 0;
    margin-bottom: 0;
}

.page-container .breadcrumb-item a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-container .breadcrumb-item a:hover {
    color: #e74c3c;
}

.page-container .breadcrumb-item.active {
    color: #6c757d;
}

/* Info Banner */
.contact-info-banner {
    background: linear-gradient(135deg, #ffbb34 0%, #e67e22 100%);
    padding: 30px;
    border-radius: 12px;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.contact-info-banner h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-banner p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Form Validation Styles */
.contact-form-section .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form-section .invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Success Message */
.contact-success-message {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #fff;
    padding: 20px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.contact-success-message i {
    margin-right: 10px;
    font-size: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-hero-title {
        font-size: 2.5rem;
    }

    .contact-hero-subtitle {
        font-size: 1.1rem;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 30px;
        margin-bottom: 30px;
    }

    .contact-info-card {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        min-height: 300px;
    }

    .contact-hero-title {
        font-size: 2rem;
    }

    .contact-hero-subtitle {
        font-size: 1rem;
    }

    .contact-hero-content {
        padding: 50px 20px;
    }

    .contact-form-section,
    .contact-info-section {
        padding: 25px;
    }

    .contact-form-section h2,
    .contact-info-section h2 {
        font-size: 1.6rem;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .working-hours-card {
        padding: 20px;
    }

    .contact-map-card iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .contact-hero-title {
        font-size: 1.8rem;
    }

    .contact-hero-subtitle {
        font-size: 0.95rem;
    }

    .contact-form-section .btn-primary {
        width: 100%;
        padding: 12px 30px;
    }

    .working-hours-item {
        flex-direction: column;
        gap: 5px;
    }

    .contact-socials {
        justify-content: center;
    }

    .contact-socials a {
        width: 50px;
        height: 50px;
    }

    .contact-socials a svg {
        width: 30px;
        height: 30px;
    }
}
