<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">:root {
    --primary-color: #7ec4cf;
    --primary-dark: #5ca4b0;
    --dark-color: #2f3e46;
    --light-color: #f8f9fa;
}

/* Common Styles */
body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    background-color: var(--light-color);
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Homepage Styles */
.name-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 3rem;
}

/* Navigation Buttons */
.nav-btn {
    border: 2px solid var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-btn:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(126, 196, 207, 0.2);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.4s ease;
    z-index: -1;
}

.nav-btn:hover::before {
    width: 100%;
}

/* Animations */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Social Icons */
.social-icon {
    color: var(--dark-color);
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Back Button */
.back-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s;
}

.back-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Cards */
.card {
    transition: all 0.3s;
}

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

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-dot {
    position: absolute;
    left: -44px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Project Cards */
.project-img {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.tech-badge {
    background-color: rgba(126, 196, 207, 0.1);
    color: var(--primary-dark);
    border: 1px solid rgba(126, 196, 207, 0.3);
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(126, 196, 207, 0.25);
}

.btn-submit {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-submit:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Map Container */
#map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #dee2e6;
}

/* Progress Bars */
.progress {
    height: 8px;
    border-radius: 4px;
}

.progress-bar {
    background-color: var(--primary-color);
}

.skill-level {
    color: var(--primary-dark);
    font-weight: 600;
}

/* Education Cards */
.edu-card {
    border-top: 4px solid var(--primary-color);
    transition: all 0.3s;
}

.edu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(126, 196, 207, 0.15);
}

/* Experience Cards */
.exp-card {
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.exp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(126, 196, 207, 0.15);
}

/* Modal Styles - NEW */
.project-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    z-index: 1000;
    overflow-y: auto;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    position: relative;
    animation: modalFadeIn 0.3s;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-dark);
    transition: all 0.3s;
}

.close-modal:hover {
    transform: rotate(90deg);
    color: var(--dark-color);
}

.modal-header {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-body {
    padding: 20px 0;
}

.modal-footer {
    border-top: 2px solid var(--primary-color);
    padding-top: 20px;
    margin-top: 20px;
    text-align: right;
}

.btn-read-more {
    background-color: var(--primary-dark);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-read-more:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .timeline {
        padding-left: 30px;
    }
    
    .timeline-dot {
        left: -34px;
    }
}

/* Aggiungi queste regole alla fine del file esistente */

/* Photography Gallery Styles */
.photo-project-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
}

.gallery-folder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1/1;
    transition: all 0.3s ease;
}

.gallery-folder:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(126, 196, 207, 0.3);
}

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

.folder-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 15px;
    color: white;
}

.folder-title {
    margin: 0;
    font-size: 1.1rem;
}

.folder-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 5px;
}

.download-folder {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.9);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
    border: none;
    cursor: pointer;
}

.gallery-folder:hover .download-folder {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    overflow: auto;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.lightbox-header {
    padding: 15px;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.lightbox-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox-footer {
    padding: 15px;
    background: rgba(0,0,0,0.7);
    text-align: center;
}

.lightbox-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}</pre></body></html>