/* ================================
   CHI SONO - CUSTOM STYLES
   ================================ */

/* Font override per mantenere coerenza con index.php */
body {
    font-family: 'Poppins', sans-serif !important;
}

/* Ripristino font specifici per il contenuto della pagina chi-sono */
.hero-about,
.professional-story,
.office-location,
.cta-section {
    font-family: 'Inter', sans-serif;
}

.hero-title,
.section-title,
.story-intro h3,
.timeline-content h4,
.expertise-card h3,
.values-card h3,
.contact-card h3,
.hours-card h3 {
    font-family: 'Playfair Display', serif;
}

/* Menu identico alla index.php */
.nav-logo h2 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
}

.nav-logo span {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.9rem !important;
    color: #667eea !important;
    margin-top: -5px !important;
}

.nav-link {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 500 !important;
    color: #333 !important;
    text-decoration: none !important;
    transition: color 0.3s ease !important;
}

.nav-link:hover {
    color: #4a90e2 !important;
}

.nav-link.active {
    color: #4a90e2 !important;
}

/* Footer identico alla index.php */
.footer {
    font-family: 'Poppins', sans-serif !important;
}

.footer h3,
.footer h4,
.footer p {
    font-family: 'Poppins', sans-serif !important;
}

/* Pulsanti CTA con font Poppins */
.btn-consulenza,
.btn-consulenza span {
    font-family: 'Poppins', sans-serif !important;
}

/* Header e tutti gli elementi di navigazione */
.header,
.navbar,
.nav-container {
    font-family: 'Poppins', sans-serif !important;
}

/* Hamburger menu mobile */
.hamburger {
    font-family: 'Poppins', sans-serif !important;
}

/* Skip link per accessibilità */
.skip-to-main {
    font-family: 'Poppins', sans-serif !important;
}

/* Assicuriamo la visibilità dei pulsanti floating */
.floating-cta,
.whatsapp-chat {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.floating-btn,
.whatsapp-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    pointer-events: auto !important;
}

/* Forza gli stili dei pulsanti floating specificamente per questa pagina */
.floating-cta {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
}

.whatsapp-chat {
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
}

.floating-btn {
    width: 60px !important;
    height: 60px !important;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e4080 100%) !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 1.5rem !important;
    box-shadow: 0 4px 20px rgba(44, 90, 160, 0.4) !important;
    text-decoration: none !important;
}

.whatsapp-btn {
    width: 60px !important;
    height: 60px !important;
    background: #25d366 !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 1.8rem !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4) !important;
    text-decoration: none !important;
}

