/**
 * HR Content Hub - Pages Stylesheet
 */

/* Page Hero */
.page-hero {
    text-align: center;
    padding: 60px 20px;
    background: #FCF5EB;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.page-hero h1 {
    font-size: 40px;
    margin: 0;
}

/* Content Sections */
.content-section {
    padding: 60px 20px;
    background: #FCF5EB;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
    position: relative;
}

/* Section with divider above - centered between sections */
.content-section.with-divider {
    padding-top: 120px;
}

.content-section.with-divider::before {
    content: '';
    display: block;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #FFCEC8;
    border-radius: 2px;
    z-index: 10;
}

/* Divider for non-content-section elements */
.with-divider-top {
    position: relative !important;
    padding-top: 120px !important;
}

.with-divider-top::before {
    content: '';
    display: block;
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 5px;
    background-color: #FFCEC8;
    border-radius: 3px;
    z-index: 100;
    pointer-events: none;
}

/* Standalone section divider element */
.section-divider {
    width: 60px;
    height: 3px;
    background: #FFCEC8;
    margin: 60px auto;
    border-radius: 2px;
}

/* HTML divider bar - use between sections for consistent spacing */
.section-divider-bar {
    width: 100%;
    height: 60px;
    background: #FCF5EB;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-divider-bar::after {
    content: '';
    width: 80px;
    height: 5px;
    background-color: #FFCEC8;
    border-radius: 3px;
}

/* Legacy class - keep for compatibility */
.content-section.bg-cream {
    background: #FCF5EB;
}

.highlight-section {
    background: rgba(255, 206, 200, 0.2);
}

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

