/*
Theme Name: Astra Child - ArtistaInVetta
Theme URI: https://artistainvetta.com
Description: Tema child di Astra personalizzato per ArtistaInVetta - Piattaforma di servizi promozionali per artisti
Author: ArtistaInVetta
Author URI: https://artistainvetta.com
Template: astra
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
*/

/* ========================================
   VARIABILI CSS - BRAND ARTISTAINVETTA
   ======================================== */
:root {
    /* Colori Brand Principali */
    --color-primary: #7C3AED;
    --color-secondary: #F59E0B;
    --color-dark: #1a1a1a;
    --color-light: #ffffff;
    --color-gray: #6b7280;
    
    /* Colori per Categorie Target */
    --color-musicisti: #7C3AED;      /* Viola */
    --color-creators: #EC4899;        /* Rosa */
    --color-influencer: #F59E0B;      /* Oro */
    --color-modelle: #3B82F6;         /* Azzurro */
    
    /* Gradienti */
    --gradient-primary: linear-gradient(135deg, #7C3AED 0%, #F59E0B 100%);
    --gradient-vertical: linear-gradient(180deg, #7C3AED 0%, #F59E0B 100%);
    --gradient-musicisti: linear-gradient(135deg, #7C3AED 0%, #9333EA 100%);
    --gradient-creators: linear-gradient(135deg, #EC4899 0%, #F472B6 100%);
    --gradient-influencer: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --gradient-modelle: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
    
    /* Font */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ========================================
   TIPOGRAFIA
   ======================================== */
body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2.5rem;
    color: var(--color-primary);
}

h3 {
    font-size: 2rem;
}

/* ========================================
   HEADER PERSONALIZZATO
   ======================================== */
.site-header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-branding img {
    max-height: 60px;
    width: auto;
}

.main-navigation a {
    color: var(--color-light);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.main-navigation a:hover {
    color: var(--color-secondary);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}

/* ========================================
   BOTTONI
   ======================================== */
.btn-primary,
.button,
.wp-block-button__link,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover,
.button:hover,
.wp-block-button__link:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-light);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: var(--gradient-vertical);
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--color-light);
}

.hero-title {
    font-size: 4rem;
    color: var(--color-light);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    background: none;
    -webkit-text-fill-color: var(--color-light);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ========================================
   CARDS & BOXES
   ======================================== */
.service-card,
.product-card,
.course-card {
    background: var(--color-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.service-card:hover,
.product-card:hover,
.course-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--color-light);
    font-size: 1.5rem;
}

/* ========================================
   WOOCOMMERCE PERSONALIZZAZIONI
   ======================================== */
.woocommerce ul.products li.product {
    background: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.woocommerce ul.products li.product .price {
    color: var(--color-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.woocommerce span.onsale {
    background: var(--gradient-primary);
    border-radius: 8px;
}

.woocommerce div.product .woocommerce-product-gallery {
    border-radius: 12px;
    overflow: hidden;
}

/* ========================================
   LMS - LEARNDASH/LIFTERLMS
   ======================================== */
.learndash-wrapper,
.llms-course-list,
.ld-course-list {
    margin: 2rem 0;
}

.ld-course-list-item,
.llms-loop-item {
    background: var(--color-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.ld-course-list-item:hover,
.llms-loop-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.ld-progress-bar,
.llms-progress-bar {
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.ld-progress-bar-percentage,
.llms-progress-bar-complete {
    background: var(--gradient-primary);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--color-dark);
    color: var(--color-light);
    padding: 3rem 0 1rem;
}

.footer-widget-area {
    margin-bottom: 2rem;
}

.footer-widget-area h3 {
    color: var(--color-secondary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.footer-widget-area a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-widget-area a:hover {
    color: var(--color-secondary);
}

.site-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SEZIONI PERSONALIZZATE
   ======================================== */
.pricing-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
}

.pricing-card {
    background: var(--color-light);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
}

.pricing-card.featured::before {
    content: 'PIÙ POPOLARE';
    position: absolute;
    top: 20px;
    right: -35px;
    background: var(--gradient-primary);
    color: var(--color-light);
    padding: 5px 40px;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.pricing-features li::before {
    content: '✓';
    color: var(--color-primary);
    font-weight: 700;
    margin-right: 0.5rem;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
}

/* ========================================
   ANIMAZIONI
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ========================================
   CATEGORIE TARGET - STILI SPECIFICI
   ======================================== */

/* Musicisti */
.category-musicisti .hero-section,
.musicisti-page .hero-section {
    background: var(--gradient-musicisti);
}

.category-musicisti .btn-primary,
.musicisti-page .btn-primary {
    background: var(--gradient-musicisti);
}

.category-musicisti .card-icon,
.musicisti-page .card-icon {
    background: var(--gradient-musicisti);
}

.category-musicisti h2,
.musicisti-page h2 {
    color: var(--color-musicisti);
}

/* Content Creators */
.category-creators .hero-section,
.creators-page .hero-section {
    background: var(--gradient-creators);
}

.category-creators .btn-primary,
.creators-page .btn-primary {
    background: var(--gradient-creators);
}

.category-creators .card-icon,
.creators-page .card-icon {
    background: var(--gradient-creators);
}

.category-creators h2,
.creators-page h2 {
    color: var(--color-creators);
}

/* Influencer */
.category-influencer .hero-section,
.influencer-page .hero-section {
    background: var(--gradient-influencer);
}

.category-influencer .btn-primary,
.influencer-page .btn-primary {
    background: var(--gradient-influencer);
}

.category-influencer .card-icon,
.influencer-page .card-icon {
    background: var(--gradient-influencer);
}

.category-influencer h2,
.influencer-page h2 {
    color: var(--color-influencer);
}

/* Modelle */
.category-modelle .hero-section,
.modelle-page .hero-section {
    background: var(--gradient-modelle);
}

.category-modelle .btn-primary,
.modelle-page .btn-primary {
    background: var(--gradient-modelle);
}

.category-modelle .card-icon,
.modelle-page .card-icon {
    background: var(--gradient-modelle);
}

.category-modelle h2,
.modelle-page h2 {
    color: var(--color-modelle);
}

/* ========================================
   HOMEPAGE - CATEGORIE GRID
   ======================================== */
.target-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 80px 0;
}

.target-card {
    background: var(--color-light);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    transition: height 0.3s ease;
}

.target-card.musicisti::before {
    background: var(--gradient-musicisti);
}

.target-card.creators::before {
    background: var(--gradient-creators);
}

.target-card.influencer::before {
    background: var(--gradient-influencer);
}

.target-card.modelle::before {
    background: var(--gradient-modelle);
}

.target-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.target-card:hover::before {
    height: 100%;
    opacity: 0.1;
}

.target-card-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.target-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.target-card.musicisti h3 {
    color: var(--color-musicisti);
}

.target-card.creators h3 {
    color: var(--color-creators);
}

.target-card.influencer h3 {
    color: var(--color-influencer);
}

.target-card.modelle h3 {
    color: var(--color-modelle);
}

/* ========================================
   WOOCOMMERCE - CATEGORIE PRODOTTI
   ======================================== */
.woocommerce .product-category.musicisti .woocommerce-loop-category__title {
    background: var(--gradient-musicisti);
}

.woocommerce .product-category.creators .woocommerce-loop-category__title {
    background: var(--gradient-creators);
}

.woocommerce .product-category.influencer .woocommerce-loop-category__title {
    background: var(--gradient-influencer);
}

.woocommerce .product-category.modelle .woocommerce-loop-category__title {
    background: var(--gradient-modelle);
}

/* Badge Categoria */
.category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-light);
    margin-bottom: 1rem;
}

.category-badge.musicisti {
    background: var(--gradient-musicisti);
}

.category-badge.creators {
    background: var(--gradient-creators);
}

.category-badge.influencer {
    background: var(--gradient-influencer);
}

.category-badge.modelle {
    background: var(--gradient-modelle);
}

/* ========================================
   MENU DROPDOWN CATEGORIE
   ======================================== */
.main-navigation .sub-menu {
    background: rgba(26, 26, 26, 0.98);
    border-radius: 8px;
    box-shadow: var(--shadow-xl);
    padding: 1rem 0;
}

.main-navigation .menu-item-musicisti > a {
    color: var(--color-musicisti) !important;
}

.main-navigation .menu-item-creators > a {
    color: var(--color-creators) !important;
}

.main-navigation .menu-item-influencer > a {
    color: var(--color-influencer) !important;
}

.main-navigation .menu-item-modelle > a {
    color: var(--color-modelle) !important;
}

/* Hide site title - logo only */
.site-title, .site-description, .ast-site-title-wrap { display: none !important; }
