/* Custom Styles for Veronica Aloise Travel Designer Website */

/* ========== ANIMAZIONI ELEGANTI ========== */
@keyframes iconFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    33% { 
        transform: translateY(-3px) rotate(1deg);
    }
    66% { 
        transform: translateY(-1px) rotate(-0.5deg);
    }
}

@keyframes iconPulse {
    0%, 100% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes shimmer {
    0% { 
        background-position: -200% center;
    }
    100% { 
        background-position: 200% center;
    }
}

/* Applicazione animazioni agli iconSet */
.blog-card .fas {
    animation: iconFloat 4s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover .fas {
    animation: iconPulse 0.6s ease-in-out;
}

/* Stagger delle animazioni per le diverse icone */
.blog-card .fas:nth-child(1) { animation-delay: 0s; }
.blog-card .fas:nth-child(2) { animation-delay: 0.5s; }
.blog-card .fas:nth-child(3) { animation-delay: 1s; }

/* Cards con animazione di ingresso */
.blog-card {
    animation: cardSlideIn 0.6s ease-out forwards;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stagger per le cards */
.blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-card:nth-child(2) { animation-delay: 0.2s; }
.blog-card:nth-child(3) { animation-delay: 0.3s; }
.blog-card:nth-child(4) { animation-delay: 0.4s; }
.blog-card:nth-child(5) { animation-delay: 0.5s; }
.blog-card:nth-child(6) { animation-delay: 0.6s; }

:root {
    /* Palette Mediterranea Elegante - Blu petrolio, terracotta, crema */
    --mountain-rose: #F5F1E8;      /* Crema calda per l'Armenia */
    --glacier-teal: #2C5F5D;       /* Blu petrolio profondo */
    --golden-dome: #D2691E;        /* Terracotta ricca per le cupole */
    --copper-roof: #A0522D;        /* Terracotta più scura per i tetti */
    --amethyst-rock: #2F4F4F;      /* Blu petrolio scuro per le rocce */
    --forest-emerald: #2C5F5D;     /* Blu petrolio per le foreste */
    --sunset-coral: #D2691E;       /* Terracotta per i tramonti */
    --ancient-bronze: #CD853F;     /* Bronzo antico manteniamo */
    
    /* Colori di supporto */
    --primary-color: var(--mountain-rose);
    --secondary-color: var(--copper-roof);
    --accent-color: var(--golden-dome);
    --highlight-color: var(--glacier-teal);
    --depth-color: var(--amethyst-rock);
    
    /* Luxury Background System - Toni Caldi Caucasici */
    --surface-primary: #F7F5F1;        /* Armenia Sand - Primario */
    --surface-secondary: #F9F7F4;      /* Champagne Soft - Secondario */  
    --surface-accent: #F5F3F0;         /* Stone Caucaso - Accento */
    --surface-premium: #FAF8F5;        /* Silk Ivory - Premium cards */
    --surface-warm: #F8F6F4;           /* Cashmere White - Warm sections */
    
    /* Neutri sofisticati originali */
    --pearl-white: #FAF9F7;
    --silk-gray: #E5E7EB;
    --charcoal-deep: #2D3748;
    --mist-blue: #A0AEC0;
    
    /* Gradienti sofisticati */
    --gradient-luxury: linear-gradient(135deg, 
        var(--mountain-rose) 0%, 
        var(--glacier-teal) 25%, 
        var(--golden-dome) 50%, 
        var(--amethyst-rock) 75%,
        var(--mountain-rose) 100%);
    
    --gradient-elegant: linear-gradient(45deg, 
        rgba(44, 95, 93, 0.05) 0%, 
        rgba(210, 105, 30, 0.08) 50%, 
        rgba(245, 241, 232, 0.1) 100%);
    
    --gradient-pearl: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(245, 241, 232, 0.05) 50%,
        rgba(44, 95, 93, 0.02) 100%);
}

/* ============================
   INDIVIDUAL TOURS TAB SYSTEM
   ============================ */

/* Tab Button Styles */
.individual-tab-btn {
    background-color: transparent;
    color: #6B7280;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
}

.individual-tab-btn:hover {
    color: #D97706;
    background-color: rgba(251, 191, 36, 0.1);
    transform: translateY(-1px);
}

.individual-tab-btn.active {
    background-color: #D97706;
    color: white;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
    transform: translateY(-2px);
}

.individual-tab-btn.active::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #D97706;
}

/* Tab Content Styles */
.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease-out;
}

/* Ensure grid containers have enough height */
#armenia-tours-grid {
    min-height: fit-content;
}

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

/* Country-specific styling for tabs */
.individual-tab-btn[data-country="armenia"]:hover {
    color: #D97706;
    background-color: rgba(217, 119, 6, 0.1);
}

.individual-tab-btn[data-country="armenia"].active {
    background-color: #D97706;
}

.individual-tab-btn[data-country="georgia"]:hover {
    color: #64748B;
    background-color: rgba(100, 116, 139, 0.1);
}

.individual-tab-btn[data-country="georgia"].active {
    background-color: #64748B;
}

.individual-tab-btn[data-country="azerbaijan"]:hover {
    color: #6B7280;
    background-color: rgba(107, 114, 128, 0.1);
}

.individual-tab-btn[data-country="azerbaijan"].active {
    background-color: #6B7280;
    
    --gradient-depth: linear-gradient(180deg,
        rgba(44, 95, 93, 0.8) 0%,
        rgba(47, 79, 79, 0.6) 50%,
        rgba(210, 105, 30, 0.4) 100%);
    
    /* Text colors aggiornati */
    --text-dark: var(--charcoal-deep);
    --text-light: var(--mist-blue);
    --bg-light: var(--surface-secondary);
}

