/*
Theme Name: OY Construction
Theme URI: https://oy-construction.jp
Author: OY建設株式会社
Author URI: https://oy-construction.jp
Description: OY建設株式会社のための完全カスタムWordPressテーマ。建設会社向けの洗練されたデザインで、サービス紹介、施工実績、会社概要、お問い合わせセクションを備えています。
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oy-construction
Tags: custom-menu, featured-images, translation-ready, one-column, full-width-template
*/

/* ===== CSS VARIABLES ===== */
:root {
    --primary: #faf9f7;
    --secondary: #ffffff;
    --tertiary: #f0eeeb;
    --accent: #e8a83e;
    --accent-dark: #c4872a;
    --accent-green: #a8c5a0;
    --accent-green-dark: #7fa676;
    --text: #2d2d2d;
    --text-muted: #6b6b6b;
    --text-light: #999999;
    --border: rgba(45, 45, 45, 0.1);
}

/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--primary);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.25rem, 3vw + 1.2rem, 2.2rem);
    letter-spacing: 0.1em;
    color: var(--text);
    white-space: nowrap;
}

/* Header responsive */
@media (max-width: 768px) {
    header {
        padding: 1rem 4%;
    }
    .logo {
        gap: 0.75rem;
    }
    .logo-img {
        width: 44px;
        height: 44px;
    }
    .logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 0.875rem 4%;
    }
    .logo {
        gap: 0.5rem;
        min-width: 0;
    }
    .logo-img {
        width: 40px;
        height: 40px;
    }
    .logo-text {
        font-size: 1.25rem;
        letter-spacing: 0.05em;
        white-space: normal;
        overflow-wrap: break-word;
    }
}

/* Main Navigation */
nav,
.main-navigation {
    display: flex;
    gap: 2.5rem;
}

.main-navigation ul {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a,
.main-navigation a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    position: relative;
}

nav a::after,
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover,
.main-navigation a:hover {
    color: var(--accent);
}

nav a:hover::after,
.main-navigation a:hover::after {
    width: 100%;
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 5%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
}

/* ヒーロー背景動画 */
.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
}

.hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 249, 247, 0.88) 0%, rgba(240, 238, 235, 0.82) 50%, rgba(250, 249, 247, 0.75) 100%);
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .hero-video {
        display: none;
    }
    
    .hero-video-overlay {
        background: var(--primary);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* 軽量なCSSグリッドパターンに変更 */
    background-image: 
        linear-gradient(rgba(232,168,62,0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,168,62,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-geometric {
    position: absolute;
    right: -200px;
    top: 50%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    opacity: 0.15;
}

.hero-geometric::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    transform: rotate(45deg);
}

.hero-geometric::after {
    content: '';
    position: absolute;
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border: 2px solid var(--accent-green);
    transform: rotate(45deg);
}

.hero-decoration {
    position: absolute;
    left: -100px;
    bottom: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-green) 0%, transparent 70%);
    opacity: 0.15;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green-dark);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent-green);
}

/* SEO用h1 - 視覚的に非表示だがスクリーンリーダーで読み上げられる */
.hero h1.hero-title-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* デザイン用の視覚的タイトル */
.hero-title-visual {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.5rem, 10vw, 8rem);
    line-height: 1;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
    color: var(--text);
    font-weight: normal;
    /* CLS防止: 最小高さを設定 */
    min-height: 1em;
}

.hero-title-visual span {
    color: var(--accent);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 2rem;
    /* CLS防止: 最小高さを設定 */
    min-height: 1.5em;
}

.hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 168, 62, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border: 1px solid var(--accent-green);
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--accent-green);
    color: white;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    animation: bounce 2s infinite;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ===== STATS ===== */
.stats {
    background: var(--secondary);
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-green), var(--accent), var(--accent-green));
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* ===== SECTION COMMON ===== */
section {
    padding: 8rem 5%;
}

.section-header {
    margin-bottom: 4rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green-dark);
    font-size: 0.8rem;
    letter-spacing: 0.3em;
    margin-bottom: 1rem;
}

.section-label::before {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--accent-green);
}

.section-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    letter-spacing: 0.05em;
    color: var(--text);
}

