/* Variables */
:root {
    --primary-color: #FF0080;
    --secondary-color: #000000;
    --accent-color: #FFFFFF;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --gradient-1: linear-gradient(135deg, #FF0080 0%, #FF1493 100%);
    --gradient-2: linear-gradient(135deg, #FF1493 0%, #FF69B4 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo img {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
    position: relative;
}

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

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

.cta-link {
    background: var(--gradient-1);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    transition: var(--transition);
}

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

.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

/* Hero Section with Slider */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    z-index: 1;
}

/* Slider Container */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Slider Navigation Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
}

.slider-btn-prev {
    left: 30px;
}

.slider-btn-next {
    right: 30px;
}

.slider-btn i {
    pointer-events: none;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: var(--transition);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}

.dot.active {
    background: white;
    width: 30px;
    border-radius: 10px;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    max-width: 800px;
    width: 100%;
    padding: 0 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.hero-content.active {
    opacity: 1;
    visibility: visible;
}

.hero-logo {
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-logo img {
    height: 150px;
    width: 150px;
    margin: 0 auto;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: var(--shadow-lg);
}

.hero-logo-text {
    display: block;
    margin: 20px auto;
    max-width: 100%;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease 0.4s both;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: inline-block;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.6s both;
    opacity: 1;
    font-weight: 500;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.6);
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
    display: inline-block;
}


.btn-primary {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.8s both;
    box-shadow: var(--shadow-md);
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    color: white;
    opacity: 0.8;
}

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

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

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

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Transformation Section */
.transformation {
    padding: 100px 20px;
    background: white;
    overflow: hidden;
    margin-top: 0;
    position: relative;
    z-index: 2;
}

.transformation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.transformation-text {
    padding-right: 20px;
}

.transformation-text .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.transformation-text .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.transformation-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.transformation-features {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 40px;
    margin-top: 5px;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    line-height: 1.7;
}

.transformation-cta {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.transformation-cta p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.btn-secondary {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

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

/* Interactive Image Container */
.transformation-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: none;
    aspect-ratio: 3/4;
}

.before-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.after-reveal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    clip-path: circle(0px at 50% 50%);
    transition: clip-path 0.3s ease;
}

.after-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reveal Circle - follows mouse */
.reveal-circle {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5),
                inset 0 0 20px rgba(255, 0, 128, 0.3);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Hover Hint */
.hover-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 128, 0.95);
    color: white;
    padding: 20px 30px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    animation: pulse-hint 2s infinite;
    z-index: 5;
    pointer-events: none;
}

.hover-hint i {
    font-size: 1.5rem;
}

@keyframes pulse-hint {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Hide hint on hover */
.image-container:hover .hover-hint {
    opacity: 0;
}

.image-container:hover .reveal-circle {
    opacity: 1;
}

/* Image Labels */
.image-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 10px;
}

.label-before,
.label-after {
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    padding: 8px 20px;
    border-radius: 20px;
}

.label-before {
    background: var(--bg-light);
    color: var(--text-light);
}

.label-after {
    background: var(--gradient-1);
    color: white;
}

/* Portfolio Section - Categories */
.portfolio {
    padding: 100px 20px;
    background: var(--bg-light);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
    margin-top: 50px;
}

/* First 3 items: each spans 2 columns (3 items x 2 cols = 6 cols) */
.category-grid .category-card:nth-child(1),
.category-grid .category-card:nth-child(2),
.category-grid .category-card:nth-child(3) {
    grid-column: span 2;
}

/* Last 2 items: each spans 3 columns (2 items x 3 cols = 6 cols, centered) */
.category-grid .category-card:nth-child(4),
.category-grid .category-card:nth-child(5) {
    grid-column: span 3;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

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

.category-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 0, 128, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: var(--transition);
}

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

.category-overlay i {
    font-size: 3rem;
    color: white;
}

.category-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.category-info {
    padding: 25px;
}

