/* ========================================
   INF-COM-AJUSTAR-SEU-BARCO-NA-CARRETA PAGE STYLES
======================================== */

/* ========================================
   HERO BANNER STYLES
======================================== */
.hero-banner {
    background-image: url('../../img/informativos/como-ajustar-seu-barco-na-carreta.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 80px 0;
    min-height: 50vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 62, 80, 0.7);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    animation: slideInLeft 1s ease-out;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero-buttons .btn:hover::before {
    left: 100%;
}

.hero-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    animation: slideInRight 1s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.8s; }
.feature-item:nth-child(2) { animation-delay: 1.0s; }
.feature-item:nth-child(3) { animation-delay: 1.2s; }

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2);
}

.feature-item span {
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========================================
   SECTION STYLES
======================================== */
.section-conteudo {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.section-conteudo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0), #f8f9fa);
    z-index: 1;
}

.section-conteudo .container {
    position: relative;
    z-index: 2;
}

/* ========================================
   CONTENT CARD STYLES
======================================== */
.content-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e9ecef;
    position: relative;
    overflow: hidden;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.content-header {
    animation: fadeInUp 1s ease-out;
}

.content-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    position: relative;
}

.content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    border-radius: 2px;
}

.content-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   VIDEO CONTAINER STYLES
======================================== */
.video-container {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.video-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-player {
    width: 100%;
    height: auto;
    max-height: 500px;
    display: block;
    transition: transform 0.3s ease;
}

.video-player:hover {
    transform: scale(1.02);
}

.video-info {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.video-info p {
    font-size: 1rem;
    color: #6c757d;
    margin: 0;
}

/* ========================================
   CONTENT TEXT STYLES
======================================== */
.content-text {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.info-section {
    margin-bottom: 2.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.info-section:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.1);
}

.info-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.info-section h3 i {
    margin-right: 0.5rem;
}

.tips-list,
.precautions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list li,
.precautions-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    position: relative;
    padding-left: 2rem;
    color: #495057;
    line-height: 1.6;
}

.tips-list li:last-child,
.precautions-list li:last-child {
    border-bottom: none;
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
}

.precautions-list li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ========================================
   CTA SECTION STYLES
======================================== */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.cta-buttons .btn {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-buttons .btn:hover {
    transform: translateY(-2px);
}

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 991.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .content-title {
        font-size: 2rem;
    }
    
    .cta-section h3 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-banner {
        padding: 60px 0;
        min-height: 40vh;
        background-attachment: scroll;
    }
    
    .hero-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
    }
    
    .hero-buttons {
        text-align: center;
    }
    
    .hero-features {
        margin-top: 2rem;
    }
    
    .feature-item {
        padding: 0.75rem 1rem;
    }
    
    .section-conteudo {
        padding: 60px 0;
    }
    
    .content-card {
        padding: 2rem;
        border-radius: 15px;
    }
    
    .content-title {
        font-size: 1.8rem;
    }
    
    .video-player {
        max-height: 300px;
    }
    
    .info-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .info-section h3 {
        font-size: 1.3rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .content-card {
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    .content-title {
        font-size: 1.5rem;
    }
    
    .video-player {
        max-height: 250px;
    }
    
    .info-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .info-section h3 {
        font-size: 1.2rem;
    }
    
    .tips-list li,
    .precautions-list li {
        padding: 0.5rem 0;
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    
    .cta-section h3 {
        font-size: 1.8rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
}

/* ========================================
   ANIMATIONS
======================================== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   UTILITY CLASSES
======================================== */
.min-vh-50 {
    min-height: 50vh;
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.gradient-blue {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.gradient-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}
