/* Final Aesthetic Enhancements for Mentha Bodyworks */

/* Contact & Support Section Enhancements */
.contact {
    background-color: var(--background-light);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(94, 211, 169, 0.08) 0%, rgba(94, 211, 169, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background-color: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    z-index: 2;
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
    color: var(--text-dark);
}

.form-group {
    margin-bottom: 1.5rem;
}

.required-field::after {
    content: '*';
    color: var(--accent-color);
    margin-left: 4px;
}

.field-note {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-weight: normal;
    margin-bottom: 0;
    line-height: 1.4;
}

.form-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.text-btn {
    background: none;
    border: none;
    color: var(--text-light);
    box-shadow: none;
    text-decoration: underline;
    padding: 0.8rem 1rem;
}

.text-btn:hover {
    color: var(--primary-dark);
    box-shadow: none;
    transform: none;
}

.accessibility-statement {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-card {
    background-color: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.info-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.support-hours {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.contact-link {
    text-decoration: none;
    color: var(--primary-dark);
    transition: all 0.2s ease;
}

.contact-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.chat-btn {
    margin: 0.5rem 0;
}

.social-links {
    margin-top: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--tertiary-color);
    color: var(--primary-dark);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

.faq-preview {
    margin-top: 2rem;
    background-color: var(--tertiary-color);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

.faq-preview h3 {
    margin-bottom: 1.5rem;
}

.faq-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.faq-list li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.faq-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.faq-list a {
    color: var(--text-color);
    transition: all 0.2s ease;
}

.faq-list a:hover {
    color: var(--primary-dark);
}

.view-all-faq {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
}

.view-all-faq i {
    margin-left: 0.5rem;
    transition: transform 0.2s ease;
}

.view-all-faq:hover i {
    transform: translateX(3px);
}

/* Enhanced Footer */
footer {
    background-color: var(--tertiary-color);
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr repeat(2, 1fr) 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 60px;
    height: auto;
    margin-right: 1rem;
    filter: drop-shadow(0 4px 8px rgba(94, 211, 169, 0.3));
}

.footer-logo-text h3 {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
    letter-spacing: 0.05em;
}

.footer-logo-text p {
    font-size: 0.8rem;
    color: var(--primary-dark);
    letter-spacing: 0.05em;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-light);
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
    padding-left: 15px;
}

.footer-links ul li a::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.2s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-dark);
}

.footer-links ul li a:hover::before {
    transform: translateX(3px);
}

.footer-newsletter h4 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-newsletter h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 3px;
}

.footer-newsletter p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

#newsletter-form {
    display: flex;
    margin-bottom: 1.5rem;
}

#newsletter-form input {
    flex: 1;
    border-radius: 8px 0 0 8px;
    border-right: none;
}

#newsletter-form button {
    background: var(--primary-gradient);
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    padding: 0 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#newsletter-form button:hover {
    background: var(--primary-dark);
}

.accessibility-controls-footer {
    margin-top: 1.5rem;
}

.controls-wrapper {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.text-size-control, .contrast-toggle {
    background-color: var(--background-light);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.text-size-control:hover, .contrast-toggle:hover {
    background-color: var(--primary-light);
    color: white;
    border-color: var(--primary-light);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9rem;
}

.copyright p {
    margin-bottom: 1rem;
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Soft hover interactions */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

/* Enhanced Animation for Section Entry */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design Enhancements */
@media (max-width: 992px) {
    .contact-content,
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.8rem;
    }
    
    h2.section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .review-cards {
        grid-template-columns: 1fr;
    }
    
    .section-intro {
        font-size: 1.1rem;
    }
    
    .about-image::before {
        display: none;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2.section-title {
        font-size: 1.8rem;
    }
    
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .filter-buttons {
        gap: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Enhanced 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;
}
