/* ============================================
   CHURCH SITE — Acoperământul Maicii Domnului
   Color Palette: Deep Navy + Gold + White
   ============================================ */

:root {
    --navy: #0087c6;
    --navy-dark: #080f2b;
    --navy-mid: #162060;
    --navy-light: #1e2d6e;
    --gold: #C9A84C;
    --gold-light: #E2C47A;
    --gold-pale: #F5E6C0;
    --white: #FFFFFF;
    --off-white: #F8F5EE;
    --text-dark: #1a1a2e;
    --text-mid: #3a3a5c;
    --text-light: #8888aa;
    --shadow: 0 8px 40px rgba(13,27,75,0.18);
    --shadow-gold: 0 4px 24px rgba(201,168,76,0.25);
}

/* Fix overflow global — din Cod 1, important pentru mobile */
html, body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, .cinzel {
    font-family: 'Lato', sans-serif;
    letter-spacing: 0.04em;
    font-weight: 700;
}
h4, h5, blockquote, .cormorant {
    font-family: 'Cormorant Garamond', serif;
}
.section-eyebrow,
.schedule-day,
.footer-title,
.distinction-year,
.page-hero h1 {
    font-family: 'Cinzel', serif;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(8,15,43,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.2);
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(8,15,43,0.99);
    box-shadow: 0 4px 32px rgba(0,0,0,0.4);
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* ---- Logo ---- */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    position: relative;
    z-index: 1002;
}

/* Imaginea logo (din Cod 1) */
.logo-img {
    height: 45px;
    width: auto;
    border-radius: 4px;
    display: block;
}

/* Crucea animată — oprită pe mobile via clasa de mai jos */
.logo-cross {
    color: var(--gold);
    font-size: 1.6rem;
    animation: rotate-cross 20s linear infinite;
}

@keyframes rotate-cross {
    0%, 100% { transform: rotate(0deg); }
    50%       { transform: rotate(360deg); }
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-main {
    font-family: 'Lato', sans-serif;
    color: var(--gold-light);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}
.logo-sub {
    font-family: 'Lato', sans-serif;
    color: var(--gold-light);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 300;
}

/* ---- Nav Menu ---- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex: 1;
    justify-content: flex-end;
}

/* Primul link din meniu — spațiu stânga (din Cod 1) */
.nav-menu a:first-child {
    margin-left: 20px;
}

.nav-link {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.nav-link:hover,
.nav-link.active {
    color: var(--gold-light);
    border-bottom-color: var(--gold);
}

/* ---- Dropdown ---- */
.nav-dropdown { position: relative; }

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; left: 0;
    background: var(--navy-dark);
    border: 1px solid rgba(201,168,76,0.2);
    min-width: 220px;
    padding: 0.5rem 0;
    box-shadow: var(--shadow);
}
.nav-dropdown:hover .dropdown-menu { display: block; }

.dropdown-item {
    display: block;
    padding: 0.6rem 1.2rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background: rgba(201,168,76,0.12);
    color: var(--gold-light);
    padding-left: 1.6rem;
}

/* ---- Lang Switcher ---- */
/* margin-left: 1rem (Cod 2 mai vizibil, Cod 1 avea 0.01rem) */
.lang-switcher {
    display: flex;
    gap: 4px;
    margin-left: 1rem;
}
.lang-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    letter-spacing: 0.08em;
    padding: 4px 8px;
    border: 1px solid rgba(255,255,255,0.15);
    transition: all 0.25s;
}
.lang-btn:hover,
.lang-btn.active {
    color: var(--navy-dark);
    background: var(--gold);
    border-color: var(--gold);
}

/* ---- Mobile Toggle (hamburger) ---- */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s;
}

/* Dezactivăm animațiile logo pe toate ecranele
   (evităm distragerea atenției / bug-uri mobile) */
.logo-cross,
.logo-img {
    animation: none !important;
    transform: none !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(
        160deg,
        var(--navy-dark) 0%,
        var(--navy) 40%,
        var(--navy-mid) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.06) 0%, transparent 50%);
}
.hero-ornament {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent, transparent 80px,
            rgba(201,168,76,0.03) 80px, rgba(201,168,76,0.03) 81px
        ),
        repeating-linear-gradient(
            90deg,
            transparent, transparent 80px,
            rgba(201,168,76,0.03) 80px, rgba(201,168,76,0.03) 81px
        );
    pointer-events: none;
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 900px; width: 100%;
    padding: 3rem 1.2rem;
    animation: fadeInUp 1.2s ease both;
}

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

