/* css/about.css */

/* Hero Section */
.about-hero {
    padding: 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-body);
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text { flex: 1; }

.hero-tag {
    color: var(--primary);
    background: rgba(217, 4, 41, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    display: inline-block;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.hero-text h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    color: var(--text-main);
    line-height: 1.1;
}

.hero-text h1 span { color: var(--primary); }

.hero-text h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-sec);
    font-weight: 600;
}

.role-title {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: bold;
    letter-spacing: 0.5px;
    margin-bottom: 30px;
}

.btn-hero-premium {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(217, 4, 41, 0.2);
    transition: 0.3s;
}

.btn-hero-premium:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: left;
    position: relative;
}

.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 25px 25px 0 var(--primary);
    border: 3px solid var(--text-main);
    filter: contrast(1.1);
}

/* Bio Section */
.bio-section {
    padding: 100px 0;
    background-color: var(--bg-alt);
}

.bio-text {
    max-width: 900px;
    margin: 0 auto;
}

.bio-text h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    border-right: 5px solid var(--primary);
    padding-right: 20px;
    color: var(--text-main);
}

.bio-text h2 span { color: var(--primary); }

.bio-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-sec);
    margin-bottom: 25px;
    text-align: justify;
}

.bio-quote {
    background: var(--bg-card);
    border-right: 5px solid var(--primary);
    padding: 30px;
    margin: 40px 0;
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-main);
    box-shadow: var(--shadow);
    border-radius: 5px;
}

/* Services / Skills Grid (Mini Cards) */
.services-section { padding: 100px 0; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border);
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* CTA */
.cta-section {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 100px 0;
}

/* Modal */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0; top: 0; 
    width: 100%; height: 100%; 
    background-color: rgba(0,0,0,0.6); 
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto; 
    padding: 40px; 
    border-radius: 15px;
    width: 90%; 
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    color: var(--text-gray);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.modal-submit {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.modal-submit:hover { background: var(--primary-dark); }

/* Mobile */
@media (max-width: 900px) {
    .hero-container { flex-direction: column-reverse; text-align: center; }
    .hero-image { justify-content: center; }
    .bio-text h2 { font-size: 2rem; }
}