/* ===============================
   CONTACT.CSS - Contact Page
================================ */

.contact-section {
    padding: 60px 0;
}

/* Contact Info Cards */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: transform var(--transition-base);
}

.contact-info-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-info-card h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--dark-color);
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-light);
    line-height: 1.6;
}

.contact-info-card a {
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-info-card a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-section {
    background: var(--light-bg);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-group-full {
    grid-column: 1 / -1;
}

/* Map */
.map-container {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 60px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Business Hours */
.business-hours {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-top: 40px;
}

.business-hours h4 {
    margin-bottom: var(--spacing-md);
    color: var(--dark-color);
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

/* ===============================
   GALLERY.CSS - Gallery Page
================================ */

.gallery-section {
    padding: 60px 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-base);
    font-weight: 500;
}

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

/* Gallery Grid - using masonry-style layout */
.gallery-masonry {
    column-count: 3;
    column-gap: 20px;
}

.gallery-masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: transform var(--transition-base);
}

.gallery-masonry-item:hover {
    transform: scale(1.02);
}

.gallery-masonry-item img {
    width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

/* ===============================
   RESPONSIVE - CONTACT & GALLERY
================================ */

@media (max-width: 992px) {
    .gallery-masonry {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-section {
        padding: 2rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .gallery-masonry {
        column-count: 1;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .gallery-filters {
        flex-direction: column;
    }
    
    .filter-btn {
        width: 100%;
    }
}