/* About Page Styles - Based on Figma Design */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Text Selection Styles */
::selection {
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

::-moz-selection {
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffffff;
}

/* Text Selection Styles for About Page */
.about-main ::selection {
    background-color: #F1F1F1;
    color: #000000;
}

.about-main ::-moz-selection {
    background-color: #F1F1F1;
    color: #000000;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    background-color: #030303;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Navigation Bar - Sticky Header */

/* Main Content */
.about-main {
    width: 100%;
    padding: 64px 10px;
    padding-top: 120px; /* Add extra padding for fixed header */
    min-height: calc(100vh - 200px);
}

.about-container {
    max-width: 1069px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* About Section */
.about-section {
    width: 100%;
}

.about-content {
    display: flex;
    gap: 32px;
    align-items: center;
    width: 100%;
}

.about-content.reverse {
    flex-direction: row-reverse;
}

.about-content.reverse .about-image {
    order: 1;
}

.about-content.reverse .about-text {
    order: 2;
}

.about-content-centered {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.about-content-centered {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-image-centered {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 16px;
}

h1,
h2,
.about-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: normal;
    letter-spacing: -0.32px;
    color: #ffffff;
    margin: 0;
}

.about-description {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    color: #d1d1d1;
}

.about-description p {
    margin: 0;
}

.about-image {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
    height: auto;
}

.image-carousel {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 4:3 aspect ratio */
    overflow: hidden;
    border-radius: 12px;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.carousel-img.active {
    opacity: 1;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.indicator-dot.active {
    background-color: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 4px;
}

.indicator-line {
    width: 24px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: background-color 0.3s ease;
}

.indicator-line.active {
    background-color: rgba(255, 255, 255, 0.6);
}


.about-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 12px;
    display: block;
}

/* Connect Section */
.connect-section {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.connect-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
    max-width: 474px;
}

.connect-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    letter-spacing: -0.24px;
    color: #ffffff;
    margin: 0;
}

.connect-description {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    color: #d1d1d1;
    margin: 0;
}

.connect-social {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
}

/* Request Resume Button */
.request-resume-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.request-resume-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

.request-resume-btn:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #1a1a1a;
    border-radius: 16px;
    padding: 32px;
    max-width: 480px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    letter-spacing: -0.24px;
    color: #ffffff;
    margin: 0 0 24px 0;
}

/* Form Styles */
.resume-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
}

.form-group input {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #ffffff;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.15);
}

.submit-btn {
    background-color: #ffffff;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.submit-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message Styles */
.modal-success {
    text-align: center;
    padding: 20px 0;
}

.success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #4caf50;
    color: #ffffff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-weight: bold;
}

.success-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: normal;
    letter-spacing: -0.24px;
    color: #ffffff;
    margin: 0 0 12px 0;
}

.success-message {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.16px;
    color: #d1d1d1;
    margin: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .request-resume-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .modal-content {
        padding: 24px;
        width: 95%;
    }
    
    .modal-title {
        font-size: 20px;
    }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 100%;
    justify-content: center;
}

.social-link {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.social-link:hover {
    background: rgba(249, 250, 247, 0.2);
    width: 32px;
    height: 32px;
}

.social-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    object-fit: contain;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    filter: brightness(0) invert(1);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    position: relative;
    padding: 0;
    color: rgba(33, 33, 33, 1);
}

.footer-content {
    max-width: 214.5px;
    width: 100%;
    margin: 0 auto;
    padding: 72px 0 24px;
    display: flex;
    flex-direction: column;
    gap: 59px;
    align-items: center;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.footer-name {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: normal;
    letter-spacing: -0.18px;
    color: #ffffff;
    text-align: center;
    width: 100%;
    white-space: pre-wrap;
    margin: 0;
}

.footer-copyright {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: normal;
    letter-spacing: -0.14px;
    color: #606060;
    width: 100%;
    text-align: center;
    white-space: pre-wrap;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .about-container {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
    .about-main {
        padding: 32px 10px;
        padding-top: 120px; /* Add extra padding for fixed header on mobile */
    }
    
    .about-container {
        gap: 48px;
    }
    
    .about-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .about-content.reverse {
        flex-direction: column;
    }
    
    .about-content .about-image {
        order: 2;
    }
    
    .about-content .about-text {
        order: 1;
    }
    
    h1,
    h2,
    .about-title {
        font-size: 22px;
        letter-spacing: -0.22px;
    }
    
    .about-description {
        font-size: 16px;
        letter-spacing: -0.16px;
    }
    
    .about-image {
        width: 100%;
        height: auto;
    }
    
    .about-content.reverse .about-image {
        height: auto;
    }
    
    .image-carousel {
        padding-bottom: 75%; /* 4:3 aspect ratio - maintain consistent height */
        height: 0;
    }
    
    .carousel-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
        object-fit: cover;
        object-position: center;
    }
    
    .carousel-img.active {
        opacity: 1;
    }
    
    .carousel-indicators {
        bottom: 12px;
        gap: 6px;
    }
    
    .indicator-dot {
        width: 6px;
        height: 6px;
    }
    
    .indicator-dot.active {
        width: 20px;
    }
    
    .indicator-line {
        width: 20px;
        height: 1.5px;
    }
    
    .connect-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .connect-text {
        max-width: 100%;
    }
    
    .connect-social {
        width: 100%;
        justify-content: flex-start;
    }
    
    @media (max-width: 600px) {
        h1,
        h2,
        .about-title {
            font-size: 22px;
            letter-spacing: -0.22px;
        }
        
        .about-description {
            font-size: 16px;
            letter-spacing: -0.16px;
        }
        
        .about-image {
            height: 250px;
        }
    }
}

