/* Contact Page Styles for Tout-moi Nigeria Limited */

/* Base Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

/* Contact Hero Section */
.contact-hero {
    padding: 180px 0 100px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('./images/Background2.png');
    background-size: cover;
    background-position: center;
    color: white;
    position: relative;
}

.contact-hero-content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.contact-hero-content.visible,
.contact-hero-content.scroll-animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.contact-hero p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
}

.breadcrumbs {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

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

.section-subtitle {
    display: inline-block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-color);
    margin-bottom: 1rem;
    position: relative;
    padding: 0 1rem;
}

.section-subtitle::before,
.section-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--accent-color);
}

.section-subtitle::before {
    left: -20px;
}

.section-subtitle::after {
    right: -20px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.section-description {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    max-width: 700px;
    margin: 0 auto;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background-color: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

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

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(218, 165, 32, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.info-icon i {
    font-size: 28px;
    color: var(--accent-color);
    transition: all 0.3s ease;
}

.info-card:hover .info-icon {
    background-color: var(--accent-color);
}

.info-card:hover .info-icon i {
    color: white;
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #1A1A1A;
}

.info-card p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #666;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.info-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.info-link:hover {
    color: var(--primary-color);
}

/* Contact Form Section */
.contact-form-section {
    padding: 5rem 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.form-container {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease-out;
}

.form-container.visible,
.form-container.scroll-animate {
    opacity: 1;
    transform: translateX(0);
}

.form-container h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1A1A1A;
}

.form-container p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 2rem;
}

.contact-form {
    margin-top: 2rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: #1A1A1A;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #E0E0E0;
    border-radius: 6px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    color: #333;
    background-color: white;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.submit-btn:hover {
    background-color: var(--accent-color);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    position: absolute;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.contact-image-container {
    position: relative;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease-out;
}

.contact-image-container.visible,
.contact-image-container.scroll-animate {
    opacity: 1;
    transform: translateX(0);
}

.contact-image {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
}

.contact-image-container:hover .contact-image::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4));
}

.contact-badge {
    position: absolute;
    bottom: 40px;
    right: -30px;
    width: 140px;
    height: 140px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    animation: float 4s ease-in-out infinite;
}

.badge-number {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    margin-top: 0.5rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #FAFAFA;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: white;
}

.faq-question h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(139, 69, 19, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-toggle i {
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #FAFAFA;
}

.faq-answer p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
    padding: 0 1.5rem 1.5rem;
}

.faq-item.active .faq-question {
    background-color: rgba(139, 69, 19, 0.05);
}

.faq-item.active .faq-question h3 {
    color: var(--primary-color);
}

.faq-item.active .faq-toggle {
    background-color: var(--primary-color);
}

.faq-item.active .faq-toggle i {
    color: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0.5rem 0 0;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .contact-grid {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-image-container {
        order: -1;
    }
    
    .contact-badge {
        bottom: 30px;
        right: 30px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 130px 0 80px;
    }
    
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .form-container h2 {
        font-size: 1.8rem;
    }
    
    .form-container p {
        font-size: 1rem;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-hero {
        padding: 120px 0 70px;
    }
    
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-image {
        height: 350px;
    }
    
    .contact-badge {
        width: 120px;
        height: 120px;
    }
    
    .badge-number {
        font-size: 1.8rem;
    }
    
    .badge-text {
        font-size: 0.8rem;
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
}

/* Reset the CSS variables to ensure proper color usage */
:root {
    --primary-color: #8B4513;
    --secondary-color: #4A3728;
    --accent-color: #DAA520;
    --text-color: #333333;
    --light-bg: #f9f5f0;
} 