/* ========================================
   HEENA BOUTIQUE - PREMIUM ENHANCEMENTS
   ======================================== */

/* === 1. SMOOTH SCROLLING & PAGE TRANSITIONS === */
html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    position: relative;
}

/* Page Load Animation */
@keyframes fadeInPage {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: fadeInPage 0.6s ease-out;
}

/* === 2. ENHANCED BUTTONS === */
.btn-default,
.btn-slider,
.quote-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-default::before,
.btn-slider::before,
.quote-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-default:hover::before,
.btn-slider:hover::before,
.quote-btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Pulse Animation for CTA Buttons */
@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 195, 118, 0.7);
    }

    50% {
        box-shadow: 0 0 0 15px rgba(255, 195, 118, 0);
    }
}

.quote-btn {
    animation: pulse 2s infinite;
}

/* === 3. ENHANCED CARDS & HOVER EFFECTS === */
.dress-card,
.testimonial-card,
.gallery-card,
.sisf-categories-list {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.dress-card:hover,
.sisf-categories-list:hover {
    transform: translateY(-12px) scale(1.02);
}

/* Shimmer Effect on Hover */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

.dress-card::after,
.sisf-categories-list::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.7s;
    pointer-events: none;
}

.dress-card:hover::after,
.sisf-categories-list:hover::after {
    left: 100%;
}

/* === 4. FLOATING ANIMATIONS === */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.hero-image-slider,
.about-image img {
    animation: float 6s ease-in-out infinite;
}

/* === 5. GRADIENT TEXT EFFECTS === */
.gradient-text {
    background: linear-gradient(135deg, #5B2333 0%, #FFC376 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sisf-m-title,
h1,
h2 {
    position: relative;
    display: inline-block;
}

/* Animated Underline */
.sisf-m-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #5B2333, #FFC376);
    transition: width 0.5s ease;
}

.sisf-m-title:hover::after {
    width: 100%;
}

/* === 6. ENHANCED GALLERY === */
.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
}

.gallery-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(91, 35, 51, 0.8) 0%,
            rgba(255, 195, 118, 0.6) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

.gallery-card:hover::before {
    opacity: 1;
}

.gallery-card:hover .gallery-img {
    transform: scale(1.15) rotate(2deg);
    filter: brightness(0.8);
}

.gallery-overlay {
    z-index: 2;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1 !important;
}

/* === 7. SCROLL ANIMATIONS === */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    animation: slideInUp 0.8s ease forwards;
}

/* === 8. ENHANCED HEADER === */
.header-top {
    backdrop-filter: blur(10px);
    background: linear-gradient(135deg, rgba(91, 35, 51, 0.95) 0%, rgba(92, 29, 47, 0.95) 100%);
}

.app-navbar .navbar {
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* Navbar Scroll Effect */
.app-navbar.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* === 9. ENHANCED FOOTER === */
.main-footer {
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

/* === 10. LOADING SPINNER === */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5B2333 0%, #FFC376 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* === 11. PARALLAX EFFECTS === */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* === 12. ENHANCED TESTIMONIALS === */
.testimonial-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 195, 118, 0.2);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(91, 35, 51, 0.2) !important;
}

/* === 13. SCROLL TO TOP BUTTON ENHANCEMENT === */
#scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5B2333 0%, #FFC376 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 5px 20px rgba(91, 35, 51, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

#scroll-top.show {
    opacity: 1;
    visibility: visible;
}

#scroll-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 30px rgba(91, 35, 51, 0.5);
}

/* === 14. ENHANCED FORM INPUTS === */
.form-control:focus,
.form-select:focus {
    border-color: #FFC376;
    box-shadow: 0 0 0 0.2rem rgba(255, 195, 118, 0.25);
    transform: translateY(-2px);
    transition: all 0.3s;
}

/* === 15. BREADCRUMB ENHANCEMENT === */
.sisf-banner {
    position: relative;
    overflow: hidden;
}

.sisf-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 35, 51, 0.7) 0%, rgba(255, 195, 118, 0.5) 100%);
    z-index: 1;
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* === 16. IMAGE ZOOM ON HOVER === */
.image-zoom-container {
    overflow: hidden;
    border-radius: 15px;
}

