:root {
    --bg-white: #fbf8f3;
    --bg-maro: #d4c6b2; 
    --bg-cream: #f0e9de; 
    --text-dark: #121212; 
    --bg-image-a4: url('home-page-poze/Background page A4.jpg');
    --text-light: #444444; 
    --accent: #F0D48A; 
    --font-heading: 'Playfair Display', serif;
    --font-text: 'Montserrat', sans-serif;
    --bouncy-bezier: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: var(--font-text); 
    color: var(--text-light); 
    background-image: url('home-page-poze/Background page A4.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    line-height: 1.7; 
    overflow-x: hidden; 
}

h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--text-dark); font-weight: 600; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; object-fit: cover; border-radius: 12px; display: block; }

.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section-padding { padding: 50px 0; }
.pt-0 { padding-top: 0; }

.slide-up-bounce { opacity: 0; transform: translateY(80px); transition: opacity 0.8s ease, transform 1s var(--bouncy-bezier); }
.slide-up-bounce.visible { opacity: 1; transform: translateY(0); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.bouncy-hover { display: inline-block; transition: transform 0.4s var(--bouncy-bezier), color 0.3s; }
.bouncy-hover:hover { transform: translateY(-8px); }

.contact-section { background-color: var(--bg-image-a4); }

.bounce-in { opacity: 0; transform: scale(0.8); transition: opacity 0.8s ease, transform 1s var(--bouncy-bezier); }
.bounce-in.visible { opacity: 1; transform: scale(1); }

.hover-scale { transition: none !important; }
.hover-scale:hover { transform: none !important; }

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}
.float-anim { animation: float 6s ease-in-out infinite; }

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.btn-primary { 
    display: inline-block; padding: 8px 30px; background-color: var(--bg-white); color: var(--text-dark) !important; 
    font-family: var(--font-text); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; 
    border-radius: 55px; cursor: pointer; box-shadow: 0 10px 20px rgba(0,0,0,0.2); 
    transition: background-color 0.3s ease, transform 0.4s var(--bouncy-bezier), box-shadow 0.3s ease; 
}
.btn-primary:hover { 
    background-color: var(--accent); color: var(--bg-white) !important; 
    box-shadow: 0 15px 25px rgba(193, 177, 153, 0.4); transform: translateY(-5px); 
}

#navbar { position: fixed; top: 0; width: 100%; z-index: 1000; padding: 10px 0; transition: all 0.5s var(--bouncy-bezier); background-color: transparent; }
#navbar.scrolled { background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08); padding: 5px 0; }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 90%; max-width: 1200px; margin: 0 auto;}
.logo img { height: 80px; border-radius: 0; }

nav ul { display: flex; list-style: none; gap: 40px; }
nav ul li a { font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; position: relative; padding: 5px 0; }
nav ul li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 0; left: 0; background-color: var(--accent); transition: width 0.4s var(--bouncy-bezier); }
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }

.hamburger { display: none; flex-direction: column; gap: 6px; cursor: pointer; }
.hamburger span { width: 30px; height: 2px; background-color: var(--text-dark); transition: 0.3s; }

.hero-section { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; border-radius: 0; transform: none; transition: transform 0.5s ease-out; object-fit: cover; }
.overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); }
.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; z-index: 1; }
.hero-logo-col { text-align: right; }
.hero-big-logo { max-width: 80%; margin-left: auto; border-radius: 0; filter: drop-shadow(0px 20px 30px rgba(0,0,0,0.4)); }
.hero-text-col { text-align: center; color: var(--bg-white); }
.hero-text-col h1 { font-size: 1.5rem; margin-bottom: 20px; color: var(--accent); letter-spacing: 3px; font-family: var(--font-text); text-transform: uppercase; }
.hero-text-col p { font-size: 1.2rem; margin-bottom: 40px; font-weight: 300; max-width: 450px; }

