/* Experience Section - Full Width Layout */
#experience {
    position: relative;
    padding: 2rem 2rem 2rem 2rem;
    display: block;
    flex-direction: column;
    align-items: center;
}

.experience-title{
    font-size: 1.05rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    line-height: 1.3;

}
.experience-wrapper {
    display: flex;
    flex-direction: column;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.experience-container {
    width: 100%;
    background: white;
    border-radius: 2rem;
    padding: 2.5rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0 3rem 0;
}

.experience-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.2rem;
    border-bottom: 2px solid #f0f0f0;
}

.company-info {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 0;
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: contain;
    background: #f5f5f5;
    padding: 10px;
    border: 2px solid #e0e0e0;
    flex-shrink: 0;
}

.company-details h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.job-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 0.3rem;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    font-size: 0.9rem;
    color: #666666;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.job-meta svg {
    width: 15px;
    height: 15px;
    opacity: 0.7;
}

.experience-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.project-section {
    background: #fafafa;
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid #e0e0e0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.project-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.project-icon svg {
    width: 20px;
    height: 20px;
    fill: #333333;
}

.project-title-container {
    flex: 1;
}

.project-title-experience {
    font-size: 1.05rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 0.5rem;
    flex-wrap: wrap;
    line-height: 1.3;
}

.project-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 14px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: relative;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    font-weight: 500;
    color: #000;
    text-decoration: none !important;
}

.project-link:hover,
.project-link:focus,
.project-link:active,
.project-link:visited {
    text-decoration: none !important;
}

.project-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 10px;
    z-index: 0;
}

.project-link span {
    position: relative;
    z-index: 1;
}

.project-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.45);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.project-link:hover::before {
    opacity: 1;
}

