/* ==================================
   ABOUT & CONTACT PAGES
   Geometric theme styling
   ================================== */

/* Page Content Container */
.page-content {
    padding: 60px 0;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ==================================
   ABOUT PAGE
   ================================== */

.about-content {
    max-width: 800px;
    margin: 0 auto 80px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
}

.about-content h2 {
    font-family: 'Arial Black', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 40px;
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 25px;
}

/* Skills Section */
.about-skills {
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #000;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.skill-item {
    padding: 20px;
    background: #f5f5f5;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: #000;
    color: #fff;
    transform: translateY(-3px);
}

/* Experience Section */
.about-experience {
    margin-bottom: 80px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-item {
    padding: 30px;
    background: #f5f5f5;
    clip-path: polygon(2% 0, 100% 0, 98% 100%, 0 100%);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.experience-item.has-image {
    flex-direction: row;
}

.experience-content {
    flex: 1;
    padding-left: 10px;
}

.experience-header {
    margin-bottom: 10px;
}

.experience-title {
    font-size: 1.4rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.experience-company {
    font-size: 1.1rem;
    color: #666;
    font-weight: 700;
}

.experience-meta {
    margin-bottom: 15px;
}

.experience-period {
    font-size: 0.9rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.experience-description {
    line-height: 1.7;
    color: #333;
}

/* Experience Image */
.experience-image-wrapper {
    flex-shrink: 0;
    width: 200px;
}

.experience-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    transition: transform 0.3s ease;
}

.experience-image:hover {
    transform: translateY(-3px);
}

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

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

.experience-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.experience-image:hover .experience-image-overlay {
    opacity: 1;
}

.experience-zoom {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    padding: 0 10px;
}

/* Imprint Section */
.about-imprint {
    padding-top: 50px;
    margin-bottom: 10px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-imprint .section-title {
    color: #a3a1a1;
    font-size: 1rem;
}

.about-imprint .section-title::after {
    width: 50px;
    height: 2px;
    background: #a3a1a1;
}
.imprint-image-wrapper {
    display: flex;
    justify-content: center;
    padding: 0px;
}

.imprint-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* About CTA Section */
.about-cta {
    text-align: center;
    padding: 60px 40px;
    background: #f5f5f5;
    clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%);
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.cta-text {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* ==================================
   CONTACT PAGE
   ================================== */

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

/* Contact Info */
.contact-info {
    padding: 40px;
    background: #f5f5f5;
    clip-path: polygon(0 3%, 100% 0, 100% 97%, 0 100%);
}

.info-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.contact-info p {
    margin-bottom: 30px;
    line-height: 1.7;
    color: #666;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-link:hover {
    opacity: 0.6;
}

.contact-text {
    font-size: 1.1rem;
    color: #333;
}

/* Social Links */
.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    justify-content: center;
}

.social-link {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #333;
    transform: translateY(-2px);
}

/* Location Image */
.location-image-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.location-image {
    max-width: 300px;
    height: auto;
    display: block;
}

/* Contact Imprint Text Section */
.contact-imprint-text {
    padding-top: 50px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.contact-imprint-text .contact-label {
    color: #a3a1a1;
    font-size: 0.8rem;
}

.imprint-text-content {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.6;
}

.imprint-text-content p {
    margin-bottom: 10px;
}

.imprint-text-content strong {
    color: #333;
}

/* Imprint Section */
.imprint-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.imprint-content {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.imprint-content p {
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form-wrapper {
    padding: 40px;
    background: #f5f5f5;
    clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%);
}

.form-title {
    font-family: 'Arial Black', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.form-input,
.form-textarea {
    padding: 15px;
    border: 2px solid #ddd;
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #000;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.form-submit {
    padding: 18px 50px;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    clip-path: polygon(3% 0, 100% 0, 97% 100%, 0 100%);
    transition: all 0.3s ease;
    align-self: flex-start;
}

.form-submit:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ==================================
   LIGHTBOX
   ================================== */

.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: block;
}

.lightbox-video {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    display: none;
}

/* Show only the active media type in lightbox */
.lightbox-content.show-image .lightbox-image {
    display: block;
}

.lightbox-content.show-image .lightbox-video {
    display: none;
}

.lightbox-content.show-video .lightbox-image {
    display: none;
}

.lightbox-content.show-video .lightbox-video {
    display: block;
}

/* Lightbox Controls */
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid #fff;
    color: #fff;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10000;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(100, 100, 100, 0.8);
    backdrop-filter: blur(5px);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(80, 80, 80, 0.95);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-nav svg {
    stroke: #fff;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox.active {
    animation: fadeIn 0.3s ease;
}

.lightbox-content {
    animation: zoomIn 0.3s ease;
}

/* ==================================
   RESPONSIVE
   ================================== */

@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }

    .page-subtitle {
        font-size: 1.1rem;
    }

    .about-content {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .experience-item.has-image {
        flex-direction: column;
    }

    .experience-image-wrapper {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px;
    }

    .about-cta {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: 2rem;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
        font-size: 30px;
    }

    .lightbox-nav {
        width: 50px;
        height: 50px;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .page-content {
        padding: 40px 0;
    }

    .page-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        flex-direction: column;
    }

    .social-link {
        text-align: center;
    }

    .form-submit {
        width: 100%;
    }
}
