/*
Theme Name: Museikon
Theme URI: https://museikon.ro
Description: Tema custom pentru Museikon - Muzeul National al Unirii Alba Iulia
Version: 2.0
Author: Museikon
Text Domain: museikon
*/

/* === PAGE LOADER === */
#page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

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

.loader-logo {
    height: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 25px;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

.loader-spinner {
    width: 35px;
    height: 35px;
    margin: 0 auto;
    border: 3px solid rgba(255,255,255,0.15);
    border-top-color: var(--orange);
    border-radius: 50%;
    animation: loaderSpin 0.8s linear infinite;
}

@keyframes loaderSpin {
    to { transform: rotate(360deg); }
}

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    /* Culori din logo Museikon */
    --burgundy: #4A1A2E;
    --burgundy-light: #6B2D45;
    --orange: #E07C24;
    --orange-light: #F5A623;
    --orange-dark: #C06A1A;
    --cream: #FDF8F0;
    --cream-dark: #F5EDE0;

    --bg: #FAFAF8;
    --bg-dark: #1A0F14;
    --text: #2D2D2D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --border: #E8DFD4;
    --shadow-sm: 0 1px 3px rgba(74,26,46,0.06);
    --shadow: 0 4px 15px rgba(74,26,46,0.08);
    --shadow-lg: 0 10px 40px rgba(74,26,46,0.12);
    --radius: 12px;
    --radius-sm: 6px;
    --max-width: 1280px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', 'Georgia', serif;
    font-weight: 700;
    line-height: 1.3;
}

a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-dark); }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 30px; }

