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

/* ===== SECTION 1: HERO STRIP SECTION ===== */
.hero-strip-section {
    position: relative;
    width: 100%;
    padding: 100px 20px 0; /* Reduced padding - closer to edges */
    background: var(--bg-dark);
    overflow: hidden;
}

.hero-strip-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 10px; /* Minimal spacing from edges */
}

.hero-strip-image {
    position: relative;
    width: 100%;
    height: 600px; /* Increased by 50% from 400px */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); /* Removed glow effect */
}

.portrait-strip {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ===== ABOUT ME TITLE SECTION ===== */
.about-title-section {
    position: relative;
    width: 100%;
    padding: 60px 30px 0; /* Match hero padding style */
    background: var(--bg-dark);
}

.about-title {
    font-family: 'Sugar Snow', cursive;
    font-size: 3.5rem;
    color: var(--text-light);
    text-align: left;
    margin: 0;
    font-weight: normal;
    max-width: 100%;
    padding: 0 10px; /* Match hero container padding */
}

/* ===== SECTION 2: BIO SECTION ===== */
.bio-section {
    position: relative;
    width: 100%;
    padding: 40px 30px 80px;
    background: var(--bg-dark);
}

.bio-content {
    max-width: 100%;
    padding: 0 10px;
}

.bio-text {
    font-size: 1.5625rem; /* 25% increase from 1.25rem */
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 30px;
    text-align: left;
}

.bio-text:last-child {
    margin-bottom: 0;
}

/* ===== SECTION 3: CV BUTTONS SECTION ===== */
    /* ===== SECTION 3: CV BUTTONS SECTION ===== */
.cv-buttons-section {
    position: relative;
    width: 100%;
    padding: 120px 30px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Pattern Container for CV Icons */
.cv-pattern-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Individual Pattern Icons */
.cv-pattern-icon {
    position: absolute;
    opacity: 0.06;
    filter: blur(0.5px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cv-pattern-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--green);
    fill: none;
    stroke-width: 1.5;
}

/* Icon positions - Corporate & Design Icons */
.cv-pattern-icon:nth-child(1) { top: 8%; left: 5%; width: 80px; height: 80px; }
.cv-pattern-icon:nth-child(2) { top: 12%; left: 18%; width: 60px; height: 60px; }
.cv-pattern-icon:nth-child(3) { top: 5%; right: 15%; width: 70px; height: 70px; }
.cv-pattern-icon:nth-child(4) { top: 18%; right: 5%; width: 65px; height: 65px; }

.cv-pattern-icon:nth-child(5) { top: 35%; left: 8%; width: 55px; height: 55px; }
.cv-pattern-icon:nth-child(6) { top: 45%; left: 3%; width: 75px; height: 75px; }
.cv-pattern-icon:nth-child(7) { top: 38%; right: 10%; width: 68px; height: 68px; }
.cv-pattern-icon:nth-child(8) { top: 48%; right: 3%; width: 58px; height: 58px; }

.cv-pattern-icon:nth-child(9) { bottom: 15%; left: 6%; width: 72px; height: 72px; }
.cv-pattern-icon:nth-child(10) { bottom: 8%; left: 20%; width: 62px; height: 62px; }
.cv-pattern-icon:nth-child(11) { bottom: 18%; right: 12%; width: 78px; height: 78px; }
.cv-pattern-icon:nth-child(12) { bottom: 10%; right: 6%; width: 66px; height: 66px; }

.cv-pattern-icon:nth-child(13) { top: 25%; left: 50%; transform: translateX(-50%); width: 70px; height: 70px; }
.cv-pattern-icon:nth-child(14) { bottom: 30%; left: 50%; transform: translateX(-50%); width: 65px; height: 65px; }

.cv-buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 100%;
    padding: 0 10px;
    position: relative;
    z-index: 2;
}

/* CV Section Title */
.cv-section-title {
    font-family: 'Sugar Snow', cursive;
    font-size: 3.5rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 20px;
    font-weight: normal;
}

.cv-section-description {
    font-size: 1.125rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 20px;
    max-width: 600px;
    line-height: 1.6;
}

.cv-buttons-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #8B5CF6 0%, #4A9EFF 40%, #00D9FF 70%, #24FF72 100%);
    border: none;
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.cv-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #24FF72 0%, #00D9FF 30%, #4A9EFF 60%, #8B5CF6 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.cv-btn:hover::before {
    opacity: 1;
}