/* Premium Typography Hierarchy */
.font-luxury-display {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.font-elegant-serif {
    font-family: 'Crimson Text', 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 1.6;
}

.font-refined-sans {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    letter-spacing: 0.015em;
    line-height: 1.5;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

/* Enhanced Typography Styles */
.text-luxury-xl {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.text-luxury-lg {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 400;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.text-elegant-body {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    font-weight: 300;
    line-height: 1.7;
    letter-spacing: 0.01em;
}

/* Elegant Text Shadows */
.text-shadow-elegant {
    text-shadow: 
        0 4px 12px rgba(44, 95, 93, 0.25), 
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 1px 2px rgba(255, 255, 255, 0.1);
}

.text-shadow-subtle {
    text-shadow: 
        0 2px 8px rgba(44, 95, 93, 0.15), 
        0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Luxury Box Shadows */
.shadow-luxury {
    box-shadow: 
        0 25px 50px -12px rgba(44, 95, 93, 0.15),
        0 8px 16px -8px rgba(44, 95, 93, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.05);
}

.shadow-elegant {
    box-shadow: 
        0 10px 25px -5px rgba(44, 95, 93, 0.1),
        0 4px 6px -2px rgba(44, 95, 93, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shadow-floating {
    box-shadow: 
        0 20px 40px -8px rgba(44, 95, 93, 0.12),
        0 6px 12px -6px rgba(44, 95, 93, 0.08);
    transition: box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shadow-floating:hover {
    box-shadow: 
        0 32px 64px -12px rgba(44, 95, 93, 0.18),
        0 8px 16px -8px rgba(44, 95, 93, 0.12);
}

/* Luxury Gradients */
.bg-luxury-gradient {
    background: var(--gradient-luxury);
}

.bg-elegant-gradient {
    background: var(--gradient-elegant);
}

.bg-pearl-gradient {
    background: var(--gradient-pearl);
}

/* Glassmorphism Enhanced */
.glass-luxury {
    background: rgba(245, 241, 232, 0.08);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-elegant {
    background: rgba(44, 95, 93, 0.05);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(44, 95, 93, 0.1);
}

/* Enhanced Animations */
.animate-luxury-float {
    animation: luxuryFloat 6s ease-in-out infinite;
}

.animate-elegant-pulse {
    animation: elegantPulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-gentle-glow {
    animation: gentleGlow 3s ease-in-out infinite alternate;
}

@keyframes luxuryFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: brightness(1) saturate(1);
    }
    25% { 
        transform: translateY(-8px) rotate(0.5deg);
        filter: brightness(1.05) saturate(1.1);
    }
    50% { 
        transform: translateY(-12px) rotate(0deg);
        filter: brightness(1.08) saturate(1.15);
    }
    75% { 
        transform: translateY(-8px) rotate(-0.5deg);
        filter: brightness(1.05) saturate(1.1);
    }
}

@keyframes elegantPulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.9;
        transform: scale(1.02);
    }
}

@keyframes gentleGlow {
    0% { 
        box-shadow: 0 0 20px rgba(44, 95, 93, 0.1);
    }
    100% { 
        box-shadow: 0 0 30px rgba(44, 95, 93, 0.2);
    }
}






    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.gallery-controls button {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.gallery-controls button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gallery-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 15;
}

.gallery-info {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    max-width: 300px;
}

.gallery-info > div {
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Thumbnails Styles */
.gallery-thumbnails-container {
    transition: all 0.3s ease;
}

.gallery-thumbnails-container.collapsed #gallery-thumbnails {
    max-height: 0;
    overflow: hidden;
}

.gallery-thumbnail {
    aspect-ratio: 16/9;
    border-radius: 0.375rem;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.gallery-thumbnail.active {
    border-color: var(--glacier-teal);
    opacity: 1;
    box-shadow: 0 0 0 1px var(--glacier-teal);
}

.gallery-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

#thumbnails-toggle {
    transition: transform 0.3s ease;
}

.gallery-thumbnails-container.collapsed #thumbnails-toggle {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .gallery-info {
        top: 0.5rem;
        left: 0.5rem;
        right: 0.5rem;
        max-width: none;
    }
    
    .gallery-info h3 {
        font-size: 1rem;
    }
    
    .gallery-info p {
        font-size: 0.75rem;
    }
    
    
        bottom: 0.5rem;
    }
    
    .gallery-controls button {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    #gallery-thumbnails {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Elegant Layout & Composition */
.section-luxury {
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-elegant {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

/* ✨ Nuovi Effetti Eleganti ✨ */

/* Parallax leggero per le immagini */
.parallax-gentle {
    transform: translateY(0);
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Effetto hover migliorato per le card */
.enhanced-card-hover {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.enhanced-card-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.enhanced-card-hover:hover::before {
    left: 100%;
}

.enhanced-card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Effetto magnetico per i bottoni */
.magnetic-btn {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    cursor: pointer;
}

.magnetic-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.magnetic-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.magnetic-btn:hover::after {
    opacity: 1;
}

/* Smooth reveal animation */
.smooth-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.smooth-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Gradient animato di sfondo */
.animated-gradient {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Effetto cristallo per le card speciali */
.crystal-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.crystal-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 45px 0 rgba(31, 38, 135, 0.5);
}

/* Effetto pulse elegante per elementi speciali */
.elegant-pulse {
    animation: elegantPulse 3s ease-in-out infinite;
}

@keyframes elegantPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.9; }
}

/* Effetto float per le immagini */
.float-gentle {
    animation: floatGentle 6s ease-in-out infinite;
}

@keyframes floatGentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Effetto glow per elementi speciali */
.glow-soft {
    box-shadow: 0 0 20px rgba(75, 85, 99, 0.1);
    transition: box-shadow 0.3s ease;
}

.glow-soft:hover {
    box-shadow: 0 0 30px rgba(75, 85, 99, 0.2);
}

/* 🎆 EFFETTI WOW PIÙ SPETTACOLARI 🎆 */

/* Effetto neve di stelle di sfondo */
.stars-background {
    position: relative;
    overflow: hidden;
}

.stars-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #fff, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, #fff, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, #fff, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

@keyframes sparkle {
    from { transform: translateY(0px); }
    to { transform: translateY(-100px); }
}

/* Effetto hover ESPLOSIVO per le card dei tour */
.tour-card-wow {
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.tour-card-wow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.tour-card-wow:hover {
    transform: translateY(-15px) rotateY(5deg) scale(1.05);
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.2),
        0 0 50px rgba(255,215,0,0.3);
}

.tour-card-wow:hover::after {
    width: 300px;
    height: 300px;
}

/* Effetto rainbow sui titoli principali */
.rainbow-text {
    background: linear-gradient(
        45deg,
        #ff6b6b,
        #feca57,
        #48cae4,
        #ff9ff3,
        #54a0ff
    );
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbowShift 3s ease-in-out infinite;
}

@keyframes rainbowShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Bottoni con effetto NEON */
.neon-button {
    position: relative;
    background: transparent;
    border: 2px solid #00f5ff;
    color: #00f5ff;
    text-shadow: 0 0 10px #00f5ff;
    box-shadow: 
        0 0 20px rgba(0, 245, 255, 0.3),
        inset 0 0 20px rgba(0, 245, 255, 0.1);
    transition: all 0.3s ease;
}

.neon-button:hover {
    color: #000;
    background: #00f5ff;
    text-shadow: none;
    box-shadow: 
        0 0 30px #00f5ff,
        0 0 60px #00f5ff,
        0 0 90px #00f5ff,
        inset 0 0 30px rgba(0, 245, 255, 0.2);
    transform: scale(1.1);
}

/* Effetto fuochi d'artificio per elementi speciali */
.fireworks {
    position: relative;
}

.fireworks::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 20px;
    animation: explode 2s ease-in-out infinite;
}

@keyframes explode {
    0% { 
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }
    100% { 
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

.container-luxury {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 4vw, 3rem);
}

.container-refined {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.container-intimate {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 2vw, 1.5rem);
}

/* Golden Ratio Spacing */
.spacing-golden-xl {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.spacing-golden-lg {
    margin-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
}

.spacing-golden-md {
    margin-bottom: clamp(1.2rem, 2.5vw, 2rem);
}

.spacing-golden-sm {
    margin-bottom: clamp(0.8rem, 1.5vw, 1.2rem);
}

/* Elegant Grid Systems */
.grid-luxury {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.grid-refined {
    display: grid;
    gap: clamp(1.2rem, 3vw, 2.5rem);
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-intimate {
    display: grid;
    gap: clamp(1rem, 2vw, 1.8rem);
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Responsive Layout Adjustments */
@media (max-width: 640px) {
    .container-luxury,
    .container-refined,
    .container-intimate {
        padding: 0 1rem;
    }
    
    .section-luxury {
        padding: 3rem 0;
    }
    
    .section-elegant {
        padding: 2.5rem 0;
    }
    
    .grid-luxury {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation Enhancements */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Hero Section Slideshow */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* Luxury Gradient Overlays */
.gradient-overlay {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.8) 0%, rgba(146, 64, 14, 0.9) 100%);
}

.gradient-overlay-soft {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.1) 0%, rgba(146, 64, 14, 0.2) 100%);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.3s ease;
    transform: translateY(0);
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Luxury Button Styles */
.btn-luxury {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-luxury:hover::before {
    left: 100%;
}

.btn-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(161, 98, 7, 0.3);
}

/* Blog Tab Buttons */
.blog-tab-btn {
    color: var(--text-light);
    background: transparent;
    border: none;
    cursor: pointer;
}

.blog-tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.blog-tab-btn:hover:not(.active) {
    background: rgba(161, 98, 7, 0.1);
    color: var(--primary-color);
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Enhancements */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

/* Parallax Effect for Images */
.parallax-element {
    transition: transform 0.3s ease;
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Tour Card Styles */
.tour-card {
    background: var(--surface-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tour-card img {
    transition: transform 0.3s ease;
}

.tour-card:hover img {
    transform: scale(1.05);
}

/* Blog Article Cards */
.blog-card {
    background: var(--surface-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* Price Badge */
.price-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Country Flag Icons */
.country-flag {
    width: 24px;
    height: 18px;
    border-radius: 3px;
    display: inline-block;
    margin-right: 8px;
}

.flag-armenia {
    background: linear-gradient(to bottom, #d90012 33%, #0033a0 33%, #0033a0 66%, #f2a800 66%);
}

.flag-georgia {
    background: var(--surface-secondary);
    position: relative;
}

.flag-georgia::before {
    content: '🇬🇪';
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.flag-azerbaijan {
    background: linear-gradient(to bottom, #00b9e4 33%, #ee2a23 33%, #ee2a23 66%, #00af66 66%);
}

/* Testimonial Styles */
.testimonial {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 10px;
}

/* Social Media Hover Effects */
.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .tour-card {
        margin-bottom: 20px;
    }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
}

/* Accessibility Enhancements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles for Keyboard Navigation */
a:focus, button:focus, input:focus, textarea:focus, select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* EFFETTI SPECIALI */

/* Floating particles background */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(161, 98, 7, 0.4);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; animation-duration: 10s; }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; animation-duration: 7s; }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; animation-duration: 9s; }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; animation-duration: 6s; }
.particle:nth-child(6) { left: 60%; animation-delay: 0.5s; animation-duration: 11s; }
.particle:nth-child(7) { left: 70%; animation-delay: 1.5s; animation-duration: 8s; }
.particle:nth-child(8) { left: 80%; animation-delay: 2.5s; animation-duration: 10s; }
.particle:nth-child(9) { left: 90%; animation-delay: 3.5s; animation-duration: 7s; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Effetti Grafici Cinematografici Avanzati */

/* Gradient animation background - Caucaso Style */
.gradient-bg {
    background: var(--gradient-caucasus);
    background-size: 400% 400%;
    animation: caucasusFlow 20s ease infinite;
    position: relative;
    overflow: hidden;
}

.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 209, 199, 0.1) 0%, transparent 70%);
    animation: mysticOrb 30s linear infinite;
}

@keyframes caucasusFlow {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

@keyframes mysticOrb {
    0% { transform: rotate(0deg) translate(-50%, -50%); }
    100% { transform: rotate(360deg) translate(-50%, -50%); }
}

/* Liquid Morphing Containers */
.liquid-container {
    background: var(--gradient-sunset);
    border-radius: 50px 20px 50px 20px;
    animation: liquidMorph 8s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.liquid-container::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--surface-warm);
    border-radius: 47px 17px 47px 17px;
    animation: liquidMorph 8s ease-in-out infinite reverse;
}

@keyframes liquidMorph {
    0%, 100% { border-radius: 50px 20px 50px 20px; }
    25% { border-radius: 20px 50px 20px 50px; }
    50% { border-radius: 30px 30px 60px 10px; }
    75% { border-radius: 60px 10px 30px 40px; }
}

/* Glassmorphism Avanzato */
.glass-advanced {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(79, 209, 199, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    position: relative;
}

.glass-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerGlass 3s ease-in-out infinite;
}

@keyframes shimmerGlass {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Light Rays Effect */
.light-rays {
    position: relative;
    overflow: hidden;
}

.light-rays::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(247, 183, 49, 0.1) 40%, rgba(247, 183, 49, 0.3) 50%, rgba(247, 183, 49, 0.1) 60%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(79, 209, 199, 0.1) 40%, rgba(79, 209, 199, 0.3) 50%, rgba(79, 209, 199, 0.1) 60%, transparent 70%);
    animation: raysSweep 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes raysSweep {
    0%, 100% { opacity: 0; transform: translateX(-100%) rotate(45deg); }
    50% { opacity: 1; transform: translateX(100%) rotate(45deg); }
}

/* Parallax 3D Multi-layer */
.parallax-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.parallax-layer {
    position: absolute;
    inset: 0;
    animation: float3D 10s ease-in-out infinite;
}

.parallax-layer:nth-child(1) { animation-delay: 0s; z-index: 1; }
.parallax-layer:nth-child(2) { animation-delay: -2s; z-index: 2; }
.parallax-layer:nth-child(3) { animation-delay: -4s; z-index: 3; }

@keyframes float3D {
    0%, 100% { transform: translateY(0px) rotateX(0deg) rotateY(0deg); }
    33% { transform: translateY(-20px) rotateX(5deg) rotateY(2deg); }
    66% { transform: translateY(10px) rotateX(-3deg) rotateY(-2deg); }
}

/* Pattern Geometrici Culturali del Caucaso */

/* Motivi Armeni Tradizionali */
.armenian-pattern {
    background-image: 
        radial-gradient(circle at 25% 25%, var(--mountain-rose) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, var(--golden-dome) 1px, transparent 1px),
        linear-gradient(45deg, transparent 45%, rgba(232, 180, 203, 0.1) 50%, transparent 55%);
    background-size: 40px 40px, 60px 60px, 80px 80px;
    animation: armenianFlow 15s linear infinite;
}

@keyframes armenianFlow {
    0% { background-position: 0 0, 0 0, 0 0; }
    100% { background-position: 40px 40px, -60px -60px, 80px 80px; }
}

/* Trame Tessili Georgiane */
.georgian-textile {
    background: 
        repeating-linear-gradient(
            45deg,
            var(--forest-emerald) 0px,
            var(--forest-emerald) 2px,
            transparent 2px,
            transparent 12px
        ),
        repeating-linear-gradient(
            -45deg,
            var(--copper-roof) 0px,
            var(--copper-roof) 1px,
            transparent 1px,
            transparent 16px
        );
    opacity: 0.1;
    animation: textileWeave 20s ease-in-out infinite;
}

@keyframes textileWeave {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.05) rotate(2deg); }
}

/* Pattern Islamici Azeri */
.azeri-islamic {
    background-image: 
        conic-gradient(from 0deg at 50% 50%, 
            var(--amethyst-rock) 0deg, 
            transparent 60deg, 
            var(--glacier-teal) 120deg, 
            transparent 180deg, 
            var(--sunset-coral) 240deg, 
            transparent 300deg, 
            var(--amethyst-rock) 360deg
        );
    background-size: 100px 100px;
    animation: islamicSpin 25s linear infinite;
    opacity: 0.08;
}

@keyframes islamicSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Intarsi Decorativi Medievali */
.medieval-inlay {
    position: relative;
}

.medieval-inlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at top left, var(--ancient-bronze) 0%, transparent 50%),
        radial-gradient(ellipse at top right, var(--golden-dome) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, var(--mountain-rose) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, var(--glacier-teal) 0%, transparent 50%);
    opacity: 0.03;
    animation: inlayPulse 8s ease-in-out infinite;
    pointer-events: none;
}

@keyframes inlayPulse {
    0%, 100% { opacity: 0.03; transform: scale(1); }
    50% { opacity: 0.07; transform: scale(1.02); }
}

/* Effetto Manoscritto Illuminato */
.illuminated-manuscript {
    background: var(--surface-warm);
    border: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.illuminated-manuscript::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-caucasus);
    border-radius: inherit;
    z-index: -1;
    animation: illuminatedBorder 10s ease-in-out infinite;
}

@keyframes illuminatedBorder {
    0%, 100% { 
        filter: hue-rotate(0deg) brightness(1);
        transform: scale(1);
    }
    50% { 
        filter: hue-rotate(45deg) brightness(1.1);
        transform: scale(1.01);
    }
}

/* Texture Carta Antica */
.ancient-paper {
    background: 
        var(--pearl-white)
        radial-gradient(circle at 20% 80%, rgba(205, 133, 63, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 180, 203, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(108, 91, 123, 0.05) 0%, transparent 70%);
    position: relative;
}

.ancient-paper::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 98%,
            rgba(205, 133, 63, 0.1) 100%
        );
    background-size: 100% 20px;
}

/* Transizioni Morphing tra Sezioni */

/* Morphing Wave Transitions */
.section-wave-transition {
    position: relative;
}

.section-wave-transition::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--gradient-sunset);
    clip-path: polygon(
        0% 20%, 
        15% 40%, 
        35% 45%, 
        50% 20%, 
        70% 35%, 
        85% 50%, 
        100% 30%, 
        100% 100%, 
        0% 100%
    );
    animation: waveFlow 8s ease-in-out infinite;
}

@keyframes waveFlow {
    0%, 100% {
        clip-path: polygon(0% 20%, 15% 40%, 35% 45%, 50% 20%, 70% 35%, 85% 50%, 100% 30%, 100% 100%, 0% 100%);
    }
    50% {
        clip-path: polygon(0% 40%, 15% 20%, 35% 25%, 50% 45%, 70% 15%, 85% 30%, 100% 50%, 100% 100%, 0% 100%);
    }
}

/* Liquid Section Dividers */
.liquid-divider {
    width: 100%;
    height: 150px;
    background: var(--gradient-mystical);
    position: relative;
    overflow: hidden;
}

.liquid-divider::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 120%;
    height: 200%;
    background: 
        radial-gradient(ellipse at center, var(--glacier-teal) 0%, transparent 70%),
        radial-gradient(ellipse at 30% 70%, var(--mountain-rose) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, var(--golden-dome) 0%, transparent 50%);
    animation: liquidFlow 20s ease-in-out infinite;
}

@keyframes liquidFlow {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
}

/* Geometric Morphing Cards */
.morph-card {
    background: var(--glass-advanced);
    border-radius: 20px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

.morph-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-caucasus);
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.6s ease;
}

.morph-card:hover {
    transform: rotateX(10deg) rotateY(10deg) scale(1.05);
    border-radius: 30px;
    box-shadow: 
        0 20px 60px rgba(79, 209, 199, 0.3),
        0 10px 30px rgba(232, 180, 203, 0.2);
}

.morph-card:hover::before {
    opacity: 0.1;
}

/* Particle System Backdrop */
.particle-system {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--glacier-teal);
    border-radius: 50%;
    animation: particleDance 15s linear infinite;
}

.particle:nth-child(2n) { background: var(--mountain-rose); animation-duration: 20s; }
.particle:nth-child(3n) { background: var(--golden-dome); animation-duration: 18s; }
.particle:nth-child(5n) { background: var(--amethyst-rock); animation-duration: 22s; }

@keyframes particleDance {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* Holographic Text Effect */
.holographic-text {
    /* Fallback per browser che non supportano background-clip */
    color: #ffffff;
    background: linear-gradient(45deg, 
        #ffffff 0%, 
        #f8fafc 25%, 
        #e2e8f0 50%, 
        #ffffff 75%, 
        #f1f5f9 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: holographicShift 6s ease-in-out infinite;
    position: relative;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Applica la trasparenza solo se il browser supporta background-clip */
@supports (-webkit-background-clip: text) or (background-clip: text) {
    .holographic-text {
        -webkit-text-fill-color: transparent;
        color: transparent;
    }
}

.holographic-text::before {
    content: attr(data-text);
    position: absolute;
    top: 1px;
    left: 1px;
    z-index: -1;
    background: linear-gradient(45deg, rgba(44, 95, 93, 0.3), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: holographicGhost 5s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes holographicShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
}

@keyframes holographicGhost {
    0%, 100% { opacity: 0; transform: translateX(0px); }
    50% { opacity: 0.3; transform: translateX(2px); }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Glowing effect */
.glow-effect {
    box-shadow: 0 0 20px rgba(161, 98, 7, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 20px rgba(161, 98, 7, 0.3); }
    to { box-shadow: 0 0 30px rgba(161, 98, 7, 0.5), 0 0 40px rgba(217, 119, 6, 0.3); }
}

/* Parallax effect */
.parallax-bg {
    transform: translateZ(0);
    will-change: transform;
}

/* Morphing buttons */
.morph-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.morph-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.morph-btn:hover::before {
    left: 100%;
}

.morph-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(234, 88, 12, 0.4);
}

/* Text shimmer effect */
.text-shimmer {
    background: linear-gradient(90deg, #a16207, #d97706, #a16207);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

/* Card float animation */
.float-card {
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Ripple effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.ripple-effect:hover::before {
    width: 300px;
    height: 300px;
}

/* Magnetic hover effect */
.magnetic {
    transition: transform 0.3s ease;
}

.magnetic:hover {
    transform: translate(2px, -2px);
}

/* ========== ANIMAZIONI EXTRA ELEGANTI ========== */

/* Gradiente animato per gli sfondi degli iconSet */
.blog-card [class*="bg-gradient"] {
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%;
    }
    25% { 
        background-position: 100% 50%;
    }
    50% { 
        background-position: 100% 100%;
    }
    75% { 
        background-position: 0% 100%;
    }
}

/* Hover effect migliorato per le card del blog */
.blog-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Animazione di ingresso ritardato per elementi in viewport */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Microinterazioni per i filtri blog */
.blog-filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.blog-filter-btn:hover::after,
.blog-filter-btn.active::after {
    width: 80%;
}

/* Sottile parallasse per le icone durante lo scroll */
@keyframes gentleParallax {
    from { transform: translateY(0px); }
    to { transform: translateY(-5px); }
}

/* Leggero bounce sui click */
.click-bounce:active {
    animation: clickBounce 0.2s ease-out;
}

@keyframes clickBounce {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000;
        --secondary-color: #333;
        --text-dark: #000;
        --text-light: #333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .auto-dark {
        background-color: #1f2937;
        color: #f9fafb;
    }
}

/* Warm Color System Enhancement for Different Devices */
@media (min-width: 768px) {
    :root {
        /* Slightly more sophisticated tones for larger screens */
        --surface-primary: #F6F4F0;        /* Slightly deeper Armenia Sand */
        --surface-secondary: #F8F6F3;      /* Enhanced Champagne Soft */  
        --surface-accent: #F4F2EF;         /* Refined Stone Caucaso */
    }
}

@media (max-width: 767px) {
    :root {
        /* Softer, more legible tones for mobile */
        --surface-primary: #F8F6F2;        /* Lighter for mobile readability */
        --surface-secondary: #FAF8F5;      /* Softer for smaller screens */  
        --surface-accent: #F6F4F1;         /* Gentler mobile accent */
    }
}

/* Custom Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === GALLERY STYLES === */
.gallery-grid {
    perspective: 1000px;
}

.gallery-card {
    position: relative;
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transform-style: preserve-3d;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    box-shadow: 
        0 10px 40px rgba(0,0,0,0.1),
        0 2px 8px rgba(0,0,0,0.1);
}

.gallery-card:hover {
    transform: translateY(-12px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 
        0 25px 80px rgba(0,0,0,0.2),
        0 8px 32px rgba(79, 172, 154, 0.3);
}

.gallery-card img {
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.8) 0%,
        rgba(79, 172, 154, 0.6) 50%,
        rgba(0,0,0,0.2) 100%
    );
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1rem;
}

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

.gallery-filter-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    border: 2px solid transparent;
}

.gallery-filter-btn.active {
    background: var(--glacier-teal) !important;
    color: white !important;
    box-shadow: 0 8px 25px rgba(79, 172, 154, 0.4);
    transform: translateY(-2px);
}

.gallery-filter-btn:not(.active) {
    background: white;
    color: var(--glacier-teal);
    border-color: var(--glacier-teal);
}

.gallery-filter-btn:hover:not(.active) {
    background: var(--glacier-teal);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 172, 154, 0.4);
}

/* Gallery Item Fade Animation */
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
}

.gallery-item.fade-out {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

.gallery-item.fade-in {
    opacity: 1;
    transform: scale(1);
}

/* Lightbox Styles */
#gallery-lightbox {
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

#gallery-lightbox.show {
    opacity: 1;
    visibility: visible;
}

#lightbox-image {
    border-radius: 1rem 1rem 0 0;
    max-height: 70vh;
    width: 100%;
    object-fit: contain;
    background: #f8f9fa;
}

.lightbox-content {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

#gallery-lightbox.show .lightbox-content {
    transform: scale(1);
}

/* Navigation Buttons */
#lightbox-prev,
#lightbox-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#lightbox-prev:hover,
#lightbox-next:hover {
    background: var(--glacier-teal);
    transform: scale(1.1);
}

