/* CSS pentru Parohia Sfântul Pantelimon - Design inspirat de patriarhia.ro */

:root {
    --brand: #0f3d2e;
    --brand-700: #0d3528;
    --brand-600: #114636;
    --brand-50: #ecf5f1;
    --accent: #d4af37;
    --text: #1f2937;
    --muted: #6b7280;
    --bg: #ffffff;
    --card: #f8faf9;
    --shadow: 0 10px 24px rgba(0,0,0,.08);
    --radius: 18px;
    --border: #e5e7eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Topbar */
.topbar {
    background: var(--brand);
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left, .topbar-right {
    opacity: 0.9;
}

/* Header */
.main-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    border-bottom: 1px solid var(--border);
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--brand-50);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--brand);
    overflow: hidden;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}

.logo-icon span {
    font-weight: 700;
    color: var(--brand);
    font-size: 16px;
}

.logo-text h1 {
    font-family: "Merriweather", serif;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    color: var(--brand);
}

.logo-text span {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.main-nav a {
    padding: 8px 10px;
    border-radius: 10px;
    color: var(--text);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--brand-50);
    color: var(--brand);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding: 8px 28px 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    width: 200px;
}

.search-box button {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand);
    font-size: 16px;
}

.admin-link {
    background: var(--brand);
    color: #fff;
    padding: 9px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.admin-link:hover {
    background: var(--brand-600);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--brand);
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

.mobile-menu-close {
    display: none !important;
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(180deg, rgba(15,61,46,.85), rgba(15,61,46,.65)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%230f3d2e" width="1200" height="600"/><circle fill="%23d4af37" cx="300" cy="300" r="50" opacity="0.1"/><circle fill="%23d4af37" cx="900" cy="200" r="30" opacity="0.1"/></svg>') center/cover no-repeat;
    color: #fff;
    padding: 80px 0 60px;
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 20px;
}

.hero h2 {
    font-family: "Merriweather", serif;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.2;
    margin: 0 0 16px;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
    margin: 0 0 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary {
    background: #fff;
    color: var(--brand);
}

.btn-primary:hover {
    background: var(--brand-50);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border-color: var(--brand);
}

.btn-outline:hover {
    background: var(--brand);
    color: #fff;
}

.hero-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 13px;
}

/* Section Headers */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 32px;
}

.section-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
}

.section-header h3 {
    font-family: "Merriweather", serif;
    font-size: 28px;
    margin: 0;
    color: var(--brand);
}

/* Sections */
section {
    padding: 56px 0;
}

.about-section {
    background: var(--card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-card h4 {
    font-family: "Merriweather", serif;
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--brand);
}

.about-card p {
    margin-bottom: 16px;
    font-size: 16px;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.muted {
    color: var(--muted);
}

/* Schedule Section */
.schedule-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

.schedule-timeline {
    position: relative;
}

.schedule-timeline::before {
    content: "";
    position: absolute;
    left: 16px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--brand-50);
}

.schedule-item {
    position: relative;
    padding-left: 44px;
    margin: 24px 0;
}

.schedule-item::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 6px;
    width: 18px;
    height: 18px;
    border: 3px solid var(--brand);
    background: #fff;
    border-radius: 50%;
}

.schedule-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--brand);
}

.schedule-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 8px;
}

.schedule-description {
    font-size: 14px;
    color: var(--text);
}

.schedule-note {
    margin-top: 16px;
    font-size: 14px;
    color: var(--muted);
    text-align: center;
}

/* News Section */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.news-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-4px);
}

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

.news-content {
    padding: 20px;
}

.news-content h4 {
    font-family: "Merriweather", serif;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--brand);
}

.news-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 12px;
}

.news-content p {
    margin-bottom: 16px;
    font-size: 14px;
}

.read-more {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

/* Resources Section */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.resource-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}

.resource-card:hover {
    transform: translateY(-4px);
}

.resource-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.resource-card h4 {
    font-family: "Merriweather", serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--brand);
}

.resource-card p {
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--muted);
}

