/* General */
body {
    background: #f8f9fa;
    font-family: 'Segoe UI', sans-serif;
}

.main-title {
    letter-spacing: 1px;
}

/* Content box */
.content-box {
    background: #fff;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.content-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* Gallery */
.photo-card {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
}

.photo-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.photo-card:hover img {
    transform: scale(1.15);
}

.photo-card:hover {
    transform: translateY(-8px);
}

/* Animations */
.fade-in {
    animation: fadeIn 1.2s ease forwards;
}

.slide-left {
    animation: slideLeft 1s ease forwards;
}

.slide-right {
    animation: slideRight 1s ease forwards;
}

.slide-down {
    animation: slideDown 1s ease forwards;
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    animation: fadeIn 0.4s ease;
}

.lightbox-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 85%;
    border-radius: 12px;
    animation: zoomIn 0.4s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ff4d4d;
}

@keyframes zoomIn {
    from { transform: scale(0.7); }
    to { transform: scale(1); }
}