.section-header { text-align: center; max-width: 700px; margin: 0 auto 70px auto; }
.section-header h2 { font-size: 3rem; margin-bottom: 20px; text-transform: uppercase; }
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.text-box h2 { font-size: 2.8rem; margin-bottom: 30px; text-transform: uppercase;}
.page-header { padding: 180px 0 80px 0; background-color: var(--bg-cream); }
.compact-header { padding: 140px 0 50px 0; }
.page-header h1 { font-size: 3.5rem; margin-bottom: 20px; }
.page-header p { font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.stats { display: flex; gap: 50px; margin-top: 40px; }
.stat-number { font-size: 3.5rem; color: var(--text-dark); display: block; line-height: 1; margin-bottom: 5px; font-family: var(--font-heading); font-weight: 600; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; color: var(--accent); }

.servicii-section { background-color: var(--bg-image-a4); position: relative; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.service-card { background: var(--bg-white); padding: 50px 40px; border-radius: 20px; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.04); }
.service-card h3 { font-size: 1.3rem; margin-bottom: 20px; letter-spacing: 1px; color: var(--text-dark); }
.cifre-section { background-color: var(--bg-white); }

.why-us-section { background-color: var(--bg-white); }
.why-list { display: flex; flex-direction: column; gap: 25px; }
.why-item { display: flex; align-items: flex-start; background: var(--bg-cream); padding: 25px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.03); gap: 20px; }
.why-number { font-family: var(--font-heading); font-size: 2rem; color: var(--accent); font-weight: 600; line-height: 1; }
.why-item h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-dark); }
.why-item p { font-size: 0.95rem; margin-bottom: 0; }

.partners-section { background-color: var(--bg-image-a4); }
.partners-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; align-items: center; }
.partner-logo { background-color: var(--bg-white); padding: 30px 40px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0,0,0,0.02); min-width: 180px; display: flex; justify-content: center; align-items: center; text-align: center; font-family: var(--font-heading); font-weight: 600; color: var(--text-light); font-size: 1.2rem; cursor: pointer; transition: all 0.4s var(--bouncy-bezier); }
.partner-logo:hover { color: var(--text-dark); box-shadow: 0 15px 30px rgba(0,0,0,0.06); background-color: var(--bg-white); }
.partner-logo img { max-height: 50px; width: auto; margin: 0 auto; filter: grayscale(100%); opacity: 0.6; transition: filter 0.3s ease, opacity 0.3s ease; }
.partner-logo:hover img { filter: grayscale(0%); opacity: 1; transform: none; }

.asymmetric-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-images { position: relative; height: 100%; display: flex; justify-content: center; align-items: center; }
.img-main { width: 90%; height: 640px; object-fit: cover; border-radius: 12px; }
.img-secondary { position: absolute; bottom: -30px; right: 0; width: 50%; height: 350px; object-fit: cover; border: 12px solid var(--bg-white); border-radius: 16px; }
.signature { font-family: var(--font-heading); font-style: italic; font-size: 1.5rem; margin-top: 40px; color: var(--accent); }
.povestea-section { background-color: var(--bg-white); padding: 100px 0; }

.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.project-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; }
.project-item img { width: 100%; height: 500px; filter: brightness(0.9); transition: filter 0.5s ease; }
.project-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 30px; background: linear-gradient(to top, rgba(0,0,0,0.8), transparent); color: var(--bg-white); transform: translateY(20px); opacity: 0; transition: all 0.5s var(--bouncy-bezier); }
.project-overlay h3 { color: var(--bg-white); font-size: 1.8rem; margin-bottom: 5px; }
.project-item:hover img { filter: brightness(1); }
.project-item:hover .project-overlay { transform: translateY(0); opacity: 1; }

.project-list { display: flex; flex-direction: column; gap: 100px; padding-top: 20px; }
.project-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.project-info h2 { font-size: 2.5rem; margin-bottom: 10px; }
.project-info .category { font-family: var(--font-heading); color: var(--accent); font-style: italic; font-size: 1.2rem; margin-bottom: 20px; }
.project-info .description { 
    margin-bottom: 30px; 
    font-size: 1.1rem; 
}
.link-arrow { font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dark); border-bottom: 2px solid var(--accent); padding-bottom: 5px; }

.contact-img { width: 100%; height: 510px; object-fit: cover; margin-bottom: 30px; border-radius: 12px; }
.align-start { align-items: flex-start !important; }
.info-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.info-item h3 { font-size: 1.1rem; margin-bottom: 5px; color: var(--accent); }

