/**
 * Page Template Styles
 *
 * Additional styles for page templates that build on the base styles in style.css.
 *
 * @package BrandaDoc
 * @since 2.0.0
 */

/* ==========================================================================
   About Page Template
   ========================================================================== */

.about-content .about-text ul {
    list-style: none;
    padding: 0;
}

.about-content .about-text ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
}

.about-content .about-text ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* About page team section */
.page-template-template-about .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.page-template-template-about .section-title h2 {
    position: relative;
    display: inline-block;
}

.page-template-template-about .section-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
}

/* ==========================================================================
   Contact Page Template
   ========================================================================== */

.contact-details h3 {
    margin-bottom: 25px;
    color: var(--primary-color);
}

.contact-form-area {
    background: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
}

.contact-form-area h3 {
    margin-bottom: 25px;
}

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

.brandadoc-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.brandadoc-contact-form input,
.brandadoc-contact-form select,
.brandadoc-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.brandadoc-contact-form input:focus,
.brandadoc-contact-form textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    outline: none;
}

.brandadoc-contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ==========================================================================
   Services Page Template
   ========================================================================== */

.page-template-template-services .services-grid {
    gap: 30px;
}

.page-template-template-services .service-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-template-template-services .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

/* ==========================================================================
   Team Page Template
   ========================================================================== */

.page-template-template-team .entry-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

/* ==========================================================================
   Gallery Page Template
   ========================================================================== */

.page-template-template-gallery .entry-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--text-light);
}

.page-template-template-gallery .gallery-filter {
    margin-bottom: 30px;
}

/* ==========================================================================
   FAQ Page Template
   ========================================================================== */

.page-template-template-faq .entry-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.page-template-template-faq .faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* ==========================================================================
   Testimonials Page Template
   ========================================================================== */

.page-template-template-testimonials .entry-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--text-light);
}

.page-template-template-testimonials .testimonials-grid {
    margin-bottom: 40px;
}

/* ==========================================================================
   Appointment Page Template
   ========================================================================== */

.page-template-template-appointment .appointment-content {
    align-items: flex-start;
}

.page-template-template-appointment .appointment-info ul {
    list-style: none;
    padding: 0;
}

.page-template-template-appointment .appointment-info ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-light);
}

.page-template-template-appointment .appointment-info ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Office hours table in appointment page */
.office-hours-mini {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.office-hours-mini td {
    padding: 8px 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--text-light);
}

.office-hours-mini td:first-child {
    font-weight: 500;
    color: var(--text-color);
}

/* ==========================================================================
   Responsive Overrides for Page Templates
   ========================================================================== */

@media (max-width: 968px) {
    .contact-form-area {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .contact-form-area {
        padding: 20px;
    }
}