/* === TOP BAR === */
.top-bar {
    background: transparent;
    color: var(--text-light);
    font-size: 0.78em;
    border-bottom: 1px solid var(--border);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.top-bar-item {
    color: var(--text-light);
    transition: color 0.3s;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.top-bar-item svg {
    flex-shrink: 0;
    color: var(--orange);
}

a.top-bar-item:hover {
    color: var(--burgundy);
}

/* Menu button item (Revista Museikon) */
.nav-right .menu-item-btn a {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white) !important;
    border-radius: 50px;
    padding: 8px 22px !important;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(224,124,36,0.3);
    transition: all 0.3s ease;
}

.nav-right .menu-item-btn a:hover {
    background: linear-gradient(135deg, var(--orange-light), var(--orange));
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(224,124,36,0.45);
}

.top-bar-sep {
    width: 1px;
    height: 12px;
    background: var(--border);
}

.top-bar-transparent {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: fixed;
    width: 100%;
    z-index: 1001;
    padding: 2px 0;
}

.top-bar-transparent .top-bar-item {
    color: rgba(255,255,255,0.7);
}

.top-bar-transparent .top-bar-item svg {
    color: var(--orange-light);
}

.top-bar-transparent a.top-bar-item:hover {
    color: var(--white);
}

.top-bar-transparent .top-bar-sep {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .top-bar-inner { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0; }
    .top-bar-left, .top-bar-right { gap: 0; }
    .top-bar-sep { display: none; }
    .top-bar-item { padding: 3px 8px; font-size: 0.85em; }
    .top-bar-item svg { width: 13px; height: 13px; }
}

/* === HEADER === */
.site-header {
    background: var(--bg-dark);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(224,124,36,0.12);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header-transparent {
    position: fixed;
    width: 100%;
    top: 38px;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
    .header-transparent {
        top: 65px;
    }
}

.header-transparent.scrolled {
    background: rgba(26,15,20,0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
    border-bottom-color: rgba(224,124,36,0.15);
}

.top-bar-transparent.scrolled {
    background: rgba(26,15,20,0.95);
    backdrop-filter: blur(15px);
    border-bottom-color: rgba(224,124,36,0.1);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 0;
}

/* Logo centrat mare */
.site-logo {
    flex: 0 0 auto;
    margin: 0 50px;
}

.site-logo img,
.custom-logo {
    height: 70px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s;
}

.site-logo:hover .custom-logo {
    opacity: 0.8;
}

/* === NAVIGATION STANGA / DREAPTA === */
.nav-left,
.nav-right {
    flex: 1;
}

.nav-left ul,
.nav-right ul {
    list-style: none;
    display: flex;
    gap: 3px;
    align-items: center;
}

.nav-left ul { justify-content: flex-end; }
.nav-right ul { justify-content: flex-start; }

.nav-left a,
.nav-right a {
    color: rgba(255,255,255,0.8);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.78em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
    display: block;
    white-space: nowrap;
}

.nav-left a:hover,
.nav-right a:hover,
.nav-left .current-menu-item > a,
.nav-right .current-menu-item > a {
    color: var(--white);
    background: rgba(224,124,36,0.15);
}

.nav-left li,
.nav-right li {
    position: relative;
}

.nav-left .sub-menu,
.nav-right .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(224,124,36,0.1);
    list-style: none;
}

.nav-left li:hover > .sub-menu,
.nav-right li:hover > .sub-menu {
    display: block;
}

.nav-left .sub-menu a,
.nav-right .sub-menu a {
    padding: 10px 20px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.85em;
}

/* Mobile */
.menu-toggle {
    display: none;
    background: none;
    border: 2px solid rgba(255,255,255,0.3);
    color: var(--white);
    font-size: 1.3em;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.menu-toggle:hover { border-color: var(--orange); }

/* Nav mobile hidden on desktop */
.nav-mobile { display: none; }

@media (max-width: 900px) {
    .menu-toggle { display: block; }
    .nav-left, .nav-right { display: none !important; }
    .header-top { justify-content: space-between; flex-wrap: wrap; position: relative; }
    .site-logo { margin: 0; }
    .custom-logo { height: 45px; }

    .nav-mobile {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-top: 1px solid rgba(224,124,36,0.15);
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }
    .nav-mobile.mobile-open { display: block; }
    .nav-mobile ul {
        list-style: none;
        padding: 10px 0;
    }
    .nav-mobile a {
        display: block;
        color: rgba(255,255,255,0.8);
        padding: 12px 25px;
        font-size: 0.9em;
        text-transform: uppercase;
        letter-spacing: 1px;
        transition: var(--transition);
    }
    .nav-mobile a:hover {
        color: var(--white);
        background: rgba(224,124,36,0.15);
    }
    .nav-mobile .sub-menu {
        list-style: none;
        padding-left: 20px;
    }
    .nav-mobile .sub-menu a {
        text-transform: none;
        letter-spacing: 0;
        font-size: 0.85em;
        padding: 10px 25px;
        color: rgba(255,255,255,0.6);
    }
}

/* === HERO SLIDER === */
.hero-slider {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-slider .slides {
    position: absolute;
    inset: 0;
}

.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 1.5s ease, transform 8s ease;
}

.hero-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26,15,20,0.5) 0%,
        rgba(74,26,46,0.4) 40%,
        rgba(26,15,20,0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    animation: fadeInUp 1.2s ease;
}

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

.hero-content .hero-logo {
    height: 100px;
    margin: 0 0 30px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.hero-content h1 {
    font-size: 3.5em;
    letter-spacing: 6px;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-content .hero-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-light), var(--orange));
    margin: 0 0 30px;
    border-radius: 2px;
}

.hero-cta {
    display: inline-flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Hero right column */
.hero-right {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.hero-revista-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.6);
    font-size: 0.95em;
    letter-spacing: 0.5px;
    transition: color 0.3s;
    white-space: nowrap;
}

.hero-revista-link:hover {
    color: var(--orange-light);
}

.hero-revista-arrow {
    transition: transform 0.3s;
}

.hero-revista-link:hover .hero-revista-arrow {
    transform: translateX(4px);
}

/* Hero inner layout - left text, right stats */
.hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--max-width);
    padding: 0 40px;
    gap: 60px;
}

.hero-content {
    flex: 1;
    text-align: left;
    padding: 0;
    max-width: none;
}

/* Hero stats panel */
.hero-stats {
    flex: 0 0 auto;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    padding: clamp(30px, 4vw, 60px) clamp(35px, 4vw, 70px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(25px, 3vw, 45px) clamp(35px, 4vw, 70px);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.05);
}

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