.hero-cross {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: block; line-height: 1;
    animation: fadeInUp 1s ease 0.2s both, glow 3s ease-in-out infinite;
}
@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(201,168,76,0.3); }
    50%       { text-shadow: 0 0 40px rgba(201,168,76,0.7), 0 0 80px rgba(201,168,76,0.3); }
}

.hero-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: clamp(0.65rem, 2.5vw, 0.9rem);
    font-weight: 300;
    color: var(--gold-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
    word-break: break-word;
    white-space: normal;
}
.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.5rem, 6vw, 3.8rem);
    font-weight: 700; color: var(--white);
    line-height: 1.2; margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease 0.5s both;
    word-break: break-word;
}
.hero-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 4.5vw, 2.4rem);
    font-style: italic; color: var(--gold-light);
    line-height: 1.3; word-break: break-word;
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease 0.6s both;
}
.hero-divider {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin: 1.5rem auto;
    animation: fadeInUp 1s ease 0.7s both;
}
.hero-divider::before,
.hero-divider::after {
    content: ''; flex: 1; max-width: 120px; height: 1px;
    background: linear-gradient(to right, transparent, var(--gold));
}
.hero-divider::after {
    background: linear-gradient(to left, transparent, var(--gold));
}
.hero-divider-gem { color: var(--gold); font-size: 0.7rem; }

.hero-location {
    font-family: 'Lato', sans-serif;
    font-size: clamp(0.65rem, 2.5vw, 0.9rem);
    font-weight: 300; color: rgba(255,255,255,0.6);
    letter-spacing: 0.15em; text-transform: uppercase;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.8s both;
    word-break: break-word;
}
.hero-btn {
    display: inline-block; padding: 14px 48px;
    font-family: 'Cinzel', serif; font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
    color: var(--navy-dark);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border: none; cursor: pointer; transition: all 0.3s;
    box-shadow: var(--shadow-gold);
    animation: fadeInUp 1s ease 0.9s both;
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 40px rgba(201,168,76,0.45);
}

/* ============================================
   SECTION COMMON
   ============================================ */
.section { padding: 90px 2rem; }
.section-dark   { background: var(--navy-dark); color: var(--white); }
.section-navy   { background: var(--navy);      color: var(--white); }
.section-light  { background: var(--off-white); }
.section-white  { background: var(--white); }

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

.section-eyebrow {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem; font-weight: 300;
    letter-spacing: 0.35em; text-transform: uppercase;
    color: var(--gold); margin-bottom: 0.8rem; display: block;
}
.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 600; line-height: 1.2;
}
.section-title.light { color: var(--white); }

.section-subtitle {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-style: italic;
    color: var(--text-mid); margin-top: 0.8rem;
}
.section-subtitle.light { color: rgba(255,255,255,0.7); }

.section-divider {
    display: flex; align-items: center; justify-content: center; gap: 1rem;
    margin: 1.5rem auto; max-width: 300px;
}
.section-divider::before,
.section-divider::after {
    content: ''; flex: 1; height: 1px;
    background: var(--gold); opacity: 0.4;
}
.section-divider span { color: var(--gold); font-size: 0.7rem; }

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 5rem; align-items: center;
}
.welcome-text p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem; line-height: 1.9;
    color: var(--text-mid); margin-bottom: 1.5rem;
}
.welcome-image-placeholder {
    background: url('../images/biserica/biserica_2.jpg') center top / cover no-repeat;
    height: 600px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid rgba(201,168,76,0.3);
    position: relative; overflow: hidden;
}
.welcome-image-placeholder::before { content: none; }

.img-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem; letter-spacing: 0.2em;
    color: rgba(201,168,76,0.5); text-transform: uppercase; z-index: 1;
}

/* ============================================
   SCHEDULE CARDS
   ============================================ */
.schedule-grid {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.schedule-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(201,168,76,0.2);
    padding: 2.5rem 2rem; text-align: center; transition: all 0.3s;
}
.schedule-card:hover {
    background: rgba(201,168,76,0.08);
    border-color: rgba(201,168,76,0.5);
    transform: translateY(-4px);
}
.schedule-icon  { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; }
.schedule-day   { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--gold-light); margin-bottom: 0.5rem; }
.schedule-time  { font-family: 'Lato', sans-serif; font-size: 0.9rem; color: rgba(255,255,255,0.7); }

/* ============================================
   NEWS PREVIEW
   ============================================ */
