/* Portfolio Page Specific Styles */

.content-section {
    position: relative;
    min-height: 100vh;
    padding: 30vh 0 5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 1;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 30vh;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
    position: relative;
    z-index: 5;
}

.section-title h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.title-line {
    width: 100%;
    max-width: 800px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 auto;
}

/* Center-text section - full height with centered content */
.center-text {
    height: 100vh;
    position: relative;
    z-index: 1;
    width: 100%;
    opacity: 1;
}

.center-text h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 2px;
    opacity: 0.9;
    margin: 0;
    padding: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

/* Main layout styling */
main {
    padding: 0 5%;
    display: block;
    height: auto;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* Portfolio container styling */
.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0 3rem;
    position: relative;
}

/* Portfolio intro */
.portfolio-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.portfolio-intro p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* Portfolio grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem 3rem;
    margin-bottom: 2rem;
}

/* Portfolio item */
.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    aspect-ratio: 16/9;
    margin-bottom: 1rem;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Portfolio link */
.portfolio-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.portfolio-image {
    width: 100%;
    height: 100%;
}

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

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.05);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
    opacity: 1;
}

.overlay-content h3 {
    font-family: 'EB Garamond', serif;
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #fff;
}

.overlay-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive styles */
@media (max-width: 992px) {
    .portfolio-grid {
        gap: 3rem 2rem;
    }
    
    .overlay-content h3 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
    }
    
    .portfolio-item {
        max-width: 600px;
        margin: 0 auto 1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .portfolio-intro p {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .content-section {
        padding-top: 25vh;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .portfolio-intro p {
        font-size: 1.1rem;
    }
    
    .overlay-content h3 {
        font-size: 1.3rem;
    }
    
    .overlay-content p {
        font-size: 0.8rem;
    }
} 