/* Estilos para a página Digital Aligner Day */

/* Hero Section */
.dad-hero {
    background: linear-gradient(180deg, #f9fcff 0%, #f5fbff 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dad-hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.dad-hero .hero-tag {
    display: block;
    background: #0070e0;
    color: #fff;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 auto 25px;
    font-size: 1em;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 112, 224, 0.2);
    transition: all 0.3s ease;
    width: fit-content;
}

.dad-hero .hero-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 112, 224, 0.3);
    background: linear-gradient(135deg, #0070e0, #39aeff);
}

.dad-hero h1 {
    font-size: 3.2em;
    color: #0a2540;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.dad-hero h1 .highlight {
    color: #0070e0;
    font-weight: 700;
}

.dad-hero h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #0070e0;
    border-radius: 3px;
}

.dad-hero p {
    font-size: 1.2em;
    color: #505a68;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Animação para os elementos */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-element {
    animation: fadeInUp 1s forwards;
}

/* Event Details Section */
.dad-details {
    padding: 100px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,112,224,0.05);
}

.dad-details::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0,112,224,0.04) 0%, rgba(0,112,224,0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float-slow 20s infinite ease-in-out;
}

.dad-details::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: 10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0,112,224,0.03) 0%, rgba(0,112,224,0) 70%);
    border-radius: 50%;
    z-index: 1;
    animation: float-slow 15s infinite ease-in-out reverse;
}

.dad-content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 112, 224, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

.dad-content-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 112, 224, 0.1);
}

.dad-icon-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,112,224,0.1) 0%, rgba(0,168,255,0.05) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 112, 224, 0.15);
    transition: all 0.4s ease;
}

.dad-content-wrapper:hover .dad-icon-wrapper {
    transform: rotateY(15deg) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 112, 224, 0.25);
}

.dad-icon {
    font-size: 3.5em;
    color: #0070e0;
    background: linear-gradient(135deg, #0070e0, #00a2ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 8px rgba(0, 112, 224, 0.3));
    transition: all 0.4s ease;
}

.dad-content-wrapper:hover .dad-icon {
    transform: scale(1.1);
}

.dad-text-content {
    flex: 1;
}

.dad-text-content h2 {
    font-size: 2.6em;
    color: #0a2540;
    margin-bottom: 30px;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    background: linear-gradient(135deg, #0a2540, #0070e0);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

.dad-text-content h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0070e0, #00a2ff);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.dad-content-wrapper:hover .dad-text-content h2::after {
    width: 120px;
}

.dad-text-content p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #505a68;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(255,255,255,0.7);
}

.dad-text-content h3 {
    font-size: 1.8em;
    color: #0a2540;
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    position: relative;
    display: inline-block;
}

.dad-text-content h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #0070e0, #00a2ff);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.dad-content-wrapper:hover .dad-text-content h3::after {
    width: 70px;
}

.dad-text-content ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px 30px;
}

.dad-text-content ul li {
    font-size: 1.1em;
    color: #505a68;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background-color: rgba(255,255,255,0.7);
    border-radius: 10px;
    border: 1px solid rgba(0,112,224,0.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.dad-text-content ul li:hover {
    transform: translateY(-5px) translateX(0);
    background-color: rgba(255,255,255,0.9);
    box-shadow: 0 8px 20px rgba(0,112,224,0.1);
    border-color: rgba(0,112,224,0.1);
}

.dad-text-content ul li i {
    color: white;
    margin-right: 15px;
    font-size: 1em;
    background: linear-gradient(135deg, #0070e0, #00a2ff);
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,112,224,0.2);
    transition: all 0.4s ease;
}

.dad-text-content ul li:hover i {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 6px 16px rgba(0,112,224,0.3);
}

/* Gallery Section */
.dad-gallery {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #f0f8ff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dad-gallery::before {
    content: '';
    position: absolute;
    top: 30px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,112,224,0.05) 0%, rgba(0,112,224,0) 70%);
}

.dad-gallery::after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,112,224,0.05) 0%, rgba(0,112,224,0) 70%);
}

