/* Estilos personalizados para combinar com o design */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
}

/* ===== Header & Navigation ===== */
.site-header {
    background-color: #0d0d0d;
    padding: 0.1rem 0;
}

.site-header .logo {
    width: 7rem;
    transition: width 0.3s ease-in-out;
}

.nav-link {
    position: relative;
    transition: color 0.3s ease;
    padding-bottom: 8px;
    background: linear-gradient(135deg, #f3d18a, #c5a47e, #b88a4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f3d18a, #c5a47e);
    transition: all 0.3s ease-in-out;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Correção para o menu mobile */
#mobile-menu a {
    background: none;
    -webkit-text-fill-color: #f3d18a; /* Dourado claro para legibilidade */
}

#mobile-menu a:hover {
    color: #ffffff; /* Branco ao passar o mouse */
    -webkit-text-fill-color: #ffffff;
}


/* ===== Efeitos Gerais ===== */
.font-serif-display {
    font-family: 'Playfair Display', serif;
}
.bg-brand-dark {
    background-color: #0d0d0d;
}
.bg-brand-light {
    background-color: #ffffff;
}
.text-gradient-gold {
    background: linear-gradient(135deg, #f3d18a, #c5a47e, #b88a4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-cta {
    background-color: #25D366;
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 14px 0 rgba(37, 211, 102, 0.3);
}
.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px 0 rgba(37, 211, 102, 0.4);
}

/* ===== Galeria com Rolagem Automática ===== */
@keyframes scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.scrolling-gallery {
    overflow: hidden;
    position: relative;
    width: 100%;
}
.scrolling-gallery:before,
.scrolling-gallery:after {
    content: '';
    position: absolute;
    top: 0;
    width: 5rem;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to left, rgba(13, 13, 13, 0), #0d0d0d);
}
.scrolling-gallery:after {
    right: 0;
    background: linear-gradient(to right, rgba(13, 13, 13, 0), #0d0d0d);
}
.scrolling-gallery-track {
    display: flex;
    width: fit-content;
    animation: scroll 40s linear infinite;
}
.gallery-slide {
    flex-shrink: 0;
    width: 20rem;
    aspect-ratio: 4 / 3;
    padding: 0 0.75rem;
}
@media (min-width: 768px) {
    .gallery-slide { width: 28rem; }
}

/* ===== Card de Curso Otimizado ===== */
.course-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(135deg, #f3d18a, #c5a47e) 1;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.course-card .title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}
.course-card .description {
    font-weight: 400;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}