.hero-stat-nr {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.5em, 5vw, 4.5em);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.hero-stat-label {
    display: block;
    font-size: clamp(0.6em, 0.9vw, 0.85em);
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .hero-inner { flex-direction: column; gap: 30px; padding: 0 20px; }
    .hero-content { text-align: center; }
    .hero-content .hero-logo { margin: 0 auto 30px; }
    .hero-content .hero-divider { margin: 0 auto 30px; }
    .hero-cta { justify-content: center; }
    .hero-right { align-items: center; }
}

/* Slide arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2em;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slide-arrow:hover {
    background: rgba(224,124,36,0.6);
    border-color: var(--orange);
}

.slide-prev { left: 30px; }
.slide-next { right: 30px; }

@media (max-width: 768px) {
    .slide-arrow { width: 40px; height: 40px; font-size: 1em; }
    .slide-prev { left: 15px; }
    .slide-next { right: 15px; }
}

/* Slide dots */
.slide-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 12px;
}

.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.slide-dots .dot.active {
    background: var(--orange);
}

.slide-dots .dot:hover {
    background: rgba(255,255,255,0.6);
}

/* SVG progress ring around active dot */
.slide-dots .dot .dot-ring {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 24px;
    height: 24px;
    transform: rotate(-90deg);
    display: none;
}

.slide-dots .dot.active .dot-ring {
    display: block;
}

.slide-dots .dot .dot-ring circle {
    fill: none;
    stroke: var(--orange-light);
    stroke-width: 2;
    stroke-dasharray: 62.83;
    stroke-dashoffset: 62.83;
    stroke-linecap: round;
    animation: ringProgress 7s linear forwards;
}

@keyframes ringProgress {
    from { stroke-dashoffset: 62.83; }
    to { stroke-dashoffset: 0; }
}

/* Slide progress bar */
.slide-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-light), var(--orange));
    z-index: 4;
    width: 0%;
    animation: slideProgress 7s linear;
}

@keyframes slideProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border: none;
    border-radius: 50px;
    font-size: 0.95em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(224,124,36,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224,124,36,0.45);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.6);
    color: var(--white);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
    color: var(--white);
}

.btn-burgundy {
    background: var(--burgundy);
    color: var(--white);
}
.btn-burgundy:hover {
    background: var(--burgundy-light);
    color: var(--white);
    transform: translateY(-2px);
}

/* === SECTIONS === */
.section {
    padding: 80px 0;
}

.section-dark {
    background: var(--cream);
}

.section-title {
    font-size: 2.5em;
    color: var(--burgundy);
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange-light), var(--orange));
    margin: 15px auto 20px;
    border-radius: 2px;
}

/* === CONTENT === */
.site-content {
    padding: 60px 0;
    min-height: 60vh;
}

.page-title {
    font-size: 2.5em;
    color: var(--burgundy);
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 2px;
}

article.post, article.page {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

article h2 { font-size: 1.7em; margin-bottom: 15px; }
article h2 a { color: var(--burgundy); }
article h2 a:hover { color: var(--orange); }

.entry-meta {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.entry-content p { margin-bottom: 1.2em; }
.entry-content img { border-radius: var(--radius); margin: 25px 0; }

/* === CARDS GRID === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: block;
    color: var(--text);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
    color: var(--text);
}

.card-icon {
    font-size: 3em;
    margin-bottom: 15px;
    display: block;
}

.card-image {
    height: 220px;
    overflow: hidden;
}

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

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

.card-body {
    padding: 25px;
}

.card-body h3 {
    margin-bottom: 10px;
    font-size: 1.3em;
    color: var(--burgundy);
}

.card-body p {
    color: var(--text-light);
    font-size: 0.95em;
    line-height: 1.6;
}

/* === PROJECT PAGE === */
.project-page {
    max-width: 900px;
    margin: 0 auto;
}

.project-intro {
    font-size: 1.1em;
    line-height: 1.9;
    color: var(--text);
}

.project-intro p {
    margin-bottom: 1.2em;
}

.project-separator {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange), transparent);
    margin: 45px 0;
}

.project-page h2 {
    color: var(--burgundy);
    font-size: 1.6em;
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.project-page h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background: linear-gradient(to bottom, var(--orange), var(--orange-light));
    border-radius: 2px;
}