.news-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.news-card {
    background: var(--white); border-top: 3px solid var(--gold);
    padding: 2rem; box-shadow: 0 4px 20px rgba(13,27,75,0.08); transition: all 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-date { font-family: 'Lato', sans-serif; font-size: 0.75rem; color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.8rem; }
.news-card h3 { font-family: 'Cinzel', serif; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.8rem; line-height: 1.4; }
.news-card p  { font-family: 'Lato', sans-serif; font-size: 0.9rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================
   PAGE HERO (sub-pages)
   ============================================ */
.page-hero {
    background: linear-gradient(160deg, var(--navy-dark), var(--navy-mid));
    padding: 140px 2rem 80px;
    text-align: center; position: relative; overflow: hidden;
}
.page-hero::before {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent, transparent 40px,
        rgba(201,168,76,0.02) 40px, rgba(201,168,76,0.02) 41px
    );
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-cross   { font-size: 2.5rem; color: var(--gold); display: block; margin-bottom: 1rem; }
.page-hero h1 { font-family: 'Cinzel', serif; font-size: clamp(2.0rem, 5vw, 4rem); color: var(--white); margin-bottom: 0.5rem; }
.page-hero p  { font-family: 'Cormorant Garamond', serif; font-size: 2.0rem; color: var(--gold-light); font-style: italic; }

/* ============================================
   CONTENT BLOCKS
   ============================================ */
.content-container { max-width: 1100px; margin: 0 auto; }
.content-block { margin-bottom: 3.5rem; }
.content-block h2 {
    font-family: 'Cinzel', serif; font-size: 1.3rem; color: var(--navy);
    border-left: 4px solid var(--gold); padding-left: 1.2rem; margin-bottom: 1.2rem;
}
.content-block p {
    font-family: 'Cormorant Garamond', serif; font-size: 1.2rem;
    line-height: 1.9; color: var(--text-mid); max-width: 800px;
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
    position: relative; max-width: 800px;
    margin: 0 auto; padding: 2rem 0;
}
.timeline::before {
    content: ''; position: absolute; left: 30px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.1));
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; align-items: flex-start; }
.timeline-dot {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--navy-dark); border: 2px solid var(--gold);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-family: 'Cinzel', serif; font-size: 0.7rem;
    color: var(--gold); text-align: center; line-height: 1.2;
}
.timeline-content { padding-top: 0.5rem; }
.timeline-content h3 { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; }
.timeline-content p  { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================
   PREOT PAGE
   ============================================ */
.priest-layout {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 380px 1fr;
    gap: 4rem; align-items: start;
}
.priest-card {
    background: var(--navy-dark); border: 1px solid rgba(201,168,76,0.3);
    padding: 2.5rem; text-align: center;
    position: sticky; top: 100px;
}

/* Fotografia preotului — folosim numele real de fișier (din Cod 2) */
.priest-photo-placeholder {
    background: url('../images/preot_paroh/375678363_1665627070583104_95266663062816643_n.jpg')
                center top / cover no-repeat;
    width: 180px; height: 180px; border-radius: 50%;
    border: 3px solid var(--gold); margin: 0 auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
}

.priest-name  { font-family: 'Cinzel', serif; font-size: 1.1rem; color: var(--white); margin-bottom: 0.3rem; }
.priest-role  { font-family: 'Lato', sans-serif; font-size: 0.8rem; color: var(--gold-light); letter-spacing: 0.15em; }

.priest-info       { margin-top: 2rem; text-align: left; }
.priest-info-item  { padding: 0.8rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.priest-info-label { font-family: 'Lato', sans-serif; font-size: 0.7rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; }
.priest-info-value { font-family: 'Lato', sans-serif; font-size: 0.9rem; color: rgba(255,255,255,0.8); margin-top: 0.2rem; }

.priest-details { color: var(--text-dark); }
.priest-section { margin-bottom: 3rem; }
.priest-section h2 {
    font-family: 'Cinzel', serif; font-size: 1.2rem; color: var(--navy);
    border-bottom: 2px solid var(--gold-pale); padding-bottom: 0.5rem; margin-bottom: 1.2rem;
}
.priest-section p { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: var(--text-mid); line-height: 1.9; }

.distinctions-list { list-style: none; }
.distinctions-list li {
    display: flex; gap: 1.2rem; padding: 1rem 0;
    border-bottom: 1px solid var(--gold-pale);
    font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--text-mid);
}
.distinction-year {
    font-family: 'Cinzel', serif; font-size: 0.85rem;
    color: var(--gold); min-width: 50px; font-weight: 600; padding-top: 2px;
}

/* ============================================
   DONATION CARD
   ============================================ */
.donation-card {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    border: 1px solid rgba(201,168,76,0.4);
    padding: 3rem; text-align: center; margin-top: 3rem;
}
.donation-card h3 { font-family: 'Cinzel', serif; color: var(--gold-light); font-size: 1.3rem; margin-bottom: 1rem; }
.donation-card p  { font-family: 'Cormorant Garamond', serif; color: rgba(255,255,255,0.8); font-size: 1.15rem; margin-bottom: 1.5rem; line-height: 1.8; }
.donation-iban    { font-family: 'Lato', sans-serif; font-size: 0.85rem; color: var(--gold); letter-spacing: 0.1em; background: rgba(255,255,255,0.05); padding: 1rem; }

/* ============================================
   GALLERY
   ============================================ */
.gallery-filters { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.filter-btn {
    font-family: 'Lato', sans-serif; font-size: 0.72rem; font-weight: 700;
    letter-spacing: 0.1em; padding: 8px 24px;
    border: 1px solid var(--gold); color: var(--gold);
    background: transparent; cursor: pointer; transition: all 0.25s; text-transform: uppercase;
}
.filter-btn:hover,
.filter-btn.active { background: var(--gold); color: var(--navy-dark); }

.gallery-grid { columns: 4; column-gap: 1rem; }

.gallery-item { break-inside: avoid; margin-bottom: 1rem; position: relative; overflow: hidden; cursor: pointer; }
.gallery-placeholder {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    display: flex; align-items: center; justify-content: center;
    color: rgba(201,168,76,0.3); font-size: 2rem; transition: transform 0.4s;
}
.gallery-placeholder:nth-child(odd)  { aspect-ratio: 4/3; }
.gallery-placeholder:nth-child(even) { aspect-ratio: 3/4; }
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }

.gallery-overlay {
    position: absolute; inset: 0;
    background: rgba(8,15,43,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-icon { color: var(--gold); font-size: 2rem; }

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}
.gallery-lightbox img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
}
.gallery-lightbox .lightbox-caption {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Lato', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.gallery-lightbox .lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(255,255,255,0.9);
    font-size: 1.8rem;
    cursor: pointer;
}

/* ============================================
   ACTIVITIES GRID"
   ============================================ */
.activities-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem;
}
.activity-card {
    background: var(--white); padding: 2.5rem;
    border-left: 4px solid var(--gold);
    box-shadow: 0 4px 20px rgba(13,27,75,0.07); transition: all 0.3s;
}
.activity-card:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.activity-icon      { font-size: 2.5rem; margin-bottom: 1rem; }
.activity-card h3   { font-family: 'Cinzel', serif; font-size: 1rem; color: var(--navy); margin-bottom: 0.8rem; }
.activity-card p    { font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; color: var(--text-mid); line-height: 1.8; }