/* ===== SERVICES ===== */
.services {
    background: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: var(--secondary);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid var(--border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 320px;
}

/* 背景画像の上に重ねるオーバーレイ（テキストの可読性向上） */
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 45, 45, 0.9) 0%, rgba(45, 45, 45, 0.5) 50%, rgba(45, 45, 45, 0.3) 100%);
    transition: background 0.4s ease;
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(to top, rgba(45, 45, 45, 0.95) 0%, rgba(45, 45, 45, 0.6) 100%);
}

.service-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
    min-height: 0;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent), var(--accent-green));
    transition: height 0.4s ease;
    z-index: 2;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(232, 168, 62, 0.25) 0%, rgba(168, 197, 160, 0.25) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-radius: 4px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Service Card Link */
.service-card-link {
    text-decoration: none;
    display: block;
}

.service-card-link .service-card {
    cursor: pointer;
}

.service-more {
    display: inline-block;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.service-card .service-more {
    color: var(--accent);
}

.service-card-link:hover .service-more {
    transform: translateX(5px);
}

/* Project Card Link */
.project-card-link {
    text-decoration: none;
    display: block;
}

/* ===== SINGLE SERVICE PAGE ===== */
.service-single {
    padding-top: 80px;
}

.service-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 6rem 5%;
    text-align: center;
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 45, 45, 0.85) 0%, rgba(45, 45, 45, 0.5) 50%, rgba(45, 45, 45, 0.3) 100%);
}

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-hero-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.service-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero-excerpt {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-content-section {
    padding: 5rem 5%;
    background: var(--secondary);
}

.service-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.service-main-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text);
}

.service-main-content h2 {
    font-size: 1.6rem;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    color: var(--text);
}

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

.service-main-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.service-main-content p {
    margin-bottom: 1.5rem;
}

.service-main-content ul,
.service-main-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.service-main-content li {
    margin-bottom: 0.75rem;
    position: relative;
}

.service-main-content ul li::marker {
    color: var(--accent);
}

/* Service Sidebar */
.service-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: var(--primary);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.sidebar-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-list li {
    margin-bottom: 0.75rem;
}

.service-list li:last-child {
    margin-bottom: 0;
}

.service-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--secondary);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.service-list a:hover {
    background: var(--accent);
    color: white;
}

.service-list-icon {
    font-size: 1.2rem;
}

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

.sidebar-contact p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.sidebar-tel {
    margin-bottom: 1.5rem;
}

.sidebar-tel .tel-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent-green-dark);
    letter-spacing: 0.15em;
    margin-bottom: 0.25rem;
}

.sidebar-tel a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
}

.sidebar-tel a:hover {
    color: var(--accent);
}

.sidebar-contact .btn-primary {
    display: block;
    text-align: center;
}

.service-back {
    padding: 3rem 5%;
    text-align: center;
    background: var(--tertiary);
}

@media (max-width: 1024px) {
    .service-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 4rem 5%;
    }
    
    .service-hero-icon {
        font-size: 3rem;
    }
    
    .service-sidebar {
        flex-direction: column;
    }
    
    .sidebar-card {
        min-width: auto;
    }
}

/* ===== SINGLE PROJECT PAGE ===== */
.project-single {
    padding-top: 80px;
}

.project-hero {
    background: linear-gradient(135deg, var(--text) 0%, #1a1a1a 100%);
    background-size: cover;
    background-position: center;
    padding: 8rem 5%;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.project-hero-category {
    display: inline-block;
    color: var(--accent);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.project-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.project-hero-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.meta-icon {
    font-size: 1.1rem;
}

.project-content-section {
    padding: 5rem 5%;
    background: var(--secondary);
}

.project-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
}

.project-main-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text);
}

.project-lead {
    font-size: 1.15rem;
    color: var(--text);
    line-height: 1.9;
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.project-main-content h2 {
    font-size: 1.6rem;
    margin: 3rem 0 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
    color: var(--text);
}

.project-main-content h2:first-of-type {
    margin-top: 0;
}

.project-main-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 1rem;
    color: var(--text);
}

.project-main-content p {
    margin-bottom: 1.5rem;
}

.project-main-content ul,
.project-main-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.project-main-content li {
    margin-bottom: 0.75rem;
}

.project-main-content ul li::marker {
    color: var(--accent);
}