.partner-contact {
    background: var(--cream);
    border-left: 3px solid var(--orange);
    padding: 18px 22px;
    border-radius: var(--radius-sm);
    margin-top: 15px;
    font-size: 0.92em;
    line-height: 2;
}

.partner-contact strong {
    color: var(--burgundy);
    display: inline-block;
    min-width: 80px;
}

.partner-contact a {
    color: var(--orange);
}

.partner-contact a:hover {
    color: var(--burgundy);
}

.progress-bar {
    background: var(--cream-dark);
    border-radius: 50px;
    height: 28px;
    overflow: hidden;
    margin-top: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.85em;
    letter-spacing: 1px;
}

/* === ABOUT SECTION === */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.about-text h2 {
    color: var(--burgundy);
    font-size: 2em;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

/* === STATS === */
.stats-bar {
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--bg-dark) 100%);
    padding: 50px 0;
    margin: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
    color: var(--white);
}

.stat-item h3 {
    font-size: 2.8em;
    color: var(--orange-light);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9em;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === DOCPAT CATALOG === */
.docpat-search {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 35px;
    border: 1px solid var(--border);
}

.docpat-search h3 {
    margin-bottom: 20px;
    color: var(--burgundy);
    font-size: 1.4em;
}

.search-filters {
    display: grid;
    grid-template-columns: 2fr 1fr auto;
    gap: 15px;
    align-items: end;
}

.search-filters input,
.search-filters select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95em;
    transition: var(--transition);
    background: var(--bg);
    font-family: inherit;
}

.search-filters input:focus,
.search-filters select:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,124,36,0.15);
}

/* Catalog results */
.catalog-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.catalog-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    display: block;
    color: var(--text);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
    color: var(--text);
}

.catalog-item-image {
    height: 230px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.catalog-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.catalog-item:hover .catalog-item-image img { transform: scale(1.05); }

.catalog-item-image .no-image {
    color: var(--border);
    font-size: 4em;
}

.catalog-item-info {
    padding: 20px;
}

.catalog-item-info h4 {
    margin-bottom: 10px;
    color: var(--burgundy);
    font-size: 1.05em;
    line-height: 1.4;
}

.catalog-item-info .meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.82em;
    color: var(--text-light);
    margin-bottom: 5px;
    padding: 3px 0;
}

.catalog-item-info .meta-row span:first-child {
    font-weight: 600;
    color: var(--text);
}

/* Catalog detail */
.catalog-detail {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.catalog-detail-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.catalog-detail-images {
    padding: 35px;
    background: var(--cream);
}

.catalog-detail-images .main-image {
    width: 100%;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    box-shadow: var(--shadow);
}

.catalog-detail-images .thumbnails {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.catalog-detail-images .thumbnails img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.catalog-detail-images .thumbnails img:hover,
.catalog-detail-images .thumbnails img.active {
    border-color: var(--orange);
}

.catalog-detail-data {
    padding: 35px;
}

.catalog-detail-data h2 {
    color: var(--burgundy);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--cream-dark);
    font-size: 1.6em;
}

.detail-group-title {
    color: var(--burgundy);
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 25px 0 10px;
    padding: 8px 0;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.detail-group-title:first-of-type {
    margin-top: 0;
}

.catalog-detail-data table { width: 100%; border-collapse: collapse; }

.catalog-detail-data table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--cream-dark);
    vertical-align: top;
    font-size: 0.95em;
}

.catalog-detail-data table td:first-child {
    font-weight: 600;
    width: 40%;
    color: var(--burgundy);
}

/* Pagination */
.docpat-pagination {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.pag-info {
    color: var(--text-light);
    font-size: 0.9em;
}

.pag-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.pag-btn {
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    font-size: 0.9em;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.pag-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: var(--cream);
}

.pag-active {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark)) !important;
    color: var(--white) !important;
    border-color: var(--orange) !important;
    pointer-events: none;
}

.pag-dots {
    padding: 8px 6px;
    color: var(--text-light);
}

.pag-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
    color: var(--text-light);
}

.pag-jump input {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    text-align: center;
    font-family: inherit;
}

.pag-jump input:focus {
    border-color: var(--orange);
    outline: none;
}