/* ============================================
   MAP SECTION
   ============================================ */
.map-section {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.map-frame { width: 100%; height: 400px; border: 2px solid rgba(201,168,76,0.3); }
.map-info h2 {
    font-family: 'Cinzel', serif; font-size: 1.5rem; color: var(--navy);
    margin-bottom: 1.5rem; border-left: 4px solid var(--gold); padding-left: 1rem;
}
.map-detail      { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.map-detail-icon { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.map-detail-text { font-family: 'Lato', sans-serif; font-size: 0.95rem; color: var(--text-mid); line-height: 1.7; }

/* ============================================
   CTITORI SECTION
   ============================================ */
.ctitori-box {
    background: var(--navy-dark); border: 1px solid rgba(201,168,76,0.2);
    padding: 3rem; max-width: 900px; margin: 0 auto; text-align: center;
}
.ctitori-box p { font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; color: rgba(255,255,255,0.8); line-height: 2; }

/* ============================================
   INFO CARDS
   ============================================ */
.info-cards {
    max-width: 1000px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.info-card { background: var(--navy-dark); border: 1px solid rgba(201,168,76,0.2); padding: 2.5rem; text-align: center; }
.info-card-icon { font-size: 2.5rem; color: var(--gold); margin-bottom: 1rem; }
.info-card h3   { font-family: 'Cinzel', serif; font-size: 0.9rem; color: var(--white); margin-bottom: 0.8rem; letter-spacing: 0.1em; }
.info-card p    { font-family: 'Lato', sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.6); line-height: 1.7; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--navy-dark); border-top: 1px solid rgba(201,168,76,0.2); position: relative; }
.footer-cross {
    text-align: center; padding: 2rem;
    font-size: 2rem; color: rgba(201,168,76,0.3); letter-spacing: 0.5em;
    border-bottom: 1px solid rgba(201,168,76,0.1);
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 3rem 2rem;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
}
.footer-title { font-family: 'Cinzel', serif; font-size: 0.85rem; color: var(--gold-light); letter-spacing: 0.15em; margin-bottom: 1rem; }
.footer-col p { font-family: 'Lato', sans-serif; font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.9; }

.footer-facebook-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.3rem;
    background: rgb(30, 68, 116);
    color: var(--navy-dark);
    text-decoration: none;
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.3s;
}
.footer-facebook-btn:hover {
    background: rgb(30, 68, 116);
    transform: translateY(-2px);
}

.facebook-icon {
    width: 24px;
    height: 24px;
    display: block;
    filter: hue-rotate(190deg) brightness(2);
}

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 1.5rem 2rem; text-align: center; }
.footer-bottom p { font-family: 'Lato', sans-serif; font-size: 0.75rem; color: rgba(255,255,255,0.3); letter-spacing: 0.1em; }