#lightbox-close {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

#lightbox-close:hover {
    background: rgba(220, 38, 38, 0.8);
    transform: scale(1.1);
}

/* Gallery Loading Animation */
.gallery-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    opacity: 0.6;
}

.gallery-loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 3px solid var(--glacier-teal);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Masonry Effect for Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

/* Gallery Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
    }
    
    .gallery-card {
        transform: none !important;
    }
    
    .gallery-card:hover {
        transform: translateY(-5px) !important;
    }
    
    .gallery-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    #lightbox-prev,
    #lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* === ARTICLE MODAL STYLES === */
#article-modal {
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

#article-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

.prose h2 {
    color: var(--deep-teal);
    font-family: var(--font-luxury-display);
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose h3 {
    color: var(--glacier-teal);
    font-family: var(--font-luxury-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.prose p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #374151;
}

.prose ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.prose strong {
    color: var(--deep-teal);
    font-weight: 600;
}

/* Article Modal Responsive */
@media (max-width: 768px) {
    #article-modal .max-w-4xl {
        max-width: 95vw;
        margin: 0 auto;
    }
    
    #article-modal .p-8 {
        padding: 1.5rem;
    }
    
    #article-modal .prose {
        font-size: 0.9rem;
    }
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--accent-color)) 1;
}

