/* Reset e base styles */
* {
    box-sizing: border-box;
}

/* Font imports */
/*@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700&family=Quicksand:wght@300;400;500;600;700&display=swap');*/

/* CSS Custom Properties per i colori */
:root {
    --color-primary: #444649;
    --color-secondary: #374151;
    --color-accent: #f59e0b;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-300: #d1d5db;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    
    /* Typography */
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Quicksand', sans-serif;
    
    /* Font sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1.125rem;
    --text-lg: 1.25rem;
    --text-xl: 1.375rem;
    --text-2xl: 1.625rem;
    --text-3xl: 2rem;
    --text-4xl: 2.5rem;
    --text-5xl: 3.25rem;
    --text-6xl: 4rem;
    --text-7xl: 5rem;
}

/* Base typography */
body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    /*line-height: 1.6;*/
    color: var(--color-gray-700);
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading) !important;
    font-weight: 600;
    color: var(--color-primary);
}

/* Gallery Modal - non disponibile in Tailwind */
.gallery-modal {
    @apply hidden fixed inset-0 z-1000 bg-black bg-opacity-90;
}

.gallery-modal img {
    @apply mx-auto block w-4/5 max-w-2xl mt-16;
}

/* Prose styles per contenuto Markdown */
.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    font-family: var(--font-heading) !important;
    font-weight: 600;
    color: var(--color-primary);
}

.prose h1 {
    font-size: var(--text-5xl);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.prose h2 {
    font-size: var(--text-2xl);
    /*margin-bottom: 2rem;*/
    margin-top: 2rem;
}

.prose h3 {
    font-size: var(--text-xl);
    /*margin-bottom: 1.5rem;*/
    margin-top: 1.5rem;
}

.prose p {
    font-size: var(--text-base);
    line-height: 1.4;
    margin-bottom: 1.2rem;
    /*line-height: 1.8;*/
    /*margin-bottom: rem;*/
    /*color: var(--color-gray-700);*/
}

.prose ul,
.prose ol {
    margin-bottom: 2rem;
}

.prose li {
    font-size: var(--text-base);
    /*line-height: 1.7;*/
    /*margin-bottom: 0.5rem;*/
}


/* Gallery grid per progetti */
.project-gallery {
    margin: 2rem 0;
}

.project-gallery .swiper {
    height: 400px;
}

@media (max-width: 768px) {
    .project-gallery .swiper {
        height: 300px;
    }
}

/* Hover effects personalizzati */
.hover-lift:hover {
    @apply -translate-y-1 transition-transform duration-300 ease-in-out;
}

.gallery-item img {
    @apply transition-transform duration-300 ease-in-out;
}

.gallery-item:hover img {
    @apply scale-105;
}

/* Responsive video container */
.video-container {
    @apply relative h-0 overflow-hidden;
    padding-bottom: 56.25%;
}

.video-container iframe {
    @apply absolute inset-0 w-full h-full;
}

/* ...existing code... */

/* Mobile menu animations */
#mobile-menu {
    transition: all 0.3s ease-in-out;
}

/* Hamburger icon animation */
[aria-controls="mobile-menu"] svg {
    transition: transform 0.3s ease-in-out;
}

/* Optional: Add slide-down animation */
#mobile-menu:not(.hidden) {
    animation: slideDown 0.3s ease-out;
}

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

/* ...existing code... */