/* Importing main styles */
@import url('../styles.css');

/* Contact-specific styles */
main {
    padding-bottom: 4rem;
}

main h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 3rem;
    padding: 0 5%;
    margin-bottom: 4rem;
}

/* Contact Super Card */
.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.contact-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem; /* Adjusted from previous value as .hidden-info is removed */
}

.contact-method {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    margin-bottom: 0.5rem;
}

.contact-emoji {
    font-size: 1.8rem;
    margin-right: 1rem;
    width: 40px;
    text-align: center;
    padding-top: 0.1em; /* Slight adjustment for vertical alignment */
}

.contact-card h3 {
    margin-bottom: 1.5rem; /* Increased spacing */
    color: #333;
    text-align: center; /* Center the title */
}

.contact-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem; /* Added margin */
}

.contact-description {
    color: #666;
    font-size: 0.9rem;
    margin-top: 0; /* Removed default top margin */
    line-height: 1.4;
}

/* Clickable Info Styles */
.clickable-info {
    cursor: pointer;
    transition: color 0.3s ease;
    font-style: italic; /* Differentiate clickable text */
    position: relative;
    padding-right: 15px; /* Space for pseudo-element */
}

.clickable-info::after {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 0.8em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.clickable-info:hover::after {
    opacity: 1;
}

/* Style for when info is revealed */
.clickable-info.revealed {
    font-weight: 500;
    color: #333;
    font-style: normal; /* Back to normal style */
}

.clickable-info.revealed::after {
    content: '🔒'; /* Lock icon */
}

/* Inline social links formatting */
.social-links-inline {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.social-links-inline .social-link {
    display: block;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.social-links-inline .social-link:hover {
    color: #666;
    text-decoration: underline;
}


/* REMOVED Hidden Info Styles */
/* .hidden-info, .reveal-btn, .info-content, .contact-item, .contact-label, .social-links styles are removed as they are no longer used */

/* Contact Image Section */
.contact-image-section {
    display: flex;
    align-items: center;
}

.contact-image {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem;
}

.image-overlay h2 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* FAQ Section */
.faq-section {
    padding: 3rem 5%;
    background-color: #f9f9f9;
    margin-bottom: 4rem;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    color: #666;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Response Time Section */
.response-section {
    text-align: center;
    padding: 3rem 5%;
    margin-bottom: 2rem;
}

.response-section h2 {
    margin-bottom: 2rem;
}

.response-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
}

.response-item {
    text-align: center;
}

.response-time {
    font-size: 3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.response-item p {
    color: #666;
}

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

/* Responsive styles */
@media screen and (max-width: 1024px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-image-section {
        order: -1;
        margin-bottom: 2rem;
    }

    .contact-image {
        min-height: 250px;
    }
}

@media screen and (max-width: 768px) {
    .contact-methods {
        grid-template-columns: 1fr;
    }

    .response-info {
        flex-direction: column;
        gap: 2rem;
    }
}

/* Active Navigation Link Style */
.nav-links a.active-nav {
    color: #666; /* Or a more distinct color/underline */
    font-weight: bold;
}