.shadow-luxury {
    box-shadow: 0 25px 50px rgba(161, 98, 7, 0.15);
}

/* Social Media Luxury Icons */
.social-icon-luxury {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.social-icon-luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--glacier-teal), var(--golden-dome));
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.3s ease;
}

.social-icon-luxury:hover::before {
    opacity: 0.1;
}

.social-icon-luxury:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(44, 95, 93, 0.3);
}

/* Social Media Luxury Cards */
.social-card-luxury {
    display: inline-block;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--surface-premium) 0%, var(--surface-warm) 100%);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 95, 93, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 100px;
}

.social-card-luxury::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--glacier-teal), var(--golden-dome));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-card-luxury:hover::before {
    opacity: 0.05;
}

.social-card-luxury:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(44, 95, 93, 0.15);
    border-color: rgba(44, 95, 93, 0.2);
}

.social-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

/* Instagram Hover Effect */
.social-icon-header:has(.fa-instagram):hover {
    color: #E4405F !important;
}

.social-card-luxury:has(.fa-instagram) .fab:hover {
    color: #E4405F !important;
}

/* Header Social Icons */
.social-icon-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--surface-premium) 0%, var(--surface-warm) 100%);
    color: var(--glacier-teal);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(44, 95, 93, 0.1);
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

