/* Global 3D Aesthetics */

/* Subtle 3D text shadow for all headings to give depth */
h1, h2, h3, h4, h5, h6 {
    text-shadow: 
        1px 1px 0px rgba(0, 0, 0, 0.1),
        2px 2px 2px rgba(0, 0, 0, 0.05);
}

/* Deeper 3D Extrusion for Hero / Featured Text */
.text-3d {
    text-shadow: 
        1px 1px 0px rgba(180,140,60,0.5),
        2px 2px 0px rgba(160,120,40,0.4),
        3px 3px 0px rgba(140,100,20,0.3),
        4px 4px 6px rgba(0, 0, 0, 0.25),
        6px 6px 12px rgba(0, 0, 0, 0.15);
}

/* Glassmorphism 3D Cards — NO translateZ on children, it clips titles */
.glass-3d {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 168, 76, 0.15);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    /* NO transform-style: preserve-3d here — it clips overflow */
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    overflow: visible;  /* must be visible to show titles */
}

.glass-3d:hover {
    box-shadow:
        0 30px 60px rgba(201, 168, 76, 0.15),
        0 15px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-6px);
}

/* Hover elevation for all buttons */
.btn-one, .btn, button {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.btn-one:hover, .btn:hover, button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* Image holders — smooth zoom on hover, no translateZ that breaks overflow */
.img-holder {
    overflow: hidden;
    border-radius: inherit;
    position: relative;
}

.img-holder img {
    /* REMOVED translateZ(20px) — it was escaping overflow:hidden and covering titles */
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.5s ease;
    display: block;
    width: 100%;
}

.img-holder:hover img {
    transform: scale(1.07);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Gold shimmer overlay on image hover */
.img-holder::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.img-holder:hover::after {
    opacity: 1;
}

/* ── Featured section card titles — always visible ─────────────── */
.featured-3d-designs .glass-3d h3 {
    display: block;
    position: relative;
    z-index: 2;
    padding: 12px 8px 4px;
    margin: 0;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
    -webkit-text-fill-color: #fff;
    background: none;
    animation: none;
    text-shadow: 
        1px 2px 8px rgba(0,0,0,0.6),
        0 0 20px rgba(201,168,76,0.3);
}

/* ── Highlight box images — circular style fix ────────────────── */
.single-highlight-box .icon-holder {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #C9A84C;
    box-shadow: 0 8px 24px rgba(201,168,76,0.2);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.single-highlight-box:hover .icon-holder {
    box-shadow: 0 15px 35px rgba(201,168,76,0.35);
    transform: scale(1.05);
}

.single-highlight-box .icon-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