.pag-jump-btn {
    padding: 6px 14px !important;
    font-size: 0.85em !important;
}

/* Catalog transition */
#docpat-results {
    transition: opacity 0.3s;
}

.docpat-search h3 {
    margin-bottom: 15px;
}

#docpat-search-input {
    font-size: 1em;
}

/* === BISERICI === */
.biserici-page .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 40px;
}

.biserici-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

.biserica-card {
    border: 1px solid var(--border);
    overflow: hidden;
}

.biserica-card .card-image {
    height: 200px;
}

.biserica-card .card-body {
    padding: 15px 20px;
    text-align: center;
}

.biserica-card .card-body h3 {
    font-size: 1em;
    color: var(--burgundy);
    margin: 0;
}

/* === PROIECT CARDS === */
.proiect-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
}

.proiect-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(74,26,46,0.3);
}

.proiect-card img {
    transition: transform 0.6s ease;
}

.proiect-card:hover img {
    transform: scale(1.08);
}

.proiect-card .wp-block-cover__inner-container h3,
.proiect-card .wp-block-cover__inner-container p {
    color: #FFFFFF !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

/* === DOCPAT SHOWCASE === */
.docpat-showcase {
    margin: 30px 0;
}

.showcase-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6em;
    color: var(--burgundy);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--orange);
}

.showcase-wrapper {
    position: relative;
}

.showcase-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: var(--white);
    border: 1px solid var(--border);
    color: var(--burgundy);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74,26,46,0.15);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-arrow:hover {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
    transform: translateY(-50%) scale(1.1);
}

.showcase-prev { left: -18px; }
.showcase-next { right: -18px; }

@media (max-width: 768px) {
    .showcase-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.75em;
    }
    .showcase-prev { left: 5px; }
    .showcase-next { right: 5px; }
}

.showcase-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.showcase-track::-webkit-scrollbar {
    display: none;
}


.showcase-item {
    flex: 0 0 240px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.showcase-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
    color: var(--text);
}

.showcase-image {
    height: 220px;
    overflow: hidden;
    background: var(--cream);
}

.showcase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.showcase-item:hover .showcase-image img {
    transform: scale(1.08);
}

.showcase-info {
    padding: 15px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-info h4 {
    font-size: 1em;
    color: var(--burgundy);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-tip {
    font-size: 0.78em;
    color: var(--text-light);
    text-transform: lowercase;
    margin-top: auto;
}

/* === ARTICOLE TOOLBAR === */
.articole-toolbar {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.articole-toolbar input {
    flex: 1;
    min-width: 200px;
    padding: 12px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95em;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.articole-toolbar input:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,124,36,0.15);
}

.articole-filters {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.articole-filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text);
    font-size: 0.82em;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}

.articole-filter-btn:hover {
    border-color: var(--orange);
    color: var(--orange);
}

.articole-filter-btn.active {
    background: var(--burgundy);
    color: var(--white);
    border-color: var(--burgundy);
}

.articole-count {
    color: var(--text-light);
    font-size: 0.85em;
    white-space: nowrap;
    margin-left: auto;
}

@media (max-width: 768px) {
    .articole-toolbar { flex-direction: column; align-items: stretch; }
    .articole-count { text-align: center; }
}

/* === ARTICOLE GRID === */
.articole-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.articol-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text);
}

.articol-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
    color: var(--text);
}

.articol-card-image {
    height: 200px;
    overflow: hidden;
}

.articol-card-image img {
    transition: transform 0.5s ease;
}

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

.articol-card-body {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.articol-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.articol-card-cat {
    background: var(--cream-dark);
    color: var(--burgundy);
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 0.75em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.articol-card-date {
    color: var(--text-light);
    font-size: 0.8em;
}

.articol-card-body h2 {
    font-size: 1.2em;
    color: var(--burgundy);
    margin-bottom: 10px;
    line-height: 1.4;
}

.articol-card-body p {
    color: var(--text-light);
    font-size: 0.9em;
    line-height: 1.6;
    margin-top: auto;
}

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

/* === ACTIVITATI === */
.activitati-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.activitate-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    color: var(--text);
    display: flex;
    flex-direction: column;
}

.activitate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
    color: var(--text);
}