.social-icon-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--glacier-teal), var(--golden-dome));
    opacity: 0;
    border-radius: inherit;
    transition: opacity 0.3s ease;
}

.social-icon-header:hover::before {
    opacity: 0.1;
}

.social-icon-header:hover {
    transform: translateY(-1px) scale(1.05);
    box-shadow: 0 4px 12px rgba(44, 95, 93, 0.2);
    color: var(--golden-dome);
}

.social-whatsapp:hover {
    color: #25D366 !important;
}

/* ===== PREMIUM ANIMATIONS & EFFECTS ===== */

/* Interactive Cursor Effects */
.cursor-trail {
    position: fixed;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--glacier-teal) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease-out;
}

/* Interactive Image Hover with Tilt */
.image-tilt {
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.image-tilt:hover {
    transform: perspective(1000px) rotateY(5deg) rotateX(5deg) scale(1.02);
}

/* Interactive Card Flip Effect */
.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 200px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flip-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--glacier-teal), var(--golden-dome));
    color: white;
}

/* Interactive Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(44, 95, 93, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--glacier-teal), var(--golden-dome));
    border-radius: 4px;
    transform: translateX(-100%);
    transition: transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.progress-bar.animate .progress-fill {
    transform: translateX(0%);
}

/* Interactive Tooltips */
.tooltip {
    position: relative;
    cursor: pointer;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip::before {
    content: '';
    position: absolute;
    bottom: 115%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip:hover::after,
.tooltip:hover::before {
    opacity: 1;
    visibility: visible;
}

/* Interactive Particle Background */
.particles-bg {
    position: relative;
    overflow: hidden;
}

.particles-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(44, 95, 93, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(210, 105, 30, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(44, 95, 93, 0.02) 0%, transparent 50%);
    animation: float-gentle 20s ease-in-out infinite;
    pointer-events: none;
}

/* ===== SECTION-SPECIFIC VISUAL EFFECTS ===== */

/* Hero Section Parallax Effect */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.hero-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        45deg,
        rgba(44, 95, 93, 0.1) 0%,
        rgba(210, 105, 30, 0.05) 50%,
        rgba(44, 95, 93, 0.1) 100%
    );
    animation: shimmer 8s ease-in-out infinite;
    pointer-events: none;
}

/* About Section Spotlight Effect */
.about-spotlight {
    position: relative;
}

.about-spotlight::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(
        circle at center,
        rgba(247, 245, 241, 0.8) 0%,
        rgba(247, 245, 241, 0.4) 40%,
        transparent 70%
    );
    animation: breathe 8s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Gallery Section Masonry Effect */
.gallery-masonry {
    columns: 3;
    column-gap: 1rem;
}

.gallery-masonry .gallery-item {
    break-inside: avoid;
    margin-bottom: 1rem;
    transform: translateY(20px);
    opacity: 0;
    animation: slideInUp 0.6s ease-out forwards;
}

.gallery-masonry .gallery-item:hover {
    transform: scale(1.05) rotate(1deg);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Contact Section Glow Effect */
.contact-glow {
    position: relative;
    background: var(--surface-premium);
}

.contact-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        ellipse at center,
        rgba(44, 95, 93, 0.05) 0%,
        transparent 70%
    );
    animation: pulse-glow 4s ease-in-out infinite;
    pointer-events: none;
}

/* Services Cards 3D Transform */
.service-card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.4s ease;
}

.service-card-3d:hover {
    transform: rotateX(5deg) rotateY(5deg) translateZ(20px);
}

.service-card-3d::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10px;
    right: 10px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    filter: blur(10px);
    transform: translateZ(-50px);
    transition: all 0.4s ease;
}

.service-card-3d:hover::after {
    transform: translateZ(-50px) scale(1.1);
    opacity: 0.6;
}

/* Blog Section Typewriter Effect */
.typewriter-text {
    overflow: hidden;
    border-right: 2px solid var(--glacier-teal);
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--glacier-teal) }
}

/* Footer Aurora Effect */
.footer-aurora {
    position: relative;
    overflow: hidden;
}

.footer-aurora::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(44, 95, 93, 0.1) 25%,
        rgba(210, 105, 30, 0.1) 50%,
        rgba(44, 95, 93, 0.1) 75%,
        transparent 100%
    );
    animation: aurora 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes aurora {
    0%, 100% { transform: translateX(0%) }
    50% { transform: translateX(50%) }
}

/* Subtle Breathing Animation for Premium Elements */
@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(44, 95, 93, 0.1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(44, 95, 93, 0.2);
    }
}

