/* ==========================================================================
   Shubham Mehndi Studio - Luxury Custom Gallery Styles
   (Photo Gallery & Video Gallery)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. General Gallery Section & Header
   -------------------------------------------------------------------------- */
.sms-gallery-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
    position: relative;
}

.sms-gallery-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.sms-gallery-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #b38533;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 6px;
}

.sms-gallery-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 2px;
    background: #b38533;
    border-radius: 2px;
}

.sms-gallery-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #222222;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
    margin-bottom: 14px;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .sms-gallery-title {
        font-size: 1.6rem;
    }
}

.sms-gallery-desc {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   2. Interactive Filter Bar
   -------------------------------------------------------------------------- */
.sms-filter-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 0;
    list-style: none;
}

.sms-filter-btn {
    border: 1px solid rgba(179, 133, 51, 0.35);
    background: #ffffff;
    color: #444444;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.sms-filter-btn:hover,
.sms-filter-btn.active {
    background: linear-gradient(135deg, #b38533 0%, #8c641e 100%);
    color: #ffffff !important;
    border-color: #b38533;
    box-shadow: 0 4px 12px rgba(179, 133, 51, 0.25);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   3. Photo Gallery Cards
   -------------------------------------------------------------------------- */
.sms-photo-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(179, 133, 51, 0.18);
    margin-bottom: 24px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.sms-photo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(179, 133, 51, 0.2);
    border-color: #b38533;
}

.sms-photo-thumb {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #faf7f2;
}

@media (max-width: 576px) {
    .sms-photo-thumb {
        height: 280px;
    }
}

.sms-photo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Explicitly prevent grayscale */
    filter: none !important;
    -webkit-filter: none !important;
}

.sms-photo-card:hover .sms-photo-thumb img {
    transform: scale(1.08);
    filter: none !important;
    -webkit-filter: none !important;
}

/* Remove unwanted grayscale from all gallery and blog imgs */
.wpo-blog-section .wpo-blog-item:hover .wpo-blog-img img,
.wpo-blog-section-s2 .wpo-blog-item:hover .wpo-blog-img img,
.wpo-blog-section-s3 .wpo-blog-item:hover .wpo-blog-img img {
    filter: none !important;
    -webkit-filter: none !important;
}

/* Overlay & Zoom Button */
.sms-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(20, 10, 4, 0.85) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
    text-decoration: none !important;
}

.sms-photo-card:hover .sms-photo-overlay {
    opacity: 1;
}

.sms-photo-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    width: 48px;
    height: 48px;
    background: rgba(179, 133, 51, 0.9);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.sms-photo-card:hover .sms-photo-zoom-icon {
    transform: translate(-50%, -50%) scale(1);
}

.sms-photo-overlay-info {
    color: #ffffff;
    z-index: 2;
}

.sms-photo-tag {
    display: inline-block;
    background: #b38533;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.sms-photo-name {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --------------------------------------------------------------------------
   4. Video Gallery Cards
   -------------------------------------------------------------------------- */
.sms-video-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(179, 133, 51, 0.18);
    margin-bottom: 28px;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sms-video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(179, 133, 51, 0.2);
    border-color: #b38533;
}

.sms-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000000;
    overflow: hidden;
}

.sms-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    border: none;
    display: block;
}

.sms-video-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #ffffff;
}

.sms-video-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(179, 133, 51, 0.12);
    color: #8c641e;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.sms-video-title {
    font-size: 15px;
    font-weight: 700;
    color: #222222;
    margin-bottom: 14px;
    line-height: 1.4;
    min-height: 42px;
}

.sms-video-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sms-video-brand {
    font-size: 12px;
    color: #777777;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.sms-video-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #25D366;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sms-video-wa-btn:hover {
    background: #1eb857;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

/* --------------------------------------------------------------------------
   5. Luxury Trust / Highlights Bar
   -------------------------------------------------------------------------- */
.sms-gallery-trust-bar {
    background: #ffffff;
    border: 1px solid rgba(179, 133, 51, 0.2);
    border-radius: 14px;
    padding: 18px 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.sms-gallery-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 6px 10px;
    text-align: left;
}

.sms-gallery-trust-icon {
    width: 42px;
    height: 42px;
    background: rgba(179, 133, 51, 0.12);
    color: #b38533;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sms-gallery-trust-text strong {
    display: block;
    font-size: 14px;
    color: #222222;
    font-weight: 700;
}

.sms-gallery-trust-text span {
    font-size: 12px;
    color: #666666;
}

/* --------------------------------------------------------------------------
   6. Gallery CTA Strip
   -------------------------------------------------------------------------- */
.sms-gallery-cta {
    background: linear-gradient(135deg, #181008 0%, #302010 100%);
    border-radius: 18px;
    padding: 45px 30px;
    margin-top: 50px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.sms-gallery-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(179, 133, 51, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.sms-gallery-cta h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    position: relative;
}

.sms-gallery-cta p {
    color: #e2d8cb;
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 25px;
    position: relative;
}

.sms-gallery-cta-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    position: relative;
}

.sms-btn-gold {
    background: linear-gradient(135deg, #b38533 0%, #d4a754 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 6px 18px rgba(179, 133, 51, 0.4);
}

.sms-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(179, 133, 51, 0.5);
    color: #ffffff;
}

.sms-btn-wa-gold {
    background: #25D366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.sms-btn-wa-gold:hover {
    background: #1eb857;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
    color: #ffffff;
}