.contact-form-wrapper { background: var(--bg-maro); padding: 40px; border-radius: 20px; box-shadow: 0 15px 40px rgba(0,0,0,0.04); }
.form-group { margin-bottom: 25px; }
.form-group input, .form-group textarea { width: 100%; padding: 18px; border: 2px solid #eee; border-radius: 10px; font-family: var(--font-text); font-size: 1rem; transition: all 0.4s var(--bouncy-bezier); background-color: #fafafa; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--accent); background-color: var(--bg-white); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.03); outline: none; }

.footer-style-header {
    background-image: url('home-page-poze/Background Desktop.jpg'); background-size: cover; background-position: center;
    background-attachment: fixed; position: relative; color: var(--bg-white);
}
.footer-style-proiecte{
    background-color: var(--bg-white);
}
.footer-style-header::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.4); z-index: 0;
}

.servicii-section, .partners-section, .contact-section {
    position: relative; background-image: var(--bg-image-a4); background-size: cover;
    background-position: center; background-attachment: fixed;
}
.servicii-section::before, .partners-section::before, .contact-section::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(250, 245, 232, 0.5); z-index: 1; pointer-events: none;
}
.servicii-section > .container, .partners-section > .container, .contact-section > .container {
    position: relative; z-index: 2;
}

.main-footer { 
    background-image: url('home-page-poze/Background Desktop.jpg'); background-size: cover; background-position: center; 
    background-attachment: fixed; color: #e0e0e0; padding: 80px 0 20px 0; position: relative;
}
.main-footer::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.4); z-index: 0;
}
.main-footer .container, .main-footer .footer-bottom, .portfolio-header-container { position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 60px; }
.footer-logo-img { margin-bottom: 20px; border-radius: 0; }
.footer-motto { font-family: var(--font-heading); font-style: italic; font-size: 1.2rem; max-width: 300px; color: var(--accent); }
.footer-col h4 { color: var(--bg-white); font-size: 1.2rem; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 2px; }
.footer-col p, .footer-col strong { color: #d0d0d0; margin-bottom: 12px; }
.social-icons { display: flex; flex-direction: column; gap: 15px; }
.social-icons a { color: #d0d0d0; text-transform: uppercase; letter-spacing: 1px; font-weight: 500; }
.social-icons a:hover { color: var(--accent); }
.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; }

@media (max-width: 992px) {
    .hero-split { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .hero-logo-col { text-align: center; }
    .hero-big-logo { max-width: 60%; margin: 0 auto; }
    .hero-text-col { text-align: center; }
    .hero-text-col p { margin: 0 auto 30px auto; }
    .split-layout, .asymmetric-layout, .footer-grid { grid-template-columns: 1fr; gap: 50px; }
    .services-grid { grid-template-columns: 1fr; }
    .project-row { display: flex; flex-direction: column; gap: 30px; margin-bottom: 50px; }
    .project-list { gap: 60px; }
    .project-row .project-img { order: 1; }
    .project-row .project-info { order: 2; }
    .img-secondary { display: none; } 
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    position: relative;
    width: 100%;
}

@media (max-width: 767px) {
    .hamburger { display: flex; margin-left: auto; z-index: 1001; position: relative; }
    
    /* Afișăm logo-ul pe mobil și îi ajustăm puțin dimensiunea */
    .logo { display: block; z-index: 1001; position: relative; }
    .logo img { height: 50px; } 

    /* Meniul care glisează din dreapta */
    nav ul { 
        position: absolute; 
        top: 100%; 
        right: 0; 
        left: auto;
        width: 100%; 
        background-color: var(--bg-white); 
        flex-direction: column; 
        padding: 30px 0 40px 0; 
        text-align: center; 
        gap: 20px; 
        box-shadow: 0 20px 30px rgba(0,0,0,0.1); 
        transform: translateX(100%); /* Mutat complet în dreapta ecranului */
        opacity: 0; 
        pointer-events: none; 
        transition: transform 0.5s var(--bouncy-bezier), opacity 0.4s ease; 
    }
    
    nav ul.active { 
        transform: translateX(0); /* Glisează la locul lui lin */
        opacity: 1; 
        pointer-events: auto; 
    }
    
    /* Forțăm textul din meniu să fie mereu închis (negru) pe mobil */
    nav ul li a { 
        color: var(--text-dark) !important; 
        font-size: 1.1rem; 
        font-weight: 600;
    }
    /* Restul claselor din @media rămân la fel (ex: .hero-big-logo, .info-blocks, etc.) */
}

.project-img {
    overflow: hidden; 
    border-radius: 12px;
}
.project-img a {
    display: block;
}
.project-img img {
    width: 100%; 
    height: 500px; 
    object-fit: cover; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    transition: transform 0.6s var(--bouncy-bezier);
}
.project-img:hover img {
    transform: scale(1.05);
}

a.title-link {
    transition: color 0.3s ease;
    display: inline-block;
}
a.title-link:hover {
    color: var(--accent);
}

.project-detail-section {
    display: none; 
    padding: 120px 0;
    animation: fadeIn 0.8s ease;
}

.project-detail-section:target {
    display: block; 
}

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

.btn-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 40px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
    transition: color 0.3s;
}
.btn-back:hover {
    color: var(--accent);
}

.furnizori-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    font-size: 1.05rem;
}
.furnizori-list li { margin-bottom: 10px; }
.furnizori-list strong { color: var(--text-dark); font-weight: 600; }