.activitate-card-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.activitate-card-image img {
    transition: transform 0.5s ease;
}

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

.activitate-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--orange);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8em;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.activitate-card-body {
    padding: 20px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activitate-card-body h3 {
    font-size: 1.1em;
    color: var(--burgundy);
    line-height: 1.4;
}

.activitate-stadiu {
    background: var(--cream);
    padding: 18px 22px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    border-left: 4px solid var(--orange);
}

.activitate-stadiu-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--burgundy);
}

.activitate-stadiu-nr {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.6em;
    font-weight: 700;
    color: var(--orange);
}

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

/* === BISERICI SEARCH === */
.biserici-search-box {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.biserici-search-box input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1em;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.biserici-search-box input:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,124,36,0.15);
}

.biserici-count {
    color: var(--text-light);
    font-size: 0.9em;
    white-space: nowrap;
}

/* === BISERICA DETAIL === */
/* Biserica banner */
.biserica-back-link {
    font-size: 0.85em;
    color: var(--text-light);
    display: inline-block;
    margin-bottom: 15px;
}

.biserica-back-link:hover {
    color: var(--orange);
}

.biserica-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-color: var(--burgundy);
    display: flex;
    align-items: flex-end;
    margin-bottom: 35px;
}

.biserica-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26,15,20,0.85) 0%,
        rgba(74,26,46,0.4) 50%,
        rgba(26,15,20,0.15) 100%
    );
    border-radius: var(--radius);
}

.biserica-banner-content {
    position: relative;
    z-index: 2;
    padding: 30px 35px;
    width: 100%;
}

.biserica-banner-content h1 {
    font-size: 2.2em;
    color: var(--white);
    margin-bottom: 4px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.biserica-banner-content p {
    color: rgba(255,255,255,0.8);
    font-size: 1em;
    margin-bottom: 8px;
}

.biserica-banner-content .biserica-categories {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.biserica-banner-content .biserica-tag {
    background: rgba(255,255,255,0.15);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
    .biserica-banner {
        height: 180px;
    }
    .biserica-banner-content h1 {
        font-size: 1.5em;
    }
    .biserica-banner-content {
        padding: 20px;
    }
}

.biserica-content {
    max-width: 100%;
    margin: 0 auto;
}

/* Gallery grid */
.biserica-content-wide .wp-block-gallery,
.biserica-content-wide .biserica-gallery,
.biserica-content-wide figure.wp-block-gallery {
    width: 100% !important;
    max-width: var(--max-width) !important;
    margin: 0 auto;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6px;
}

.biserica-content-wide .wp-block-gallery .wp-block-image,
.biserica-content-wide .wp-block-gallery figure.wp-block-image {
    width: 100% !important;
    height: 180px !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 0;
}

.biserica-content-wide .wp-block-gallery .wp-block-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s, opacity 0.3s;
}

.biserica-content-wide .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.08);
    opacity: 0.9;
}

.biserica-content-wide .wp-block-gallery .wp-block-image figure {
    margin: 0;
    width: 100%;
    height: 100%;
}

/* Section headings inside church content */
.biserica-content-wide h3.wp-block-heading {
    background: var(--cream-dark);
    color: var(--burgundy);
    padding: 14px 20px;
    margin: 35px 0 8px;
    font-size: 1em;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-left: 4px solid var(--orange);
    border-radius: var(--radius-sm);
}

.biserica-content-wide h3.wp-block-heading:first-of-type {
    margin-top: 0;
}

@media (max-width: 768px) {
    .biserica-content-wide .wp-block-gallery,
    .biserica-content-wide .biserica-gallery,
    .biserica-content-wide figure.wp-block-gallery {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .biserica-content-wide .wp-block-gallery .wp-block-image,
    .biserica-content-wide .wp-block-gallery figure.wp-block-image {
        height: 120px !important;
    }
}

.biserica-content .wp-block-separator {
    border-color: var(--orange);
    opacity: 0.4;
    margin: 40px 0;
}

.biserica-content .wp-block-heading {
    color: var(--burgundy);
}

.biserica-content .wp-block-gallery {
    margin-top: 20px;
    max-width: none !important;
}

.biserica-content .wp-block-gallery .wp-block-image img {
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
}

.biserica-content .wp-block-gallery .wp-block-image:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}