/* Premium Hover Lift Effect */
.hover-lift {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hover-lift:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Shimmer Effect for Luxury Text */
.shimmer-text {
    background: linear-gradient(
        90deg,
        var(--glacier-teal) 25%,
        var(--golden-dome) 50%,
        var(--glacier-teal) 75%
    );
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Gentle Float Animation */
.float-gentle {
    animation: float-gentle 6s ease-in-out infinite;
}

/* Pulse Glow for Interactive Elements */
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Premium Button Ripple Effect */
.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-ripple:active::before {
    width: 300px;
    height: 300px;
}

/* Magnetic Hover Effect Enhanced */
.magnetic-hover {
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    cursor: pointer;
}

.magnetic-hover:hover {
    transform: translate3d(0, -2px, 0) scale(1.01);
}

/* Staggered Animation for Lists */
.stagger-animation {
    opacity: 0;
    transform: translateY(20px);
    animation: slideInUp 0.6s ease-out forwards;
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Social Cards */
@media (max-width: 768px) {
    .social-card-luxury {
        padding: 1rem;
        min-width: 80px;
    }
    
    .social-card-luxury .fab {
        font-size: 1.5rem !important;
    }
    
    .social-card-luxury span {
        font-size: 0.75rem;
    }
    
    /* Reduce animations on mobile for performance */
    .hover-lift:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .magnetic-hover:hover {
        transform: translate3d(0, -1px, 0);
    }
}

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    z-index: 1000;
    animation: slideInRight 0.3s ease;
}

.notification.success {
    background: #10b981;
}

.notification.error {
    background: #ef4444;
}

.notification.info {
    background: var(--primary-color);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Ripple Animation */
@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Glow Effect */
.active-glow {
    animation: enhancedGlow 2s ease-in-out infinite alternate;
}

@keyframes enhancedGlow {
    0% {
        box-shadow: 0 0 20px rgba(161, 98, 7, 0.3);
    }
    100% {
        box-shadow: 0 0 40px rgba(161, 98, 7, 0.6), 0 0 60px rgba(217, 119, 6, 0.4);
    }
}

/* 3D Transform Effects */
.transform-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-3d {
    transition: transform 0.5s ease;
}

.card-3d:hover {
    transform: rotateY(10deg) rotateX(10deg);
}

/* Stone Texture Effect */
.stone-texture {
    background: linear-gradient(135deg, 
        #f5f1e8 0%, 
        #d6cc99 25%, 
        #c4b589 50%, 
        #a89968 75%, 
        #8a7c5b 100%);
    background-size: 300% 300%;
    animation: stoneShift 8s ease-in-out infinite;
}

@keyframes stoneShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Mountain Mist Effect */
.mountain-mist {
    position: relative;
    overflow: hidden;
}

.mountain-mist::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, transparent 20%, rgba(148, 163, 184, 0.1) 50%, transparent 80%);
    animation: mistMove 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes mistMove {
    0%, 100% { transform: translate(-10%, -10%) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
}

/* Ancient Architecture Effect */
.ancient-arch {
    position: relative;
    background: linear-gradient(145deg, #d6cc99, #a89968);
    border: 1px solid rgba(168, 153, 104, 0.3);
}

/* Image Enhancement */
.enhanced-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter: contrast(1.15) brightness(1.1) saturate(1.1) sharpen(1px);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.profile-focus {
    object-position: center top;
    image-rendering: high-quality;
}

.ancient-arch::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a89968' fill-opacity='0.1'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.05;
    pointer-events: none;
}

/* Gradient Text Effect */
.gradient-text {
    background: linear-gradient(45deg, #a16207, #d97706, #a16207);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s ease infinite;
}

/* Scenic Logo Styles - Caucasus Inspired */
.scenic-logo {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, 
        rgba(245, 241, 232, 0.95) 0%, 
        rgba(214, 204, 153, 0.9) 50%, 
        rgba(161, 98, 7, 0.05) 100%
    );
    border-radius: 20px;
    border: 2px solid rgba(161, 98, 7, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.scenic-logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #a16207, #d97706, #92400e, #a16207);
    background-size: 300% 300%;
    border-radius: 20px;
    z-index: -1;
    animation: logoGlow 4s ease infinite;
    opacity: 0;
}

.scenic-logo:hover::before {
    opacity: 0.3;
}

@keyframes logoGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Logo Animato MP4 Styles */
.logo-video-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 350px;
    overflow: visible;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(44, 95, 93, 0.15);
    background: linear-gradient(135deg, 
        rgba(245, 241, 232, 0.9) 0%, 
        rgba(247, 245, 241, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(210, 105, 30, 0.4);
    /* Debug temporaneo */
    background-color: rgba(210, 105, 30, 0.1) !important;
}

.logo-video {
    height: 75px;
    width: auto;
    max-width: 340px;
    min-width: 200px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
    /* Debug temporaneo */
    border: 1px solid red;
    background: rgba(0,255,0,0.1);
}

.logo-video-container:hover .logo-video {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.logo-fallback {
    padding: 0.5rem 1rem;
    text-align: center;
}

.logo-fallback h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--golden-dome);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.logo-fallback p {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    color: var(--glacier-teal);
}

/* Responsive adjustments for logo video */
@media (max-width: 768px) {
    .logo-video-container {
        height: 45px;
    }
    
    .logo-video {
        height: 45px;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .logo-video-container {
        height: 40px;
    }
    
    .logo-video {
        height: 40px;
        max-width: 150px;
    }
}

.logo-emblem {
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 0.75rem;
}

.logo-mountain {
    font-size: 1.8rem;
    color: var(--mountain-rose);
    filter: drop-shadow(2px 2px 4px rgba(245, 241, 232, 0.4));
    animation: mountainFloat 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.logo-wine {
    font-size: 1.6rem;
    color: var(--forest-emerald);
    margin: 0 -0.2rem;
    animation: wineFloat 3s ease-in-out infinite 1s;
    position: relative;
    z-index: 3;
}

.logo-fire {
    font-size: 1.7rem;
    color: var(--golden-dome);
    animation: fireFloat 3s ease-in-out infinite 2s;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(210, 105, 30, 0.4));
}

@keyframes mountainFloat {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    50% { transform: translateY(-3px) rotate(2deg); }
}

@keyframes wineFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-4px) scale(1.05); }
}

@keyframes fireFloat {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    50% { transform: translateY(-2px) rotate(-1deg); }
}

.logo-ornament {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a16207' fill-opacity='0.08'%3E%3Cpath d='M30 30l15-15v30l-15-15zm-15 0L0 15v30l15-15z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    pointer-events: none;
    animation: ornamentFlow 8s linear infinite;
}

@keyframes ornamentFlow {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.logo-text-primary {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #2C5F5D 0%, #2F4F4F 30%, #D2691E 60%, #A0522D 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
    text-shadow: 2px 2px 4px rgba(44, 95, 93, 0.2);
    line-height: 1.2;
}

.logo-text-secondary {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.75rem;
    color: #5F7A76;
    margin-top: 0.25rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-geometric-border {
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    border: 1px solid rgba(161, 98, 7, 0.15);
    border-radius: 16px;
    background: linear-gradient(45deg, 
        transparent 0%, 
        rgba(161, 98, 7, 0.05) 25%, 
        transparent 50%, 
        rgba(217, 119, 6, 0.05) 75%, 
        transparent 100%
    );
    background-size: 200% 200%;
    animation: borderFlow 6s ease infinite;
    pointer-events: none;
}

@keyframes borderFlow {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

/* Interactive logo effects */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4)); }
    50% { filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.8)); }
    100% { filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.4)); }
}

/* Logo hover states */
.logo-mountain:hover {
    color: #a16207 !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo-wine:hover {
    color: #dc2626 !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.logo-fire:hover {
    color: #f59e0b !important;
    cursor: pointer;
    transition: color 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.6));
}