.dad-gallery .container {
    position: relative;
    z-index: 2;
}

.dad-gallery h2 {
    font-size: 2.5em;
    font-weight: 600;
    color: #0a2540;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.dad-gallery h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #0070e0, #00a2ff);
    border-radius: 3px;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(0,112,224,0.05);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,112,224,0.2) 0%, rgba(0,168,255,0) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    border-radius: 16px;
}

.gallery-item::after {
    content: '\f00e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    color: white;
    font-size: 2em;
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,112,224,0.2);
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: block;
    transform: scale(1.01);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* CTA Section */
.dad-cta {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f7ff 100%);
    color: #0a2540;
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(0,112,224,0.08);
}

.dad-cta::before,
.dad-cta::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 1;
}

.dad-cta::before {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,112,224,0.05) 0%, rgba(0,112,224,0) 70%);
    top: -150px;
    right: -100px;
    animation: float-slow 15s infinite ease-in-out;
}

.dad-cta::after {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,112,224,0.04) 0%, rgba(0,112,224,0) 70%);
    bottom: -100px;
    left: -80px;
    animation: float-slow 18s infinite ease-in-out reverse;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(15px); }
    50% { transform: translateY(0) translateX(0); }
    75% { transform: translateY(15px) translateX(-15px); }
}

.dad-cta .container {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 112, 224, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 900px;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s ease;
}

.dad-cta .container:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 112, 224, 0.15);
}

.dad-cta .container::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0,112,224,0.03) 0%, rgba(0,112,224,0) 70%);
    border-radius: 50%;
    z-index: -1;
}

.dad-cta h2 {
    font-size: 2.6em;
    margin-bottom: 30px;
    font-weight: 700;
    color: #0a2540;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #0a2540, #0070e0);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.05));
}

.dad-cta h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #0070e0, #00a2ff);
    border-radius: 4px;
    transition: width 0.4s ease;
}

.dad-cta .container:hover h2::after {
    width: 120px;
}

.dad-cta p {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    color: #505a68;
    opacity: 0.9;
}

.dad-cta .btn-lg {
    padding: 18px 40px;
    font-size: 1.2em;
    background: linear-gradient(135deg, #0070e0, #00a2ff);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 25px rgba(0,112,224,0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-decoration: none;
    display: inline-block;
}

.dad-cta .btn-lg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #005bbf, #0070e0);
    transition: width 0.4s ease;
    z-index: -1;
}

.dad-cta .btn-lg:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,112,224,0.4);
    color: white;
}

.dad-cta .btn-lg:hover::before {
    width: 100%;
}

.dad-cta .btn-lg:active {
    transform: translateY(-2px);
}

/* Responsividade */
@media (max-width: 991px) {
    .dad-hero {
        padding: 80px 0 60px;
    }
    
    .dad-hero h1 {
        font-size: 2.8em;
    }
    
    .dad-content-wrapper {
        gap: 30px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .dad-hero {
        padding: 60px 0 40px;
    }
    
    .dad-hero h1 {
        font-size: 2.5em;
    }
    
    .dad-hero p {
        font-size: 1.1em;
        padding: 0 15px;
    }
    
    .dad-content-wrapper {
        flex-direction: column; /* Empilha em telas menores */
        align-items: center; /* Centraliza o ícone */
        text-align: center;
        gap: 20px;
    }
    
    .dad-text-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .dad-details, .dad-gallery, .dad-cta {
        padding: 60px 0;
    }
    
    .dad-gallery h2, .dad-cta h2 {
        font-size: 2.2em;
    }
    
    .dad-text-content ul li {
        justify-content: center;
    }
    
    .dad-cta .btn-lg {
        padding: 14px 28px;
        font-size: 1.1em;
    }
    
    .dad-icon {
        margin-bottom: 20px;
    }
    
    .dad-text-content h2, .dad-gallery h2, .dad-cta h2 {
        font-size: 1.8em;
    }
    
    .dad-text-content p, .dad-cta p {
        font-size: 1em;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr; /* Uma coluna para galeria */
    }
}
