/* 1. Section Container */
.contact {
    /* Light grey background */
    padding: 60px 20px;
    /* Breathing room top/bottom and sides */
    text-align: center;
    /* Centers the text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    /* Clean font */
}

/* 2. Text Content */
.contact-content h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
}

.contact-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    /* Space between text and icons */
}

/* 3. Social Links Container */
.social-links {
    display: flex;
    /* Uses Flexbox */
    justify-content: center;
    /* Centers items horizontally */
    align-items: center;
    /* Centers items vertically */
    gap: 2rem;
    /* Space between the two icons */
}

/* 4. Individual Link Wrappers */
.social-link a {
    display: inline-block;
    /* Allows transform properties to work */
    transition: transform 0.3s ease;
    /* Smooth animation */
}

/* 5. The Icons (Images) */
/* CRITICAL: We must limit the image size or they might appear huge */
.social-link img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    /* Ensures image ratio stays correct */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    /* Subtle shadow */
}

/* 6. Hover Effects */
.social-link a:hover {
    transform: translateY(-5px) scale(1.1);
    /* Moves up and grows slightly */
}

/* --- General Layout --- */
.contact {
    /* Light clean background */
    padding: 80px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    min-height: 80vh;
    /* Ensures it takes up most of the screen height */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-content h1 {
    font-size: 2.5rem;
    color: #222;
    margin-bottom: 10px;
}

.contact-content p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    max-width: 600px;
}

/* --- Social Links (Centered) --- */
.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    /* Space between icons and the new cards */
}

.social-link img {
    width: 48px;
    height: 48px;
    transition: transform 0.3s ease;
}

.social-link a:hover img {
    transform: scale(1.1);
    /* Pop effect on hover */
}

/* --- NEW: Info Cards Layout --- */
.contact-info-cards {
    display: grid;
    /* This creates 3 equal columns that wrap automatically on small screens */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    width: 100%;
    max-width: 1000px;
    /* Prevents cards from stretching too wide on huge screens */
}

/* Individual Card Styling */
.card {
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.card:hover {
    transform: translateY(-5px);
    /* Card floats up slightly */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.card .icon {
    font-size: 2.5rem;
    /* Size of the emoji */
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1.25rem;
    color: #333;
    margin: 0;
}

.card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

.card-link,
.card-text {
    font-weight: 600;
    color: #551A8B;
    /* Or your brand color */
    text-decoration: none;
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

.card-link:hover {
    text-decoration: underline;
}

/* --- Page Container --- */
.contact-page {
    font-family: 'Segoe UI', sans-serif;
    color: #333;
    padding-bottom: 80px;
    /* Space at bottom */
}

/* --- Section 1: Hero (Header + Socials + Card) --- */
.contact-hero {
    /* White background for top section */
    padding: 60px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-content h1 {
    margin: 0 0 10px;
    font-size: 2.5rem;
}

.contact-content p {
    color: #666;
    margin-bottom: 30px;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 40px;
}

.social-link img {
    width: 50px;
    height: 50px;
    transition: transform 0.2s;
}

.social-link a:hover img {
    transform: scale(1.1);
}

/* The Single "Chat" Card */
.single-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 30px;
    border-radius: 15px;
    width: 100%;
    max-width: 400px;
    /* Constrains width so it looks elegant */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.emoji-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 15px;
}

.single-card h3 {
    margin: 0 0 10px;
    font-size: 1.4rem;
}

.single-card p {
    color: #777;
    margin-bottom: 20px;
}

.email-button {
    display: inline-block;
    text-decoration: none;
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    /* Pill shape */
    font-weight: bold;
    transition: background-color 0.3s;
    margin-bottom: 10px;
}

.email-button:hover {
    background-color: #555;
}

/* --- Section 2: FAQ --- */
.faq-section {
    max-width: 600px;
    /* Keeps text readable */
    margin: 60px auto 0;
    /* Centers the block */
    padding: 0 20px;
}

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

.faq-item {
    margin-bottom: 15px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* The Clickable Question */
summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    /* Hides default triangle in some browsers */
    position: relative;
}

/* Custom + icon for the question */
summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-weight: bold;
}

details[open] summary::after {
    content: '-';
    /* Changes to minus when open */
}

/* The Answer Text */
details p {
    padding: 0 20px 20px;
    margin: 0;
    color: #555;
    line-height: 1.6;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.wa-link {
    color: #25D366;
    /* WhatsApp Green */
    font-weight: 700;
    text-decoration: none;
    position: relative;
    /* Required for the absolute positioning of the underline */
    display: inline-block;
}

/* Creating the custom underline */
.wa-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    /* Thickness of the line */
    bottom: -2px;
    /* Position it slightly below the text */
    left: 0;
    background-color: #25D366;

    /* Animation settings */
    transform: scaleX(0);
    /* Start with width at 0 */
    transform-origin: bottom right;
    /* Shrinks back to the right */
    transition: transform 0.3s ease-out;
    /* Smooth transition */
}

/* Hover State */
.wa-link:hover::after {
    transform: scaleX(1);
    /* Expands to full width */
    transform-origin: bottom left;
    /* Grows from the left */
}

.auction-link {
    color: #FFC72C;
    /* WhatsApp Green */
    font-weight: 700;
    text-decoration: none;
    position: relative;
    /* Required for the absolute positioning of the underline */
    display: inline-block;
}

/* Creating the custom underline */
.auction-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    /* Thickness of the line */
    bottom: -2px;
    /* Position it slightly below the text */
    left: 0;
    background-color: #FFC72C;

    /* Animation settings */
    transform: scaleX(0);
    /* Start with width at 0 */
    transform-origin: bottom right;
    /* Shrinks back to the right */
    transition: transform 0.3s ease-out;
    /* Smooth transition */
}

/* Hover State */
.auction-link:hover::after {
    transform: scaleX(1);
    /* Expands to full width */
    transform-origin: bottom left;
    /* Grows from the left */
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }

    .contact-content h1 {
        font-size: 2rem;
    }
}