* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary-blue: #0c649b;
    --primary-purple: #976aa9;
    --light-purple: #e8d9ef;
    --dark-blue: #074b74;
    --light-gray: #f9f9f9;
    --shadow-light: 0 5px 15px rgba(0,0,0,0.08);
    --shadow-medium: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-dark: 0 15px 35px rgba(0,0,0,0.15);
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    color: #333;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(151, 106, 169, 0.03) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(12, 100, 155, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.logo {
    padding: 20px 0 40px;
    margin-bottom: 20px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    border-radius: 3px;
    transform: none;
}

.logo img {
    max-width: 280px;
    height: auto;
}

.main-content {
    margin-top: 50px;
    position: relative;
}

.main-content::before {
    content: '';
    position: absolute;
    top: -30px;
    right: 30px;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, var(--light-purple) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    z-index: -1;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 50px;
    position: relative;
    padding: 20px 10px;
    margin-top: 20px;
}

.thumbnail-container a {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 480px;
}

.thumbnail {
    width: 100%;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    border: none;
}

.thumbnail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
                rgba(151, 106, 169, 0.05) 0%,
                rgba(12, 100, 155, 0.1) 80%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.thumbnail:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.thumbnail:hover::before {
    opacity: 1;
}

.image-wrapper {
    overflow: hidden;
    position: relative;
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 50%, rgba(0,0,0,0.03) 100%);
    pointer-events: none;
}

.thumbnail img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.thumbnail:hover img {
    transform: scale(1.05);
}

.thumbnail-info {
    padding: 24px 20px;
    text-align: center;
    position: relative;
    z-index: 2;
    background: white;
}

.thumbnail-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-purple) 0%, var(--primary-blue) 100%);
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.thumbnail:hover .thumbnail-info::before {
    opacity: 1;
    width: 80px;
}

.thumbnail-info h3 {
    color: var(--primary-blue);
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.thumbnail:hover .thumbnail-info h3 {
    color: var(--dark-blue);
}

.thumbnail-info p {
    color: var(--primary-purple);
    font-weight: 500;
    font-size: 17px;
    opacity: 0.9;
    transition: transform 0.3s ease, color 0.3s ease;
}

.thumbnail:hover .thumbnail-info p {
    transform: scale(1.05);
}

/* Animation for page load */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo {
    animation: fadeIn 0.8s ease forwards;
}

.thumbnail-container a:nth-child(1) {
    animation: fadeIn 1s ease 0.2s forwards;
    opacity: 0;
}

.thumbnail-container a:nth-child(2) {
    animation: fadeIn 1s ease 0.4s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .thumbnail-container {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .thumbnail-container a {
        width: 100%;
        max-width: 480px;
    }
    
    .logo img {
        max-width: 250px;
    }
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    z-index: 1001;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background: #f0f0f0;
}

.modal-iframe {
    width: 100%;
    height: 100%;
    border: none;
} 