body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #0d0d0d;
    color: #e6e6e6;
}

header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
    url('/pictures/1 Siofok_homlokzati_latvanyterv_v6_003.origRGB.0000 FINAL.webp') center/cover no-repeat;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

header h1 {
    font-size: 3.5rem;
    color: #d4af37;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

header p {
    font-size: 1.3rem;
    max-width: 600px;
    margin: auto;
    opacity: 0.9;
}

header a {
    display: inline-block;
    margin-top: 2rem;
    padding: 14px 35px;
    background: #d4af37;
    color: #000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

header a:hover {
    background: #b8922b;
}

section {
    padding: 70px 20px;
    max-width: 1100px;
    margin: auto;
}

h2 {
    font-size: 2.4rem;
    color: #d4af37;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services, .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.card {
    background: #1a1a1a;
    padding: 25px;
    border: 1px solid #333;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
}


.gallery img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #333;
    transition: 0.3s;
}

.gallery img:hover {
    border-color: #d4af37;
    transform: scale(1.02);
}

/* Lightbox canvas */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox-img {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
}

/* Fade-in animation */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.lightbox.show {
    animation: fadeIn 0.25s ease-out;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #d4af37;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 10px;
    user-select: none;
    transition: 0.2s;
}

.arrow:hover {
    color: #b8922b;
}

.prev {
    left: 30px;
}

.next {
    right: 30px;
}


.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Slide animations */
@keyframes slideInFromRight {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInFromLeft {
    from { opacity: 0; transform: translateX(-40px); }
    to { opacity: 1; transform: translateX(0); }
}

.lightbox-img.slide-right {
    animation: slideInFromRight 0.25s ease-out;
}

.lightbox-img.slide-left {
    animation: slideInFromLeft 0.25s ease-out;
}



footer {
    background: #000;
    color: #777;
    text-align: center;
    padding: 40px 20px;
    margin-top: 40px;
    border-top: 1px solid #333;
}