.extra-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.extra-gallery img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.project-row.hidden {
    display: none !important; 
}

.load-more-container {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 50px;
}

.btn-load-more {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--text-dark);
    color: var(--bg-white) !important;
    font-family: var(--font-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    transition: background-color 0.3s ease, transform 0.4s var(--bouncy-bezier), box-shadow 0.3s ease;
}

.btn-load-more:hover {
    background-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(193, 177, 153, 0.4);
}

.no-more-msg {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--accent);
    font-size: 1.3rem;
    margin-top: 20px;
    display: none; 
    animation: fadeIn 0.8s ease;
}

.no-more-msg.show {
    display: block; 
}

.page-header.compact-header.footer-style-header {
    padding: 105px 0 0 0; 
}

.portfolio-header-container h1 { 
    color: var(--bg-white); 
    margin-bottom: 5px; 
}

.portfolio-header-container p { 
    color: #f0e9de; 
    margin: 0; 
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.partners-marquee {
    overflow: hidden;
    white-space: nowrap;
    padding: 10px 0;
    position: relative;
}
.partners-marquee-inner {
    display: inline-block;
    animation: scroll-left 35s linear infinite;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-dark);
}
.partners-marquee-inner:hover {
    animation-play-state: paused;
}
.partner-name { margin: 0 40px; transition: color 0.3s; cursor: default; }
.partner-name:hover { color: var(--accent); }

.package-wrapper { margin-top: 50px; }
.package-card {
    border-radius: 12px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
}
.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
.package-card h3 { 
    font-size: 1.8rem; 
    margin-bottom: 15px; 
    text-align: center; 
    letter-spacing: 1px; 
}
.package-card ul {
    list-style: none; padding: 0; margin: 25px 0; flex-grow: 1;
}
.package-card ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: relative;
    padding-left: 30px;
    font-size: 0.95rem;
}
.package-card ul li:last-child { border-bottom: none; }
.package-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 12px;
    font-size: 1.1rem;
    font-weight: bold;
}

.card-silver {
    background-color: #f5f3ef !important;
    border-top: 4px solid #32363B !important;
}
.card-silver h3, 
.card-silver p, 
.card-silver ul li {
    color: #32363B !important;
}
.card-silver ul li::before {
    color: #32363B !important;
}

.card-gold {
    background-color: #f1d893 !important;
    border-top: 4px solid #32363B !important;
}
.card-gold h3, 
.card-gold p, 
.card-gold ul li {
    color: #32363B !important;
}
.card-gold ul li::before {
    color: #32363B !important;
}

