/* Gallery Page Dense Premium Styles */

/* ================= MODERN HERO SECTION ================= */
.modern-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Modern parallax */
    display: flex;
    align-items: center;
    padding-top: 80px; /* offset header if fixed */
    border-bottom: 3px solid var(--color-gold);
}

.hero-overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Slight dim to let the image shine but keep text readable if overflowing */
    z-index: 1;
}

.modern-hero .container {
    z-index: 2;
    width: 100%;
}

.modern-hero-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 60px;
    max-width: 600px;
    border-left: 6px solid var(--color-orange);
    box-shadow: 20px 20px 0px rgba(240, 90, 40, 0.2);
    backdrop-filter: blur(10px); /* Glassmorphism edge */
}

.modern-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.1;
    color: var(--color-darker);
}

.modern-hero-subtitle {
    font-size: 1.15rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.breadcrumbs {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs a {
    color: var(--color-orange);
    text-decoration: none;
    transition: 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-gold);
}

.breadcrumbs .sep {
    margin: 0 10px;
    color: #ccc;
}

.breadcrumbs .current {
    color: var(--color-darker);
}

/* ================= SOLID TABS ================= */
.solid-tabs-wrapper {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: center;
}

.solid-tabs {
    display: flex;
    gap: 0;
    border: 2px solid var(--color-darker);
}

.solid-tab {
    background: #fff;
    border: none;
    border-right: 2px solid var(--color-darker);
    color: var(--color-darker);
    padding: 15px 40px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.solid-tab:last-child {
    border-right: none;
}

.solid-tab i {
    font-size: 1.2rem;
    color: var(--color-gold);
    transition: 0.3s ease;
}

.solid-tab:hover, .solid-tab.active {
    background: var(--color-darker);
    color: #fff;
}

.solid-tab.active i, .solid-tab:hover i {
    color: #fff;
}

.gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item.hide {
    display: none;
}

.relative-z {
    position: relative;
    z-index: 3;
}

.inner-hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.breadcrumbs {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.breadcrumbs a {
    color: var(--color-orange);
    text-decoration: none;
    transition: 0.3s ease;
}

.breadcrumbs a:hover {
    color: var(--color-gold);
}

.breadcrumbs span {
    margin: 0 10px;
    color: #999;
}

/* ================= GALLERY DENSE GRID ================= */
.gallery-dense {
    background: #ffffff;
}

.album-grid-seamless {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    width: 100%;
    border-top: var(--border-subtle, 1px solid #e0e0e0);
}

.album-card-seamless {
    position: relative;
    min-height: 330px;
    display: block;
    overflow: hidden;
    border-radius: 0 !important;
    border: none;
    text-decoration: none;
    background-color: #111;
}

/* Fix right border for every 3rd item */
.album-card-seamless:nth-child(3n) {
    border-right: none;
}

.album-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
    filter: grayscale(80%) brightness(0.6);
    z-index: 1;
}

.album-card-seamless:hover .album-bg {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(0.4);
}

.album-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: #fff;
    transition: 0.4s ease;
}

.album-icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    align-self: flex-end;
    background: rgba(255,255,255,0.1);
    padding: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.2);
    transform: translateY(-20px);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.album-card-seamless:hover .album-icon {
    transform: translateY(0);
    opacity: 1;
    background: var(--color-gold);
    color: var(--color-darker);
    border-color: var(--color-gold);
}

.album-details {
    transform: translateY(20px);
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.album-card-seamless:hover .album-details {
    transform: translateY(0);
}

.album-details h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 5px;
    line-height: 1.2;
    color: #fff;
}

.album-details span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    padding-top: 5px;
    margin-top: 5px;
}

/* ================= ANIMATIONS ================= */
[data-animate] {
    opacity: 0;
    visibility: hidden;
}

[data-animate].animated {
    opacity: 1;
    visibility: visible;
}

[data-animate="fade-up"] { transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-animate="fade-up"].animated { transform: translateY(0); }

[data-animate="zoom-in"] { transform: scale(0.95); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-animate="zoom-in"].animated { transform: scale(1); }

/* ================= RESPONSIVE ================= */
@media (max-width: 1200px) {
    .album-grid-seamless {
        grid-template-columns: repeat(2, 1fr);
    }
    .album-card-seamless {
        min-height: 320px;
    }
}

@media (max-width: 992px) {
    .modern-hero {
        min-height: 55vh;
        padding-top: 70px;
    }
    .modern-hero-content {
        max-width: 100%;
        padding: 40px 25px;
    }
    .modern-hero-title {
        font-size: 2.4rem;
    }
    .modern-hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: 50vh;
        padding-top: 60px;
    }
    .modern-hero-content {
        padding: 30px 18px;
    }
    .modern-hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    .solid-tabs {
        flex-direction: column;
        gap: 12px;
    }
    .solid-tab {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    .album-grid-seamless {
        grid-template-columns: repeat(2, 1fr);
    }
    .album-card-seamless {
        min-height: 260px;
    }
}

@media (max-width: 575px) {
    .modern-hero {
        min-height: 45vh;
    }
    .modern-hero-content {
        padding: 24px 16px;
        border-left-width: 4px;
    }
    .modern-hero-title {
        font-size: 1.75rem;
    }
    .modern-hero-subtitle {
        font-size: 0.95rem;
    }
    .album-grid-seamless {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .album-card-seamless {
        min-height: 230px;
    }
    .album-overlay {
        padding: 20px;
    }
    .album-details h3 {
        font-size: 1.2rem;
    }
    .album-details span {
        font-size: 0.8rem;
    }
}

