@charset "utf-8";
/* CSS Document */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        :root {
            --color-primary: #644141;
            --color-secondary: #B8B08B;
            --color-accent: #F2D492;
            --color-highlight: #F29559;
            --color-teal: #006D77;
            --color-bg: #fafaf8;
            --color-text: #2d2d2d;
            --color-text-light: #666;
        }
        
        body {
            font-family: 'Raleway', sans-serif;
            background-color: var(--color-bg);
            color: var(--color-text);
            line-height: 1.7;
        }
        
        /* Header e Menu */
        header {
            background: linear-gradient(135deg, var(--color-primary) 0%, #7a5252 100%);
            padding: 1.2rem 0;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .logo {
            font-size: 1.6rem;
            font-weight: 700;
            color: #ffffff;
            text-decoration: none;
            letter-spacing: 0.5px;
            transition: opacity 0.3s;
        }
        
        .logo:hover {
            opacity: 0.9;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 2.5rem;
        }
        
        nav ul li a {
            color: #ffffff;
            text-decoration: none;
            font-weight: 500;
            font-size: 0.95rem;
            transition: color 0.3s;
            position: relative;
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--color-accent);
            transition: width 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* Hero Section con Slideshow */
        .hero {
            position: relative;
            min-height: 600px;
            overflow: hidden;
            background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
        }
        
        .slide {
            position: absolute;
            width: 100%;
            height: 100%;
            display: none;
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }
        
        .slide.active {
            display: flex;
            opacity: 1;
        }
        
        .slide-content {
            display: flex;
            align-items: center;
            gap: 4rem;
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
            width: 100%;
        }
        
        .slide-image {
            flex: 0 0 350px;
            height: 466px;
            background: #ffffff;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            color: var(--color-primary);
            transition: transform 0.3s;
        }
        
        .slide-image:hover {
            transform: translateY(-10px);
        }
        
        .slide-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .slide-text {
            flex: 1;
            color: var(--color-text);
        }
        
        .slide-text h2 {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            line-height: 1.2;
            color: var(--color-primary);
        }
        
        .slide-text p {
            font-size: 1.2rem;
            margin-bottom: 2rem;
            line-height: 1.8;
            color: var(--color-text-light);
        }
        
        .slide-btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: linear-gradient(135deg, var(--color-highlight) 0%, #e08549 100%);
            color: #ffffff;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1rem;
            transition: all 0.3s;
            box-shadow: 0 4px 15px rgba(242, 149, 89, 0.3);
        }
        
        .slide-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(242, 149, 89, 0.4);
        }
        
        .slide-controls {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
        }
        
        .slide-dot {
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.4);
            cursor: pointer;
            transition: all 0.3s;
            border: 2px solid transparent;
        }
        
        .slide-dot:hover {
            background-color: rgba(255, 255, 255, 0.6);
        }
        
        .slide-dot.active {
            background-color: var(--color-primary);
            border-color: #ffffff;
            width: 40px;
            border-radius: 7px;
        }
        
        /* Sezione Introduttiva */
        .intro-section {
            padding: 5rem 0;
            background: #ffffff;
        }
        
        .intro-content {
            max-width: 800px;
            margin: 0 auto;
            text-align: center;
        }
        
        .intro-content h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--color-primary);
        }
        
        .intro-content p {
            font-size: 1.15rem;
            line-height: 1.9;
            color: var(--color-text-light);
            margin-bottom: 1.5rem;
        }
        
        /* Galleria Libri */
        .books-section {
            padding: 5rem 0;
            background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
        }
        
        .section-title h2 {
            font-size: 2.8rem;
            font-weight: 700;
            color: var(--color-primary);
            margin-bottom: 1rem;
        }
        
        .section-title p {
            font-size: 1.1rem;
            color: var(--color-text-light);
        }
        
        .books-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 2.5rem;
            margin-top: 3rem;
        }
        
        .book-card {
            background: #ffffff;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            transition: all 0.3s;
            display: flex;
            flex-direction: column;
        }
        
        .book-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        }
        
        .book-cover {
            width: 100%;
            aspect-ratio: 3/4;
            background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 5rem;
            color: var(--color-primary);
            position: relative;
            overflow: hidden;
        }
        
        .book-cover img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .book-info {
            padding: 2rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        .book-info h3 {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0.5rem;
            color: var(--color-primary);
            line-height: 1.3;
        }
        
        .book-author {
            font-size: 0.95rem;
            color: var(--color-teal);
            font-weight: 600;
            margin-bottom: 1rem;
        }
        
        .book-excerpt {
            font-size: 0.95rem;
            color: var(--color-text-light);
            line-height: 1.6;
            margin-bottom: 1.5rem;
            flex: 1;
        }
        
        .book-link {
            display: inline-block;
            padding: 0.8rem 1.8rem;
            background: linear-gradient(135deg, var(--color-teal) 0%, #005560 100%);
            color: #ffffff;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s;
            text-align: center;
        }
        
        .book-link:hover {
            transform: translateX(5px);
            box-shadow: 0 4px 15px rgba(0, 109, 119, 0.3);
        }
        
		.book-title-link {
  			  color: var(--color-primary);
  			  text-decoration: none;
		}

		.book-title-link:hover {
   			 text-decoration: underline;
		}
		
        /* Chi Sono Section */
        .about-section {
            padding: 5rem 0;
            background: #ffffff;
        }
        
        .two-columns {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }
        
        .about-image {
            width: 100%;
            aspect-ratio: 4/5;
            background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-accent) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 6rem;
            color: var(--color-primary);
            box-shadow: 0 20px 60px rgba(0,0,0,0.1);
        }
        
        .about-text h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            color: var(--color-primary);
        }
        
        .about-text p {
            font-size: 1.05rem;
            line-height: 1.8;
            color: var(--color-text-light);
            margin-bottom: 1.5rem;
        }
        
        /* Footer */
        footer {
            background: linear-gradient(135deg, var(--color-primary) 0%, #7a5252 100%);
            color: #ffffff;
            padding: 3rem 0 1.5rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 3rem;
            margin-bottom: 2rem;
        }
        
        .footer-section h3 {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--color-accent);
        }
        
        .footer-section p,
        .footer-section a {
            color: rgba(255, 255, 255, 0.8);
            line-height: 1.8;
            text-decoration: none;
            display: block;
            margin-bottom: 0.5rem;
            transition: color 0.3s;
        }
        
        .footer-section a:hover {
            color: var(--color-accent);
        }
        
        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 1.5rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.7);
            font-size: 0.9rem;
        }
		.footer-bottom a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            margin-bottom: 0.5rem;
            transition: color 0.3s;
        }

        
        /* Responsive */
        @media (max-width: 768px) {
            nav ul {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .slide-content {
                flex-direction: column;
                text-align: center;
                gap: 2rem;
                padding: 3rem 1.5rem;
            }
            
            .slide-image {
                flex: 0 0 280px;
                height: 373px;
            }
            
            .slide-text h2 {
                font-size: 2rem;
            }
            
            .slide-text p {
                font-size: 1rem;
            }
            
            .books-grid {
                grid-template-columns: 1fr;
            }
            
            .two-columns {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
            
            .section-title h2 {
                font-size: 2rem;
            }
            
            .intro-content h2 {
                font-size: 2rem;
            }
        }
        
        /* Animations */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .fade-in {
            animation: fadeInUp 0.8s ease-out;
        }
       /* responsive foto autore aggiunto con claude 8.02.26 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

#chi-sono img {
    max-width: 100%;
    height: auto;
    width: 100%;
}