:root {
    --primary-color: #C31F26; /* Nicol Red */
    --accent-gold: #C5A059;
    --text-dark: #1f1f1f;
    --text-grey: #666666;
    --bg-light: #F9F7F5; /* Warm off-white */
    --white: #ffffff;
    --footer-bg: #1a1a1a;
    --promo-height: 40px;
}

/* Resetare & Setari Generale */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--bg-light);
    overflow-x: hidden;
    padding-top: calc(var(--promo-height) + env(safe-area-inset-top));
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; transition: 0.3s ease; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding { padding: 100px 0; }
.bg-light { background-color: #f4f1ee; }
.text-center { text-align: center; }

/* Butoane */
.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 500;
}

.btn-primary:hover { background-color: #a01a1f; }

.nav-links a.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 10px 25px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    font-weight: 600;
    border-radius: 2px;
    transition: all 0.3s ease;
    margin-left: 30px;
}

.nav-links a.btn-outline:hover { 
    background: var(--white); 
    color: var(--primary-color); 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Navigatie */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: absolute;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    color: var(--white);
    font-size: 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1;
}

.logo span {
    display: block;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 3px;
    opacity: 0.8;
}

.nav-links a:not(.btn-outline) {
    color: var(--white);
    margin-left: 2rem;
    font-size: 0.9rem;
    position: relative;
}

.burger-menu { display: none; color: white; font-size: 1.5rem; }

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -1;
    /* Optional: Ajustare pozitie video daca subiectul nu e perfect incadrat */
    /* object-position: center right; */
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Gradient puternic in stanga pentru text, transparent in dreapta pentru video */
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 8%;
    max-width: 650px;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    display: block;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 em {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    font-style: italic;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
}

/* Sectiune Welcome */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.subtitle {
    color: var(--primary-color);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 3px;
    font-weight: 600;
    margin-bottom: 15px;
    display: block;
}

.welcome h2 { font-size: 2.5rem; margin-bottom: 20px; line-height: 1.2; }
.divider-small { width: 60px; height: 3px; background: var(--primary-color); margin-bottom: 30px; }
.welcome p { color: var(--text-grey); margin-bottom: 20px; }

.features-list span {
    display: block;
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
}
.features-list i { color: var(--primary-color); margin-right: 10px; }

.welcome-img-wrapper { position: relative; }
.main-img { border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.floating-badge {
    position: absolute;
    bottom: -30px; left: -30px;
    background: var(--white);
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 3px solid var(--primary-color);
}
.floating-badge span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--text-dark);
}

/* Grid Servicii */
.services-section { padding-top: 0; padding-bottom: 0; }
.section-header {
    margin-bottom: 30px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    min-height: 600px;
}

.service-card {
    position: relative;
    height: 500px; /* Sau mai mare pe desktop */
    background-size: cover;
    background-position: center;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Textul jos */
}

.service-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    transition: 0.5s;
}

.service-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: white;
    transform: translateY(20px);
    transition: 0.5s;
}

.service-card:hover .service-overlay { background: rgba(195, 31, 38, 0.85); /* Red overlay on hover */ }
.service-card:hover .service-content { transform: translateY(0); }

.service-content h3 { font-size: 1.8rem; margin-bottom: 10px; }
.service-content p { font-size: 0.95rem; margin-bottom: 20px; opacity: 0.9; }
.link-arrow { color: white; text-transform: uppercase; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; }

/* Services Pagination Dots */
.services-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 0 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* Recenzii */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: 0.3s;
}

.review-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.06); }
.stars { color: var(--accent-gold); margin-bottom: 20px; font-size: 0.9rem; }
.review-text { font-style: italic; color: var(--text-grey); margin-bottom: 30px; font-size: 1rem; line-height: 1.8; }

.review-author { display: flex; align-items: center; }
.review-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; margin-right: 15px; }
.review-author h4 { font-size: 1rem; color: var(--text-dark); margin-bottom: 2px; }
.review-author span { font-size: 0.8rem; color: #999; text-transform: uppercase; letter-spacing: 1px; }

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: #999;
    padding: 80px 0 20px;
    font-size: 0.9rem;
}

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

.footer-logo { margin-bottom: 20px; }
.footer-col p { margin-bottom: 20px; line-height: 1.8; }
.footer-col h4 { color: var(--white); margin-bottom: 25px; font-size: 1.2rem; }

.footer-col ul li { margin-bottom: 15px; }
.footer-col a { color: #999; }
.footer-col a:hover { color: var(--primary-color); padding-left: 5px; }

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.1);
    color: white;
    margin-right: 10px;
    border-radius: 50%;
    transition: 0.3s;
}
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }

.contact-list i { color: var(--primary-color); margin-right: 10px; width: 20px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
}

