/* Custom styles for YeolBeauty app */

/* Global font settings */
:root {
    --app-font-family: 'Acumin Variable Concept', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body, 
.h1, .h2, .h3, .h4, .h5, .h6, 
h1, h2, h3, h4, h5, h6,
p, span, a, div, button, input, textarea, select {
    font-family: var(--app-font-family) !important;
}

/* Footer Navigation Styles */
.adminuiux-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background-color: var(--bs-body-bg);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.adminuiux-mobile-footer .nav-item .nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    color: var(--bs-body-color);
    opacity: 0.7;
    transition: all 0.2s ease;
}

.adminuiux-mobile-footer .nav-item .nav-link.active {
    color: var(--bs-theme-1);
    opacity: 1;
}

.adminuiux-mobile-footer .nav-item .nav-link .nav-icon {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.adminuiux-mobile-footer .nav-item .nav-link .nav-text {
    font-size: 0.7rem;
}

.adminuiux-mobile-footer .center-menu-btn {
    margin-top: -25px;
    position: relative;
}

.adminuiux-mobile-footer .center-menu-btn .rounded-circle {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(var(--bs-theme-1-rgb), 0.4);
}

.adminuiux-mobile-footer .center-menu-btn .nav-icon {
    font-size: 1.3rem;
}

/* Main content padding to account for footer */
.adminuiux-content {
    padding-bottom: 80px; /* Adjust based on footer height */
}

/* Add extra margin to last element in content area */
#main-content > *:last-child {
    margin-bottom: 80px;
}

/* Hide footer on scroll down */
.hide-on-scrolldown.invisible {
    transform: translateY(100%);
}

.dropdown-toggle::after {
    display: none !important;
}

/* Hero Banner Swiper styles */
.treatment-hero-swiper {
    margin-top: -20px;
    position: relative;
    overflow: hidden;
}
    
.treatment-hero-swiper .swiper-slide {
    transition: opacity 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}
    
.treatment-hero-swiper .min-vh-30 {
    min-height: 30vh;
}
    
.treatment-hero-swiper .coverimg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}
    
.treatment-hero-swiper .card-body {
    padding: 0 4rem;
}
    
.treatment-hero-swiper .swiper-button-next,
.treatment-hero-swiper .swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--adminuiux-theme-accent-1);
    display: flex;
    align-items: center;
    justify-content: center;
}
    
.treatment-hero-swiper .swiper-button-next:after,
.treatment-hero-swiper .swiper-button-prev:after {
    font-size: 18px;
}

/* Facial outline section styling */
.facial-outline-section {
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
}

.facial-outline-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/logo-icon.png') no-repeat center;
    background-size: 200%;
    opacity: 0.12;
    z-index: 0;
    filter: sepia(20%) hue-rotate(340deg);
}

/* Common Swiper pagination styling */
.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    opacity: 0.3;
    background-color: var(--adminuiux-theme-accent-1);
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    background-color: var(--adminuiux-theme-1) !important;
}

/* Line style pagination */
.swiper-pagination.line .swiper-pagination-bullet,
.treatment-swiper-pagination.line .swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--adminuiux-theme-accent-1);
    opacity: 0.3;
}

.swiper-pagination.line .swiper-pagination-bullet-active,
.treatment-swiper-pagination.line .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--adminuiux-theme-1) !important;
}

