/*--------------GROEPSLESSEN PAGE--------------------*/

/* Intro Section - using exact same styling as index pages */
.groepslessen-intro {
    text-align: center;
    padding: 5rem 2rem;
}

.groepslessen-intro .mid_logo {
    height: 25vh;
}

.groepslessen-intro p {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.35rem;
    color: #6495ED;
    margin-bottom: 0;
}

.groepslessen-intro h1 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    color: #00008B;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* Groepslessen Section */
.groepslessen-section {
    padding: 60px 50px 100px;
    background-color: #f8f9fa;
}

.lessen-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1300px;
    margin: 0 auto;
    align-items: start;
}

.les-box {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    height: auto;
}

.les-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12), 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #dee2e6;
}

.les-image-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.les-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.les-box:hover .les-image {
    transform: scale(1.05);
}

.les-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 31, 92, 0.85) 0%, rgba(0, 31, 92, 0.65) 40%, rgba(0, 31, 92, 0.3) 70%, transparent 100%);
    padding: 35px 25px 25px;
    color: white;
    text-align: center;
    backdrop-filter: blur(2px);
}

.les-intro-text {
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 18px 0;
    font-weight: 700;
    opacity: 0.95;
    letter-spacing: 0.2px;
}

.lees-meer-btn {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: white;
    padding: 10px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Work Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lees-meer-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.lees-meer-btn:active {
    transform: translateY(0);
}

.lees-meer-btn i {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 11px;
}

.les-title {
    padding: 32px 30px 20px;
    text-align: center;
}

.les-expandable:not(.expanded) + .book-button {
    margin-top: 0;
}

.les-expandable.expanded {
    border-top: 1px solid #f1f3f5;
}

.les-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.75rem;
    color: #001F5C;
    margin: 0;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.les-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    flex-shrink: 0;
}

.les-expandable.expanded {
    max-height: 600px;
    background-color: #f8f9fa;
}

.expandable-content {
    padding: 0;
    border-top: none;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.les-expandable.expanded .expandable-content {
    padding: 25px 30px 25px;
    border-top: 1px solid #e9ecef;
    opacity: 1;
}

.expandable-content p {
    font-size: 15px;
    line-height: 1.85;
    color: #495057;
    margin: 0 0 18px 0;
    font-weight: 400;
}

.expandable-content p:last-child {
    margin-bottom: 0;
}

.expandable-content p:first-child {
    margin-top: 0;
}

.book-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: calc(100% - 60px);
    max-width: 400px;
    margin: 25px auto 35px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #001F5C 0%, #002d6b 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 4px 12px rgba(0, 31, 92, 0.25);
    border: none;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: auto;
}

.book-button:hover {
    background: linear-gradient(135deg, #002d6b 0%, #003d8c 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 31, 92, 0.35);
}

.book-button:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 31, 92, 0.25);
}

.book-button i {
    font-size: 17px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .lessen-container {
        gap: 40px;
    }
    
    .les-image-wrapper {
        height: 400px;
    }
    
    .logo-section {
        padding: 70px 40px 50px;
    }
}

@media (max-width: 1024px) {
    .groepslessen-intro p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .groepslessen-intro {
        padding: 3rem 1.5rem;
    }
    
    .groepslessen-intro .mid_logo {
        height: 20vh;
    }
    
    .groepslessen-intro h1 {
        font-size: 2.5rem;
        margin-top: 1.5rem;
    }
    
    .groepslessen-section {
        padding: 50px 30px 80px;
    }
    
    .lessen-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .les-image-wrapper {
        height: 350px;
    }
    
    .les-overlay {
        padding: 30px 20px 20px;
    }
    
    .les-intro-text {
        font-size: 15px;
        margin-bottom: 16px;
        font-weight: 700;
    }
    
    .lees-meer-btn {
        padding: 9px 20px;
        font-size: 11px;
    }
    
    .les-title {
        padding: 28px 25px 18px;
    }
    
    .les-title h2 {
        font-size: 2.25rem;
    }
    
    .expandable-content {
        padding: 22px 25px 22px;
    }
    
    .expandable-content p {
        font-size: 14px;
    }
    
    .book-button {
        width: calc(100% - 50px);
        max-width: 400px;
        margin: 25px auto 30px;
        padding: 14px 28px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .groepslessen-intro {
        padding: 2.5rem 1rem;
    }
    
    .groepslessen-intro .mid_logo {
        height: 18vh;
    }
    
    .groepslessen-intro h1 {
        font-size: 2rem;
        margin-top: 1rem;
    }
    
    .groepslessen-section {
        padding: 40px 20px 60px;
    }
    
    .les-image-wrapper {
        height: 300px;
    }
    
    .les-overlay {
        padding: 25px 18px 18px;
    }
    
    .les-title h2 {
        font-size: 2rem;
    }
    
    .expandable-content {
        padding: 20px 20px 20px;
    }
    
    .book-button {
        width: calc(100% - 40px);
        max-width: 400px;
        margin: 20px auto 25px;
    }
}
