/* ========================================
   Heckwerk - Main Stylesheet
   www.heckwerk.nl
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --teal: #1E7B7B;
    --olive: #7A8B5A;
    --peach: #F4C590;
    --light-blue: #C1D5D9;
    --cool-gray: #6B7F8C;
    --burnt-orange: #C17247;
    --dark-gray: #2F4550;
    --sand: #D4B896;
    --bg: #F8F6F3;
    --white: #ffffff;
    --text: #2F4550;
    --text-light: #666666;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: 0.2s ease;
    --max-image-height: 550px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Oxygen', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--dark-gray);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.site-header {
    background: var(--dark-gray);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo {
    font-family: 'Electrolize', sans-serif;
    font-size: 28px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo:hover {
    color: var(--white);
}

.logo .hash {
    color: var(--teal);
    font-weight: bold;
    font-size: 32px;
}

/* Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--white);
    margin: 5px 0;
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.main-nav {
    display: flex;
    gap: 8px;
    align-items: center;
}

.main-nav a {
    font-family: 'Electrolize', sans-serif;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: rgba(30, 123, 123, 0.3);
}

/* --- Hero Section (Homepage) --- */
.hero {
    padding: 80px 0 60px;
}

.hero .container {
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

.hero-content {
    max-width: 800px;
    flex: 1;
}

.hero-image {
    flex: 0 0 320px;
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal) 0%, var(--light-blue) 100%);
    min-height: 240px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero h1 {
    font-family: 'Electrolize', sans-serif;
    font-size: 44px;
    color: var(--text);
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.7;
}

/* --- Category Grid (Homepage) --- */
.categories-section {
    padding: 0 0 80px;
}

.categories-section h2 {
    font-family: 'Electrolize', sans-serif;
    font-size: 28px;
    margin-bottom: 32px;
    color: var(--text);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.category-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border-top: 5px solid;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

div.category-card {
    cursor: default;
}

div.category-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
}

.category-card[data-category="training-advies"] {
    border-color: var(--teal);
}

.category-card[data-category="lesmateriaal-methodes"] {
    border-color: var(--olive);
}

.category-card[data-category="animatie-interactie"] {
    border-color: var(--peach);
}

.category-card[data-category="cartografie-analyse"] {
    border-color: var(--light-blue);
}

.category-card[data-category="apps-websites"] {
    border-color: var(--cool-gray);
}

.category-card[data-category="publicaties-tekst"] {
    border-color: var(--burnt-orange);
}

.category-card h3 {
    font-family: 'Electrolize', sans-serif;
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text);
}

.category-card .hash {
    font-size: 24px;
    margin-right: 4px;
}

.category-card[data-category="training-advies"] .hash {
    color: var(--teal);
}

.category-card[data-category="lesmateriaal-methodes"] .hash {
    color: var(--olive);
}

.category-card[data-category="animatie-interactie"] .hash {
    color: var(--peach);
}

.category-card[data-category="cartografie-analyse"] .hash {
    color: var(--light-blue);
}

.category-card[data-category="apps-websites"] .hash {
    color: var(--cool-gray);
}

.category-card[data-category="publicaties-tekst"] .hash {
    color: var(--burnt-orange);
}

.category-card p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.5;
}