/* Treatment Swiper section */
.treatment-card-frame {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    position: relative;
    margin-bottom: 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.treatment-swiper {
    position: relative;
    overflow: hidden;
    padding: 10px;
}

.treatment-swiper .swiper-slide {
    width: 100%;
    max-width: 100%;
    padding: 5px;
}

.treatment-swiper .card {
    border-radius: 12px;
    overflow: hidden;
}

.treatment-swiper .swiper-button-next,
.treatment-swiper .swiper-button-prev {
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.treatment-swiper .swiper-button-prev {
    left: 5px;
}

.treatment-swiper .swiper-button-next {
    right: 5px;
}

.treatment-swiper .swiper-button-next:after,
.treatment-swiper .swiper-button-prev:after {
    font-size: 16px;
    color: var(--adminuiux-theme-1);
}

.treatment-swiper-pagination {
    position: relative;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.treatment-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #d0d0d0;
    opacity: 0.5;
    display: inline-block;
}

.treatment-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background-color: var(--adminuiux-theme-accent-1);
}

.treatment-img {
    height: 200px;
    object-fit: cover;
}

.clinic-badge {
    font-size: 10px;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Utility classes */
.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: translateY(-5px);
}

.transition-300 {
    transition: all 0.3s ease-in-out;
}

/* Button styles */
.btn-theme-1 {
    background-color: var(--adminuiux-theme-1);
    border-color: var(--adminuiux-theme-1);
    color: #ffffff;
}

.btn-theme-1:hover {
    background-color: var(--adminuiux-theme-1-hover);
    border-color: var(--adminuiux-theme-1-hover);
    color: #ffffff;
}

.btn-outline-theme-1 {
    color: var(--adminuiux-theme-1);
    border-color: var(--adminuiux-theme-1);
}

.btn-outline-theme-1:hover {
    background-color: var(--adminuiux-theme-1);
    color: white;
}

.btn-theme-2 {
    background-color: var(--adminuiux-theme-2);
    border-color: var(--adminuiux-theme-2);
    color: #ffffff;
}

.btn-theme-2:hover {
    background-color: #B3A089;
    border-color: #B3A089;
    color: #ffffff;
}

.btn-gradient-main {
    background-color: #E7DFCD;
    background-image: radial-gradient(circle at 30% 30%, #F5F1E6 11.2%, #E7DFCD 100%);
    border-color: #E7DFCD;
    color: #75614D;
    font-weight: 500;
}

.btn-gradient-main:hover {
    background-image: radial-gradient(circle at 30% 30%, #E7DFCD 11.2%, #D8CEB7 100%);
    border-color: #D8CEB7;
    color: #75614D;
}

/* Location card styles */
.location-cards .card {
    border-radius: 12px;
    border: none;
    cursor: pointer;
}

/* Custom Background Gradient */
.bg-gradient-main {
    background-color: #E7DFCD;
    background-image: radial-gradient(circle at 30% 30%, #F5F1E6 11.2%, #E7DFCD 100%);
}

/* Dark mode version of the gradient */
[data-bs-theme="dark"] .bg-gradient-main, 
.dark-mode .bg-gradient-main {
    background-color: #4A4538;
    background-image: radial-gradient(circle at 30% 30%, #5A5548 11.2%, #4A4538 100%);
}

/* Theme Main - Custom theme with color #75614D */
.theme-main {
    /* Light mode */
    /* theme colors */
    --adminuiux-theme-1: #75614D;
    --adminuiux-theme-1-hover: #65543F;
    --adminuiux-theme-1-active: #554536;
    --adminuiux-theme-1-rgb: 117, 97, 77;
    --adminuiux-theme-1-text: #ffffff;
    --adminuiux-theme-2: #C5B29B;
    --adminuiux-theme-2-rgb: 197, 178, 155;
    --adminuiux-theme-2-text: #ffffff;
    /* theme accent colors */
    --adminuiux-theme-accent-1: #7D6D59;
    --adminuiux-theme-accent-1-hover: #665A48;
    --adminuiux-theme-accent-1-active: #504636;
    --adminuiux-theme-accent-1-rgb: 125, 109, 89;
    --adminuiux-theme-accent-1-text: #ffffff;
    --adminuiux-theme-accent-2: #E7DDD2;
    --adminuiux-theme-accent-2-rgb: 231, 221, 210;
    --adminuiux-theme-accent-2-text: #4A4139;
    /* theme general colors */
    --adminuiux-bg-1: #FAF7F3;
    --adminuiux-bg-2: #EFE9E1;
    /* other */
    --bs-link-color: #75614D;
}

/* Dark mode */
[data-bs-theme="dark"] .theme-main, 
.dark-mode .theme-main {
    --adminuiux-bg-1: #2E2A25;
    --adminuiux-bg-2: #3D3731;
    /* bs colors */
    --bs-dd-bg: #504636;
    --bs-link-color: rgba(255, 255, 255, 0.5);
    --bs-body-bg: var(--adminuiux-bg-1);
}

/* Multisensory Swiper styles */
.sensory-card-wrapper {
    height: 300px;
    overflow: hidden;
}

.sensory-card-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.sensory-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    height: 60%;
}

.multisensory-swiper .swiper-slide {
    transition: all 0.3s ease;
    transform: scale(0.8);
    opacity: 0.7;
}

.multisensory-swiper .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (min-width: 576px) {
    .treatment-card-frame {
        border-radius: 15px;
    }
    
    .treatment-swiper .swiper-slide {
        width: 100%;
        padding: 8px;
    }
}

@media (min-width: 768px) {
    .treatment-hero-swiper .min-vh-30 {
        min-height: 40vh;
    }
    
    .treatment-hero-swiper .card-body {
        padding: 0 4rem;
    }
    
    .treatment-swiper {
        padding: 15px;
    }
    
    .treatment-swiper .swiper-slide {
        width: 100%;
        padding: 10px;
    }

    .facial-outline-bg {
        background-size: 50%;
    }

    .treatment-swiper .swiper-button-prev {
        left: 10px;
    }
    
    .treatment-swiper .swiper-button-next {
        right: 10px;
    }
}

@media (min-width: 992px) {
    .treatment-hero-swiper .min-vh-30 {
        min-height: 50vh;
    }
    
    .treatment-swiper {
        margin-left: auto;
        margin-right: auto;
        padding: 20px;
    }
    
    .treatment-swiper .swiper-slide {
        width: 100%;
    }

    .treatment-swiper .swiper-button-prev {
        left: 0;
    }
    
    .treatment-swiper .swiper-button-next {
        right: 0;
    }
}

@media (max-width: 767.98px) {
    .location-cards .card {
        margin-bottom: 1rem;
    }
    
    .d-grid .btn {
        margin-bottom: 0.5rem;
    }
    
    .d-grid .ms-md-2 {
        margin-left: 0 !important;
    }
    
    .sensory-card-wrapper {
        height: 250px;
    }
}