/* Enhanced logo container effects */
.scenic-logo {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scenic-logo:hover .logo-ornament {
    animation-duration: 4s;
    opacity: 0.5;
}

.scenic-logo:hover .logo-geometric-border {
    border-color: rgba(161, 98, 7, 0.4);
    background-size: 150% 150%;
}

/* Logo positioning adjustments */
.logo-container-left {
    margin-left: -1.5rem;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .scenic-logo {
        padding: 0.4rem 0.8rem;
        border-radius: 15px;
    }
    
    .logo-mountain, .logo-wine, .logo-fire {
        font-size: 1.4rem;
    }
    
    .logo-text-primary {
        font-size: 1.1rem;
    }
    
    .logo-text-secondary {
        font-size: 0.65rem;
    }
    
    /* Mobile logo positioning */
    .logo-container-left {
        margin-left: -0.5rem;
    }
}

/* Logo tooltip effects */
.logo-mountain::after,
.logo-wine::after,
.logo-fire::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

.logo-mountain:hover::after,
.logo-wine:hover::after,
.logo-fire:hover::after {
    opacity: 1;
}

@keyframes gradientText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Quote Effects - Veronica's Inspirational Quotes */

/* Typewriter Effect */
.quote-typewriter {
    font-family: 'Crimson Text', 'Playfair Display', serif;
    font-size: clamp(1.1rem, 1.8vw, 1.4rem);
    font-weight: 400;
    font-style: italic;
    color: var(--glacier-teal);
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 4px rgba(44, 95, 93, 0.3);
    position: relative;
    background: var(--gradient-pearl);
    padding: 2rem 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(44, 95, 93, 0.15);
    backdrop-filter: blur(12px) saturate(150%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quote-typewriter:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(44, 95, 93, 0.15);
    background: rgba(245, 241, 232, 0.1);
}

.quote-typewriter::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent);
    transition: left 0.8s ease;
}

.quote-typewriter:hover::before {
    left: 100%;
}

/* Remove old typewriter animations and add new subtle effect */
.quote-typewriter::before {
    content: '❝';
    position: absolute;
    left: 15px;
    top: 10px;
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.6;
    line-height: 1;
}

.quote-typewriter::after {
    content: '❞';
    position: absolute;
    right: 15px;
    bottom: 10px;
    font-size: 2.5rem;
    color: var(--accent-color);
    opacity: 0.6;
    line-height: 1;
}

/* Floating Glow Quote */
.quote-floating-glow {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(135deg, #a16207, #d97706, #f59e0b);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: floatingGlow 4s ease-in-out infinite, gradientFlow 6s ease-in-out infinite;
    text-align: center;
    line-height: 1.6;
    text-shadow: 0 0 20px rgba(161, 98, 7, 0.3);
    position: relative;
}

.quote-floating-glow::before {
    content: '"';
    position: absolute;
    left: -20px;
    top: -10px;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.6;
}

.quote-floating-glow::after {
    content: '"';
    position: absolute;
    right: -20px;
    bottom: -10px;
    font-size: 2rem;
    color: var(--accent-color);
    opacity: 0.6;
}

@keyframes floatingGlow {
    0%, 100% { 
        transform: translateY(0px);
        filter: drop-shadow(0 5px 15px rgba(161, 98, 7, 0.3));
    }
    50% { 
        transform: translateY(-10px);
        filter: drop-shadow(0 10px 25px rgba(161, 98, 7, 0.5));
    }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Parallax Fade Quote */
.quote-parallax-fade {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: #1f2937;
    text-align: center;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(245, 241, 232, 0.8), rgba(214, 204, 153, 0.6));
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(161, 98, 7, 0.2);
}

.quote-parallax-fade.visible {
    opacity: 1;
    transform: translateY(0px);
}

.quote-parallax-fade::before {
    content: '❝';
    position: absolute;
    left: 10px;
    top: 10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.4;
    line-height: 1;
}

.quote-parallax-fade::after {
    content: '❞';
    position: absolute;
    right: 10px;
    bottom: 10px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.4;
    line-height: 1;
}

/* Shimmer Gradient Quote */
.quote-shimmer {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 500;
    font-style: italic;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.8) 0%, 
        rgba(161, 98, 7, 0.9) 25%, 
        rgba(217, 119, 6, 1) 50%, 
        rgba(161, 98, 7, 0.9) 75%, 
        rgba(255, 255, 255, 0.8) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s ease-in-out infinite;
    text-align: center;
    line-height: 1.5;
    position: relative;
}

@keyframes shimmer {
    0%, 100% { background-position: -200% 0; }
    50% { background-position: 200% 0; }
}

/* Signature styling */
.quote-signature {
    font-family: 'Cormorant Garamond', 'Playfair Display', serif;
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 600;
    color: var(--glacier-teal);
    margin-top: 1.5rem;
    text-align: right;
    opacity: 1;
    text-shadow: 0 2px 4px rgba(44, 95, 93, 0.2);
    position: relative;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.quote-signature::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--glacier-teal));
    opacity: 0.6;
}

.quote-signature:hover {
    transform: translateX(-5px);
    color: var(--golden-dome);
    text-shadow: 0 3px 6px rgba(210, 105, 30, 0.3);
}

.quote-signature:hover::before {
    background: linear-gradient(90deg, transparent, var(--golden-dome));
    opacity: 0.8;
}

/* ========================================
   STEP 4: ELEMENTI DECORATIVI ELEGANTI
   ======================================== */

/* Ornamenti Decorativi Luxury */
.ornament-golden {
    position: relative;
    display: inline-block;
}

.ornament-golden::before,
.ornament-golden::after {
    content: '❋';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--golden-dome);
    opacity: 0.7;
    animation: gentle-pulse 3s ease-in-out infinite;
}

.ornament-golden::before {
    left: -2.5rem;
}

.ornament-golden::after {
    right: -2.5rem;
}

@keyframes gentle-pulse {
    0%, 100% { opacity: 0.7; transform: translateY(-50%) scale(1); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.1); }
}

/* Bordi Decorativi Premium */
.border-luxury {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(var(--surface-color), var(--surface-color)) padding-box,
                linear-gradient(135deg, 
                    var(--golden-dome) 0%, 
                    var(--glacier-teal) 25%, 
                    var(--golden-dome) 50%, 
                    var(--glacier-teal) 75%, 
                    var(--golden-dome) 100%
                ) border-box;
    border-radius: clamp(0.5rem, 1vw, 1rem);
}

.border-luxury::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, 
        var(--golden-dome) 0%, 
        transparent 20%, 
        transparent 80%, 
        var(--golden-dome) 100%
    );
    border-radius: inherit;
    z-index: -1;
    opacity: 0.3;
    animation: border-glow 4s ease-in-out infinite;
}

@keyframes border-glow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Linee Decorative Eleganti */
.divider-elegant {
    position: relative;
    margin: clamp(2rem, 4vw, 4rem) auto;
    text-align: center;
    max-width: 300px;
}

.divider-elegant::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--glacier-teal) 20%, 
        var(--golden-dome) 50%, 
        var(--glacier-teal) 80%, 
        transparent 100%
    );
    transform: translateY(-50%);
}

.divider-elegant::after {
    content: '◆';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface-color);
    color: var(--golden-dome);
    padding: 0 1rem;
    font-size: 1.2rem;
    animation: diamond-rotate 6s linear infinite;
}

@keyframes diamond-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Corner Decorations */
.corner-luxury {
    position: relative;
}

.corner-luxury::before,
.corner-luxury::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--golden-dome);
    opacity: 0.6;
}

