/* Gallery Section Styles */
.gallery {
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.gallery-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--text-color);
    font-size: 1.1rem;
}

.gallery-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    gap: 10px;
}

.filter-btn {
    padding: 8px 20px;
    background: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    color: var(--text-color);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(135, 206, 235, 0.8); /* Updated to sky blue with transparency */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-info {
    text-align: center;
    color: white;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
    transform: translateY(0);
}

.gallery-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.gallery-info p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-small {
    display: inline-block;
    padding: 8px 20px;
    background: white;
    color: var(--primary-color);
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background: var(--secondary-color);
    color: white;
}

.gallery-cta {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.gallery-cta p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* Redesigned Contact Form Styles */
.contact-form-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 50px;
}

@media (min-width: 768px) {
    .contact-form-container {
        grid-template-columns: 2fr 1fr;
    }
}

.contact-form-card {
    background: white;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: transform 0.3s ease;
}

.contact-form-card:hover {
    transform: translateY(-5px);
}

.contact-form-header {
    margin-bottom: 25px;
    text-align: center;
}

.contact-form-header h3 {
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.contact-form-header p {
    color: var(--text-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

@media (min-width: 576px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.form-group textarea + label {
    top: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.2);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-submit i {
    margin-right: 8px;
}

/* WhatsApp Contact Card */
.whatsapp-contact {
    height: 100%;
}

.whatsapp-card {
    background: #25D366;
    color: white;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
}

.whatsapp-card:hover {
    transform: translateY(-5px);
}

.whatsapp-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.whatsapp-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.whatsapp-card p {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.btn-whatsapp {
    background: white;
    color: #25D366;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp i {
    margin-right: 8px;
    font-size: 1.2rem;
}