.gallery-section {
    padding: 3rem 0;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.gallery-intro h2 {
    color: #4F5A5E;
    margin-bottom: 1rem;
}

.gallery-intro p {
    color: #6B787D;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.gallery-caption {
    padding: 1rem;
    background: white;
}

.gallery-caption h3 {
    color: #4F5A5E;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gallery-caption p {
    color: #6B787D;
    font-size: 0.9rem;
    line-height: 1.4;
}

.back-to-home {
    text-align: center;
    margin: 3rem 0 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #4F5A5E;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    background: #D7E2E8;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: #B8CCCD;
    transform: translateY(-2px);
}

footer {
    background: linear-gradient(135deg, var(--charcoal) 0%, #3F484C 100%);
    color: var(--white);
    padding: 5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-gray), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
}

.footer-about h3,
.footer-newsletter h3,
.footer-social h3 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--white);
    letter-spacing: 0.5px;
}

.divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--teal-gray), var(--sage));
    margin: 1rem 0 1.5rem;
    border-radius: 1px;
}

.footer-about p {
    color: #D7E2E8;
    line-height: 1.8;
    margin-bottom: 1.8rem;
    font-size: 1rem;
}

.signature {
    font-style: italic;
    color: var(--teal-gray);
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.newsletter-form input {
    padding: 1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--teal-gray);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 3px rgba(184, 204, 205, 0.2);
}

.newsletter-form button {
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--teal-gray) 0%, var(--sage) 100%);
    color: var(--charcoal);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(184, 204, 205, 0.3);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
    margin: 1.8rem 0;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--white);
    font-size: 1.1rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icons a:hover {
    background: var(--teal-gray);
    color: var(--charcoal);
    transform: translateY(-3px);
    border-color: transparent;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }

    .gallery-item img {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 220px;
    }
}

