

/* =========================================
   SECTION TITLES
========================================= */

.section-title {
    font-size: 2.6rem;

    margin-bottom: 60px;

    letter-spacing: -2px;
}

/* =========================================
   ABOUT
========================================= */

.about-text {
    grid-column: span 7;
}

.about-text p {
    color: var(--muted);

    font-size: 1.08rem;
}

.about-image {
    grid-column: span 5;

    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-wrapper {
    width: 320px;
    height: 320px;

    border-radius: 38% 62% 55% 45% / 45% 35% 65% 55%;

    overflow: hidden;

    border: 3px solid rgba(255, 255, 255, 0.06);

    box-shadow: var(--shadow);

    transform: rotate(-1deg);

    transition: var(--transition);
}

.profile-wrapper:hover {
    transform: scale(1.02);
}

.profile-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

/* =========================================
   GALLERY
========================================= */

.gallery {
    display: grid;
    grid-template-columns: repeat(12, 1fr);

    gap: 24px;
}

.gallery-item {
    grid-column: span 4;

    position: relative;

    overflow: hidden;

    background: var(--card);

    border-radius: 28px 18px 32px 20px;

    border: 1px solid var(--border);

    cursor: pointer;

    transition: var(--transition);
}

.gallery-item img {
    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    transition: transform 0.6s ease;

    display: block;
}

.gallery-item::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(to top,
            rgba(0, 0, 0, 0.75),
            transparent);

    opacity: 0;

    transition: var(--transition);

    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover {
    transform: translateY(-10px);

    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.gallery-info {
    position: absolute;

    bottom: 24px;
    left: 24px;

    z-index: 2;

    opacity: 0;

    transform: translateY(20px);

    transition: var(--transition);
}

.gallery-item:hover .gallery-info {
    opacity: 1;

    transform: translateY(0);
}

.gallery-info h3 {
    margin-bottom: 5px;
}

.gallery-info p {
    color: #d0d0d0;

    font-size: 0.9rem;
}

/* =========================================
   ACHIEVEMENTS
========================================= */

.achievement-table {
    width: 100%;

    border-collapse: collapse;

    overflow: hidden;

    background: var(--card);

    border-radius: 28px;
}

.achievement-table tr {
    transition: var(--transition);
}

.achievement-table tr:hover {
    background: var(--card-hover);
}

.achievement-table td {
    padding: 26px;

    width: 33.33%;
}

.achievement-table tr:first-child {
    background: rgba(255, 255, 255, 0.03);
}

.achievement-table tr:first-child td {
    font-weight: 700;
}

.achievement-table td:first-child {
    font-weight: 600;
}

.achievement-table td:last-child {
    color: var(--muted);
}

/* =========================================
   CONTACT
========================================= */

.contact-card {
    background: var(--card);

    padding: 50px;

    border-radius: 30px;

    border: 1px solid var(--border);

    position: relative;

    overflow: hidden;
}

.contact-card::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    background:
        radial-gradient(circle,
            rgba(214, 164, 255, 0.12),
            transparent 70%);

    top: -100px;
    right: -100px;
}

.contact-item {
    margin-bottom: 22px;

    position: relative;

    z-index: 2;
}

.contact-item h4 {
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--muted);
}

.socials {
    display: flex;

    gap: 18px;

    margin-top: 35px;

    position: relative;
    z-index: 2;
}

.socials a {
    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: #222;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: var(--transition);

    border: 1px solid var(--border);
}

.socials a:hover {
    background: var(--accent);

    color: black;
}

/* =========================================
   FOOTER
========================================= */

footer {
    padding: 40px 0;

    text-align: center;

    color: var(--muted);

    border-top: 1px solid var(--border);
}

/* =========================================
   REVEAL
========================================= */

.reveal {
    opacity: 0;

    transform: translateY(40px);

    transition: 0.8s ease;
}

.reveal.active {
    opacity: 1;

    transform: translateY(0);
}


