/* ================= GLOBAL BODY BACKGROUND ================= */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    min-height: 100vh;
    background: url('/img/banner11.jpg') no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

/* ================= GLOBAL BLUE GLASS OVERLAY ================= */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(56, 189, 248, 0.15);
    backdrop-filter: blur(10px);
    z-index: -1;
}

/* ================= EYEGALSS GALLERY SECTION ================= */
.eyeglass-section {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    color: #fff;
}

/* ================= GLASSY TITLE CARD ================= */
.eyeglass-title-card {
    background: rgba(56, 189, 248, 0.2);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 32px 25px;
    max-width: 900px;
    margin: 0 auto 45px;
    box-shadow:
        0 10px 35px rgba(0, 123, 255, 0.3),
        inset 0 0 0 1px rgba(255,255,255,0.15);
}

/* Force title card text to white */
.eyeglass-title-card,
.eyeglass-title-card * {
    color: #ffffff !important;
}

/* Title styling */
.eyeglass-title-card .section-title-small {
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.85;
}

.eyeglass-title-card .section-title-main {
    font-weight: 700;
    margin: 10px 0;
}

.eyeglass-title-card .section-title-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ================= FILTER PANEL ================= */
.filter-panel {
    background: rgba(0, 0, 50, 0.7);
    backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,50,0.3);
}

.filter-panel h5 {
    color: #99c2ff;
    font-weight: 600;
    margin-bottom: 20px;
}

.filter-panel label {
    color: #fff;
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.filter-panel .form-select {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    transition: 0.3s;
}

.filter-panel .form-select:focus {
    background: rgba(255,255,255,0.25);
    border-color: #99c2ff;
    outline: none;
    color: #000;
}

/* ================= GALLERY PANEL ================= */
.gallery-item-wrapper {
    margin-bottom: 20px;
}

.gallery-item {
    border-radius: 16px;
    cursor: pointer;
    background: rgba(0, 123, 255, 0.1);
    backdrop-filter: blur(6px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,123,255,0.25);
}

/* ================= IMAGE WRAPPER ================= */
.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}

.gallery-image-wrapper img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.img-main {
    opacity: 1;
    transform: scale(1);
}

.img-secondary {
    opacity: 0;
    transform: scale(1.08);
}

/* Hover image swap */
.gallery-item.has-two-images:hover .img-main {
    opacity: 0;
    transform: scale(1.05);
}

.gallery-item.has-two-images:hover .img-secondary {
    opacity: 1;
    transform: scale(1.15);
}

/* ================= PRODUCT DETAILS ================= */
.gallery-details {
    padding: 12px 10px;
    text-align: center;
    background: rgba(0,123,255,0.05);
    border-radius: 0 0 16px 16px;
}

.gallery-details h5 {
    color: #99c2ff;
    font-weight: 600;
    font-size: 1rem;
    margin: 5px 0;
}

.gallery-details p {
    font-size: 0.85rem;
    color: #fff;
    margin: 3px 0 6px;
}

.gallery-details .text-info {
    color: #00c3ff;
    font-weight: 700;
}
/* ================= EYEGALSS TITLE ENHANCEMENT ================= */
.enhanced-card {
    position: relative;
    overflow: hidden;
}

/* Glass gradient sheen */
.enhanced-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        transparent 30%,
        rgba(255,255,255,0.15),
        transparent 70%
    );
    opacity: 0.4;
    pointer-events: none;
}

/* Soft glowing border */
.enhanced-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.15),
        0 0 25px rgba(0,123,255,0.35);
    pointer-events: none;
}

/* Accent word */
.title-accent {
    color: #99c2ff;
    text-shadow: 0 0 12px rgba(153,194,255,0.6);
}

/* Divider under title */
.title-divider {
    width: 80px;
    height: 4px;
    margin: 12px auto 18px;
    background: linear-gradient(
        90deg,
        transparent,
        #99c2ff,
        transparent
    );
    border-radius: 10px;
}

/* Subtle hover polish */
.enhanced-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 15px 45px rgba(0,123,255,0.4),
        inset 0 0 0 1px rgba(255,255,255,0.2);
    transition: 0.4s ease;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .gallery-image-wrapper {
        height: 200px;
    }

    .gallery-item.has-two-images:hover .img-main,
    .gallery-item.has-two-images:hover .img-secondary {
        opacity: 1;
        transform: none;
    }

    .eyeglass-title-card {
        padding: 22px 18px;
        border-radius: 14px;
    }
}
.eyeglass-top-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 3;
}

.eyeglass-top-curve svg {
    width: 100%;
    height: 220px; /* increased from 150px */
    display: block;
}
