/* Custom styles for A A do Nascimento Abas Ltda */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;600;700;800&display=swap');

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    position: relative;
}

/* Background image style with opacity and blur */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/logo-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 0.4; /* Soften the image */
    filter: blur(3px); /* Blur the image */
    z-index: -10;
    pointer-events: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Custom scrollbar for better styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Float Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Slider (Carrossel) Styles */
#hero-slider .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

#hero-slider .slide.active {
    opacity: 1;
    visibility: visible;
}

/* Image scaling and dark overlay for text contrast */
#hero-slider .slide-bg {
    filter: brightness(0.75);
    transition: transform 1.5s ease;
}

#hero-slider .slide.active .slide-bg {
    transform: scale(1.05);
}

/* Dots navigation indicators */
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background-color: rgba(15, 23, 42, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    background-color: #14b8a6; /* brand-500 */
    width: 24px;
}

/* Admin specific styles */
.admin-active .admin-only {
    display: flex !important;
}

.admin-active .group:hover {
    outline: 2px dashed #0d9488; /* brand-600 */
    outline-offset: 4px;
    border-radius: 1.5rem;
}/* Modal animation */
#login-modal, #edit-hero-modal, #slide-modal, #edit-qs-modal {
    transition: opacity 0.3s ease;
}

/* Details page gallery slider */
.detail-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.detail-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
}

.detail-dot.active {
    background-color: #14b8a6 !important; /* brand-500 */
    width: 16px !important;
}
