/* ========================================
   Portfolio Page - Clean & Elegant
   ======================================== */

/* ========================================
   Hero Section - Latest Project
   ======================================== */
.portfolio-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.8s ease;
}

.portfolio-hero:hover .hero-bg {
    transform: scale(1.03);
}

.portfolio-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.5);
}

.portfolio-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.portfolio-hero .hero-title {
    font-family: 'Playfair Display', var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    font-weight: 400;
    line-height: 1;
    color: var(--white);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
}

.portfolio-hero .hero-title .title-line {
    display: block;
}

.hero-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--gold-primary);
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: var(--black-primary);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    color: var(--white);
    z-index: 2;
    animation: bounceDown 2s infinite;
}

.scroll-down svg {
    width: 100%;
    height: 100%;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(10px); }
    60% { transform: translateX(-50%) translateY(5px); }
}

/* ========================================
   Projects Section
   ======================================== */
.projects-section {
    padding: 8rem 2rem;
    background-color: var(--black-primary);
}

.projects-container {
    max-width: 1400px;
    margin: 0 auto;
}

.projects-section .section-label {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold-primary);
    margin-bottom: 5rem;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Project Card */
.project-card {
    cursor: pointer;
}

.project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background-color: var(--black-tertiary);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.08);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.3);
}

.view-btn {
    padding: 1rem 2rem;
    background: transparent;
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .view-btn {
    opacity: 1;
    transform: translateY(0);
}

.view-btn:hover {
    background: var(--white);
    color: var(--black-primary);
}

/* Project Info */
.project-info {
    padding: 1.5rem 0;
    text-align: center;
}

.project-name {
    font-family: 'Playfair Display', var(--font-display);
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.project-card:hover .project-name {
    color: var(--gold-primary);
}

.project-location {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gray-medium);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .projects-grid {
        gap: 2rem;
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .portfolio-hero {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .portfolio-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .portfolio-hero .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
    
    .hero-label {
        font-size: 0.7rem;
        letter-spacing: 0.25em;
    }
    
    .hero-btn {
        padding: 0.875rem 2rem;
        font-size: 0.75rem;
    }
    
    .projects-section {
        padding: 5rem 1.5rem;
    }
    
    .projects-section .section-label {
        margin-bottom: 3rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .project-image {
        aspect-ratio: 4/3;
    }
    
    .project-name {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .portfolio-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .project-info {
        padding: 1rem 0;
    }
}

