/* style/contact.css */

/* Custom properties for colors */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.page-contact .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-contact .hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-contact .hero-section .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

.page-contact .hero-content {
    flex: 1;
    text-align: left;
}

.page-contact .hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-contact .hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #eee;
}

.page-contact .hero-image {
    flex: 1;
    max-width: 500px;
}

.page-contact .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-contact .hero-cta {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* General Buttons */
.page-contact .cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.page-contact .cta-button.primary-button {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
}

.page-contact .cta-button.primary-button:hover {
    background-color: #e0c200; /* Slightly darker gold */
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact .cta-button.secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-contact .cta-button.secondary-button:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact .cta-button.small-button {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Contact Methods Section */
.page-contact .contact-methods {
    padding: 60px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.page-contact .contact-methods h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-contact .contact-methods p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact .methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-contact .method-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden; /* For image positioning */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact .method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact .method-card h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-contact .method-card p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact .method-card .contact-detail {
    margin-top: 15px;
    font-weight: bold;
    color: var(--secondary-color);
}

.page-contact .method-card .contact-detail a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-contact .method-card .contact-detail a:hover {
    text-decoration: underline;
}

.page-contact .method-card img {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 150px;
    height: auto;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.page-contact .method-card .social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.page-contact .social-icon {
    display: inline-block;
    padding: 8px 15px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-contact .social-icon:hover {
    background-color: #6a0000; /* Darker red */
}

/* Contact Form Section */
.page-contact .contact-form-section {
    padding: 60px 20px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
}

.page-contact .contact-form-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-contact .contact-form-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #ccc;
}

.page-contact .form-grid {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
}

.page-contact .form-image {
    flex: 1;
    max-width: 500px;
}

.page-contact .form-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-contact .contact-form {
    flex: 1;
    background-color: #333333;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-contact .form-group {
    margin-bottom: 20px;
}

.page-contact .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--primary-color);
}

.page-contact .form-group input[type="text"],
.page-contact .form-group input[type="email"],
.page-contact .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #555555;
    border-radius: 5px;
    background-color: #444444;
    color: var(--text-light);
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
    color: #888888;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-contact .contact-form button[type="submit"] {
    width: auto;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .contact-form button[type="submit"]:hover {
    background-color: #e0c200;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-contact .faq-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    text-align: center;
}

.page-contact .faq-section h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-contact .faq-section p {
    font-size: 1.1em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact .faq-list {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-contact .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--text-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--text-light);
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
    background: #f5f5f5;
}

.page-contact .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
}

.page-contact .faq-toggle {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-contact .faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.page-contact .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 20px;
    background: #fcfcfc;
    border-top: 1px solid var(--border-color);
    border-radius: 0 0 5px 5px;
}

.page-contact .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px;
}

.page-contact .faq-answer p {
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.8;
    color: var(--text-dark);
}

.page-contact .faq-answer a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-contact .faq-answer a:hover {
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact .hero-section .container {
        flex-direction: column;
        text-align: center;
    }

    .page-contact .hero-content {
        text-align: center;
    }

    .page-contact .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .page-contact .hero-image {
        margin-top: 40px;
        max-width: 80%;
    }

    .page-contact .form-grid {
        flex-direction: column;
    }

    .page-contact .form-image {
        margin-bottom: 30px;
        max-width: 80%;
    }

    .page-contact .contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-contact .hero-content h1 {
        font-size: 2.5em;
    }

    .page-contact .hero-content p {
        font-size: 1em;
    }

    .page-contact .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .page-contact .contact-methods h2,
    .page-contact .contact-form-section h2,
    .page-contact .faq-section h2 {
        font-size: 2em;
    }

    .page-contact .contact-methods p,
    .page-contact .contact-form-section p,
    .page-contact .faq-section p {
        font-size: 0.95em;
    }

    .page-contact .methods-grid {
        grid-template-columns: 1fr;
    }

    .page-contact .method-card {
        padding: 25px;
    }

    .page-contact .method-card h3 {
        font-size: 1.5em;
    }

    .page-contact .faq-question {
        padding: 12px 15px;
    }

    .page-contact .faq-question h3 {
        font-size: 1.1em;
    }

    .page-contact .faq-toggle {
        font-size: 18px;
    }

    .page-contact .faq-answer {
        padding: 0 15px;
    }

    .page-contact .faq-item.active .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .page-contact .hero-content h1 {
        font-size: 2em;
    }

    .page-contact .hero-cta {
        flex-direction: column;
        gap: 10px;
    }

    .page-contact .cta-button {
        width: 100%;
    }

    .page-contact .contact-methods h2,
    .page-contact .contact-form-section h2,
    .page-contact .faq-section h2 {
        font-size: 1.8em;
    }

    .page-contact .contact-form {
        padding: 20px;
    }
}