.intro-text {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.simple-list {
    list-style: none;
    text-align: left;
    display: inline-block;
    margin: 0 auto;
    padding-left: 0;
}

.simple-list li {
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 45px;
    margin-bottom: 15px;
}

.simple-list li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #fff;
    font-size: 0.75rem;
    background: var(--color-primary);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.intro-with-image {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}

.intro-with-image .intro-text {
    text-align: left;
    max-width: none;
    margin: 0;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

@media (max-width: 768px) {
    .intro-with-image {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .intro-with-image .intro-text {
        text-align: center;
    }

    .intro-image {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Support Page Grid */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.support-card {
    background: var(--color-secondary);
    border-radius: var(--border-radius);
    padding: 30px;
    position: relative;
}

.support-number {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.support-card h3 {
    margin-bottom: 10px;
}

/* Support List (simple style) */
.support-list {
    max-width: 700px;
    margin: 0 auto;
}

.support-item {
    margin-bottom: 30px;
    text-align: center;
}

.support-item:last-child {
    margin-bottom: 0;
}

.support-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.support-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* CTA Box */
.cta-box {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-box h2 {
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 25px;
}

/* Feature Grid (for why-us page) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-background);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--color-primary);
}

.feature-card h3 {
    margin-bottom: 10px;
}

/* Simple Features List (why-us page) */
.features-list {
    max-width: 700px;
    margin: 0 auto;
}

.feature-item-simple {
    margin-bottom: 30px;
    text-align: center;
}

.feature-item-simple:last-child {
    margin-bottom: 0;
}

.feature-item-simple h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.feature-item-simple p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

/* 2-Column Features Grid (why-us page) */
.features-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item-grid {
    padding: 30px;
    border-bottom: 1px solid rgba(93, 86, 100, 0.2);
    text-align: center;
}

.feature-item-grid:nth-child(odd) {
    border-right: 1px solid rgba(93, 86, 100, 0.2);
}

.feature-item-grid:nth-last-child(-n+2) {
    border-bottom: none;
}

.feature-item-grid h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item-grid p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .features-grid-2col {
        grid-template-columns: 1fr;
    }

    .feature-item-grid:nth-child(odd) {
        border-right: none;
    }

    .feature-item-grid:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(93, 86, 100, 0.2);
    }

    .feature-item-grid:last-child {
        border-bottom: none;
    }
}

/* Pricing Table */
.pricing-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    min-width: 700px;
}

.pricing-header {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 0;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 0;
    border-top: 1px solid rgba(93, 86, 100, 0.15);
}

.pricing-cell {
    padding: 20px 15px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pricing-cell.pricing-label {
    text-align: left;
    background: rgba(255, 206, 200, 0.2);
}

.pricing-cell.pricing-label strong {
    color: var(--color-primary);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 5px;
}

.pricing-cell.pricing-label span {
    font-size: 0.9rem;
    color: var(--color-text);
    display: block;
    line-height: 1.5;
}

.pricing-cell.pricing-plan {
    background: var(--color-background);
    padding: 25px 15px;
}

.pricing-cell.pricing-plan h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.pricing-cell.pricing-plan p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: var(--color-text);
}

.pricing-cell.pricing-plan.featured {
    background: var(--color-secondary);
}

.pricing-cell.pricing-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.pricing-cell.pricing-price.featured {
    background: rgba(255, 206, 200, 0.3);
}

.price-request {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text);
}

.pricing-notes {
    margin-top: 25px;
    text-align: center;
}

.pricing-notes p {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: 5px 0;
}

/* Mobile Pricing - Card Layout */
@media (max-width: 768px) {
    .pricing-table-wrapper {
        overflow-x: visible;
    }

    .pricing-table {
        min-width: 0;
        width: 100%;
    }

    .pricing-header {
        display: none;
    }

    .pricing-row {
        display: block;
        background: var(--color-background);
        border-radius: var(--border-radius);
        margin-bottom: 1rem;
        padding: 1.25rem;
        border: 1px solid rgba(93, 86, 100, 0.1);
    }

    .pricing-cell {
        padding: 0;
        text-align: left;
    }

    .pricing-cell.pricing-label {
        background: none;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(93, 86, 100, 0.1);
    }

    .pricing-cell.pricing-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(93, 86, 100, 0.05);
    }

    .pricing-cell.pricing-price:last-child {
        border-bottom: none;
    }

    .pricing-cell.pricing-price::before {
        font-size: 0.85rem;
        font-weight: 500;
        color: var(--color-text);
    }

    .pricing-row .pricing-cell.pricing-price:nth-of-type(2)::before {
        content: "Content Only: ";
    }

    .pricing-row .pricing-cell.pricing-price:nth-of-type(3)::before {
        content: "Branded: ";
    }

    .pricing-row .pricing-cell.pricing-price:nth-of-type(4)::before {
        content: "Scheduled: ";
    }

    .pricing-cell.pricing-price.featured {
        background: rgba(255, 206, 200, 0.3);
        padding: 0.5rem;
        border-radius: 4px;
        margin-top: 0.25rem;
    }
}

/* Packages Page */
.packages-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.packages-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
}

.package-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.package-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--color-secondary);
    border-radius: var(--border-radius);
}

.package-feature i {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.extra-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.extra-service {
    text-align: center;
    padding: 25px;
}

.extra-service i {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 15px;
    display: block;
}

.extra-service h4 {
    margin: 0;
    color: var(--color-text);
}

/* Team Page */
.team-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.team-row:last-child {
    margin-bottom: 0;
}

.team-row.reverse {
    direction: rtl;
}

.team-row.reverse > * {
    direction: ltr;
}

.team-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

.team-header {
    font-size: 40px;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-transform: lowercase;
}

.team-bio {
    margin-bottom: 15px;
    line-height: 1.7;
}

.team-personal {
    font-size: 0.95rem;
    color: rgba(93, 86, 100, 0.8);
    font-style: italic;
}

/* FAQs Page */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(93, 86, 100, 0.2);
}

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

.faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: lowercase;
    margin-bottom: 15px;
}

.faq-answer {
    line-height: 1.8;
    color: var(--color-text);
}

.faq-answer p {
    margin: 0;
}

