/*
Theme Name: Scheuleac Bau
Theme URI: https://scheuleac-bau.de
Author: Adrian
Author URI: https://scheuleac-bau.de
Description: Tema custom WordPress pentru Scheuleac-Bau. Compatibila cu Elementor. Contine shortcoduri pentru calculator de pret, slider recenzii, switch DE/EN si formular de contact.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scheuleac-bau
Tags: custom, elementor, business
*/

/* ==============================================
   SCHEULEAC BAU - CSS GLOBAL (preluat 1:1 din HTML)
   ============================================== */

:root {
    --primary: #1a252f;
    --secondary: #d35400;
    --light: #f4f4f4;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    padding-top: 70px;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary);
}

/* =============== NAVBAR =============== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
}
.logo span { color: var(--secondary); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    cursor: pointer;
}
.nav-links a.current-menu-item,
.nav-links li.current-menu-item > a {
    color: var(--secondary);
}
.hamburger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--primary);
}

/* =============== LANG SWITCH =============== */
.lang-switch {
    margin-left: 15px;
    border-left: 2px solid #ddd;
    padding-left: 15px;
    display: flex;
    gap: 5px;
}
.lang-btn {
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: 0.3s;
}
.lang-btn.active {
    color: var(--secondary);
    font-weight: bold;
}

/* =============== HERO HOME =============== */
.hero {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
        url('assets/img/coperta.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.hero h1 {
    color: white;
    margin-bottom: 10px;
    font-size: 2.5rem;
}

/* =============== HERO PAGINA =============== */
.page-hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
        url('assets/img/coperta2.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white;
}
.page-hero p { font-size: 1.2rem; max-width: 800px; }

/* =============== SECTIUNE GENERICA =============== */
.section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}
.content-section {
    padding: 60px 20px;
    max-width: 1000px;
    margin: auto;
    text-align: center;
}

/* =============== CALCULATOR =============== */
.calculator-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
    border-top: 5px solid var(--secondary);
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}
.calculator-card select,
.calculator-card input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    appearance: none;
}
button.calc-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    text-transform: uppercase;
}
button.calc-btn:active {
    transform: scale(0.98);
    background: #b04600;
}
.result-box {
    background: #eefcf3;
    border: 1px solid #2ecc71;
    padding: 20px;
    margin-top: 20px;
    border-radius: 8px;
    display: none;
    animation: fadeIn 0.3s ease;
}
.price-display {
    font-size: 2rem;
    color: #27ae60;
    font-weight: 800;
    display: block;
    margin: 10px 0;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =============== RECENZII =============== */
.reviews-wrapper {
    position: relative;
    max-width: 100%;
    padding: 0 40px;
}
.reviews-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    scroll-behavior: smooth;
}
.reviews-container::-webkit-scrollbar { display: none; }
.review-card {
    flex: 0 0 auto;
    width: 100%;
    max-width: 350px;
    scroll-snap-align: center;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--secondary);
    user-select: none;
    text-align: left;
}
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    font-size: 1.2rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn:hover {
    background: var(--secondary);
    color: white;
}
.nav-btn.prev { left: 0; }
.nav-btn.next { right: 0; }

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.client-name {
    font-weight: bold;
    color: var(--primary);
    font-size: 1.1rem;
}
.client-location {
    font-size: 0.85rem;
    color: #777;
}
.stars {
    color: #f1c40f;
    font-size: 1rem;
}
.job-details {
    font-size: 0.75rem;
    color: #888;
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 4px;
    margin-bottom: 15px;
    display: inline-block;
}
.review-text {
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
    line-height: 1.5;
}

/* =============== GALERIE =============== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}
.gallery-item {
    position: relative;
    height: 250px;
    background: #ddd;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.08); }

/* =============== PRODUCT GRID (Fenster) =============== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.product-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    cursor: pointer;
}
.product-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.product-card:hover img { transform: scale(1.05); }

/* =============== FEATURES =============== */
.features-list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}
.features-list li {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary);
    background: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.features-list i {
    color: #27ae60;
    margin-right: 10px;
}

/* =============== CONTACT BOX =============== */
.contact-box {
    background: var(--primary);
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-top: 60px;
}
.contact-box a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
}

/* =============== LIGHTBOX =============== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.lightbox-content {
    max-width: 95%;
    max-height: 90vh;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.close-lightbox {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
    user-select: none;
}
.close-lightbox:hover { color: var(--secondary); }

/* =============== FORMULAR CONTACT =============== */
.page-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.contact-form .form-group input,
.contact-form .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    box-sizing: border-box;
}
.contact-form .form-group textarea {
    resize: vertical;
    min-height: 150px;
}
.submit-btn {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: 0.3s;
}
.submit-btn:hover { background: #b04600; }
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}
.checkbox-group input { margin-top: 3px; }

/* =============== LEGAL =============== */
.legal-content {
    max-width: 900px;
    margin: 50px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    line-height: 1.6;
}
.legal-content h3 {
    margin-top: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
}
.legal-content ul { padding-left: 20px; }

/* =============== FOOTER =============== */
.site-footer {
    background: var(--primary);
    color: white;
    padding: 50px 20px 20px;
    text-align: center;
}
.site-footer a {
    color: white;
    text-decoration: underline;
}
.site-footer .footer-contact h3 {
    color: var(--secondary);
    margin-bottom: 15px;
}
.site-footer hr {
    border-color: rgba(255,255,255,0.1);
    margin: 30px auto;
    max-width: 800px;
}
.site-footer .footer-copy {
    margin-top: 40px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* =============== ALERT / SUCCESS =============== */
.form-alert {
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}
.form-alert.success {
    background: #eefcf3;
    border: 1px solid #2ecc71;
    color: #1e8449;
}
.form-alert.error {
    background: #fdecea;
    border: 1px solid #e74c3c;
    color: #c0392b;
}

/* =============== MOBILE =============== */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: 0.3s;
        border-top: 1px solid #eee;
    }
    .nav-links.active { left: 0; }
    .lang-switch {
        border-left: none;
        margin-left: 0;
        padding-left: 0;
        margin-top: 20px;
        font-size: 1.2rem;
    }
    .hero h1 { font-size: 1.8rem; }
    .page-hero h1 { font-size: 2rem; }
    .reviews-wrapper { padding: 0; }
    .nav-btn { display: none; }
    .review-card {
        width: 85%;
        margin: 0 10px;
    }
    .close-lightbox {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
    .features-list { flex-direction: column; gap: 10px; }
    .page-container { margin: 20px; padding: 20px; }
}