.category-card .project-count {
    display: inline-block;
    margin-bottom: 12px;
    font-family: 'Electrolize', sans-serif;
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

/* --- Portfolio Page --- */
.page-header {
    padding: 48px 0 32px;
}

.page-header h1 {
    font-family: 'Electrolize', sans-serif;
    font-size: 36px;
    color: var(--text);
}

/* Filter Section */
.filter-section {
    position: relative;
    background: var(--white);
    padding: 24px 20px;
    padding-right: 72px;
    margin-bottom: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

/* Search toggle button */
.featured-filter-btn {
    border-color: var(--dark-gray) !important;
    color: var(--dark-gray) !important;
    padding: 9px !important;
    line-height: 1;
}

.featured-filter-btn:hover {
    background: var(--bg);
}

.featured-filter-btn.active {
    background: var(--dark-gray);
    color: var(--white) !important;
}

.filter-buttons.search-active .featured-filter-btn {
    display: none;
}

.search-toggle-btn {
    position: absolute;
    top: 24px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px !important;
    border-color: var(--cool-gray) !important;
    color: var(--cool-gray) !important;
}

.search-toggle-btn:hover {
    background: var(--bg);
}

.search-toggle-btn .search-icon,
.search-toggle-btn .search-close-icon {
    display: block;
}

.search-toggle-btn .search-close-icon {
    display: none;
}

.filter-buttons.search-active .search-toggle-btn {
    background: var(--cool-gray);
    color: var(--white) !important;
}

.filter-buttons.search-active .search-toggle-btn .search-icon {
    display: none;
}

.filter-buttons.search-active .search-toggle-btn .search-close-icon {
    display: block;
}

/* Search input (inside filter-buttons) */
.search-input {
    width: 0;
    max-width: 0;
    font-family: 'Oxygen', sans-serif;
    font-size: 14px;
    padding: 8px 0;
    border: 2px solid transparent;
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    transition: width 0.25s ease, max-width 0.25s ease, padding 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    overflow: hidden;
}

.filter-buttons.search-active .search-input {
    width: 240px;
    max-width: 240px;
    padding: 8px 14px;
    border-color: #e0ddd8;
    opacity: 1;
}

.search-input:focus {
    outline: none;
    border-color: var(--teal);
}

.search-input::placeholder {
    color: var(--text-light);
}

/* Animate category buttons in/out */
.category-filter-btn {
    max-width: 250px;
    overflow: hidden;
    transition: max-width 0.25s ease, opacity 0.25s ease, padding 0.25s ease, border-width 0.25s ease;
}

.filter-buttons.search-active .category-filter-btn {
    max-width: 0;
    padding-left: 0;
    padding-right: 0;
    border-width: 0;
    opacity: 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.filter-btn {
    font-family: 'Electrolize', sans-serif;
    padding: 8px 9px;
    border: 2px solid;
    background: var(--white);
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
    transition: all var(--transition);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.filter-btn:hover {
    transform: translateY(-1px);
}

.filter-btn.active {
    color: var(--white);
}

.filter-btn[data-filter="all"] {
    border-color: var(--dark-gray);
    color: var(--dark-gray);
}

.filter-btn[data-filter="all"].active {
    background: var(--dark-gray);
    color: var(--white);
}

.filter-btn[data-filter="training-advies"] {
    border-color: var(--teal);
    color: var(--teal);
}

.filter-btn[data-filter="training-advies"].active {
    background: var(--teal);
    color: var(--white);
}

.filter-btn[data-filter="lesmateriaal-methodes"] {
    border-color: var(--olive);
    color: var(--olive);
}

.filter-btn[data-filter="lesmateriaal-methodes"].active {
    background: var(--olive);
    color: var(--white);
}

.filter-btn[data-filter="animatie-interactie"] {
    border-color: var(--peach);
    color: var(--dark-gray);
}

.filter-btn[data-filter="animatie-interactie"].active {
    background: var(--peach);
    color: var(--dark-gray);
}

.filter-btn[data-filter="cartografie-analyse"] {
    border-color: var(--light-blue);
    color: var(--dark-gray);
}

.filter-btn[data-filter="cartografie-analyse"].active {
    background: var(--light-blue);
    color: var(--dark-gray);
}

.filter-btn[data-filter="apps-websites"] {
    border-color: var(--cool-gray);
    color: var(--cool-gray);
}

.filter-btn[data-filter="apps-websites"].active {
    background: var(--cool-gray);
    color: var(--white);
}

.filter-btn[data-filter="publicaties-tekst"] {
    border-color: var(--burnt-orange);
    color: var(--burnt-orange);
}

.filter-btn[data-filter="publicaties-tekst"].active {
    background: var(--burnt-orange);
    color: var(--white);
}

/* Project Grid */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding-bottom: 60px;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    color: inherit;
}

.project-card.hidden {
    display: none;
}

.project-card-image {
    position: relative;
    width: 100%;
    height: 200px;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 1px solid var(--light-blue);
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-image .placeholder-icon {
    font-size: 48px;
    color: var(--white);
    font-family: 'Electrolize', sans-serif;
    opacity: 0.8;
}

.project-card-image .placeholder-title {
    font-size: 28px;
    color: var(--dark-gray);
    font-family: 'Electrolize', sans-serif;
    font-weight: 700;
    text-align: center;
    padding: 20px;
    line-height: 1.3;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--dark-gray);
    color: var(--white);
    font-size: 16px;
    font-family: 'Oxygen', sans-serif;
    font-weight: 400;
    padding: 6px 8px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 10;
    line-height: 1;
}

.project-card-body {
    padding: 20px;
}

.category-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.category-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dot-training-advies {
    background: var(--teal);
}

.dot-lesmateriaal-methodes {
    background: var(--olive);
}

.dot-animatie-interactie {
    background: var(--peach);
}

.dot-cartografie-analyse {
    background: var(--light-blue);
}

.dot-apps-websites {
    background: var(--cool-gray);
}

.dot-publicaties-tekst {
    background: var(--burnt-orange);
}

.project-card-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--text);
    line-height: 1.3;
}

.project-card-excerpt {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.project-card-meta {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
    font-family: 'Electrolize', sans-serif;
}

/* --- Project Detail Page --- */
.breadcrumb {
    padding: 24px 0 16px;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--teal);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--text-light);
}

