.contact-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.contact-icons a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-icons a:hover {
    color: #f8f9fa;
}

.fa-lg {
    font-size: 1.5em;
}

/* src/main/resources/static/css/saber-mas.css */
body {
    background-image: url('/image/baoba.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
        color: white; /* Ensure text is visible */
    }


.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-gap: 15px;
    grid-auto-rows: minmax(200px, auto);
}

.photo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.simple-box {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.box-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.box-content {
    color: #333;
}

.box-content h3 {
    margin-bottom: 10px;
}

.contact-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 10px;
}

.contact-icons a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-icons a:hover {
    color: #f8f9fa;
}

.fa-lg {
    font-size: 1.5em;
}