/*
 Theme Name: OceanWP Child
 Theme URI: https://labanchina.it
 Description: Child theme per La Banchina
 Author: Luis
 Template: oceanwp
 Version: 1.0.0
*/



/* ============ HERO SECTION ============ */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #FAF9F6;
    overflow: hidden;
}

/* Overlay scuro per leggibilità */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(28, 28, 28, 0.5) 0%,
        rgba(155, 174, 138, 0.4) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 30px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-content h1 {
    font-size: 64px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 25px;
    font-family: 'Serif', Georgia, serif;
    letter-spacing: 1px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.95;
    margin-bottom: 50px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Bottoni Hero */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: #D4A574;
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
}

.btn-primary:hover {
    background: #c09960;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 45px;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 2px solid rgba(250, 249, 246, 0.5);
    border-radius: 35px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: rgba(250, 249, 246, 0.15);
    border-color: rgba(250, 249, 246, 0.8);
    transform: translateY(-3px);
}

/* Rating Google (opzionale) */
.hero-rating {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 3;
}

.hero-rating-stars {
    color: #FFD700;
    font-size: 24px;
    margin-bottom: 8px;
}

.hero-rating-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.hero-rating-platform {
    font-size: 13px;
    color: #666;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

/* ============ SEZIONI CONTENUTO ============ */
.content-section {
    padding: 120px 30px;
    position: relative;
    overflow: hidden;
}

.content-section:nth-child(even) {
    background: #f9f9f9;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Titoli Sezioni */
.section-title {
    font-size: 48px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 20px;
    color: #9BAE8A;
    font-family: 'Serif', Georgia, serif;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #D4A574;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 300;
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Grid Layout per Contenuti */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.content-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.content-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #9BAE8A 0%, #8a9d7d 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.content-card-icon svg {
    width: 30px;
    height: 30px;
    color: white;
}

.content-card h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 15px;
    color: #333;
}

.content-card p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin: 0;
}

/* Layout Immagine + Testo */
.content-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
}

.content-row.reverse {
    flex-direction: row-reverse;
}

.content-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.05);
}

.content-text {
    flex: 1;
}

.content-text h3 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 25px;
    color: #9BAE8A;
    font-family: 'Serif', Georgia, serif;
}

.content-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.content-text ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.content-text ul li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
    font-size: 16px;
    color: #555;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9BAE8A;
    font-weight: bold;
    font-size: 20px;
}

/* ============ SEZIONE CONTATTI ============ */
.contact-section {
    background: linear-gradient(135deg, #9BAE8A 0%, #8a9d7d 100%);
    color: white;
    padding: 100px 30px;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background: white;
}

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

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.contact-item h3 {
    font-size: 20px;
    font-weight: 500;
    margin: 0;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: #D4A574;
    transform: translateY(-2px);
}

/* ============ ANIMAZIONI ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animate-in {
    opacity: 1;
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.slide-up.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============ RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 50px;
    }
    
    .hero-subtitle {
        font-size: 19px;
    }
    
    .hero-rating {
        position: static;
        transform: none;
        display: inline-block;
        margin-top: 40px;
    }
    
    .content-section {
        padding: 80px 20px;
    }
    
    .section-title {
        font-size: 40px;
    }
    
    .content-row {
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        background-attachment: scroll; /* Disabilita parallax su mobile */
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
        font-size: 14px;
    }
    
    .content-section {
        padding: 60px 15px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .content-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .content-row.reverse {
        flex-direction: column;
    }
    
    .content-text h3 {
        font-size: 28px;
    }
    
    .content-text p {
        font-size: 16px;
    }
    
    .contact-section {
        padding: 60px 15px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
}

/* Mobile piccolo */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .content-card {
        padding: 30px 20px;
    }
    
    .content-text h3 {
        font-size: 24px;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: 100px 20px 80px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* ============ PRINT ============ */
@media print {
    .hero-section {
        background: white;
        color: black;
    }
    
    .hero-section::before {
        display: none;
    }
    
    .hero-buttons,
    .scroll-indicator {
        display: none;
    }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-section {
        background-attachment: scroll !important;
    }
}