.cv-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(74, 158, 255, 0.2);
}

/* View CV Button - Rectangle */
.view-cv-btn {
    padding: 18px 48px;
}

/* Download CV Button - Square */
.download-cv-btn {
    width: 68px;
    height: 68px;
    padding: 0;
}

.cv-btn svg {
    width: 24px;
    height: 24px;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.cv-btn:hover svg {
    transform: rotate(15deg) scale(1.1);
}

.cv-btn:active {
    transform: translateY(-2px);
}

/* Spacing after CV section */
.cv-buttons-section + .contact-section {
    margin-top: 80px;
}


/* ===== SECTION 4: CONTACT SECTION ===== */
.contact-section {
    position: relative;
    width: 100%;
    padding: 100px 40px;
    background: var(--card-bg);
}

.section-title {
    font-family: 'Sugar Snow', cursive;
    font-size: 3.5rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 60px;
    font-weight: normal;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 80px;
}

/* Contact Info Container (LEFT) */
.contact-info-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
}

.contact-info-container h3 {
    font-family: 'Sugar Snow', cursive;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: normal;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    stroke: var(--green);
    margin-top: 4px;
    transition: transform 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-value {
    font-size: 1.125rem;
    color: var(--text-light);
    transition: color 0.3s ease;
}

a.contact-value:hover {
    color: var(--green);
}

/* Social Links in Contact Section */
.contact-social {
    margin-top: 50px;
}

.contact-social h4 {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--green);
    border-color: var(--green);
    transform: translateY(-3px);
}

.social-link svg {
    fill: var(--text-light);
    transition: fill 0.3s ease;
}

.social-link:hover svg {
    fill: var(--bg-dark);
}

/* Contact Form Container (RIGHT) */
.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 40px;
}

.contact-form-container h3 {
    font-family: 'Sugar Snow', cursive;
    font-size: 2rem;
    color: var(--text-light);
    margin-bottom: 30px;
    font-weight: normal;
}

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

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

.form-group label {
    font-size: 0.875rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    color: var(--text-light);
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(36, 255, 114, 0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}

/* Submit Button */
.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid var(--green);
    color: var(--text-light);
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover:not(:disabled) {
    background: var(--green);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-btn:hover:not(:disabled) .btn-icon {
    transform: translateX(3px) rotate(15deg);
}

.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Form Messages */
.form-messages {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 6px;
    font-size: 0.938rem;
    text-align: center;
    display: none;
}

.form-messages.success {
    display: block;
    background: color-mix(in srgb, var(--green) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--green) 30%, transparent);
    color: var(--green);
}

.form-messages.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ===== MAP SECTION - TOGGLE VISIBILITY ===== */
/* TO HIDE MAP: Add "display: none;" to .map-section below */
/* TO SHOW MAP: Remove or comment out "display: none;" */

.map-section {
    margin-top: 80px;
    /* display: none; */ /* <-- Uncomment this line to hide the map */
}

.map-section h3 {
    font-family: 'Sugar Snow', cursive;
    font-size: 2rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 30px;
    font-weight: normal;
}

.map-container {
    width: 100%;
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(20%) brightness(0.9);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) brightness(1);
}

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