.image-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-zoom-container:hover img {
    transform: scale(1.15);
}

/* === 17. GLOWING EFFECTS === */
@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 195, 118, 0.5);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 195, 118, 0.8);
    }
}

.glow-effect {
    animation: glow 2s ease-in-out infinite;
}

/* === 18. ENHANCED MOBILE MENU === */
.mobile-nav {
    backdrop-filter: blur(20px);
}

.mobile-nav-item {
    transition: all 0.3s;
}

.mobile-nav-item:hover {
    background: linear-gradient(90deg, rgba(255, 195, 118, 0.1) 0%, transparent 100%);
}

/* === 19. SECTION DIVIDERS === */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFC376, transparent);
    margin: 60px 0;
}

/* === 20. ENHANCED HERO SECTION === */
.hero-content {
    animation: slideInLeft 1s ease-out;
}

.header-image {
    animation: slideInRight 1s ease-out;
}

/* === 21. CUSTOM CURSOR (OPTIONAL) === */
@media (min-width: 1024px) {
    body {
        cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="8" fill="%235B2333" opacity="0.5"/></svg>'), auto;
    }

    a,
    button {
        cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="%23FFC376" opacity="0.7"/></svg>'), pointer;
    }
}

/* === 22. ENHANCED WHATSAPP & PHONE ICONS === */
.fix-icon,
.fix-icon-whataap {
    transition: all 0.3s;
}

.fix-icon:hover,
.fix-icon-whataap:hover {
    transform: scale(1.15) rotate(10deg);
}

.fix-icon img,
.fix-icon-whataap img {
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
    transition: filter 0.3s;
}

.fix-icon:hover img,
.fix-icon-whataap:hover img {
    filter: drop-shadow(0 8px 25px rgba(0, 0, 0, 0.4));
}

/* === 23. RESPONSIVE ENHANCEMENTS === */
@media (max-width: 768px) {

    .hero-content,
    .header-image {
        animation: slideInUp 0.8s ease-out;
    }

    #scroll-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* === 24. ACCESSIBILITY IMPROVEMENTS === */
*:focus-visible {
    outline: 3px solid #FFC376;
    outline-offset: 3px;
}

/* === 25. PERFORMANCE OPTIMIZATIONS === */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* === 26. ENHANCED NEWSLETTER FORM === */
.footer-subscribe-form {
    transition: all 0.3s;
}

.footer-subscribe-form:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* === 27. CATEGORY HOVER EFFECTS === */
.sisf-categories-list .list-img {
    position: relative;
    overflow: hidden;
}

.sisf-categories-list .list-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(91, 35, 51, 0.6), rgba(255, 195, 118, 0.4));
    opacity: 0;
    transition: opacity 0.4s;
}

.sisf-categories-list:hover .list-img::after {
    opacity: 1;
}

/* === 28. SMOOTH COLOR TRANSITIONS === */
* {
    transition: color 0.3s ease, background-color 0.3s ease;
}

/* === 29. ENHANCED SHADOWS === */
.shadow-premium {
    box-shadow: 0 10px 40px rgba(91, 35, 51, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.1);
}

.shadow-premium:hover {
    box-shadow: 0 20px 60px rgba(91, 35, 51, 0.25),
        0 5px 15px rgba(0, 0, 0, 0.15);
}

/* === 30. TEXT REVEAL ANIMATION === */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-reveal {
    animation: textReveal 0.8s ease-out forwards;
}

/* === 31. GRADIENT BORDERS === */
.gradient-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(135deg, #5B2333, #FFC376) border-box;
}

/* === 32. ENHANCED ABOUT SECTION === */
.service-icon {
    color: #FFC376;
    font-size: 20px;
    transition: all 0.3s;
}

.service-item:hover .service-icon {
    transform: scale(1.2) rotate(360deg);
    color: #5B2333;
}

/* === 33. BACKDROP BLUR EFFECTS === */
.backdrop-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* === 34. ENHANCED MODAL === */
.modal-content {
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal.fade .modal-dialog {
    transform: scale(0.8);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: scale(1);
}

/* === 35. FINAL TOUCHES === */
::selection {
    background: #FFC376;
    color: #5B2333;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #5B2333, #FFC376);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FFC376, #5B2333);
}