/* Prevenzione tremore durante il caricamento */
.hero-about .hero-content {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.hero-about.loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.stat-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.stat-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.image-frame {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.image-frame.loaded {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section About */
.hero-about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/studio-hero-bg.jpg') center/cover no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 2rem 0;
}

.hero-text {
    color: white;
}

.hero-subtitle {
    display: block;
    font-size: 1.1rem;
    color: #3498db;
    margin-bottom: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-highlight {
    display: block;
    color: #3498db;
    font-size: 0.8em;
}

.title-main {
    display: block;
    background: linear-gradient(45deg, #fff, #ecf0f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #ecf0f1;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #3498db;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    color: #bdc3c7;
    margin-top: 0.5rem;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    /* Rimuovo transform iniziale per evitare conflitti */
}

.image-frame.loaded {
    transform: rotate(3deg);
    transition: transform 0.3s ease;
}

.image-frame.loaded:hover {
    transform: rotate(0deg) scale(1.02);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 400px;
    border-radius: 20px;
}

.image-decoration {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    border-radius: 50%;
    opacity: 0.8;
    z-index: -1;
}

/* Professional Story Section */
.professional-story {
    padding: 6rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle {
    display: block;
    font-size: 1rem;
    color: #3498db;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-description {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-intro h3 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.story-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 3rem;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3498db, #2980b9);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease;
}

.timeline-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.timeline-marker {
    position: absolute;
    left: -2.5rem;
    top: 0;
    width: 3rem;
    height: 3rem;
    background: #3498db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #3498db;
}

.timeline-content h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Sidebar Cards */
.story-sidebar {
    position: sticky;
    top: 2rem;
}

.expertise-card,
.values-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border-top: 4px solid #3498db;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.expertise-card.animate-in,
.values-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.expertise-card h3,
.values-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.expertise-list li:last-child {
    border-bottom: none;
}

.expertise-list i {
    color: #27ae60;
    font-size: 1.1rem;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.value-item:last-child {
    margin-bottom: 0;
}

.value-item i {
    color: #3498db;
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.value-item h4 {
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.value-item p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Office Location Section */
.office-location {
    padding: 6rem 0;
    background: white;
}

.office-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-card,
.hours-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-card.animate-in,
.hours-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.contact-card h3,
.hours-card h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: #3498db;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    min-width: 20px;
}

.contact-item strong {
    display: block;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.contact-item p {
    margin: 0;
    color: #666;
}

.contact-item a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #2980b9;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.hours-item:last-of-type {
    border-bottom: none;
}

.hours-item.closed {
    opacity: 0.6;
}

.hours-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #7f8c8d;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Google Maps */
.map-container {
    position: relative;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.google-map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9), rgba(44, 62, 80, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.map-button {
    background: white;
    color: #2c3e50;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.map-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-info {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
}

.map-info h4 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.map-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.map-info li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #666;
}

.map-info li:last-child {
    margin-bottom: 0;
}

.map-info i {
    color: #3498db;
    width: 16px;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .office-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-about {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-marker {
        left: -2rem;
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .professional-story,
    .office-location {
        padding: 4rem 0;
    }
    
    .map-container {
        height: 300px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .professional-story,
    .office-location {
        padding: 3rem 0;
    }
    
    .expertise-card,
    .values-card,
    .contact-card,
    .hours-card {
        padding: 1.5rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .stat-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Skip to main content link */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #3498db;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-to-main:focus {
    top: 6px;
}

/* Animazioni per performance */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus indicators per accessibilità */
button:focus,
a:focus,
input:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .cta-section,
    .map-container {
        display: none;
    }
    
    .hero-about {
        background: none;
        color: black;
        page-break-after: always;
    }
    
    .professional-story {
        page-break-inside: avoid;
    }
} 

/* ================================
   NUOVI STILI MAPPA GOOGLE MAPS
   ================================ */

/* Contenitore mappa Google Maps */
.google-map-embed {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

.google-map-embed:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.google-map-embed iframe {
    width: 100%;
    height: 400px;
    border: none;
    transition: filter 0.3s ease;
}

/* Griglia trasporti migliorata */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0 2rem;
}

.transport-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.transport-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-left-color: #667eea;
}

.transport-item:nth-child(1) {
    border-left-color: #3498db;
}

.transport-item:nth-child(2) {
    border-left-color: #e74c3c;
}

.transport-item:nth-child(3) {
    border-left-color: #f39c12;
}

.transport-item:nth-child(4) {
    border-left-color: #27ae60;
}

.transport-item i {
    font-size: 1.5rem;
    margin-top: 0.2rem;
    min-width: 24px;
}

.transport-item:nth-child(1) i {
    color: #3498db;
}

.transport-item:nth-child(2) i {
    color: #e74c3c;
}

.transport-item:nth-child(3) i {
    color: #f39c12;
}

.transport-item:nth-child(4) i {
    color: #27ae60;
}

.transport-item div {
    flex: 1;
}

.transport-item strong {
    display: block;
    color: #2c3e50;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.transport-item p {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Azioni mappa */
.map-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-map, .btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid;
}

.btn-map {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.btn-map:hover {
    background: #5a6fd8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-phone {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-phone:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Title con emoji */
.map-info h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 600;
}

/* Responsive mappa */
@media (max-width: 768px) {
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0 1.5rem;
    }
    
    .transport-item {
        padding: 1rem;
    }
    
    .transport-item i {
        font-size: 1.3rem;
    }
    
    .map-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-map, .btn-phone {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
    
    .google-map-embed iframe {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .transport-item {
        padding: 0.8rem;
    }
    
    .transport-item strong {
        font-size: 0.9rem;
    }
    
    .transport-item p {
        font-size: 0.8rem;
    }
    
    .google-map-embed iframe {
        height: 250px;
    }
} 