.corner-luxury::before {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.corner-luxury::after {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

/* Pattern Decorativo di Sfondo */
.pattern-luxury {
    position: relative;
    overflow: hidden;
}

.pattern-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(210, 105, 30, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(44, 95, 93, 0.05) 0%, transparent 50%);
    background-size: 80px 80px;
    background-position: 0 0, 40px 40px;
    animation: pattern-drift 20s linear infinite;
    z-index: -1;
}

@keyframes pattern-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

/* Hover Effects per Sezioni */
.section-luxury {
    transition: all 0.6s ease;
    position: relative;
}

.section-luxury:hover {
    transform: translateY(-2px);
}

.section-luxury:hover .ornament-golden::before,
.section-luxury:hover .ornament-golden::after {
    animation-duration: 1.5s;
    opacity: 1;
}

/* ========================================
   STEP 5: EFFETTI PREMIUM COLORI E MATERIALI
   ======================================== */

/* Gradienti Premium Avanzati */
.gradient-luxury-primary {
    background: linear-gradient(135deg, 
        var(--golden-dome) 0%,
        #d4740d 25%,
        var(--glacier-teal) 50%,
        #247573 75%,
        var(--golden-dome) 100%
    );
    background-size: 400% 400%;
    animation: gradient-luxury-flow 8s ease-in-out infinite;
}

@keyframes gradient-luxury-flow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Materiali Glassmorphism Premium */
.glass-premium {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-golden {
    background: rgba(210, 105, 30, 0.12);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(210, 105, 30, 0.15);
    box-shadow: 
        0 12px 40px rgba(210, 105, 30, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Effetti Metallici */
.metal-bronze {
    background: linear-gradient(135deg, 
        #cd7f32 0%, 
        #b8860b 25%, 
        #daa520 50%, 
        #b8860b 75%, 
        #cd7f32 100%
    );
    background-size: 300% 300%;
    animation: metal-shimmer 4s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metal-silver {
    background: linear-gradient(135deg, 
        #c0c0c0 0%, 
        #e6e6fa 25%, 
        #f8f8ff 50%, 
        #e6e6fa 75%, 
        #c0c0c0 100%
    );
    background-size: 300% 300%;
    animation: metal-shimmer 3s ease-in-out infinite;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes metal-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Texture Premium */
.texture-velvet {
    position: relative;
}

.texture-velvet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(139, 0, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(25, 25, 112, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(210, 105, 30, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

/* Ombre Premium Multistrato */
.shadow-luxury-deep {
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 8px 40px rgba(44, 95, 93, 0.12),
        0 16px 60px rgba(210, 105, 30, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.shadow-floating-luxury {
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.1),
        0 20px 80px rgba(44, 95, 93, 0.08),
        0 30px 120px rgba(210, 105, 30, 0.05);
    animation: luxury-float 6s ease-in-out infinite;
}

@keyframes luxury-float {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        box-shadow: 
            0 10px 40px rgba(0, 0, 0, 0.1),
            0 20px 80px rgba(44, 95, 93, 0.08),
            0 30px 120px rgba(210, 105, 30, 0.05);
    }
    50% { 
        transform: translateY(-8px) scale(1.02);
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.15),
            0 30px 100px rgba(44, 95, 93, 0.12),
            0 45px 140px rgba(210, 105, 30, 0.08);
    }
}

/* Effetti Luce Premium */
.glow-luxury {
    position: relative;
}

.glow-luxury::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        var(--golden-dome), 
        var(--glacier-teal), 
        var(--golden-dome)
    );
    border-radius: inherit;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.6;
    animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { opacity: 0.6; filter: blur(8px); }
    50% { opacity: 0.9; filter: blur(12px); }
}

/* Colori Interattivi Premium */
.color-morph {
    background: var(--surface-color);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.color-morph:hover {
    background: linear-gradient(135deg, 
        rgba(210, 105, 30, 0.05) 0%,
        rgba(44, 95, 93, 0.05) 100%
    );
    color: var(--golden-dome);
    text-shadow: 0 0 20px rgba(210, 105, 30, 0.3);
}

/* Button Premium Upgrade */
.btn-luxury-premium {
    background: linear-gradient(135deg, 
        var(--golden-dome) 0%,
        #d4740d 50%,
        var(--golden-dome) 100%
    );
    background-size: 200% 200%;
    color: white;
    padding: clamp(0.75rem, 2vw, 1rem) clamp(1.5rem, 4vw, 2rem);
    border: none;
    border-radius: clamp(0.5rem, 1vw, 0.75rem);
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s ease;
    box-shadow: 
        0 4px 20px rgba(210, 105, 30, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-luxury-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transition: left 0.6s ease;
}

.btn-luxury-premium:hover {
    background-position: 200% 0%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 8px 30px rgba(210, 105, 30, 0.4),
        0 15px 50px rgba(44, 95, 93, 0.2);
}

.btn-luxury-premium:hover::before {
    left: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .quote-typewriter { font-size: 1rem; }
    .quote-floating-glow { font-size: 1rem; }
    .quote-parallax-fade { 
        font-size: 1.1rem; 
        padding: 1.5rem;
    }
    .quote-shimmer { font-size: 0.9rem; }
    
    .ornament-golden::before { left: -1.5rem; }
    .ornament-golden::after { right: -1.5rem; }
    
    .divider-elegant { margin: 2rem auto; }
}

/* ===== ANIMAZIONI ICONE BLOG ===== */

/* Rotazione delicata delle icone al hover */
.blog-icon-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-icon-hover:hover i {
    transform: rotate(10deg) scale(1.1);
    transition: transform 0.3s ease;
}

/* Effetto "respirazione" per i cerchi delle icone */
@keyframes iconBreathe {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Applicazione dell'animazione ai cerchi delle icone negli articoli */
.group:hover .rounded-full {
    animation: iconBreathe 2s ease-in-out infinite;
}

/* Movimento ondulatorio delle icone */
@keyframes iconWave {
    0% { transform: translateY(0px); }
    33% { transform: translateY(-4px); }
    66% { transform: translateY(2px); }
    100% { transform: translateY(0px); }
}

.group:hover .flex.space-x-4 > div:nth-child(1) {
    animation: iconWave 1.2s ease-in-out infinite;
    animation-delay: 0s;
}

.group:hover .flex.space-x-4 > div:nth-child(2) {
    animation: iconWave 1.2s ease-in-out infinite;
    animation-delay: 0.2s;
}

.group:hover .flex.space-x-4 > div:nth-child(3) {
    animation: iconWave 1.2s ease-in-out infinite;
    animation-delay: 0.4s;
}

/* Glow effect per le icone */
@keyframes iconGlow {
    0%, 100% { 
        filter: brightness(1);
    }
    50% { 
        filter: brightness(1.2) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    }
}

.group:hover .fas {
    animation: iconGlow 1.5s ease-in-out infinite;
}

/* Scala progressiva delle icone */
@keyframes iconScale {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.group:hover .rounded-full {
    animation: iconScale 0.3s ease-out forwards;
}

/* Effetto parallax leggero per i cerchi colorati */
@keyframes parallaxFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    25% { transform: translateY(-2px) translateX(1px); }
    50% { transform: translateY(-1px) translateX(2px); }
    75% { transform: translateY(-3px) translateX(1px); }
}

.group:hover .bg-gradient-to-br {
    animation: parallaxFloat 2.5s ease-in-out infinite;
}

/* Transizioni più fluide per i gradienti */
.bg-gradient-to-br {
    background-size: 150% 150%;
    transition: background-position 0.5s ease, transform 0.3s ease;
}

.group:hover .bg-gradient-to-br {
    background-position: 100% 100%;
}

/* Pulse effect per attirare l'attenzione */
@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.group:hover .shadow-lg {
    animation: subtlePulse 1s ease-in-out infinite;
}

/* Rotazione delle icone su mobile (più delicata) */
@media (max-width: 768px) {
    .blog-icon-hover:hover i {
        transform: rotate(5deg) scale(1.05);
    }
    
    .group:hover .rounded-full {
        animation: iconBreathe 3s ease-in-out infinite;
    }
}

/* Effetto magnetico per le cards degli articoli */
@keyframes cardMagnet {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

.blog-card-hover:hover {
    animation: cardMagnet 0.3s ease-out forwards;
}