/* Optimized Font Pairing: Unified Clean UI Stack */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,700&display=swap');

/* ====================================================================
   === QUALITY INN & SUITES — BRANDED EXHIBITION GALLERY STYLESHEET ===
   ==================================================================== */

body {
    margin: 0;
    padding: 0;
    background: #0A2E26; /* Deep Emerald Green matching Quality Inn Brand Canvas */
    color: #F4EFE6; /* Warm Sandstone White */
}

/* --- THE HEADER CHASSIS --- */
.vinn-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 4%;
    background: #061F1A; /* Darker Forest Green Header Backdrop */
    border-bottom: 1px solid rgba(234, 161, 35, 0.3); /* Signature Sunburst Gold Border */
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.vinn-gal-logo-anchor {
    display: block;
}

.vinn-gal-logo-img {
    display: block;
    width: 190px;
    height: auto;
    max-height: 65px;
    object-fit: contain;
    /* Removed brightness/invert so original logo colors display naturally */
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vinn-gal-logo-img:hover {
    transform: scale(1.03);
}

.vinn-btn-antique-return {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #EAA123; /* Sunburst Gold */
    text-decoration: none;
    padding: 14px 30px;
    position: relative;
    border: 1px solid rgba(234, 161, 35, 0.5);
    background: transparent;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    display: inline-block;
}

.vinn-btn-antique-return:hover {
    color: #0A2E26;
    background: #EAA123;
    border-color: #EAA123;
    box-shadow: 0 0 15px rgba(234, 161, 35, 0.3);
    transform: translateY(-2px);
}

/* --- MAIN CONTAINER COMPONENT --- */
.vinn-editorial-gallery {
    padding: 100px 0;
    background: #0A2E26;
}

.vinn-gal-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* --- HEADLINE STACK --- */
.vinn-gal-headline-stack {
    text-align: center;
    margin-bottom: 75px;
}

.vinn-gal-badge-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    color: #EAA123; /* Quality Inn Gold */
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.vinn-gal-master-title {
    font-family: 'Cinzel', serif;
    font-size: 46px;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.vinn-gal-gold-accent {
    color: #EAA123; /* Sunburst Gold Highlight */
    font-weight: 700;
}

.vinn-gal-sub-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #B2D8CD; /* Soft Sage Tint */
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    text-decoration: none;
}

.vinn-gal-sub-title:hover {
    color: #EAA123;
}

.vinn-gal-crest-separator {
    color: #EAA123;
    font-size: 14px;
    opacity: 0.5;
    margin-top: 24px;
    letter-spacing: 4px;
}

/* --- GALLERY DISPLAY MATRIX --- */
.vinn-gal-masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 24px;
}

.vinn-gal-card {
    position: relative;
    overflow: hidden;
    background: #0D382F;
    border: 1px solid rgba(234, 161, 35, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: block;
    text-decoration: none;
    cursor: pointer;
}

/* Asymmetric Column Sizing Variables */
.vinn-size-wide { grid-column: span 2; }
.vinn-size-tall { grid-row: span 2; }

.vinn-gal-img-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.vinn-gal-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(90%);
    transition: transform 0.9s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s ease;
}

/* --- HOVER CAPTION CARDS --- */
.vinn-gal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(6, 31, 26, 0.95) 0%, rgba(10, 46, 38, 0.85) 100%);
    box-sizing: border-box;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease;
    transform: translateY(10px);
    border: 1px solid rgba(234, 161, 35, 0.4); /* Inner gold framed border */
}

.vinn-gal-index {
    position: absolute;
    top: 35px;
    right: 40px;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #EAA123;
    opacity: 0.35;
    font-weight: 700;
}

.vinn-gal-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #EAA123;
    margin-bottom: 10px;
    font-weight: 600;
}

.vinn-gal-overlay h2, 
.vinn-gal-overlay h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #FFFFFF;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

/* Hover Mechanics Trigger States */
.vinn-gal-card:hover .vinn-gal-overlay {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.vinn-gal-card:hover img {
    transform: scale(1.06);
    filter: brightness(40%);
}

/* ====================================================================
   === TABLET & IPAD PORTRAIT ENGINE RESPONSIVE MATRIX OPTIMIZATION ===
   ==================================================================== */
@media (max-width: 1024px) {
    .vinn-editorial-gallery {
        padding: 70px 0;
    }

    .vinn-gal-container {
        padding: 0 30px;
    }

    .vinn-gal-master-title {
        font-size: 36px;
    }

    .vinn-gal-masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        grid-auto-rows: 280px;
    }

    .vinn-size-wide, .vinn-size-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .vinn-gal-overlay {
        padding: 30px;
    }
}

/* ====================================================================
   === MOBILE SMARTPHONE SYSTEM RESPONSIVE MATRIX OPTIMIZATION ===
   ==================================================================== */
@media (max-width: 768px) {
    .vinn-gallery-header {
        padding: 15px 24px;
    }

    .vinn-gal-logo-img {
        width: 150px;
    }

    .vinn-btn-antique-return {
        padding: 10px 20px;
        font-size: 10px;
    }

    .vinn-gal-container {
        padding: 0 24px;
    }

    .vinn-gal-master-title {
        font-size: 28px;
    }

    .vinn-gal-sub-title {
        font-size: 11px;
    }

    .vinn-gal-masonry-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        gap: 16px;
    }
}