/* ===== ADAPTIVE ARTISTS COMPONENT STYLES ===== */

/* ===== HERO SECTIONS ===== */
.aa-hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

/* Compact Hero Variant for Artists Page */
.aa-hero.aa-hero-compact {
    min-height: auto;
}

.aa-hero.aa-hero-compact .aa-hero-content {
    padding: 1rem 0;
}

/* Universal semantic gradient classes - NO background images */
.aa-hero.nature {
    background: var(--aa-gradient-nature-hero);
}

.aa-hero.vibrant {
    background: var(--aa-gradient-vibrant-hero);
}

.aa-hero.harmony {
    background: var(--aa-gradient-harmony-hero);
}

.aa-hero.monochrome {
    background: var(--aa-gradient-monochrome-hero);
}

/* Background image classes - separate from gradients */
.aa-hero.bg-contact {
    background-image: url('/images/contact-background.jpg');
}

.aa-hero.bg-gallery {
    background-image: url('/images/gallery-background.jpg');
}

.aa-hero.bg-art {
    background-image: url('/images/art-background.jpg');
}

/* Combined classes for specific page defaults (backward compatibility) */
.aa-hero.contact {
    background: var(--aa-gradient-nature-hero), url('/images/contact-background.jpg');
}

.aa-hero.gallery {
    background: var(--aa-gradient-vibrant-hero), url('/images/gallery-background.jpg');
}

.aa-hero.purple {
    background: var(--aa-gradient-harmony-hero), url('/images/gallery-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.aa-hero.shoppe {
    background: var(--aa-gradient-monochrome-hero), url('/images/art-background.jpg');
}

.main-absolute .aa-hero {
    padding-top: 90px; /* Space for nav (80px) + banner (~80px) */
}

.main-normal .aa-hero {
    padding-top: 0;
}

.aa-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.aa-hero-content {
    position: relative;
    z-index: 2;
}

.aa-hero-stats {
    margin: 2rem 0;
}

.aa-stat-item {
    text-align: center;
    color: white;
    min-width: 100px;
}

.aa-stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.aa-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aa-hero-actions {
    margin-top: 2rem;
}

.aa-hero-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

.aa-hero-card-content {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
}

/* ===== PREVIEW NOTICE BANNER ===== */
.aa-preview-banner {
    background: linear-gradient(135deg, var(--aa-light) 0%, var(--aa-light-gray) 100%);
    border-bottom: 3px solid var(--aa-accent-cool);
    padding: 1rem 0;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1020;
    box-shadow: 0 2px 10px rgba(var(--aa-primary-rgb), 0.1);
}

.aa-preview-banner.warning {
    border-bottom-color: var(--aa-warning);
}

.aa-preview-banner.success {
    border-bottom-color: var(--aa-success);
}

.aa-preview-banner.info {
    border-bottom-color: var(--aa-info);
}

.main-normal .aa-preview-banner {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
}

.aa-preview-icon {
    font-size: 1.5rem;
    color: var(--aa-accent-cool);
}

.aa-preview-icon.warning {
    color: var(--aa-warning);
}

.aa-preview-icon.success {
    color: var(--aa-success);
}

.aa-preview-icon.info {
    color: var(--aa-info);
}

/* ===== CARD COMPONENTS ===== */
.aa-card {
    background: white;
    border-radius: 1rem;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(var(--aa-primary-rgb), 0.05);
}

.aa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--elevation-3) !important;
}

.aa-card.interactive {
    cursor: pointer;
}

.aa-card.interactive:hover {
    transform: translateY(-8px);
    box-shadow: var(--elevation-4) !important;
}

/* Enhanced artwork card hover effects */
.aa-card a {
    text-decoration: none !important;
    color: inherit;
}

.aa-card a:hover {
    color: inherit;
}

.aa-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
}

.aa-card-image.tall {
    height: 250px;
}

.aa-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease-out);
}

.aa-card.interactive:hover .aa-card-image img {
    transform: scale(1.1);
}

/* Artwork card specific hover overlay */
.aa-card:hover .aa-card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(var(--aa-primary-rgb), 0.1);
    pointer-events: none;
    transition: all 0.3s ease;
}

.aa-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.aa-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
}

.aa-card-content {
    padding: 1.5rem;
}

.aa-card-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.aa-card-icon {
    font-size: 1.2rem;
    color: var(--aa-primary);
}

/* Method/Contact Cards */
.aa-method-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s var(--ease-out);
    border: 1px solid rgba(var(--aa-primary-rgb), 0.05);
}

.aa-method-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--elevation-4) !important;
}

.aa-method-icon-wrapper {
    background: var(--aa-gradient-primary);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
}

.aa-method-icon-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--aa-gradient-primary);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.aa-method-icon {
    font-size: 2rem;
    color: white;
}

/* ===== FORM COMPONENTS ===== */
.aa-form-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    border: 1px solid rgba(var(--aa-primary-rgb), 0.05);
    position: relative;
    overflow: hidden;
}

