:root {
    --primary-color: #FFAA00;
    --background-color: #121212;
    --text-color: #ffffff;
}

.works-page {
    min-height: 100vh;
    padding: 120px 5% 4rem;
    background-color: var(--background-color);
    color: var(--text-color);
}

/* Featured Works Section */
.featured-works {
    margin-bottom: 6rem;
}

.featured-works h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.featured-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.featured-item.large {
    grid-column: span 2;
    aspect-ratio: 21/9;
}

.featured-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-item:hover img {
    transform: scale(1.05);
}

.featured-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.featured-item:hover .overlay {
    transform: translateY(0);
}

/* Portfolio Grid Section */
.portfolio-works {
    margin-bottom: 4rem;
}

.portfolio-works h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    text-align: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 170, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

/* More Works Text */
.more-works {
    text-align: center;
    margin-top: 6rem;
    margin-bottom: 3rem;
    position: relative;
}

.more-works span {
    font-family: 'Dancing Script', cursive;
    font-size: 4.5rem;
    color: var(--primary-color);
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(255, 170, 0, 0.2);
    position: relative;
    transform: rotate(-5deg);
}

.more-works span::before {
    content: '';
    position: absolute;
    width: 120%;
    height: 20px;
    background: rgba(255, 170, 0, 0.1);
    bottom: 15px;
    left: -10%;
    z-index: -1;
    transform: rotate(2deg);
}

.more-works span::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    top: -20px;
    right: -40px;
    opacity: 0.2;
    transform: rotate(15deg);
}

/* Add animation */
@keyframes float {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-10px); }
}

.more-works span {
    animation: float 3s ease-in-out infinite;
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }

    .featured-item.large {
        grid-column: auto;
        aspect-ratio: 16/9;
    }

    .featured-works h1 {
        font-size: 2.5rem;
    }

    .portfolio-works h2 {
        font-size: 2rem;
    }

    .more-works span {
        font-size: 3.5rem;
    }
} 