/* Contact Page */
.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-form-box {
    margin-top: 30px;
    text-align: left;
}

.contact-form-box .btn {
    width: 100%;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.contact-details i {
    color: var(--color-primary);
    width: 24px;
    text-align: center;
}

.contact-form-wrapper {
    background: var(--color-secondary);
    padding: 40px;
    border-radius: var(--border-radius);
}

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

/* Legal Content (Privacy, Terms, Cookies) */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-top: 35px;
    margin-bottom: 15px;
    text-transform: lowercase;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
    text-transform: lowercase;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-content li {
    line-height: 1.8;
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--color-primary);
}

/* Pricing Subheading */
.pricing-subheading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 992px) {
    .team-row {
        gap: 40px;
    }

    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    /* Page Hero */
    .page-hero {
        padding: 40px 15px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    /* Content Sections */
    .content-section {
        padding: 40px 15px;
    }

    .content-section.with-divider {
        padding-top: 80px;
    }

    .content-section.with-divider::before {
        top: 40px;
    }

    .with-divider-top {
        padding-top: 80px !important;
    }

    .with-divider-top::before {
        top: 35px;
    }

    .section-divider {
        margin: 40px auto;
    }

    .section-divider-bar {
        height: 40px;
    }

    /* Intro Text */
    .intro-text p {
        font-size: 1rem;
    }

    .simple-list li {
        font-size: 1rem;
        padding-left: 40px;
    }

    .simple-list li::before {
        width: 24px;
        height: 24px;
        font-size: 0.65rem;
    }

    /* Support Grid */
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        padding: 25px;
    }

    .support-item h3 {
        font-size: 1.3rem;
    }

    .support-item p {
        font-size: 1rem;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-info p {
        font-size: 1rem;
    }

    .contact-details li {
        font-size: 1rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    /* Team Grid */
    .team-grid {
        grid-template-columns: 1fr;
    }

    /* Team Row - Stack on mobile */
    .team-row {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .team-row.reverse {
        direction: ltr;
    }

    .team-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .team-content {
        text-align: center;
    }

    .team-header {
        font-size: 1.8rem;
    }

    .team-bio {
        font-size: 0.95rem;
    }

    /* Feature Cards */
    .feature-card {
        padding: 25px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .feature-item-simple h3 {
        font-size: 1.3rem;
    }

    .feature-item-simple p {
        font-size: 1rem;
    }

    /* Package Features */
    .package-features {
        grid-template-columns: 1fr;
    }

    .package-feature {
        padding: 12px 15px;
    }

    .extra-services {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .extra-service {
        padding: 20px 15px;
    }

    .extra-service i {
        font-size: 2rem;
    }

    /* FAQs */
    .faq-item {
        padding-bottom: 25px;
        margin-bottom: 25px;
    }

    .faq-question {
        font-size: 1.2rem;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    /* Legal Content */
    .legal-content h2 {
        font-size: 1.15rem;
        margin-top: 25px;
    }

    .legal-content p,
    .legal-content li {
        font-size: 0.95rem;
    }

    /* CTA Box */
    .cta-box {
        padding: 0 15px;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }

    /* Pricing */
    .pricing-subheading {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 30px 15px;
    }

    .page-hero h1 {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 30px 15px;
    }

    .content-section.with-divider {
        padding-top: 60px;
    }

    .content-section.with-divider::before {
        top: 30px;
        width: 50px;
    }

    .team-header {
        font-size: 1.5rem;
    }

    .team-image {
        max-width: 250px;
    }

    .extra-services {
        grid-template-columns: 1fr;
    }

    .support-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .faq-question {
        font-size: 1.1rem;
    }

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

    .pricing-table {
        min-width: 500px;
    }

    .pricing-cell {
        padding: 12px 8px;
    }

    .pricing-cell.pricing-plan h3 {
        font-size: 0.85rem;
    }

    .pricing-cell.pricing-price {
        font-size: 1rem;
    }
}