.aa-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--aa-gradient-rainbow);
}

.aa-form-header {
    position: relative;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.aa-form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--aa-gradient-primary);
    border-radius: 2px;
}

/* ===== CTA SECTIONS ===== */
.aa-cta-section {
    background: var(--aa-gradient-primary);
    position: relative;
    overflow: hidden;
}

/* Using semantic gradient names */
.aa-cta-section.nature {
    background: var(--aa-gradient-nature-cta);
}

.aa-cta-section.vibrant {
    background: var(--aa-gradient-vibrant-cta);
}

.aa-cta-section.harmony {
    background: var(--aa-gradient-harmony-cta);
}

.aa-cta-section.monochrome {
    background: var(--aa-gradient-monochrome-cta);
}

/* Legacy class names mapped to new semantic names for backward compatibility */
.aa-cta-section.contact { background: var(--aa-gradient-nature-cta); }
.aa-cta-section.gallery { background: var(--aa-gradient-vibrant-cta); }
.aa-cta-section.purple { background: var(--aa-gradient-harmony-cta); }
.aa-cta-section.shoppe { background: var(--aa-gradient-monochrome-cta); }

/* ===== SOCIAL LINKS ===== */
.aa-social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.aa-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    min-width: 120px;
}

.aa-social-link:hover {
    color: white;
    transform: translateY(-4px);
    background: rgba(255,255,255,0.2);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.aa-social-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.aa-social-label {
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ALERT STYLES ===== */
.aa-alert {
    border-radius: 0.75rem;
    border: none;
    padding: 1rem 1.5rem;
}

.aa-alert.success {
    background: linear-gradient(135deg, rgba(var(--aa-success-rgb), 0.1) 0%, rgba(var(--aa-success-rgb), 0.05) 100%);
    color: var(--aa-success);
    border-left: 4px solid var(--aa-success);
}

.aa-alert.danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(220, 53, 69, 0.05) 100%);
    color: var(--aa-danger);
    border-left: 4px solid var(--aa-danger);
}

.aa-alert.warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1) 0%, rgba(243, 156, 18, 0.05) 100%);
    color: var(--aa-warning);
    border-left: 4px solid var(--aa-warning);
}

.aa-alert.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1) 0%, rgba(52, 152, 219, 0.05) 100%);
    color: var(--aa-info);
}

.aa-alert.light {
    background: linear-gradient(135deg, rgba(var(--aa-light-gray-rgb), 0.4) 0%, rgba(var(--aa-light-gray-rgb), 0.0) 100%);
    color: var(--aa-light-gray);
    border-left: 4px solid var(--aa-light-gray);
}

.aa-alert.dark {
    background: linear-gradient(135deg, rgba(var(--aa-dark-rgb), 0.95) 0%, rgba(var(--aa-dark-rgb), 0.85) 100%);
    color: var(--aa-light);
    border-left: 4px solid var(--aa-primary);
}

/* ===== PLACEHOLDER ELEMENTS ===== */
.aa-placeholder-image {
    background: linear-gradient(135deg, var(--aa-light) 0%, var(--aa-light-gray) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--aa-dark-gray);
    border: 2px dashed var(--aa-medium-gray);
    border-radius: 0.75rem;
}

.aa-placeholder-icon {
    font-size: 3rem;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.aa-placeholder-artwork {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 2px dashed rgba(255,255,255,0.3);
    border-radius: 0.75rem;
    padding: 3rem 2rem;
    text-align: center;
    backdrop-filter: blur(5px);
}

.aa-placeholder-artwork .aa-placeholder-icon {
    color: rgba(255,255,255,0.7);
    font-size: 4rem;
    margin-bottom: 1rem;
}

.aa-placeholder-card {
    position: relative;
    opacity: 0.85;
}

.aa-placeholder-card::before {
    content: "PREVIEW";
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--aa-warning);
    color: var(--aa-dark);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    z-index: 10;
    letter-spacing: 0.5px;
}

.aa-placeholder-card.info::before {
    background: var(--aa-info);
    color: white;
}

.aa-placeholder-card.success::before {
    background: var(--aa-success);
    color: white;
}

/* ===== STATUS INDICATORS ===== */
.aa-status-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.aa-status-indicators small {
    display: flex;
    align-items: center;
}

/* ===== TOAST NOTIFICATION STYLES ===== */
.aa-toast {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    box-shadow: var(--elevation-3);
    padding: 1rem;
    z-index: 1050;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.aa-toast-success {
    border-left: 4px solid var(--aa-success);
}

.aa-toast-danger {
    border-left: 4px solid var(--aa-danger);
}

.aa-toast-warning {
    border-left: 4px solid var(--aa-warning);
}

.aa-toast-info {
    border-left: 4px solid var(--aa-info);
}

.aa-toast.hidden {
    display: none !important;
}