.card-platinum {
    background-color: #32363B !important;
    border-top: 4px solid #F0D48A !important;
}
.card-platinum h3, 
.card-platinum ul li::before {
    color: #F0D48A !important;
}
.card-platinum p, 
.card-platinum ul li {
    color: #FFFFFF !important;
    border-bottom-color: rgba(255,255,255,0.1) !important;
}

.proces-tabs {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}
.proces-tab {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: #ddd;
    cursor: pointer;
    transition: color 0.4s ease, transform 0.3s ease;
}
.proces-tab:hover {
    transform: translateY(-5px);
}
.proces-tab.active {
    color: var(--accent);
}

.proces-content {
    display: none;
}
.proces-content h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}
.proces-content p {
    font-size: 1.05rem;
    line-height: 1.8;
}
.proces-content.active {
    display: block;
}

@keyframes fadeOutTab {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-20px); }
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.bg-white-section { background-color: var(--bg-white) !important; }
.bg-logo-section { 
    background-image: url('home-page-poze/Background page A4.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    position: relative; 
}
.bg-logo-section::before {
    content: '';
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(250, 245, 232, 0.65); 
    z-index: 1; pointer-events: none;
}   
.bg-logo-section > .container { position: relative; z-index: 2; }

.project-detail-grid {
    column-count: 3; 
    column-gap: 30px; 
    margin-top: 30px;
}

.project-detail-grid > div:first-child {
    break-inside: avoid; 
    margin-bottom: 30px; 
}

.project-detail-grid .extra-gallery {
    display: contents; 
}

.project-detail-grid .extra-gallery img {
    width: 100%;
    height: auto !important;
    margin: 0 0 30px 0 !important; 
    break-inside: avoid; 
    border-radius: 12px;
}

@media (max-width: 992px) {
    .project-detail-grid {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .project-detail-grid {
        column-count: 1;
    }
}

.extra-gallery img {
    cursor: zoom-in; 
}

.lightbox {
    display: none; 
    position: fixed;
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: 0.3s;
    z-index: 2001;
}

.close-lightbox:hover {
    color: var(--accent);
}

.prev-lightbox, .next-lightbox {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 15px 20px;
    color: white;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
    border-radius: 5px;
}

.prev-lightbox { left: -60px; }
.next-lightbox { right: -60px; }

.prev-lightbox:hover, .next-lightbox:hover {
    background-color: var(--accent);
}

@media (max-width: 767px) {
    .prev-lightbox { left: 10px; }
    .next-lightbox { right: 10px; }
    .close-lightbox { top: 10px; right: 20px; }
}

body.pagina-proiect {
    animation: fadeInPage 1.3s ease-out forwards;
}

@keyframes fadeInPage {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@media (max-width: 767px) {
    .main-footer, .footer-style-header {
        background-attachment: scroll !important;
        background-position: center top !important; 
    }
}
@media (max-width: 767px) {
    #navbar {
        padding: 17px 0 !important;
    }
    
    #navbar.scrolled {
        padding: 14px 0 !important;
    }
    .hamburger span {
        width: 35px;
        height: 3px;
        margin-bottom: 2px;
    }
}

.hero-text-col h1 { font-size: 2rem !important; line-height: 1.1; }
.hero-text-col h2 { font-size: 1.1rem !important; }
section h2, .section-header h2, .text-box h2, .story-text h2 { font-size: 2.4rem !important; line-height: 1.2; margin-bottom: 30px !important; text-transform: uppercase; }
h3, .service-card h3, .package-card h3, .proces-content h3, .why-item h3 { font-size: 1.6rem !important; margin-bottom: 15px !important; line-height: 1.4; }
p { font-size: 1.1rem !important; line-height: 1.7 !important; }
.stat-label { font-size: 1rem !important; }
.signature {font-size: 2.3rem !important;}

#fine-extensions .split-layout > div > div:last-child p {
    font-size: 1.12rem !important;
    text-align: center !important; 
    width: 100% !important; 
    display: block !important;
    margin: 0 auto 25px auto !important;
}

@media (max-width: 767px) {
    .hero-text-col h1 { font-size: 1.6rem !important; }
    section h2, .section-header h2, .text-box h2, .story-text h2 { font-size: 2rem !important; margin-bottom: 20px !important; }
    h3, .service-card h3, .package-card h3, .proces-content h3, .why-item h3 { font-size: 1.3rem !important; }
    p { font-size: 1.05rem !important; }
}