.category-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.category-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.category-badge {
    display: inline-block;
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Gallery Pages Styles */
.page-header {
    position: relative;
    margin-top: 48px;
    padding: 100px 20px 40px;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    margin-bottom: 20px;
    transition: var(--transition);
    opacity: 0.9;
}

.back-link:hover {
    opacity: 1;
    transform: translateX(-5px);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.info-section {
    padding: 35px 20px;
    background: linear-gradient(135deg, #fff5f8 0%, #ffe8f0 100%);
    border-bottom: 1px solid #ffe0eb;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.info-item {
    background: white;
    padding: 30px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
}

/* Hover effect only on desktop devices with mouse */
@media (hover: hover) and (pointer: fine) {
    .info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(255, 0, 128, 0.15);
        border-color: var(--primary-color);
    }
}

.info-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
    line-height: 1;
}

.info-title {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    background: linear-gradient(135deg, #FF0080 0%, #FF4D9F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.info-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.info-item p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Info Dots Indicator */
.info-dots {
    display: none; /* Hidden on desktop */
    justify-content: center;
    gap: 8px;
    padding: 1px 0 2px 0;
    margin-top: 15px;
}

.info-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ddd;
    transition: all 0.3s ease;
    cursor: pointer;
}

.info-dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .info-dots {
        display: flex; /* Show on mobile */
    }

    .info-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }

    .info-grid::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    .info-section {
        padding: 30px 0;
    }

    .info-item {
        flex: 0 0 85vw;
        max-width: 350px;
        scroll-snap-align: center;
        padding: 25px 20px;
    }

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

    .info-title {
        font-size: 1rem;
        letter-spacing: 1.2px;
    }
}

.gallery-filters {
    padding: 20px 20px;
    background: white;
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.subfilter-group {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 500px;
        transform: translateY(0);
    }
}

.filter-label {
    display: block;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
    font-size: 0.95rem;
}

.filter-btn:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: var(--primary-color);
}

.subfilter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 20px;
}

/* Filtri scorrevoli orizzontalmente su mobile */
@media (max-width: 768px) {
    .filter-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 0 5px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .filter-buttons::-webkit-scrollbar {
        display: none;
    }

    .filter-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
    }

    .subfilter-btn {
        flex-shrink: 0;
    }
}

.gallery-section {
    padding: 60px 20px 100px;
    background: var(--bg-light);
    min-height: 60vh;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    background: white;
}

.gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

/* Gallery hover effects only on desktop devices with mouse */
@media (hover: hover) and (pointer: fine) {
    .gallery-item:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

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

    .gallery-item:hover .photo-count-badge {
        background: var(--primary-color);
        transform: scale(1.05);
    }
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 25px 20px;
    transition: var(--transition);
}

.gallery-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 8px;
}