.project-detail {
    background: var(--white);
    padding: 48px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 48px;
}

.project-header {
    border-bottom: 2px solid var(--bg);
    padding-bottom: 24px;
    margin-bottom: 32px;
}

.project-header h1 {
    font-family: 'Electrolize', sans-serif;
    font-size: 36px;
    color: var(--text);
    margin-bottom: 16px;
    line-height: 1.2;
}

.project-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.project-meta-text {
    color: var(--text-light);
    font-size: 15px;
}

.category-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-badge {
    font-family: 'Electrolize', sans-serif;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--white);
    letter-spacing: 0.3px;
}

.badge-training-advies {
    background: var(--teal);
}

.badge-lesmateriaal-methodes {
    background: var(--olive);
}

.badge-animatie-interactie {
    background: var(--peach);
    color: var(--dark-gray);
}

.badge-cartografie-analyse {
    background: var(--light-blue);
    color: var(--dark-gray);
}

.badge-apps-websites {
    background: var(--cool-gray);
}

.badge-publicaties-tekst {
    background: var(--burnt-orange);
}

.project-featured-image {
    width: 100%;
    max-width: 800px;
    margin: 32px auto;
    border-radius: var(--radius);
    overflow: hidden;
}

.project-featured-image img {
    max-width: 100%;
    max-height: var(--max-image-height);
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
    border: 1px solid var(--light-blue);
    border-radius: var(--radius);
}

.project-featured-image .placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--light-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    color: var(--white);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius);
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- Carousel --- */
.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    width: 100%;
    min-width: 0;
    flex: 0 0 100%;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-slide img {
    max-width: 100%;
    max-height: var(--max-image-height);
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(47, 69, 80, 0.7);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.carousel-arrow:hover {
    background: rgba(30, 123, 123, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow-prev {
    left: 16px;
}

.carousel-arrow-next {
    right: 16px;
}

.carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
    padding: 8px 16px;
    background: rgba(47, 69, 80, 0.5);
    border-radius: 20px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid var(--white);
    background: transparent;
    cursor: pointer;
    transition: background var(--transition);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.5);
}

.carousel-dot.active {
    background: var(--white);
}

.project-content {
    max-width: 800px;
}

.project-content h2 {
    font-family: 'Electrolize', sans-serif;
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--text);
}

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

.project-content p {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 1.8;
}

.project-content ul {
    margin: 16px 0 16px 28px;
}

.project-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.project-links {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    margin: 32px 0;
}

