/* ============================================
   PUNTO FESTE - Main Stylesheet
   Modern, Festive & Responsive Design
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Primary Colors - Festive Gradient */
    --primary: #FF6B9D;
    --primary-dark: #E91E63;
    --secondary: #7C4DFF;
    --secondary-dark: #651FFF;
    
    /* Accent Colors */
    --accent-orange: #FF9F43;
    --accent-yellow: #FFD93D;
    --accent-teal: #4ECDC4;
    --accent-purple: #A855F7;

    /* Brand Lime Green */
    --accent-lime: #A3E635;
    --lime-dark: #65A30D;
    --lime-text: #3F6212;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --light: #F8F9FA;
    --light-gray: #E9ECEF;
    --gray: #6C757D;
    --dark-gray: #495057;
    --dark: #212529;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF6B9D 0%, #7C4DFF 100%);
    --gradient-secondary: linear-gradient(135deg, #FFD93D 0%, #FF9F43 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #FF6B9D 100%);
    --gradient-cta: linear-gradient(135deg, #FF6B9D 0%, #FF9F43 50%, #FFD93D 100%);
    --gradient-lime: linear-gradient(135deg, #A3E635 0%, #65A30D 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Pacifico', cursive;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-width: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-color: 0 10px 40px rgba(255, 107, 157, 0.3);
    --shadow-lime: 0 10px 40px rgba(101, 163, 13, 0.35);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Z-Index */
    --z-header: 1000;
    --z-modal: 2000;
    --z-preloader: 9999;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============================================
   Utility Classes
   ============================================ */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: var(--section-padding);
}

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

.highlight {
    color: var(--primary);
}

/* ============================================
   Preloader
   ============================================ */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: var(--z-preloader);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    gap: 15px;
}

.loader .balloon {
    width: 20px;
    height: 25px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: bounce 0.6s ease-in-out infinite;
}

.loader .balloon:nth-child(1) {
    background: var(--primary);
    animation-delay: 0s;
}

.loader .balloon:nth-child(2) {
    background: var(--secondary);
    animation-delay: 0.2s;
}

.loader .balloon:nth-child(3) {
    background: var(--accent-lime);
    animation-delay: 0.4s;
}

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

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: var(--z-header);
    transition: var(--transition-normal);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1340px;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-img {
    height: 58px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    transition: var(--transition-normal);
}

/* Logo switch per homepage: mostra bianco su hero, colorato quando scrolled */
.logo-white {
    display: block;
}

.logo-color {
    display: none;
}

.header.scrolled .logo-white {
    display: none;
}

.header.scrolled .logo-color {
    display: block;
}

.logo-icon {
    font-size: 2rem;
}

.logo-text {
    color: var(--dark);
}

.header:not(.scrolled) .logo-text {
    color: var(--white);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    font-weight: 500;
    color: var(--white);
    position: relative;
    padding: 5px 0;
    white-space: nowrap;
}

.header.scrolled .nav-link {
    color: var(--dark);
}

.nav-link:hover,
.nav-link.active,
.header.scrolled .nav-link:hover,
.header.scrolled .nav-link.active {
    color: var(--lime-dark);
}

.header:not(.scrolled) .nav-link:hover,
.header:not(.scrolled) .nav-link.active {
    color: var(--accent-lime);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-lime);
    transition: var(--transition-normal);
}

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

.nav-cta {
    background: var(--gradient-primary);
    color: var(--white) !important;
    padding: 10px 25px !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-color);
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 107, 157, 0.4);
}

/* Header Social Icons */
.nav-social {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 8px;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.header.scrolled .nav-social {
    border-left-color: rgba(0, 0, 0, 0.1);
}

/* Shop badge in header */
.nav-shop-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: var(--radius-lg);
    background: var(--gradient-secondary);
    color: var(--dark);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
    cursor: default;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.header.scrolled .social-link {
    background: var(--light);
    color: var(--dark);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-color);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: var(--transition-normal);
}

.header.scrolled .hamburger,
.header.scrolled .hamburger::before,
.header.scrolled .hamburger::after {
    background: var(--dark);
}

.hamburger::before,
.hamburger::after {
    content: '';
}

.hamburger::before {
    transform: translateY(-8px);
}

.hamburger::after {
    transform: translateY(5px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--gradient-hero);
    overflow: hidden;
    padding-top: 80px;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #A3E635 0%, #FFD93D 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-buttons .btn-secondary {
    border-color: var(--accent-lime);
    color: var(--accent-lime);
}

.hero-buttons .btn-secondary:hover {
    background: var(--gradient-lime);
    border-color: var(--accent-lime);
    color: var(--dark);
    box-shadow: var(--shadow-lime);
}

/* Floating Elements */
.floating-elements {
    position: relative;
    width: 100%;
    height: 400px;
}

.float-emoji {
    position: absolute;
    font-size: 4rem;
    animation: float 3s ease-in-out infinite;
}

