/* Portfolio Detail Page Styles */

/* Header */
.portfolio-header {
    background-color: #FFFFFF;
    padding: 30px 0;
    border-bottom: 1px solid #E5E5E5;
}

.portfolio-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-button {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #2C1810;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.header-divider {
    width: 100px;
    height: 2px;
    background-color: #2C1810;
}

/* Main Content */
.portfolio-detail {
    background-color: #FFFFFF;
    padding: 60px 0;
}

/* Three Images Grid Layout */
.images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.image-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(44, 24, 16, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(44, 24, 16, 0.15);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(44, 24, 16, 0.1);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.image-item:hover .image-placeholder::before {
    background-color: transparent;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Jar Labels Styles */
.garlic-sauce {
    background-image: url('assets/images/portfolio-1.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.salsa-jam {
    background-image: url('assets/images/portfolio-2.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.red-pepper-label {
    background-image: url('assets/images/portfolio-3.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Herb & Sage Styles */
.herb-sage-main {
    background-image: url('assets/images/portfolio-1.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.herb-sage-variations {
    background-image: url('assets/images/portfolio-2.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.packaging-design {
    background-image: url('assets/images/portfolio-3.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Smol Sweets Styles */
.smol-sweets-main {
    background-image: url('assets/images/portfolio-1.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.smol-sweets-variations {
    background-image: url('assets/images/portfolio-2.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.sweet-package {
    background-image: url('assets/images/portfolio-3.jpeg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Footer */
.portfolio-footer {
    background-color: #F5F1E8;
    padding: 60px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.company-name h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2C1810;
    letter-spacing: 2px;
}

.project-description p {
    font-size: 1rem;
    color: #2C1810;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .images-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-item {
        aspect-ratio: 4/3;
    }
    
    .portfolio-header .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-divider {
        width: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .company-name h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .portfolio-detail {
        padding: 40px 0;
    }
    
    .company-name h2 {
        font-size: 1.8rem;
    }
    
    .image-item {
        aspect-ratio: 1;
    }
}