@media (max-width: 1024px) {
    .hero-strip-section {
        padding: 90px 15px 0;
    }
    
    .hero-strip-container {
        padding: 0 8px;
    }
    
    .hero-strip-image {
        height: 525px; /* 50% increase maintained */
    }
    
    .about-title-section {
        padding: 50px 25px 0;
    }
    
    .about-title {
        font-size: 3rem;
        padding: 0 8px;
    }
    
    .bio-section {
        padding: 30px 25px 60px;
    }
    
    .bio-content {
        padding: 0 8px;
    }
    
    .cv-buttons-section {
        padding: 100px 25px;
    }
    
    .cv-buttons-wrapper {
        padding: 0 8px;
    }
    
    .cv-section-title {
        font-size: 3rem;
    }
    
    /* Scale down CV patterns on tablet */
    .cv-pattern-icon {
        opacity: 0.05;
    }
    
    .cv-buttons-section + .contact-section {
        margin-top: 70px;
    }
    
    .contact-section {
        padding: 90px 30px;
    }
    
    .contact-grid {
        gap: 30px;
    }
    
    .section-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-strip-section {
        padding: 80px 12px 0;
    }
    
    .hero-strip-container {
        padding: 0 5px;
    }
    
    .hero-strip-image {
        height: 450px; /* 50% increase from 300px */
        border-radius: 12px;
    }
    
    .about-title-section {
        padding: 40px 17px 0;
    }
    
    .about-title {
        font-size: 2.5rem;
        padding: 0 5px;
    }
    
    .bio-section {
        padding: 30px 17px 50px;
    }
    
    .bio-content {
        padding: 0 5px;
    }
    
    .bio-text {
        font-size: 1.375rem; /* 25% increase from 1.125rem */
        line-height: 1.7;
    }
    
    .cv-buttons-section {
        padding: 80px 17px;
    }
    
    .cv-buttons-wrapper {
        padding: 0 5px;
    }
    
    .cv-section-title {
        font-size: 2.5rem;
    }
    
    .cv-section-description {
        font-size: 1rem;
    }
    
    .cv-buttons-group {
        flex-direction: row;
        justify-content: center;
    }
    
    .view-cv-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }
    
    .download-cv-btn {
        width: 60px;
        height: 60px;
    }
    
    .cv-btn svg {
        width: 22px;
        height: 22px;
    }
    
    /* Scale down CV patterns on mobile */
    .cv-pattern-icon {
        opacity: 0.04;
    }
    .cv-pattern-icon:nth-child(n) {
        width: 40px !important;
        height: 40px !important;
    }
    
    .cv-buttons-section + .contact-section {
        margin-top: 60px;
    }
    
    .contact-section {
        padding: 80px 20px;
    }
    
    /* FIX: Reset container padding/margin on mobile */
    .contact-section .container {
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    /* FIX: Ensure grid is properly centered */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin: 0 auto 80px;
        padding: 0;
        max-width: 100%;
    }
    
    /* FIX: Remove any inherited margins */
    .contact-info-container,
    .contact-form-container {
        padding: 30px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-info-container h3,
    .contact-form-container h3 {
        font-size: 1.75rem;
    }
    
    .map-container {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .hero-strip-section {
        padding: 70px 10px 0;
    }
    
    .hero-strip-container {
        padding: 0 3px;
    }
    
    .hero-strip-image {
        height: 375px; /* 50% increase from 250px */
        border-radius: 10px;
    }
    
    .about-title-section {
        padding: 30px 13px 0;
    }
    
    .about-title {
        font-size: 2rem;
        padding: 0 3px;
    }
    
    .bio-section {
        padding: 25px 13px 40px;
    }
    
    .bio-content {
        padding: 0 3px;
    }
    
    .bio-text {
        font-size: 1.25rem; /* 25% increase from 1rem */
        margin-bottom: 20px;
    }
    
    .cv-buttons-section {
        padding: 60px 13px;
    }
    
    .cv-buttons-wrapper {
        padding: 0 3px;
    }
    
    .cv-section-title {
        font-size: 2rem;
    }
    
    .cv-section-description {
        font-size: 0.938rem;
    }
    
    .cv-buttons-group {
        flex-direction: row;
    }
    
    .view-cv-btn {
        padding: 16px 36px;
        font-size: 1rem;
    }
    
    .download-cv-btn {
        width: 58px;
        height: 58px;
    }
    
    .cv-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .cv-buttons-section + .contact-section {
        margin-top: 50px;
    }
    
    .contact-section {
        padding: 70px 15px;
    }
    
    /* FIX: Extra small screen alignment */
    .contact-section .container {
        padding: 0;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-grid {
        margin: 0 auto 80px;
        padding: 0;
        max-width: 100%;
    }
    
    .contact-info-container,
    .contact-form-container {
        padding: 25px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    .contact-item {
        gap: 15px;
    }
    
    .contact-value {
        font-size: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 16px;
        font-size: 0.938rem;
    }
    
    .submit-btn {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .map-container {
        height: 300px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}