/* DIVING PAGE SPECIFIC STYLES */

.diving-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
}

.video-card {
    background: white;
    border-radius: 2rem;
    border: 2px solid rgb(163, 163, 163);
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.video-title {
    font-size: 1.5rem;
    color: rgb(85, 85, 85);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    overflow: hidden;
    border-radius: 1rem;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
}

.back-to-portfolio {
    text-align: center;
    margin: 3rem 0;
}

/* Responsive adjustments for diving page */
@media screen and (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem 0;
    }
    
    .diving-container {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.25rem;
    }
}

@media screen and (max-width: 600px) {
    .video-card {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1.1rem;
    }
}