/* style/contact.css */
:root {
    --primary-color: #1A202C; /* Deep Midnight Blue/Ink Black */
    --secondary-color: #FFD700; /* Bright Gold/Amber */
    --text-light: #F0F0F0; /* Light text on dark background */
    --text-dark: #333333; /* Dark text on light background */
    --background-light: #FFFFFF;
    --background-dark: #2D3748; /* Slightly lighter than primary for contrast */
    --border-color: #E0E0E0;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

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

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

.page-contact section {
    padding: 60px 0;
    text-align: center;
}

.page-contact section:nth-of-type(even) {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-contact section:nth-of-type(even) .page-contact section-title,
.page-contact section:nth-of-type(even) .page-contact section-description,
.page-contact section:nth-of-type(even) .page-contact info-title,
.page-contact section:nth-of-type(even) .page-contact info-text,
.page-contact section:nth-of-type(even) .page-contact hours-text,
.page-contact section:nth-of-type(even) .page-contact hours-note {
    color: var(--text-light);
}

.page-contact section:nth-of-type(even) .page-contact contact-link {
    color: var(--secondary-color);
}

.page-contact section:nth-of-type(even) .page-contact contact-link:hover {
    color: #FFEA8D;
}

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

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

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

.page-contact .hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    gap: 40px;
}

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

.page-contact .hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    line-height: 1.2;
}

.page-contact .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-light);
}

.page-contact .hero-image {
    flex: 1 1 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact .hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px var(--shadow-color);
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-contact .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .cta-button:hover {
    background-color: #FFEA8D;
    transform: translateY(-3px);
}

/* Contact Info Section */
.page-contact .contact-info-section {
    background-color: var(--background-light);
}

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

.page-contact .info-card {
    background-color: #F8F8F8;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-contact .info-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    min-width: 200px;
    min-height: 200px;
}

.page-contact .info-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.page-contact .contact-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact .contact-link:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Contact Form Section */
.page-contact .contact-form-section {
    background-color: var(--background-dark);
}

.page-contact .contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: var(--background-light);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
}

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

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

.page-contact .form-input,
.page-contact .form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: #FFFFFF;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .form-textarea {
    resize: vertical;
}

.page-contact .submit-button {
    display: block;
    width: 100%;
    padding: 18px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .submit-button:hover {
    background-color: #FFEA8D;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-contact .faq-section {
    background-color: var(--background-light);
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #F0F0F0;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--primary-color);
  flex-grow: 1;
}

.faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-answer p {
    margin: 0;
    padding-bottom: 20px;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 20px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

/* Operating Hours Section */
.page-contact .operating-hours-section {
    background-color: var(--background-dark);
}

.page-contact .hours-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
}

.page-contact .hours-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px;
    min-height: 200px;
}

.page-contact .hours-text {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-contact .hours-text strong {
    color: var(--secondary-color);
}

.page-contact .hours-note {
    font-size: 0.95em;
    color: var(--text-light);
    max-width: 600px;
    margin-top: 20px;
}

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

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

    .page-contact .hero-title {
        font-size: 2.8em;
    }

    .page-contact .hero-description {
        font-size: 1.1em;
    }

    .page-contact .section-title {
        font-size: 2em;
    }

    .page-contact .info-icon {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .page-contact section {
        padding: 40px 0;
    }

    .page-contact .hero-title {
        font-size: 2.2em;
    }

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

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

    .page-contact .section-title {
        font-size: 1.8em;
    }

    .page-contact .section-description {
        font-size: 0.95em;
    }

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

    .page-contact .form-label {
        font-size: 1em;
    }

    .page-contact .form-input,
    .page-contact .form-textarea {
        padding: 12px;
        font-size: 0.95em;
    }

    .page-contact .submit-button {
        padding: 15px;
        font-size: 1.1em;
    }

    .faq-question {
        padding: 15px 20px;
    }

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

    .faq-toggle {
        font-size: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

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

    .page-contact .hours-image {
        width: 100px;
        height: 100px;
    }

    .page-contact .hours-text {
        font-size: 1.1em;
    }
}

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

    .page-contact .section-title {
        font-size: 1.6em;
    }

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

    .page-contact .info-card {
        padding: 20px;
    }

    .page-contact .info-icon {
        width: 80px;
        height: 80px;
    }

    .page-contact .info-title {
        font-size: 1.5em;
    }

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