@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

html {
    scroll-behavior: smooth !important;
}

body {
    font-family: 'Inter', sans-serif !important;
    /* Soft gradient background: Lighter versions of Magenta/Blue */
    background: linear-gradient(75deg, #fdf2fa 0%, #eff2ff 100%);
    background-attachment: fixed;
    min-height: 100vh;
}

:root {
    /* Brand Identity: Magenta - Purple - Blue */
    --bs-primary: #af14b8;
    --bs-secondary: #333399;
    --brand-gradient: linear-gradient(75deg, #ff00cc, #af14b8, #7822aa, #333399);
}

/* Links Global Override */
a {
    color: #333399; /* Blue */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff00cc; /* Magenta on hover */
}

/* Global Overrides */
.btn-primary {
    background: var(--brand-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(175, 20, 184, 0.4);
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background: linear-gradient(135deg, #ff607b 0%, #3e9fe6 100%);
    box-shadow: 0 6px 20px rgba(79, 172, 254, 0.4);
    transform: translateY(-2px);
}

.text-primary {
    color: #af14b8 !important;
}

.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

::selection {
    background: #af14b8;
    color: white;
}

.fixo {
    position: fixed;
    top: 16px;
    width: 7.7%;
    
    /* Dark Glass Premium Tone */
    background: rgba(20, 15, 40, 0.85); /* Deep Purple/Blue Dark Glass */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    
    /* List Group Variables for Dark Mode */
    --bs-list-group-color: #f0f0f0; /* White text */
    --bs-list-group-bg: transparent;
    --bs-list-group-border-color: rgba(255, 255, 255, 0.08);
    --bs-list-group-border-width: 0px 0px 1px 0px; 
    --bs-list-group-border-radius: 0.5rem;
    --bs-list-group-item-padding-x: 1rem;
    --bs-list-group-item-padding-y: 0.75rem;
    --bs-list-group-action-color: #d0d0d0;
    --bs-list-group-action-hover-color: #fff;
    --bs-list-group-action-hover-bg: rgba(255, 255, 255, 0.15); /* Subtle white hover */
    --bs-list-group-action-active-color: #fff;
    --bs-list-group-action-active-bg: var(--brand-gradient);
    --bs-list-group-disabled-color: #6c757d;
    --bs-list-group-disabled-bg: transparent;
    --bs-list-group-active-color: #fff;
    --bs-list-group-active-bg: var(--brand-gradient);
    --bs-list-group-active-border-color: transparent;
    
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: 1rem;
    z-index: 1000;
}

/* Improved Gallery Styles */
.gallery-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(175, 20, 184, 0.15);
}

.gallery-img-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    cursor: pointer;
}

.gallery-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.gallery-card:hover .gallery-img-container img {
    transform: scale(1.1);
}

.gallery-card-body {
    padding: 1.25rem;
}

.gallery-title {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(175, 20, 184, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 1.5rem;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay i {
    transform: translateY(0);
}

.btn-download-img {
    width: 100%;
    border-radius: 8px;
    font-size: 0.85rem;
    padding: 0.6rem;
    background: rgba(51, 51, 153, 0.05);
    color: #333399;
    font-weight: 600;
    border: 1px solid rgba(51, 51, 153, 0.1);
}

.btn-download-img:hover {
    background: #333399;
    color: #fff;
}


@media (min-width: 992px) {

    .fixo {
        position: fixed;
        top: 16px;
        width: 190px;
        
        /* Dark Glass Premium Tone */
        background: rgba(20, 15, 40, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        
        /* List Group Variables for Dark Mode */
        --bs-list-group-color: #f0f0f0;
        --bs-list-group-bg: transparent;
        --bs-list-group-border-color: rgba(255, 255, 255, 0.08);
        --bs-list-group-border-width: 0px 0px 1px 0px;
        --bs-list-group-border-radius: 0.5rem;
        --bs-list-group-item-padding-x: 1rem;
        --bs-list-group-item-padding-y: 0.75rem;
        --bs-list-group-action-color: #d0d0d0;
        --bs-list-group-action-hover-color: #fff;
        --bs-list-group-action-hover-bg: rgba(255, 255, 255, 0.15);
        --bs-list-group-action-active-color: #fff;
        --bs-list-group-action-active-bg: var(--brand-gradient);
        --bs-list-group-disabled-color: #6c757d;
        --bs-list-group-disabled-bg: transparent;
        --bs-list-group-active-color: #fff;
        --bs-list-group-active-bg: var(--brand-gradient);
        --bs-list-group-active-border-color: transparent;

        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        border-radius: 1rem;
        z-index: 1000;
    }
}

@media (min-width: 990px) {

    .fixo {
        position: fixed;
        top: 16px;
        width: 175px;
        
        /* Dark Glass Premium Tone */
        background: rgba(20, 15, 40, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        
        /* List Group Variables for Dark Mode */
        --bs-list-group-color: #f0f0f0;
        --bs-list-group-bg: transparent;
        --bs-list-group-border-color: rgba(255, 255, 255, 0.08);
        --bs-list-group-border-width: 0px 0px 1px 0px;
        --bs-list-group-border-radius: 0.5rem;
        --bs-list-group-item-padding-x: 1rem;
        --bs-list-group-item-padding-y: 0.75rem;
        --bs-list-group-action-color: #d0d0d0;
        --bs-list-group-action-hover-color: #fff;
        --bs-list-group-action-hover-bg: rgba(255, 255, 255, 0.15);
        --bs-list-group-action-active-color: #fff;
        --bs-list-group-action-active-bg: var(--brand-gradient);
        --bs-list-group-disabled-color: #6c757d;
        --bs-list-group-disabled-bg: transparent;
        --bs-list-group-active-color: #fff;
        --bs-list-group-active-bg: var(--brand-gradient);
        --bs-list-group-active-border-color: transparent;

        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        border-radius: 1rem;
    }
}

@media (max-width: 768px) {

    .fixo {
        position: fixed;
        top: 16px;
        width: 12.7%;
        
        /* Dark Glass Premium Tone */
        background: rgba(20, 15, 40, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
        
        /* List Group Variables for Dark Mode */
        --bs-list-group-color: #f0f0f0;
        --bs-list-group-bg: transparent;
        --bs-list-group-border-color: rgba(255, 255, 255, 0.08);
        --bs-list-group-border-width: 0px 0px 1px 0px;
        --bs-list-group-border-radius: 0.5rem;
        --bs-list-group-item-padding-x: 1rem;
        --bs-list-group-item-padding-y: 0.75rem;
        --bs-list-group-action-color: #d0d0d0;
        --bs-list-group-action-hover-color: #fff;
        --bs-list-group-action-hover-bg: rgba(255, 255, 255, 0.15);
        --bs-list-group-action-active-color: #fff;
        --bs-list-group-action-active-bg: var(--brand-gradient);
        --bs-list-group-disabled-color: #6c757d;
        --bs-list-group-disabled-bg: transparent;
        --bs-list-group-active-color: #fff;
        --bs-list-group-active-bg: var(--brand-gradient);
        --bs-list-group-active-border-color: transparent;

        display: flex;
        flex-direction: column;
        padding-left: 0;
        margin-bottom: 0;
        border-radius: 1rem;
        z-index: 1000;
    }
}