body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #e6ecf2;
    color: #333;
}

.hero-header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    padding: 20px;
    align-items: center;
}

.logo {
    height: 60px;
    cursor: pointer;
    border-radius: 50%; /* logo rotund */
}

.hamburger {
    font-size: 30px;
    cursor: pointer;
    color: white;
}

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 999;
    top: 0;
    left: 0; /* se deschide în stânga */
    background-color: rgba(0, 0, 0, 0.95);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}

.side-menu ul {
    list-style: none;
    padding: 0;
}

.side-menu li {
    padding: 16px 32px;
}

.side-menu a {
    color: white;
    text-decoration: none;
    font-size: 20px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
    color: white;
}

.hero {
    background: url('images/header-bg.jpg') center/cover no-repeat;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background: rgba(0,0,0,0.4);
    padding: 40px;
    text-align: center;
    border-radius: 8px;
}

.title {
    font-size: 70px;
    font-weight: bold;
    color: white;
    margin: 0;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 20px;
    color: white;
    margin-top: 10px;
}

.contact-btn {
    display: inline-block;
    background-color: #735351;
    color: white;
    padding: 12px 28px;
    margin-top: 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.services {
    display: flex;
    justify-content: space-around;
    background-color: #483c32;
    color: white;
    padding: 20px 0;
    font-size: 18px;
}

.lightbox-overlay {
    position: fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.lightbox-main {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    color: white;
    font-size: 50px;
    cursor: pointer;
    user-select: none;
}

.lightbox-close {
    top: 20px;
    right: 40px;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.small-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #777878;
    align-items: center;
}

.contact-section {
    text-align: center;
    padding: 20px;
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
    background: #000000;
    color: white;
    padding: 8px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.footer {
    background-color: #777878;
    color: white;
    padding: 40px 20px 20px 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 220px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #f4f4f4;
}

.footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #f4f4f4;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.social-icons a {
    display: inline-block;
    margin-right: 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.3);
    padding-top: 10px;
    font-size: 14px;
}

/* Responsive pentru mobil */
@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .social-icons a {
        margin: 0 10px;
    }
}

.contact-hero {
    background: url('images/contact-bg.jpg') center/cover no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-overlay {
    background: rgba(0,0,0,0.5);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    color: white;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 40px 20px;
    gap: 30px;
    background-color: #f4f4f4;
}

.contact-form, .contact-info {
    flex: 1 1 400px;
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-form h2, .contact-info h2 {
    margin-top: 0;
    color: #483c32;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

.contact-form button {
    background-color: #735351;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background-color: #5a3d3d;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info iframe {
    margin-top: 15px;
    border-radius: 5px;
}

contact-page {
    background: url('images/contact-bg.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed; /* imagine fixă la scroll */
} 

/* ===================== Galerie 3D Rotativă ===================== */
#gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    height: 500px;
    background-color: #000; /* opțional */
}

#gallery .box {
    position: relative;
    width: 200px;
    height: 250px;
    transform-style: preserve-3d;
    animation: rotateBox 20s linear infinite;
}

@keyframes rotateBox {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

#gallery .box span {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-style: preserve-3d;
    transform: rotateY(calc(var(--i) * 36deg)) translateZ(400px);
    -webkit-box-reflect: below 0px linear-gradient(transparent, transparent, #0004);
}

#gallery .box span img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