/* Promo Bar */
.promo-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--promo-height);
    background: #F2B94B;
    color: #1F2933;
    font-weight: 350;
    font-size: 14px;
    line-height: var(--promo-height);
    z-index: 9999;
    padding-top: env(safe-area-inset-top);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    overflow: hidden;
}

.promo-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    gap: 10px;
}

.promo-desktop span {
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.promo-desktop span a {
    color: #2F80ED;
    text-decoration: none;
}

.promo-desktop span a:hover {
    text-decoration: underline;
}

.btn-promo {
    background: #2F80ED;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 350;
    font-size: 13px;
    transition: opacity 0.2s;
    margin-left: 8px;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.btn-promo:hover,
.btn-promo:focus {
    opacity: 0.85;
}

.promo-mobile {
    display: none;
    height: 100%;
    padding: 0 12px;
    justify-content: space-between;
    align-items: center;
}

.promo-left,
.promo-center,
.promo-right {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #1F2933;
}

.promo-left {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.promo-center {
    flex: 0 0 auto;
    justify-content: center;
    font-weight: 500;
}

.promo-right a {
    color: #2F80ED;
    text-decoration: none;
    font-weight: 500;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: all 0.3s ease;
}

.floating-whatsapp i {
    font-size: 28px;
}

.floating-whatsapp:hover {
    background-color: #20bd5a;
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* --- Global Fixes --- */
.sticky-nav {
    position: fixed;
    top: calc(var(--promo-height) + env(safe-area-inset-top));
    left: 0;
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 9998;
}

.sticky-nav .logo, 
.sticky-nav .nav-links a:not(.btn-outline),
.sticky-nav .burger-menu {
    color: var(--text-dark);
}

.sticky-nav .nav-links a.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.sticky-nav .nav-links a.btn-outline:hover { 
    background: var(--primary-color); 
    color: var(--white); 
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(195, 31, 38, 0.2);
}

@media (max-width: 768px) {
    /* --- PROMO BAR --- */
    .promo-desktop {
        display: none !important;
    }
    
    .promo-mobile {
        display: flex !important;
        height: 100%;
        width: 100%;
        padding: 0 15px;
    }
    
    /* --- 1. HERO & VIDEO OPTIMIZATION --- */
    
    /* Focus video on the right (70%) to show face */
    .hero-video {
        object-position: 70% center; 
    }

    /* Move text to bottom and add breathing room */
    .hero {
        align-items: flex-end; 
        padding-bottom: 12vh; /* Lift text slightly up */
    }
    
    /* Fix Gradient: Pure vertical fade (Dark bottom -> Transparent top) */
    .hero-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    }

    /* Content adjustments */
    .hero-content {
        width: 100%;
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        margin-bottom: 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    /* Hide description text on mobile to save space */
    .hero-description { display: none; }
    .eyebrow { margin-bottom: 0.5rem; }

    /* --- 2. SERVICES SLIDER (FIXED) --- */
    
    .services-section .container {
        width: 100%;
        padding-right: 0; /* Allows cards to touch edge */
    }

    .services-grid {
        display: flex;
        flex-wrap: nowrap; /* Forces single row */
        overflow-x: auto; /* Enables scroll */
        scroll-snap-type: x mandatory; /* Snap effect */
        gap: 0; /* Remove gap between cards */
        padding: 10px 0 5px 0; /* Small bottom padding */
        min-height: auto; /* Remove desktop min-height */
        
        /* Hide scrollbars */
        scrollbar-width: none; 
        -ms-overflow-style: none;
    }
    
    .services-grid::-webkit-scrollbar { display: none; }

    .service-card {
        /* Full width */
        flex: 0 0 100%;
        width: 100%;
        height: 400px;
        margin-right: 0;
        scroll-snap-align: start;
    }
    
    /* Services Pagination Dots */
    .services-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        padding: 10px 0 25px;
        margin-top: 0;
    }
    
    .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.5);
        cursor: pointer;
        transition: all 0.3s ease;
        border: none;
    }
    
    .dot.active {
        background-color: var(--primary-color);
        width: 24px;
        border-radius: 4px;
    }
    
    /* --- 3. GENERAL MOBILE LAYOUT --- */
    
    .nav-links { display: none; }
    .burger-menu { display: block; cursor: pointer; color: var(--text-dark); }
    
    .welcome-grid { grid-template-columns: 1fr; gap: 40px; }
    .welcome-img-wrapper { order: -1; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Footer Alignment */
    .footer-col p { text-align: justify; }
    .footer-col h4, .footer-logo, .social-links { text-align: center; }
    .social-links { justify-content: center; }
    
    /* Reviews Toggle */
    .mobile-hide { display: none; }
    .show-more-wrapper { display: block; }
    
    /* --- 4. FOOTER --- */
}

/* Desktop Fix for "Show More" - hidden by default */
@media (min-width: 769px) {
    .show-more-wrapper {
        display: none;
    }
    .mobile-hide {
        display: block !important;
    }
}