/**
 * Contact Page Specific Styles
 * Silk By Ali E-commerce Website
 */

/* Contact Section Styles */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-repeat: repeat;
    background-size: 300px;
    opacity: 0.03;
    z-index: -1;
}

/* Contact Hero */
.contact-hero {
    position: relative;
    overflow: hidden;
}

.contact-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.5));
    z-index: 1;
}

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

/* Contact Info Card Styles */
.contact-info {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--light-pink));
}

.contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    position: relative;
    padding-left: 15px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--light-pink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    transform: rotateY(180deg);
    background: var(--primary-color);
    color: white;
}

.contact-info-content h5 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.contact-info-content p {
    margin-bottom: 5px;
    color: #555;
}

/* Contact Form Styles */
.contact-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.contact-form-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: var(--light-pink);
    border-radius: 50% 0 0 0;
    opacity: 0.2;
    z-index: 0;
}

.contact-form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

.contact-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(232, 62, 140, 0.15);
}

.contact-form .form-label {
    font-weight: 500;
    color: #444;
}

.contact-form .btn-primary {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-form .btn-primary::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: all 0.6s ease;
    z-index: -1;
}

.contact-form .btn-primary:hover::before {
    left: 100%;
}

/* Map Container Styles */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.map-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.map-container iframe {
    display: block;
    transition: all 0.3s ease;
}

/* Contact Stats */
.contact-stats {
    background: linear-gradient(135deg, var(--light-pink), var(--light-blue));
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px 10px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: var(--primary-color);
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: rotateY(180deg);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.stat-text {
    font-size: 14px;
    color: #444;
    font-weight: 500;
}

/* FAQ Section */
.faq-container {
    margin-top: 50px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.faq-header {
    background: white;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.faq-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.faq-header i {
    transition: all 0.3s ease;
    color: var(--primary-color);
}

.faq-body {
    padding: 15px 20px;
    background: #f9f9f9;
    display: none;
}

.faq-body p {
    margin: 0;
    color: #555;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

.faq-item.active .faq-body {
    display: block;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.slide-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered Animation Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-info {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .contact-form-container {
        padding: 25px;
    }
    
    .contact-info-item {
        margin-bottom: 20px;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .stat-item {
        margin-bottom: 20px;
    }
}