.resource-link {
    color: var(--brand);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.resource-link:hover {
    text-decoration: underline;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 24px;
}



/* Footer */
.main-footer {
    background: var(--brand);
    color: #fff;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.footer-section h4 {
    font-family: "Merriweather", serif;
    margin-bottom: 16px;
    font-size: 18px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 8px;
    opacity: 0.9;
}

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

.footer-section a {
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.15);
    padding: 16px 0;
    text-align: center;
    color: #e5e7eb;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 900px) {
    .main-nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(15, 61, 46, 0.98);
        z-index: 1000;
        padding: 80px 20px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .main-nav.open {
        display: block;
        transform: translateX(0);
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        height: 100%;
        justify-content: flex-start;
        padding-top: 40px;
    }
    
    .main-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav a {
        display: block;
        padding: 20px 0;
        font-size: 18px;
        color: #fff;
        border: none;
        text-align: center;
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .mobile-menu-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        z-index: 1002;
        width: 40px;
        height: 40px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background-color 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .header-actions {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 12px;
    }
    
    .topbar-content {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
    
    .header-content {
        padding: 12px 0;
    }
    
    .logo-text h1 {
        font-size: 16px;
    }
    
    .logo-text span {
        font-size: 11px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero h2 {
        font-size: 24px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-header h3 {
        font-size: 24px;
    }
    
    .schedule-card {
        padding: 20px;
    }
    
    .news-grid,
    .resources-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

/* Stiluri pentru pagini publice */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-family: "Merriweather", serif;
    font-size: 32px;
    margin: 0 0 12px 0;
    color: var(--brand);
}

.page-header p {
    font-size: 18px;
    color: var(--muted);
    margin: 0;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--muted);
}

.breadcrumb a {
    color: var(--brand);
    text-decoration: none;
}

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

/* Single Post */
.single-post {
    padding: 40px 0;
}

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

.post-header {
    margin-bottom: 32px;
    text-align: center;
}

.post-header h1 {
    font-family: "Merriweather", serif;
    font-size: 36px;
    margin: 0 0 16px 0;
    color: var(--brand);
}

.post-meta {
    color: var(--muted);
    font-size: 14px;
}

.post-meta span {
    margin: 0 8px;
}

.post-image {
    margin-bottom: 24px;
}

.post-image img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.post-body {
    line-height: 1.8;
    font-size: 16px;
}

.post-body h2, .post-body h3, .post-body h4 {
    font-family: "Merriweather", serif;
    color: var(--brand);
    margin: 24px 0 12px 0;
}

.post-body p {
    margin-bottom: 16px;
}

.post-body ul, .post-body ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.post-navigation {
    margin-top: 40px;
    text-align: center;
}

/* Error Page */
.error-page {
    padding: 80px 0;
    text-align: center;
}

.error-content h1 {
    font-family: "Merriweather", serif;
    font-size: 48px;
    margin: 0 0 16px 0;
    color: var(--brand);
}

.error-content p {
    font-size: 18px;
    color: var(--muted);
    margin-bottom: 32px;
}

/* News Listing */
.news-listing {
    padding: 40px 0;
}

.news-content h2 {
    font-family: "Merriweather", serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--brand);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.page-link {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
}

.page-link:hover,
.page-link.active {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}

/* Gallery Page */
.gallery-page {
    padding: 40px 0;
}

.gallery-filters {
    margin-bottom: 32px;
    text-align: center;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group label {
    font-weight: 600;
    margin-right: 12px;
    color: var(--brand);
}

.filter-btn {
    display: inline-block;
    padding: 6px 12px;
    margin: 0 4px;
    border: 1px solid var(--border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 14px;
    transition: all 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item {
    position: relative;
    cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
}

.gallery-overlay p {
    font-size: 14px;
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.gallery-category {
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Schedule Page */
.schedule-page {
    padding: 40px 0;
}

.schedule-container {
    margin-bottom: 40px;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.schedule-day {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.day-header {
    background: var(--brand);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.day-header h3 {
    margin: 0;
    font-size: 18px;
}

.day-badge {
    background: var(--accent);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.day-services {
    padding: 20px;
}

.service-item {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

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

.service-time {
    background: var(--brand-50);
    color: var(--brand);
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
}

.service-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: var(--brand);
}

.service-details p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.no-services {
    padding: 20px;
    text-align: center;
    color: var(--muted);
    font-style: italic;
}

.schedule-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Resources Page */
.resources-page {
    padding: 40px 0;
}

.resources-filters {
    margin-bottom: 32px;
}

.resources-filters .filter-group {
    display: inline-block;
    margin-right: 24px;
}

.resource-card.featured {
    border: 2px solid var(--accent);
}

.resource-content h3 {
    font-family: "Merriweather", serif;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--brand);
}

.resource-author {
    font-size: 14px;
    color: var(--muted);
    margin-bottom: 12px;
}

.resource-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.resource-category,
.resource-type,
.resource-featured {
    background: var(--brand-50);
    color: var(--brand);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.resource-featured {
    background: #fef3c7;
    color: #d97706;
}

.resources-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

/* Contact Page */
.contact-page {
    padding: 40px 0;
}

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

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    background: var(--brand-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
}

.contact-details h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    color: var(--brand);
}

.contact-details p {
    margin: 0;
    font-size: 14px;
    color: var(--text);
}

.contact-details a {
    color: var(--brand);
    text-decoration: none;
}

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

.schedule-summary .schedule-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

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

.schedule-actions {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.form-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
}

.form-card h3 {
    font-family: "Merriweather", serif;
    font-size: 24px;
    margin: 0 0 24px 0;
    color: var(--brand);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.1);
}

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

.map-section {
    margin-bottom: 40px;
}

.map-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.map-card h3 {
    font-family: "Merriweather", serif;
    font-size: 24px;
    margin: 0;
    padding: 24px;
    color: var(--brand);
    border-bottom: 1px solid var(--border);
}

.map-container {
    position: relative;
}

.map-note {
    padding: 16px 24px;
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    background: var(--brand-50);
}

.contact-info-extra {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.contact-info-extra ul {
    margin: 16px 0;
    padding-left: 20px;
}

.contact-info-extra li {
    margin-bottom: 8px;
}

/* Alerts */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* Responsive pentru pagini publice */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-grid {
        grid-template-columns: 1fr;
    }
    
    .resources-filters .filter-group {
        display: block;
        margin-bottom: 16px;
    }
    
    .post-header h1 {
        font-size: 28px;
    }
    
    .page-header h1 {
        font-size: 24px;
    }
    
    .search-input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-input-group input {
        width: 100%;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .result-item {
        flex-direction: column;
        gap: 12px;
    }
}

/* Pagina de căutare */
.search-page {
    padding: 40px 0;
}

.search-form {
    margin-bottom: 40px;
}

.search-input-group {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group input {
    flex: 1;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input-group input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(15, 61, 46, 0.1);
}

.search-input-group button {
    padding: 16px 24px;
    white-space: nowrap;
}

.results-header {
    margin-bottom: 32px;
    text-align: center;
}

.results-header h2 {
    font-family: "Merriweather", serif;
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--brand);
}

.results-count {
    color: var(--muted);
    font-size: 16px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

.no-results-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

.no-results h3 {
    font-family: "Merriweather", serif;
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--brand);
}

.no-results p {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 16px;
}

.search-suggestions {
    background: var(--brand-50);
    border-radius: var(--radius);
    padding: 24px;
    max-width: 500px;
    margin: 0 auto;
}

.search-suggestions h4 {
    font-family: "Merriweather", serif;
    font-size: 18px;
    margin-bottom: 16px;
    color: var(--brand);
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    padding: 8px 0;
    color: var(--muted);
    position: relative;
    padding-left: 20px;
}

.search-suggestions li:before {
    content: "•";
    color: var(--brand);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    gap: 20px;
    transition: box-shadow 0.3s ease;
}

.result-item:hover {
    box-shadow: var(--shadow);
}

.result-type {
    flex-shrink: 0;
}

.type-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.type-badge.type-post {
    background: #f0fdf4;
    color: #166534;
}

.type-badge.type-resource {
    background: #fef3c7;
    color: #92400e;
}

.type-badge.type-gallery {
    background: #dbeafe;
    color: #1e40af;
}

.result-content {
    flex: 1;
}

.result-title {
    font-family: "Merriweather", serif;
    font-size: 20px;
    margin-bottom: 12px;
}

.result-title a {
    color: var(--brand);
    text-decoration: none;
    transition: color 0.3s ease;
}

.result-title a:hover {
    color: var(--brand-600);
}

.result-excerpt {
    color: var(--muted);
    margin-bottom: 16px;
    line-height: 1.6;
}

.result-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--muted);
}

.result-category {
    font-weight: 600;
}

.search-intro {
    text-align: center;
    padding: 60px 20px;
}

.search-intro-content h2 {
    font-family: "Merriweather", serif;
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--brand);
}

.search-intro-content p {
    color: var(--muted);
    font-size: 18px;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-categories {
    max-width: 800px;
    margin: 0 auto;
}

.search-categories h3 {
    font-family: "Merriweather", serif;
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--brand);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.category-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.category-card:hover {
    box-shadow: var(--shadow);
}

.category-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.category-card h4 {
    font-family: "Merriweather", serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--brand);
}

.category-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Rețele sociale în footer */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    padding: 8px 0;
}

.social-link:hover {
    opacity: 1;
    transform: translateX(4px);
}

.social-icon {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.social-text {
    font-size: 14px;
    font-weight: 500;
}

.no-social {
    color: rgba(255,255,255,0.6);
    font-style: italic;
    font-size: 14px;
}

/* Responsive pentru rețele sociale */
@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .social-link {
        padding: 8px 12px;
        background: rgba(255,255,255,0.1);
        border-radius: 8px;
    }
}

@media (max-width: 640px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .social-links {
        justify-content: center;
    }
} 