/* ============================================
   Adonia Beauty Salon - Custom CSS
   Glassmorphic Pink & White Theme
   ============================================ */

/* ---- Root Variables ---- */
:root {
    --pink-primary: #E91E8C;
    --pink-light: #F48FB1;
    --pink-dark: #880E4F;
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: 0 8px 32px rgba(233, 30, 140, 0.15);
    --gradient-hero: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 40%, #F48FB1 100%);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #FFF0F5 0%, #FCE4EC 50%, #FFF5F9 100%);
    min-height: 100vh;
}

/* ---- Glassmorphism Utilities ---- */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px rgba(233, 30, 140, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(233, 30, 140, 0.12);
    border-radius: 1.25rem;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(233, 30, 140, 0.2);
    border-color: rgba(233, 30, 140, 0.3);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(233, 30, 140, 0.1);
    box-shadow: 0 4px 24px rgba(233, 30, 140, 0.08);
}

.glass-dark {
    background: rgba(136, 14, 79, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ---- Gradient Buttons ---- */
.btn-primary {
    background: linear-gradient(135deg, #E91E8C, #C2185B);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(233, 30, 140, 0.35);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.5);
}

.btn-outline {
    background: transparent;
    color: #E91E8C;
    border: 2px solid #E91E8C;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-outline:hover {
    background: #E91E8C;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.35);
}

/* ---- Section Headings ---- */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: #4a0e29;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #E91E8C;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-desc {
    color: #6b4a5a;
    line-height: 1.8;
    max-width: 600px;
}

/* ---- Decorative Divider ---- */
.pink-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
    margin: 0.75rem auto;
}

.pink-divider::before,
.pink-divider::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: linear-gradient(to right, transparent, #E91E8C, transparent);
    max-width: 80px;
}

.pink-divider span {
    color: #E91E8C;
    font-size: 1.2rem;
}

/* ---- Hero Section ---- */
.hero-bg {
    background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 50%, #FFDDE7 100%);
    position: relative;
    overflow: hidden;
}

section.hero-bg.py-20 {
    padding-top: 100px !important;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    animation: blobFloat 8s ease-in-out infinite;
}

@keyframes blobFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(20px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) scale(0.95);
    }
}

/* ---- Star Rating ---- */
.stars {
    color: #FBBF24;
    letter-spacing: 0.1em;
}

/* ---- Service Icon Circle ---- */
.service-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #FCE4EC, #F8BBD0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #E91E8C;
    transition: all 0.3s ease;
    border: 2px solid rgba(233, 30, 140, 0.2);
}

.glass-card:hover .service-icon {
    background: linear-gradient(135deg, #E91E8C, #C2185B);
    color: white;
    transform: rotate(10deg) scale(1.1);
    border-color: transparent;
}

/* ---- Scroll Animations ---- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Gallery Lightbox ---- */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ---- Toast Notifications ---- */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 500;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 350px;
}

.toast-success {
    background: linear-gradient(135deg, #E91E8C, #C2185B);
    color: white;
}

.toast-error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Form Inputs ---- */
.form-input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1.5px solid rgba(233, 30, 140, 0.2);
    border-radius: 0.875rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #4a0e29;
    transition: all 0.3s ease;
    outline: none;
}

.form-input:focus {
    background: rgba(255, 255, 255, 0.95);
    border-color: #E91E8C;
    box-shadow: 0 0 0 4px rgba(233, 30, 140, 0.1);
}

.form-input.pl-10 {
    padding-left: 2.75rem !important;
}

.form-input.pr-10 {
    padding-right: 2.75rem !important;
}

.form-input::placeholder {
    color: #c09dac;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #FCE4EC;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#E91E8C, #C2185B);
    border-radius: 3px;
}

/* ---- Badge ---- */
.badge-pink {
    display: inline-block;
    background: linear-gradient(135deg, rgba(233, 30, 140, 0.15), rgba(233, 30, 140, 0.05));
    color: #E91E8C;
    border: 1px solid rgba(233, 30, 140, 0.25);
    padding: 0.25rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ---- WhatsApp Floating Button ---- */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 500;
    width: 3.5rem;
    height: 3.5rem;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: pulse-green 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
    }
}

/* ---- Price Tag ---- */
.price-tag {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #E91E8C;
}

/* ---- Category Filter Tabs & Sticky Bar ---- */
.gallery-filter-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.gallery-filter-scroll {
    display: flex;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.5rem 0.5rem;
    width: 100%;
    cursor: grab;
    user-select: none;
}

.gallery-filter-scroll.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
}

.gallery-filter-scroll::-webkit-scrollbar {
    display: none;
}

.gallery-filter-track {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: max-content;
    padding: 0 0.25rem;
}

/* Scroll Arrow Navigation Buttons */
.filter-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.98);
    color: #be185d;
    box-shadow: 0 4px 14px rgba(233, 30, 140, 0.2), 0 2px 6px rgba(0, 0, 0, 0.05);
    border: 1.5px solid rgba(244, 114, 182, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 20;
    cursor: pointer;
}

.filter-scroll-prev {
    left: -0.25rem;
}

.filter-scroll-next {
    right: -0.25rem;
}

.filter-scroll-arrow:hover {
    background: #ffffff;
    color: #9d174d;
    border-color: #E91E8C;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 18px rgba(233, 30, 140, 0.32);
}