/* Project Sidebar */
.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-info-card dl {
    margin: 0;
}

.project-info-list dt {
    font-size: 0.8rem;
    color: var(--accent-green-dark);
    letter-spacing: 0.1em;
    margin-bottom: 0.25rem;
}

.project-info-list dd {
    margin: 0 0 1.25rem 0;
    color: var(--text);
    font-size: 1rem;
}

.project-info-list dd:last-child {
    margin-bottom: 0;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-list li {
    margin-bottom: 0.5rem;
}

.project-list li:last-child {
    margin-bottom: 0;
}

.project-list a {
    display: block;
    padding: 0.75rem;
    background: var(--secondary);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.project-list a:hover {
    background: var(--accent);
    color: white;
}

.project-list-category {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.project-list a:hover .project-list-category {
    color: rgba(255, 255, 255, 0.8);
}

.project-back {
    padding: 3rem 5%;
    text-align: center;
    background: var(--tertiary);
}

@media (max-width: 1024px) {
    .project-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .project-sidebar .sidebar-card {
        flex: 1;
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .project-hero {
        padding: 5rem 5%;
        min-height: 300px;
    }
    
    .project-hero-meta {
        gap: 1rem;
    }
    
    .project-sidebar {
        flex-direction: column;
    }
    
    .project-sidebar .sidebar-card {
        min-width: auto;
    }
}

/* ===== NEWS ARCHIVE PAGE ===== */
.news-archive {
    padding-top: 80px;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    padding: 5rem 5%;
    text-align: center;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-green-dark);
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}

.page-hero-label::before {
    content: '';
    width: 40px;
    height: 1px;
    background: var(--accent-green);
}

.page-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1rem;
}

.news-list-section {
    padding: 5rem 5%;
    background: var(--secondary);
}

.news-container {
    max-width: 900px;
    margin: 0 auto;
}

.news-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.news-item {
    background: var(--primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-item:hover {
    border-color: var(--accent);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.news-item-link {
    display: block;
    padding: 1.5rem 2rem;
    text-decoration: none;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    border-radius: 3px;
}

.news-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
    margin: 0;
    line-height: 1.6;
}

.news-item-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    line-height: 1.7;
}

.news-pagination {
    margin-top: 3rem;
}

.news-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.news-pagination a,
.news-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: var(--primary);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-pagination a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.news-pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.no-news {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* ===== SINGLE NEWS PAGE ===== */
.news-single {
    padding-top: 80px;
}

.news-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--tertiary) 100%);
    padding: 5rem 5%;
}

.news-header-content {
    max-width: 900px;
    margin: 0 auto;
}

.news-header-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.news-header .news-date {
    font-size: 0.95rem;
}

.news-header h1 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text);
    line-height: 1.5;
}

.news-content-section {
    padding: 4rem 5%;
    background: var(--secondary);
}

.news-content-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 4rem;
}

.news-main-content {
    background: var(--primary);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
}

.news-featured-image {
    margin-bottom: 2rem;
    border-radius: 4px;
    overflow: hidden;
}

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

.news-body {
    font-size: 1rem;
    line-height: 2;
    color: var(--text);
}

.news-body h2 {
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    color: var(--text);
}

.news-body h2:first-child {
    margin-top: 0;
}

.news-body p {
    margin-bottom: 1.5rem;
}

.news-body ul,
.news-body ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.news-body li {
    margin-bottom: 0.5rem;
}

.news-body ul li::marker {
    color: var(--accent);
}

/* News Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.news-sidebar-list li {
    border-bottom: 1px solid var(--border);
}

.news-sidebar-list li:last-child {
    border-bottom: none;
}

.news-sidebar-list a {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.news-sidebar-list a:hover {
    opacity: 0.7;
}

.sidebar-news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.sidebar-news-title {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    line-height: 1.5;
}

.sidebar-more-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.sidebar-more-link:hover {
    transform: translateX(5px);
}

/* News Navigation */
.news-navigation {
    padding: 3rem 5%;
    background: var(--tertiary);
}

.news-nav-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
}

.news-nav-prev,
.news-nav-next {
    min-width: 0;
}