.gallery-meta {
    font-size: 0.85rem;
    opacity: 0.95;
    margin: 5px 0 8px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.gallery-meta .meta-separator {
    margin: 0 8px;
    opacity: 0.6;
}

.photo-count-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.photo-count-badge i {
    font-size: 0.9rem;
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.cta-section {
    padding: 80px 20px;
    background: white;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: 100px 20px;
    background: white;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.step {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: var(--bg-light);
    transition: var(--transition);
    position: relative;
}

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

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-1);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 30px 0 20px;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.step p {
    color: var(--text-light);
    line-height: 1.8;
}

.info-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.info-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.info-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-box h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.info-box p {
    color: var(--text-light);
    line-height: 1.8;
}

/* About Section */
.about {
    padding: 100px 20px;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

.about-image-wrapper {
    position: relative;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-1);
    border-radius: 0px;
    z-index: -1;
}

.about-image img {
    width: 100%;
    border-radius: 0px;
}

/* Contact Section */
.contact {
    padding: 100px 20px;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
}

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

.contact-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-box h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-box p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.social-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.social-link:hover {
    transform: scale(1.05);
}

.contact-features {
    background: var(--gradient-1);
    padding: 25px;
    border-radius: 15px;
    color: white;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

.feature-item i {
    font-size: 1.3rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 25px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

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

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 15px;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

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

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    padding-left: 5px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 50%;
    font-size: 1.5rem;
    transition: var(--transition);
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .cta-link {
        display: block;
        width: calc(100% + 60px);
        margin-left: -30px;
        margin-right: -30px;
        border-radius: 0px;
        padding: 15px 30px;
        margin-top: 10px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    /* Slider buttons - adjust for mobile */
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-btn-prev {
        left: 15px;
    }

    .slider-btn-next {
        right: 15px;
    }

    .slider-dots {
        bottom: 80px;
    }

    /* Transformation section mobile */
    .transformation-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .transformation-text {
        padding-right: 0;
    }

    .transformation-text .section-title {
        text-align: center;
    }

    .transformation-text .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .hover-hint {
        display: none; /* Hide on mobile - users naturally tap images */
    }

    /* Portfolio grid - 2 columns on tablet */
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    /* Reset column spans for tablet - all items span full width */
    .category-grid .category-card:nth-child(1),
    .category-grid .category-card:nth-child(2),
    .category-grid .category-card:nth-child(3),
    .category-grid .category-card:nth-child(4),
    .category-grid .category-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }


    .section-title {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    /* Portfolio grid - 1 column on mobile */
    .category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 25px;
    }

    /* Ottimizzazione layout mobile per pagine categorie */
    .page-header {
        padding: 80px 20px 25px;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .info-section {
        padding: 15px 0;
    }

    .info-item {
        flex: 0 0 90vw;
        max-width: 320px;
        padding: 20px 15px;
    }

    .info-grid {
        gap: 12px;
        padding: 0 15px;
    }

    .info-icon {
        font-size: 1.5rem;
    }
}

/* Lightbox Metadata Styles */
.lightbox-meta-line {
    font-size: 1rem;
    opacity: 0.9;
    margin: 10px 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.lightbox-meta-line .meta-separator {
    margin: 0 10px;
    opacity: 0.6;
}

.lightbox-description {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.95;
    margin: 15px 0;
}

.lightbox-details {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-item {
    font-size: 0.95rem;
    opacity: 0.9;
}

.detail-item strong {
    color: #FF0080;
    margin-right: 8px;
}

.detail-item.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFD700;
}

@media (max-width: 768px) {
    .lightbox-meta-line {
        font-size: 0.9rem;
    }

    .lightbox-description {
        font-size: 0.95rem;
    }

    .detail-item {
        font-size: 0.85rem;
    }
}

/* Responsive Text Helpers */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }
}

/* Category Navigation Arrows - Portfolio Pro Style */
.nav-arrow {
    position: absolute;
    top: 120px; /* Aligned to h1 */
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 0, 128, 0.2);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.nav-arrow-prev {
    left: 30px;
}

.nav-arrow-next {
    right: 30px;
}

/* Tooltip */
.nav-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-tooltip-prev {
    left: 70px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-tooltip-next {
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hover Effects - Desktop Only */
@media (hover: hover) and (pointer: fine) {
    .nav-arrow:hover {
        background: var(--primary-color);
        color: white;
        box-shadow: 0 6px 25px rgba(255, 0, 128, 0.4);
    }

    .nav-arrow:hover .nav-tooltip {
        opacity: 1;
        visibility: visible;
    }

    .nav-arrow-prev:hover .nav-tooltip {
        left: 75px;
    }

    .nav-arrow-next:hover .nav-tooltip {
        right: 75px;
    }
}

/* Mobile Adjustment */
@media (max-width: 768px) {
    .nav-arrow {
        top: 100px; /* Aligned to h1 on mobile */
        width: 38px;
        height: 38px;
        font-size: 1rem;
        opacity: 0.9;
    }

    .nav-arrow-prev {
        left: 10px;
    }

    .nav-arrow-next {
        right: 10px;
    }

    /* Hide tooltips on mobile (no hover) */
    .nav-tooltip {
        display: none;
    }
}

/* Review Page Styles */
.review-section {
    padding: 120px 20px 80px;
    background: var(--bg-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.review-logo {
    display: block;
    width: 150px;
    height: auto;
    margin: 0 auto 30px auto;
    border-radius: 10px;
}

.review-section .section-title {
    display: block;
    text-align: center;
    margin: 0 auto 20px auto;
    left: auto;
    transform: none;
}

.review-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.review-button {
    margin-bottom: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.review-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
    font-size: 0.95rem;
    color: #856404;
    line-height: 1.6;
}

.copy-button {
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.copy-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.copy-button i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .review-section {
        padding: 100px 15px 60px;
    }

    .review-logo {
        width: 120px;
    }

    .review-section .section-title {
        font-size: 2rem;
    }

    .review-intro {
        font-size: 1.1rem;
    }

    .review-note {
        font-size: 0.9rem;
        padding: 15px;
    }
}