.project-link:hover svg {
    transform: scale(1.1) translateX(2px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.project-link:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.project-link svg {
    width: 13px;
    height: 13px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.project-link svg path {
    fill: #000;
}

.project-description {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-description li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
    font-size: 0.88rem;
    color: #333333;
    line-height: 1.6;
}

.project-description li::before {
    content: '◦';
    position: absolute;
    left: 0;
    color: #666666;
    font-weight: bold;
    font-size: 1.1rem;
}

.project-description li:last-child {
    margin-bottom: 0;
}

/* Scattered Photos Box */
.photos-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 1.5rem;
    padding: 2rem 1.5rem;
    margin-top: 1.5rem;
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.photos-scattered {
    position: relative;
    width: 100%;
    max-width: 800px;
    min-height: 220px;
    margin: 0 auto;
}

.photo-item {
    position: absolute;
    background: white;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.photo-item:nth-child(1) {
    transform: rotate(-8deg);
    left: 5%;
    top: 5px;
    width: 250px;
    z-index: 1;
}

.photo-item:nth-child(2) {
    transform: rotate(5deg);
    left: 50%;
    margin-left: -125px;
    top: -15px;
    width: 260px;
    z-index: 3;
}

.photo-item:nth-child(3) {
    transform: rotate(-3deg);
    right: 5%;
    top: 15px;
    width: 240px;
    z-index: 2;
}

.photo-item:hover {
    transform: rotate(0deg) scale(1.1) !important;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
    z-index: 10 !important;
}

.photo-item img {
    width: 100%;
    height: 170px;
    object-fit: contain;
    object-position: center;
    background: #f8f8f8;
    display: block;
    border-radius: 2px;
}

.photo-placeholder {
    width: 100%;
    height: 170px;
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999999;
    font-size: 0.85rem;
    text-align: center;
    border-radius: 2px;
    border: 2px dashed #cccccc;
}

.photo-caption {
    margin-top: 8px;
    font-size: 0.72rem;
    color: #666666;
    text-align: center;
    font-style: italic;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .photos-box {
        padding: 1.8rem 1.3rem;
        min-height: 240px;
    }

    .photos-scattered {
        min-height: 200px;
        max-width: 700px;
    }

    .photo-item:nth-child(1) {
        left: 3%;
        width: 220px;
    }

    .photo-item:nth-child(2) {
        margin-left: -110px;
        width: 230px;
    }

    .photo-item:nth-child(3) {
        right: 3%;
        width: 210px;
    }
}

@media screen and (max-width: 768px) {
    #experience {
        padding: 2rem 1rem 3rem 1rem;
    }

    .experience-container {
        padding: 1.5rem;
        margin: 1rem 0 2rem 0;
    }

    .company-logo {
        width: 55px;
        height: 55px;
    }

    .company-details h3 {
        font-size: 1.3rem;
    }

    .job-title {
        font-size: 0.95rem;
    }

    .job-meta {
        font-size: 0.82rem;
        gap: 0.8rem;
    }

    .experience-content {
        gap: 0;
    }

    .project-section {
        padding: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .project-title {
        font-size: 0.95rem;
    }

    .project-description li {
        font-size: 0.82rem;
    }

    .photos-box {
        padding: 1.5rem 1rem;
        min-height: 320px;
        margin-top: 1.2rem;
    }

    .photos-scattered {
        min-height: 280px;
        max-width: 100%;
    }

    .photo-item {
        position: absolute !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        margin: 0 !important;
    }

    .photo-item:nth-child(1) {
        transform: rotate(-6deg);
        left: -2% !important;
        top: 5px !important;
        width: 50% !important;
        max-width: 200px;
        z-index: 1;
    }

    .photo-item:nth-child(2) {
        transform: rotate(4deg);
        left: 50% !important;
        margin-left: -25% !important;
        top: 60px !important;
        width: 52% !important;
        max-width: 210px;
        z-index: 3;
    }

    .photo-item:nth-child(3) {
        transform: rotate(-3deg);
        right: -2% !important;
        left: auto !important;
        top: 15px !important;
        width: 50% !important;
        max-width: 200px;
        z-index: 2;
    }

    .photo-item img,
    .photo-placeholder {
        height: 170px;
    }
}

@media screen and (max-width: 480px) {
    #experience {
        padding: 1.5rem 0 2.5rem 0;
    }

    .experience-wrapper {
        padding: 0 0.8rem;
    }

    .experience-container {
        padding: 1.2rem;
        margin: 0.8rem 0 1.5rem 0;
        width: 100%;
        box-sizing: border-box;
    }

    .company-info {
        gap: 0.8rem;
    }

    .company-logo {
        width: 50px;
        height: 50px;
    }

    .company-details h3 {
        font-size: 1.1rem;
    }

    .job-title {
        font-size: 0.88rem;
    }

    .job-meta {
        font-size: 0.78rem;
        gap: 0.6rem;
    }

    .project-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .project-icon {
        width: 34px;
        height: 34px;
    }

    .project-icon svg {
        width: 18px;
        height: 18px;
    }

    .project-title {
        font-size: 0.9rem;
    }

    .project-description li {
        font-size: 0.78rem;
        padding-left: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .photos-box {
        padding: 1.2rem 0.8rem;
        min-height: 340px;
        margin-top: 1rem;
    }

    .photos-scattered {
        min-height: 300px;
        max-width: 100%;
    }

    .photo-item:nth-child(1) {
        transform: rotate(-7deg);
        left: -3% !important;
        top: 5px !important;
        width: 52% !important;
        max-width: 180px;
    }

    .photo-item:nth-child(2) {
        transform: rotate(5deg);
        left: 50% !important;
        margin-left: -26% !important;
        top: 70px !important;
        width: 55% !important;
        max-width: 190px;
    }

    .photo-item:nth-child(3) {
        transform: rotate(-4deg);
        right: -3% !important;
        top: 15px !important;
        width: 52% !important;
        max-width: 180px;
    }

    .photo-item img,
    .photo-placeholder {
        height: 170px;
    }
}