.news-nav-prev a,
.news-nav-next a {
    display: block;
    text-decoration: none;
    padding: 1rem;
    background: var(--secondary);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.news-nav-prev a:hover,
.news-nav-next a:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.news-nav-next {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.nav-title {
    display: block;
    font-size: 0.95rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

@media (max-width: 1024px) {
    .news-content-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .news-sidebar {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .news-sidebar .sidebar-card {
        flex: 1;
        min-width: 250px;
    }
}

@media (max-width: 768px) {
    .news-nav-wrapper {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-nav-center {
        order: -1;
    }
    
    .news-nav-next {
        text-align: left;
    }
    
    .news-main-content {
        padding: 1.5rem;
    }
    
    .news-sidebar {
        flex-direction: column;
    }
    
    .news-sidebar .sidebar-card {
        min-width: auto;
    }
}

/* ===== PROJECTS ===== */
.projects {
    background: var(--tertiary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
}

.project-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--tertiary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.project-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(232, 168, 62, 0.05) 0%, rgba(168, 197, 160, 0.05) 100%);
}

.project-placeholder {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 6rem;
    color: rgba(45, 45, 45, 0.08);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 45, 45, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to top, rgba(45, 45, 45, 0.98) 0%, rgba(45, 45, 45, 0.7) 100%);
}

.project-category {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.project-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ===== ABOUT ===== */
.about {
    background: var(--secondary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    padding-right: 2rem;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    border-radius: 4px;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.about-feature p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-visual {
    position: relative;
    height: 500px;
}

.about-image {
    position: absolute;
    background: var(--tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.about-image-1 {
    width: 70%;
    height: 70%;
    top: 0;
    right: 0;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.about-image-2 {
    width: 50%;
    height: 50%;
    bottom: 0;
    left: 0;
    z-index: 1;
    border: 4px solid var(--accent-green);
}

.about-year {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 8rem;
    color: rgba(232, 168, 62, 0.1);
    line-height: 1;
    z-index: 0;
}

/* ===== NEWS SECTION (Front Page) ===== */
.news-section {
    background: var(--primary);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.news-card-link {
    text-decoration: none;
    display: block;
}

.news-card {
    background: var(--secondary);
    padding: 2rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all 0.3s ease;
    height: 100%;
}

.news-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-card-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.news-card-category {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    border-radius: 3px;
}

.news-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.no-news-message {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 2rem;
}

.news-section-footer {
    text-align: center;
    margin-top: 3rem;
}

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

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        padding: 1.5rem;
    }
}

/* ===== COMPANY INFO ===== */
.company-info {
    background: var(--tertiary);
}

.company-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.office-card {
    background: var(--secondary);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.office-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.office-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(232, 168, 62, 0.1) 0%, rgba(168, 197, 160, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border-radius: 4px;
}

.office-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
}

.office-details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.office-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.office-label {
    font-size: 0.8rem;
    color: var(--accent-green-dark);
    letter-spacing: 0.1em;
    min-width: 70px;
    padding-top: 0.1rem;
    flex-shrink: 0;
}

.office-value {
    font-size: 1rem;
    color: var(--text);
    flex: 1;
}

.office-value a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.office-value a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .company-info-grid {
        grid-template-columns: 1fr;
    }
    
    .office-card {
        padding: 2rem;
    }
}

/* ===== CONTACT ===== */
.contact {
    background: var(--primary);
    text-align: center;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--text);
}

.contact-description {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

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

.contact-item-label {
    color: var(--accent-green-dark);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.contact-item-value {
    font-size: 1.1rem;
    color: var(--text);
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 4px;
}

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

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

.form-submit {
    text-align: center;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
footer {
    background: var(--text);
    padding: 4rem 5% 2rem;
    color: white;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-section h4 {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.footer-social a:hover {
    background: var(--accent);
    color: white;
}

/* ===== CONTENT PAGES ===== */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 5% 80px;
}

.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.page-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: var(--text);
    margin-bottom: 0.5rem;
}

.page-content {
    font-size: 1rem;
    line-height: 2;
    color: var(--text);
}

.page-content h2 {
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
    color: var(--text);
}

.page-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
    color: var(--text);
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.page-content a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-content a:hover {
    color: var(--accent-dark);
}

/* Post Meta */
.post-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.post-meta a {
    color: var(--accent);
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--accent-dark);
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.post-card {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.post-card-image {
    aspect-ratio: 16/9;
    background: var(--tertiary);
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.05);
}

.post-card-content {
    padding: 1.5rem;
}

.post-card-category {
    color: var(--accent);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.post-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-card-title a:hover {
    color: var(--accent);
}

.post-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-card-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* 404 Page */
.error-404 {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.error-404 h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 10rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-404 p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

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

    .about-visual {
        height: 400px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    nav,
    .main-navigation {
        display: none;
    }

    .stats {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .contact-info {
        gap: 2rem;
    }

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

    .error-404 h1 {
        font-size: 6rem;
    }
}

/* ===== WORDPRESS SPECIFIC ===== */
.alignleft {
    float: left;
    margin-right: 1.5rem;
    margin-bottom: 1rem;
}

.alignright {
    float: right;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
}

.wp-caption {
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.wp-caption-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    padding-top: 0.5rem;
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* Comment Form */
.comment-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 1rem;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
}

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

.comment-form .submit {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-form .submit:hover {
    background: var(--accent-dark);
}

/* ===== CONTACT FORM 7 STYLES ===== */
.contact-form-wrapper {
    text-align: left;
}

.cf7-notice {
    background: var(--tertiary);
    padding: 2rem;
    border-radius: 4px;
    color: var(--text-muted);
    text-align: center;
}

/* CF7 Form Layout */
.wpcf7-form {
    display: grid;
    gap: 1.5rem;
}

.wpcf7-form p {
    margin: 0;
}

/* CF7 Form Row - 2 columns */
.cf7-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .cf7-form-row {
        grid-template-columns: 1fr;
    }
}

/* CF7 Form Group */
.cf7-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cf7-form-group label,
.wpcf7-form label {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.cf7-form-group label .required {
    color: #dc3545;
}

/* Custom Form Input Fields */
.cf7-form-group input,
.cf7-form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 4px;
}

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

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

.cf7-form-group input::placeholder,
.cf7-form-group textarea::placeholder {
    color: var(--text-light);
}

/* ===== CONTACT FORM CONFIRMATION ===== */
.contact-form-step {
    width: 100%;
}

.confirm-container {
    background: var(--secondary);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2.5rem;
}

.confirm-message {
    text-align: center;
    color: var(--text);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.confirm-table th,
.confirm-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
}

.confirm-table th {
    width: 30%;
    background: var(--tertiary);
    color: var(--text);
    font-weight: 500;
    font-size: 0.9rem;
}

.confirm-table td {
    color: var(--text);
    font-size: 1rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.confirm-table tr:last-child th,
.confirm-table tr:last-child td {
    border-bottom: none;
}

.confirm-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .confirm-container {
        padding: 1.5rem;
    }
    
    .confirm-table th,
    .confirm-table td {
        display: block;
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    .confirm-table th {
        border-bottom: none;
        padding-bottom: 0.25rem;
    }
    
    .confirm-table td {
        padding-top: 0.25rem;
    }
    
    .confirm-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .confirm-buttons button {
        width: 100%;
    }
}

/* CF7 Input Fields */
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 1rem;
    background: var(--secondary);
    border: 1px solid var(--border);
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    border-radius: 4px;
}

.wpcf7-form-control:not(.wpcf7-submit):focus {
    outline: none;
    border-color: var(--accent);
}

.wpcf7-textarea {
    min-height: 150px;
    resize: vertical;
}

/* CF7 Submit Button */
.wpcf7-submit {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    border-radius: 0;
}

.wpcf7-submit:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(232, 168, 62, 0.3);
}

.cf7-submit-wrapper {
    text-align: center;
    margin-top: 1rem;
}

/* CF7 Validation & Messages */
.wpcf7-not-valid {
    border-color: #dc3545 !important;
}

.wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

.wpcf7-response-output {
    padding: 1rem;
    margin: 1.5rem 0 0 0;
    border-radius: 4px;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background: rgba(168, 197, 160, 0.2);
    border: 1px solid var(--accent-green);
    color: var(--accent-green-dark);
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    color: #dc3545;
}

/* CF7 Spinner */
.wpcf7-spinner {
    margin-left: 1rem;
}

/* CF7 Acceptance checkbox */
.wpcf7-acceptance {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    padding: 0;
}

.wpcf7-list-item {
    margin: 0;
}