.biserica-content .wp-block-columns {
    margin-bottom: 30px;
}

.biserica-content .wp-block-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.biserica-location {
    color: var(--text-light);
    font-size: 1.1em;
    margin-bottom: 10px;
}

.biserica-categories {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.biserica-tag {
    background: var(--cream);
    color: var(--burgundy);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.85em;
    font-weight: 500;
}

.biserica-descriere {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.9;
    font-size: 1.05em;
    color: var(--text);
}

.biserica-featured {
    margin-bottom: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.biserica-featured img {
    width: 100%;
    height: auto;
}

.gallery-count {
    font-size: 0.6em;
    font-weight: 400;
    color: var(--text-light);
}
.biserica-detail {}

.biserica-hero {
    text-align: center;
    padding: 40px 0;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--cream-dark);
}

.biserica-hero h1 {
    font-size: 2.5em;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.biserica-hero p {
    color: var(--text-light);
    font-size: 1.1em;
}

.gallery-section {
    margin-bottom: 50px;
}

.gallery-section h2 {
    color: var(--burgundy);
    font-size: 1.4em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange);
    display: inline-block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    max-width: none;
}

.gallery-item {
    display: block;
    border-radius: var(--radius-sm);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === JOURNAL === */
.journal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 25px;
}

.journal-item {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.journal-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--orange);
}

.journal-item .pdf-icon {
    font-size: 3.5em;
    color: var(--burgundy);
    margin-bottom: 12px;
}

/* === CONTACT FORM 7 === */
.cf7-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.wpcf7 p {
    margin: 0 0 10px;
}

.wpcf7 label {
    display: inline;
    font-size: 0.85em;
    color: var(--text);
    line-height: 1.5;
}

.cf7-gdpr {
    margin: 12px 0 18px;
}

.cf7-gdpr label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.82em;
    color: var(--text-light);
    cursor: pointer;
}

.cf7-gdpr input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--orange);
    cursor: pointer;
}

.cf7-gdpr a {
    color: var(--orange);
    text-decoration: underline;
}

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

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 0.9em;
    font-family: inherit;
    transition: var(--transition);
    background: var(--cream);
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
    border-color: var(--orange);
    outline: none;
    box-shadow: 0 0 0 3px rgba(224,124,36,0.1);
    background: var(--white);
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 10px;
}

.cf7-submit,
.wpcf7 input[type="submit"] {
    background: linear-gradient(135deg, var(--burgundy), var(--burgundy-light));
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 10px;
    font-size: 0.9em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(74,26,46,0.2);
}

.cf7-submit:hover,
.wpcf7 input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(74,26,46,0.35);
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.wpcf7-response-output {
    border-radius: 10px !important;
    padding: 10px 16px !important;
    font-size: 0.85em;
}

.wpcf7-not-valid-tip {
    font-size: 0.75em;
    color: #dc3545;
    margin-top: 3px;
}

.contact-info-list {
    list-style: none !important;
}

.contact-info-list li {
    padding-left: 0;
}

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

/* === FOOTER === */
.site-footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.65);
    padding: 60px 0 25px;
    margin-top: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--orange-light);
    margin-bottom: 20px;
    font-size: 1.1em;
    letter-spacing: 1px;
}

.footer-col p { line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--orange-light); }

.footer-logo {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.85em;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .search-filters { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    .main-nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        padding: 20px;
        border-top: 1px solid rgba(224,124,36,0.15);
    }
    .main-nav.active ul { display: flex; }
    .main-nav .sub-menu { position: static; padding-left: 20px; }
    .hero { min-height: 60vh; }
    .hero-content h1 { font-size: 2.2em; letter-spacing: 3px; }
    .hero-content .subtitle { font-size: 1em; }
    .section { padding: 50px 0; }
    .section-title { font-size: 1.8em; }
    .catalog-detail-header { grid-template-columns: 1fr; }
    article.post, article.page { padding: 25px; }
    .cards-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .stat-item h3 { font-size: 2em; }
}