.project-links h3 {
    font-family: 'Electrolize', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
}

.project-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}

.project-links-list a {
    color: var(--teal);
    font-weight: 500;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.project-links-list a::before {
    content: "→";
}

.project-links-list a:hover {
    text-decoration: underline;
}

/* Credits */
.project-credits {
    background: var(--bg);
    padding: 24px;
    border-radius: var(--radius);
    margin: 32px 0;
}

.project-credits h3 {
    font-family: 'Electrolize', sans-serif;
    font-size: 18px;
    margin-bottom: 16px;
}

.project-credits-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 6px 16px;
}

.credit-role {
    font-family: 'Electrolize', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
}

.credit-name {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.credit-name a {
    color: var(--teal);
}

.credit-name a:hover {
    text-decoration: underline;
}

/* Related Projects */
.related-projects {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 2px solid var(--bg);
}

.related-projects h2 {
    font-family: 'Electrolize', sans-serif;
    font-size: 28px;
    margin-bottom: 24px;
    color: var(--text);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: var(--bg);
    padding: 20px;
    border-radius: var(--radius);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
    color: inherit;
}

.related-card h4 {
    font-family: 'Electrolize', sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text);
}

.related-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.related-card .category-dots {
    margin-bottom: 0;
}

/* --- Footer --- */
.site-footer {
    background: var(--dark-gray);
    padding: 40px 0;
    margin-top: 80px;
    text-align: center;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.9);
}

.site-footer a:hover {
    color: var(--teal);
}

.footer-tagline {
    font-family: 'Electrolize', sans-serif;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

/* --- Content Page (Expertise, Contact) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    margin-top: 32px;
}

.contact-info h2,
.contact-form-wrapper h2 {
    font-family: 'Electrolize', sans-serif;
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text);
}

.contact-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.contact-label {
    font-family: 'Electrolize', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-value {
    font-size: 16px;
    color: var(--text);
}

a.contact-value {
    color: var(--teal);
}

a.contact-value:hover {
    text-decoration: underline;
}

/* Workspace photo */
.contact-workspace {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 2px solid var(--bg);
}

.workspace-image {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--teal) 0%, var(--light-blue) 100%);
    min-height: 180px;
}

.workspace-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: 'Electrolize', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    font-family: 'Oxygen', sans-serif;
    font-size: 15px;
    padding: 12px 16px;
    border: 2px solid #e0ddd8;
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    transition: border-color var(--transition);
    width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    font-family: 'Electrolize', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    background: var(--teal);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
    align-self: flex-start;
}

.btn-submit:hover {
    background: var(--dark-gray);
    transform: translateY(-1px);
}

/* --- No Results --- */
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.no-results p {
    font-size: 18px;
    margin-bottom: 8px;
}

/* --- Loading --- */
.loading {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
    font-size: 16px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--dark-gray);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 12px 16px;
        width: 100%;
    }

    .site-header .container {
        position: relative;
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-image {
        flex: none;
        width: 100%;
        max-height: 300px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .project-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .filter-buttons {
        gap: 6px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .search-toggle-btn {
        padding: 0 12px !important;
        top: 24px;
        height: 29px;
    }

    .search-toggle-btn svg {
        width: 14px;
        height: 14px;
    }

    .filter-buttons.search-active .search-input {
        flex: 1;
        width: auto;
        max-width: none;
        font-size: 12px;
        padding: 0 10px;
        align-self: stretch;
    }

    .project-detail {
        padding: 24px;
    }

    .project-header h1 {
        font-size: 28px;
    }

    .project-featured-image .placeholder {
        height: 250px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
    }

    .carousel-arrow-prev {
        left: 8px;
    }

    .carousel-arrow-next {
        right: 8px;
    }

    .carousel-arrow svg {
        width: 20px;
        height: 20px;
    }

    .carousel-dots {
        bottom: 12px;
        padding: 6px 12px;
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .page-header h1 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .category-card {
        padding: 24px;
    }

    .project-detail {
        padding: 20px;
    }
}