/* Gallery Page Styles - Green's Windows */
/* ====================================== */

.gallery-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-hero-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
}

.gallery-hero-badge {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--primary);
    border-radius: 50px;
    background: var(--primary-dark);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.gallery-hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 72px;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.gallery-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.gallery-intro {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-intro h2 {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.gallery-intro p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

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

.filter-btn {
    padding: 12px 28px;
    background: #fff;
    border: 2px solid var(--primary-dark);
    border-radius: 50px;
    font-family: 'Raleway', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(var(--primary-rgb), 0.3);
}

/* Gallery Grid - 2 per row */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Gallery Card */
.gallery-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    height: 320px;
}

.gallery-card:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Image Section */
.gallery-card-image {
    position: relative;
    width: 50%;
    min-width: 50%;
    overflow: hidden;
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-card-image {
    width: 45%;
    min-width: 45%;
}

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

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

/* Category Badge */
.category-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-badge i {
    color: var(--accent);
}

/* Basic Info (shown by default) */
.gallery-card-info {
    width: 50%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
    transition: all 0.4s ease;
}

.gallery-card:hover .gallery-card-info {
    width: 55%;
}

.card-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Specs List */
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease;
}

.gallery-card:hover .specs-list {
    max-height: 300px;
    opacity: 1;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 13px;
}

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

.spec-label {
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-label i {
    color: var(--primary-dark);
    font-size: 14px;
}

.spec-value {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Explore Button */
.explore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    text-decoration: none;
    width: fit-content;
}

.gallery-card:hover .explore-btn {
    opacity: 1;
    transform: translateY(0);
}

.explore-btn:hover {
    background: var(--accent);
    color: var(--primary-dark);
}

.explore-btn i {
    transition: transform 0.3s ease;
}

.explore-btn:hover i {
    transform: translateX(5px);
}

.no-images {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.no-images i {
    font-size: 60px;
    color: #ccc;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .gallery-hero-title { font-size: 48px; letter-spacing: 4px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-card { height: auto; flex-direction: column; }
    .gallery-card-image { width: 100% !important; min-width: 100% !important; height: 250px; }
    .gallery-card-info { width: 100% !important; }
    .specs-list { max-height: 300px; opacity: 1; }
    .explore-btn { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .gallery-hero { height: 50vh; min-height: 350px; }
    .gallery-hero-badge { padding: 10px 25px; font-size: 12px; letter-spacing: 3px; }
    .gallery-hero-title { font-size: 36px; letter-spacing: 2px; }
    .gallery-intro h2 { font-size: 32px; }
}

@media (max-width: 480px) {
    .gallery-hero { height: 45vh; min-height: 300px; }
    .gallery-hero-badge { padding: 8px 20px; font-size: 10px; letter-spacing: 2px; }
    .gallery-hero-title { font-size: 28px; letter-spacing: 1px; }
}
