/*
Theme Name: Blockbase Goodpeople Child
Template: blockbase
Description: A child theme of Blockbase for Goodpeople recruitment website
Version: 1.0.0
Author: Goodpeople
Author URI: https://hellogoodpeople.nl/
Text Domain: blockbase-goodpeople-child
*/

/* Custom styling for Goodpeople theme */

/* Hero Section - Two-line headline */
.hero-section {
    padding: 6rem 2rem 5rem;
}

.hero-headline {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.hero-headline br {
    display: block;
}

/* Scroll indicator */
.scroll-indicator {
    display: inline-block;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 4rem;
    opacity: 0.4;
    font-weight: 700;
    color: #666666;
    animation: fadeInUp 1s ease-out 0.5s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 0.4;
        transform: translateY(0);
    }
}

/* Category chips/pills */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2.5rem 0;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    border-radius: 9999px;
    border: 2px solid #e0e0e0;
    background-color: #ffffff;
    color: #2c2c2c;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.chip:hover {
    background-color: #fa6f07;
    border-color: #fa6f07;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 111, 7, 0.25);
}

.chip.active {
    background-color: #fa6f07;
    border-color: #fa6f07;
    color: #ffffff;
}

/* Filter UI styling */
.filter-ui {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    margin: 2.5rem 0;
}

.filter-dropdown {
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 1.5px solid #e0e0e0;
    background-color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-dropdown:hover {
    border-color: #fa6f07;
}

.filter-search {
    display: flex;
    gap: 0.625rem;
    flex: 1;
    min-width: 280px;
}

.filter-search input {
    flex: 1;
    padding: 0.875rem 1.75rem;
    border-radius: 9999px;
    border: 1.5px solid #e0e0e0;
    font-size: 0.875rem;
    transition: border-color 0.25s ease;
}

.filter-search input:focus {
    outline: none;
    border-color: #fa6f07;
}

/* Vacancy cards */
.vacancy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.vacancy-card {
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid #e8e8e8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.vacancy-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    border-color: #fa6f07;
}

.vacancy-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.vacancy-card-content {
    padding: 2rem;
}

.vacancy-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.875rem;
    color: #2c2c2c;
    line-height: 1.3;
}

.vacancy-card-meta {
    font-size: 0.875rem;
    color: #666666;
    margin-bottom: 1.25rem;
}

.vacancy-card-link {
    display: inline-flex;
    align-items: center;
    color: #fa6f07;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.25s ease;
}

.vacancy-card-link:hover {
    color: #2c2c2c;
}

/* Testimonial cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.testimonial-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background-color: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #e8e8e8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card:hover {
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
    transform: translateY(-6px);
    border-color: rgba(250, 111, 7, 0.3);
}

.testimonial-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 2rem;
    object-fit: cover;
    border: 4px solid #f4f4f4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial-name {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: #2c2c2c;
}

.testimonial-role {
    font-size: 0.9375rem;
    color: #fa6f07;
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.testimonial-text {
    font-size: 1rem;
    color: #666666;
    line-height: 1.7;
}

/* Large CTA band */
.cta-band {
    background-color: #2c2c2c;
    color: #ffffff;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

/* Footer styling enhancements */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: #fa6f07;
}

/* Section spacing */
.section-spacing {
    padding: 6rem 2rem;
}

.section-spacing-sm {
    padding: 4rem 2rem;
}

.section-spacing-lg {
    padding: 8rem 2rem;
}

/* Buttons - enhanced pill style */
.wp-block-button__link {
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.wp-block-button.is-style-fill .wp-block-button__link {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.wp-block-button.is-style-fill .wp-block-button__link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.has-primary-orange-background-color.wp-block-button__link:hover {
    background-color: #e86506;
}

.has-dark-gray-background-color.wp-block-button__link:hover {
    background-color: #1a1a1a;
}

/* Navigation enhancements */
.wp-block-navigation {
    font-weight: 500;
    font-size: 1rem;
}

.wp-block-navigation .wp-block-navigation-item > a {
    padding: 0.625rem 1.25rem;
    text-decoration: none;
    transition: color 0.25s ease;
    color: #2c2c2c;
}

.wp-block-navigation .wp-block-navigation-item > a:hover {
    color: #fa6f07;
}

.wp-block-navigation .wp-block-navigation__submenu-container {
    border: 1px solid #e8e8e8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wp-block-navigation .wp-block-navigation-item.has-child .wp-block-navigation-item > a {
    padding: 0.75rem 1.25rem;
}

/* Site title styling */
.wp-block-site-title a {
    text-decoration: none;
    font-weight: 700;
    color: #2c2c2c;
    letter-spacing: -0.03em;
    font-size: 1.875rem;
    transition: color 0.3s ease;
}

.wp-block-site-title a:hover {
    color: #fa6f07;
}

/* Header shadow on scroll */
header.wp-block-group {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

header.wp-block-group.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Remove default group padding for full-width sections */
.alignfull > .wp-block-group__inner-container {
    padding-left: 0;
    padding-right: 0;
}

/* Ensure full width sections extend edge to edge */
.wp-site-blocks {
    padding-left: 0;
    padding-right: 0;
}

/* Better spacing for content within constrained layouts */
.wp-block-group.alignfull > * {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

.wp-block-group.alignfull .vacancy-grid,
.wp-block-group.alignfull .testimonial-grid,
.wp-block-group.alignfull .category-chips,
.wp-block-group.alignfull .filter-ui {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto;
    margin-right: auto;
}

/* Footer link colors */
.has-footer-dark-background-color a {
    color: #cccccc;
}

.has-footer-dark-background-color a:hover {
    color: #fa6f07;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .vacancy-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .vacancy-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .filter-ui {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-search {
        min-width: 100%;
    }

    .wp-block-columns {
        flex-wrap: wrap;
    }

    .wp-block-group.alignfull > * {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-spacing {
        padding: 3rem 1.25rem;
    }

    .testimonial-avatar {
        width: 100px;
        height: 100px;
    }

    .wp-block-button__link {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }

    /* Mobile navigation */
    .wp-block-navigation:not(.has-background) .wp-block-navigation__responsive-container.is-menu-open {
        padding: 1.5rem;
    }
}