/* ============================================
   QUOTE BLOCK
   ============================================ */
.quote-block {
    max-width: 700px; margin: 3rem auto; text-align: center; padding: 2rem;
    border-top: 1px solid rgba(201,168,76,0.3);
    border-bottom: 1px solid rgba(201,168,76,0.3);
}
.quote-block blockquote { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-style: italic; color: var(--navy); line-height: 1.7; }
.quote-block cite { font-family: 'Lato', sans-serif; font-size: 0.8rem; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; margin-top: 1rem; display: block; }

/* ============================================
   SCROLL ANIMATION
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1024px) {
    .welcome-grid,
    .priest-layout,
    .map-section    { grid-template-columns: 1fr; }
    .gallery-grid   { columns: 3; }
    .news-grid,
    .schedule-grid  { grid-template-columns: repeat(2, 1fr); }
    .info-cards     { grid-template-columns: repeat(2, 1fr); }
    .priest-card    { position: static; }

    .welcome-image-placeholder { height: 400px; }
}

/* ============================================
   RESPONSIVE — 768px  (MOBILE)
   ============================================ */
@media (max-width: 768px) {

    /* 1. Nav Container */
    .nav-container {
        padding: 0 1.5rem !important;
        height: 72px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* 2. Meniu mobil (fullscreen sub navbar) */
    #navMenu.nav-menu {
        display: none !important;
        position: fixed !important;
        top: 72px !important;
        left: 0 !important; right: 0 !important;
        height: auto !important;
        max-height: calc(100vh - 72px) !important;
        background: #080f2b !important;
        padding: 1.5rem 0 !important;
        z-index: 1001 !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border-bottom: 2px solid var(--gold);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        margin: 0 !important;
        overflow-y: auto;
        gap: 0 !important;
    }
    #navMenu.nav-menu.open { display: flex !important; }

    /* 3. Link-uri din meniu */
    #navMenu .nav-link {
        font-size: 1.1rem !important;
        color: #FFFFFF !important;
        padding: 1.2rem !important;
        width: 100% !important;
        text-align: center !important;
        text-decoration: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.05) !important;
        font-family: 'Lato', sans-serif;
        font-weight: 700;
        text-transform: uppercase;
        border-right: none !important;
    }
    #navMenu .nav-link:last-child { border-bottom: none !important; }

    /* Dropdown în meniu mobil */
    .dropdown-menu {
        position: static;
        display: none;
        background: rgba(255,255,255,0.05);
        box-shadow: none; border: none;
        margin-left: 1rem;
    }
    .nav-dropdown .dropdown-menu { display: block; }

    /* 4. Hamburger */
    .nav-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 40px !important; height: 40px !important;
        background: transparent !important; border: none !important;
        cursor: pointer !important;
        z-index: 1002 !important;
        position: relative !important;
    }
    .nav-toggle span {
        display: block !important;
        width: 25px !important; height: 2px !important;
        background-color: #C9A84C !important;
        transition: all 0.3s ease !important;
    }

    /* 5. Logo pe mobil */
    .nav-logo {
        position: relative !important;
        z-index: 1002 !important;
    }
    .logo-main  { font-size: 0.65rem !important; }
    .logo-img   { height: 35px; }

    /* 6. Grile și secțiuni */
    .activities-grid,
    .news-grid,
    .schedule-grid,
    .footer-container,
    .welcome-grid { grid-template-columns: 1fr !important; gap: 2rem !important; }

    .info-cards   { grid-template-columns: 1fr; }
    .gallery-grid { columns: 2; }               /* din Cod 2 */
    .section      { padding: 60px 1.5rem; }

    .welcome-image-placeholder { height: 300px; }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
    .gallery-grid { columns: 1; }
    .logo-img     { height: 35px; }
}