/* =========================================
   ANIMATIE DE LOADING (SIMPLIFICATA)
   ========================================= */
   body.no-scroll {
    overflow: hidden; 
}

#loader-wrapper {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    z-index: 99999;
    pointer-events: all;
    /* Aliniere perfectă pe centru */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* Tranziție pentru când dispare tot ecranul */
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.loader-bg {
    position: absolute;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background-image: url('home-page-poze/Background Desktop.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5); 
    z-index: -1;
}

#loader-logo {
    width: 300px; 
    max-width: 80%;
    z-index: 100000;
}

.pulse-anim {
    animation: pulseLoader 1.5s infinite ease-in-out;
}

@keyframes pulseLoader {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- STILURI BARA DE ÎNCĂRCARE --- */
#loader-progress {
    margin-top: 50px; /* Distanța dintre logo și bară */
    width: 300px; 
    height: 4px;  /* Bara mai groasă */
    background-color: rgba(255, 255, 255, 0.2); 
    z-index: 100000;
    border-radius: 4px; 
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background-color: var(--accent); /* Auriul site-ului */
    animation: fillProgress 2s linear forwards; /* Durează fix 2 secunde */
}

@keyframes fillProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}


/* =========================================
   HERO SLIDER
   ========================================= */
   .hero-bg .hero-slide {
    width: 100%;
    height: 100%;
    /* 'cover' face ca poza să umple tot ecranul. 
       Dacă vrei să se vadă absolut toată poza fără ca marginile să fie deloc tăiate, schimbă 'cover' cu 'contain' */
    object-fit: cover; 
    object-position: center; /* Asigură că mereu centrul pozei este în focus */
    position: absolute;
    top: 0;
    left: 0;
    z-index: -2;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-bg .hero-slide.active {
    opacity: 1;
}

/* Săgeți Slider Hero - Doar săgețile, fără fundal */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent; /* Elimină blocul negru */
    color: white;
    border: none;
    font-size: 2.5rem; /* Le-am făcut puțin mai mari pentru a fi clare */
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease, transform 0.3s ease;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6); /* Umbră fină pentru a fi vizibile pe orice fundal */
}

.slider-arrow:hover {
    background-color: transparent; /* Fără fundal nici la hover */
    color: var(--accent); /* Culoarea se schimbă în nuanța ta aurie la hover */
    transform: translateY(-50%) scale(1.1); /* Săgeata se mărește foarte subtil când pui mouse-ul pe ea */
}

.prev-arrow { left: 20px; }
.next-arrow { right: 20px; }

@media (max-width: 767px) {
    .slider-arrow {
        font-size: 2rem; /* Săgeți puțin mai mici pe telefon */
        padding: 10px;
    }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
}

#navbar:not(.scrolled) nav ul li a {
    color: var(--bg-cream);
}

#navbar:not(.scrolled) .hamburger span {
    background-color: var(--bg-cream);
}

#navbar.scrolled nav ul li a {
    color: var(--text-dark);
}
#navbar.scrolled .hamburger span {
    background-color: var(--text-dark);
}

/* Face tot header-ul alb când meniul de pe mobil este deschis */
#navbar.menu-open {
    background-color: var(--bg-white) !important;
}

/* Forțează iconița hamburger să fie neagră când meniul e deschis */
#navbar.menu-open .hamburger span {
    background-color: var(--text-dark) !important;
}

/* =========================================
   NAVIGARE ÎNTRE PROIECTE
   ========================================= */
   .project-nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Clasa asta o folosim la primul proiect ca să împingem butonul de "Next" în dreapta */
.project-nav-buttons.justify-end {
    justify-content: flex-end;
}

.btn-nav-project {
    font-family: var(--font-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s var(--bouncy-bezier);
}

.btn-nav-project:hover {
    color: var(--accent);
    transform: translateY(-4px);
}

/* Corectare fundal Loader pentru ecranele de telefon (mobile) */
@media (max-width: 767px) {
    .loader-bg {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
}