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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #181818;
    min-height: 100vh;
    padding: 20px;
}

.container {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 10vh;
    padding-bottom: 100px;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.description-container {
    font-size: 1.3rem;
    color: #EEEEEE;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.description-word {
    position: relative;
    display: inline-block;
    cursor: help;
    color: #C7B1BB;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-style: solid;
}

.description-word::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #8D8D90;
    z-index: 1001;
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
    pointer-events: none;
    transition: opacity 0.1s ease-out, transform 0.1s ease-out;
}

.description-word::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    background: #8D8D90;
    color: #EEEEEE;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.6;
    white-space: nowrap;
    z-index: 1000;
    letter-spacing: 0.2px;
    opacity: 0;
    transform: translateX(-50%) translateY(-5px);
    pointer-events: none;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
}

.description-word:hover::before,
.description-word:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    animation: tooltipFadeIn 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes tooltipFadeIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.dropdown-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.2rem;
}

.dropdown-label {
    color: white;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

select {
    padding: 12px 20px;
    font-size: 1.1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

select:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.image-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-margin-top: 20vh;
}

.image-single {
    width: 300px;
    height: 300px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 10px;
}

.image-two-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    cursor: default;
}

.image-two-item {
    width: 300px;
    max-width: 100%;
    cursor: default;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-two-item img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.image-two-item p {
    color: white;
    font-size: 1rem;
    margin-top: 10px;
    text-align: center;
}

.featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fbbc05;
    color: #333;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    animation: float 3s ease-in-out infinite;
    line-height: 1.2;
    padding: 10px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 300px);
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.image-grid-item {
    width: 300px;
    height: 300px;
    object-fit: contain;
    cursor: pointer;
    border-radius: 10px;
    position: relative;
}

@media (max-width: 1200px) {
    .image-grid {
        grid-template-columns: repeat(2, 300px);
    }
}

@media (max-width: 800px) {
    .image-grid {
        grid-template-columns: repeat(1, 300px);
    }
}

@media (max-width: 600px) {
    .logo {
        max-width: 280px;
    }

    .dropdown-section {
        flex-direction: column;
        gap: 10px;
    }

    .image-single,
    .image-grid-item {
        width: 100%;
        max-width: 300px;
        height: auto;
        aspect-ratio: 1;
    }
    
    .image-two-item {
        width: 100%;
        max-width: 300px;
    }

    .image-two-container {
        flex-direction: column;
        gap: 20px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 400px) {
    .image-single,
    .image-grid-item {
        max-width: 250px;
    }
}

/* Project page styles */
.project-body {
    padding: 40px;
}

.back-link {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 30px;
    display: inline-block;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.back-link:hover {
    text-decoration: underline;
}

.project-content {
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.project-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.project-content p {
    font-size: 1.2rem;
    line-height: 1.8;
}

/* Footer styles */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 20px;
    background: rgba(75, 75, 75, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 100;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    color: white;
    font-size: 0.85rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.footer-social a:hover {
    transform: scale(1.2);
    color: #72aee6;
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .footer-social {
        gap: 25px;
    }
}