.float-1 { top: 10%; left: 20%; animation-delay: 0s; }
.float-2 { top: 30%; right: 10%; animation-delay: 0.5s; }
.float-3 { bottom: 30%; left: 10%; animation-delay: 1s; }
.float-4 { top: 50%; left: 50%; animation-delay: 1.5s; }
.float-5 { bottom: 10%; right: 20%; animation-delay: 2s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 120px;
}

.hero-wave path {
    fill: var(--white);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    cursor: pointer;
}

.btn-primary {
    background: var(--white);
    color: #C2185B;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.btn-light {
    background: var(--white);
    color: #C2185B;
}

.btn-light:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background: var(--white);
    color: #C2185B;
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark);
}

.section-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 5px;
    margin: 18px auto 0;
    border-radius: var(--radius-full);
    background: var(--gradient-lime);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: var(--light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
}

.feature-card:nth-child(even) .feature-icon {
    background: var(--gradient-lime);
}

.feature-card:nth-child(even):hover {
    box-shadow: var(--shadow-lime);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   Categories Section
   ============================================ */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    height: 240px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.category-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.15) 55%, rgba(0, 0, 0, 0.05) 100%);
    transition: var(--transition-normal);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-card:hover .category-img {
    transform: scale(1.08);
}

.category-card h3 {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 1.35rem;
    font-weight: 600;
    margin: 0 20px 24px;
    align-self: flex-start;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.category-arrow {
    position: absolute;
    z-index: 2;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition-normal);
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--gradient-cta);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 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='%23ffffff' 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");
}

.cta-content {
    position: relative;
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    background: var(--light);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    margin-bottom: 20px;
}

.testimonial-stars i {
    color: var(--accent-yellow);
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
}

.author-info strong {
    display: block;
    color: var(--dark);
}

.author-info span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 35px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 25px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin: 10px 0 15px;
    line-height: 1.5;
    font-size: 0.85rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
    font-size: 0.9rem;
}

.footer-social a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 6px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-links ul li {
    margin-bottom: 6px;
}

.footer-links ul a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-normal);
    font-size: 0.85rem;
}

.footer-links ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact ul li {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
    font-size: 0.85rem;
}

.footer-contact ul li i {
    color: var(--primary);
    font-size: 0.9rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-contact ul a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.footer-bottom p.credits {
    font-size: 0.75rem;
    margin-bottom: 0;
}

.footer-bottom p.credits a {
    color: #ff6b4a;
    font-weight: 600;
    transition: var(--transition-normal);
}

.footer-bottom p.credits a:hover {
    color: #ff8f75;
    text-decoration: underline;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
    color: var(--primary);
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* ============================================
   Page Header (for internal pages)
   ============================================ */
.page-header {
    background: var(--gradient-hero);
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
}

.page-header h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 15px;
}

.page-header .breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb a:hover {
    color: var(--white);
}

.page-header .breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive Styles
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 25px;
        padding: 40px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-normal);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--dark);
        font-size: 1.1rem;
    }
    
    .nav-social {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }
    
    .nav-social .social-link {
        background: var(--light);
        color: var(--dark);
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 35px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact ul li {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        height: 160px;
    }
    
    .page-header h1 {
        font-size: 2.2rem;
    }
}

/* ============================================
   Confetti Animation (optional)
   ============================================ */
.confetti-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confetti-fall 3s linear infinite;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   Form Styles (for contact page)
   ============================================ */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(255, 107, 157, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* ============================================
   Card Styles (generic)
   ============================================ */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-normal);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.card-content {
    padding: 25px;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.card-text {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   Lightbox (.pf-lightbox) - componente globale
   ============================================ */
.pf-lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.pf-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.pf-lightbox-figure {
    margin: 0;
    max-width: 92%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.pf-lightbox-figure img {
    max-width: 100%;
    max-height: 82vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.pf-lightbox-caption {
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
}

.pf-lightbox-close,
.pf-lightbox-prev,
.pf-lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: var(--white);
    cursor: pointer;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-normal);
}

.pf-lightbox-close {
    top: 22px;
    right: 26px;
    width: 48px;
    height: 48px;
    font-size: 2rem;
    line-height: 1;
}

.pf-lightbox-prev,
.pf-lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
}

.pf-lightbox-prev { left: 26px; }
.pf-lightbox-next { right: 26px; }

.pf-lightbox-close:hover,
.pf-lightbox-prev:hover,
.pf-lightbox-next:hover {
    background: var(--gradient-primary);
}

@media (max-width: 768px) {
    .pf-lightbox { padding: 16px; }
    .pf-lightbox-close { top: 12px; right: 14px; width: 42px; height: 42px; }
    .pf-lightbox-prev { left: 10px; }
    .pf-lightbox-next { right: 10px; }
    .pf-lightbox-prev,
    .pf-lightbox-next { width: 44px; height: 44px; }
}