.filter-scroll-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.filter-scroll-arrow.is-disabled {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(-50%) scale(0.85);
}

/* Soft Edge Fade Indicators */
.filter-fade-edge {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3.5rem;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.25s ease;
}

.filter-fade-left {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.98) 20%, transparent);
}

.filter-fade-right {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.98) 20%, transparent);
}

@media (max-width: 639px) {
    .filter-fade-left {
        left: 0;
        width: 1.75rem;
    }
    .filter-fade-right {
        right: 0;
        width: 1.75rem;
    }
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: 1.5px solid rgba(233, 30, 140, 0.22);
    background: rgba(255, 255, 255, 0.9);
    color: #9d174d;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    user-select: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(233, 30, 140, 0.05);
}

.filter-tab i {
    font-size: 0.82rem;
    transition: transform 0.25s ease;
}

.filter-tab:hover {
    border-color: #E91E8C;
    color: #be185d;
    background: rgba(253, 242, 248, 0.98);
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(233, 30, 140, 0.2);
}

.filter-tab:hover i {
    transform: scale(1.12);
}

.filter-tab.active {
    background: linear-gradient(135deg, #E91E8C, #be185d);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(233, 30, 140, 0.35);
}

.filter-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 9999px;
    background: rgba(233, 30, 140, 0.12);
    color: #9d174d;
    transition: all 0.25s ease;
}

.filter-tab.active .filter-count-badge {
    background: rgba(255, 255, 255, 0.28);
    color: #ffffff;
}

.gallery-item {
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.hidden {
    display: none !important;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ---- Scrolling Marquee ---- */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    background: white;
    border-bottom: 1px solid rgba(233, 30, 140, 0.1);
}

.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
    padding: 0.75rem 0;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2rem;
    color: #be185d;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.marquee-item i {
    color: #ec4899;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ---- Modern Cutout Interior ---- */
.cutout-wrapper {
    position: relative;
    padding: 4rem 0;
}

.cutout-frame {
    position: relative;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.cutout-frame.large {
    height: 500px;
    z-index: 2;
}

.cutout-frame.small {
    height: 300px;
    width: 80%;
    margin-top: -150px;
    margin-left: auto;
    z-index: 3;
    border: 8px solid white;
}

.cutout-overlay-text {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
}

.interior-badge {
    position: absolute;
    top: -2rem;
    right: 2rem;
    width: 6rem;
    height: 6rem;
    background: #E91E8C;
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 8px 30px rgba(233, 30, 140, 0.3);
    z-index: 10;
    animation: floating 4s ease-in-out infinite;
}

@keyframes floating {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* ---- Swiper Customization ---- */
.swiper-pagination-bullet-active {
    background: #E91E8C !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: #E91E8C !important;
}

.testimonials-swiper {
    padding: 2rem 1rem 4rem !important;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .cutout-frame.large {
        height: 400px;
    }

    .cutout-frame.small {
        height: 250px;
        margin-top: -100px;
    }
}

@media (max-width: 640px) {
    .section-title {
        font-size: 2rem;
    }

    .cutout-frame.large {
        height: 300px;
    }

    .cutout-frame.small {
        height: 200px;
        margin-top: -80px;
        width: 90%;
    }
}

/* ---- Blog Content Typography ---- */
.blog-content {
    color: #4a0e29;
}
.blog-content h1, .blog-content h2, .blog-content h3, 
.blog-content h4, .blog-content h5, .blog-content h6 {
    font-family: 'Playfair Display', serif;
    color: #831843;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
}
.blog-content h1 { font-size: 2.5rem; }
.blog-content h2 { font-size: 2rem; }
.blog-content h3 { font-size: 1.75rem; }
.blog-content h4 { font-size: 1.5rem; }
.blog-content p {
    margin-bottom: 1.5rem;
}
.blog-content ul, .blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}
.blog-content ul { list-style-type: disc; }
.blog-content ol { list-style-type: decimal; }
.blog-content li { margin-bottom: 0.5rem; }
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 10px 30px rgba(233, 30, 140, 0.1);
}
.blog-content blockquote {
    border-left: 4px solid #E91E8C;
    padding-left: 1.5rem;
    font-style: italic;
    color: #be185d;
    margin: 2rem 0;
}
.blog-content a {
    color: #db2777;
    text-decoration: underline;
    transition: color 0.3s ease;
}
.blog-content a:hover {
    color: #9d174d;
}
.blog-content pre {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border: 1px solid #f1f5f9;
}
.blog-content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.9em;
    color: #e91e8c;
}

/* ---- Offers Carousel ---- */
.offers-carousel-section {
    min-height: 400px;
}
.offer-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(233, 30, 140, 0.4) !important;
}
.offersSwiper .swiper-button-next,
.offersSwiper .swiper-button-prev {
    color: white !important;
    background: rgba(233, 30, 140, 0.5);
    backdrop-filter: blur(10px);
    width: 40px !important;
    height: 40px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}
.offersSwiper .swiper-button-next:hover,
.offersSwiper .swiper-button-prev:hover {
    background: rgba(233, 30, 140, 0.9);
}
.offersSwiper .swiper-button-next::after,
.offersSwiper .swiper-button-prev::after {
    font-size: 0.9rem !important;
    font-weight: 900;
}
.offersSwiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1;
}
.offersSwiper .swiper-pagination-bullet-active {
    background: #E91E8C !important;
    transform: scale(1.3);
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}