/* =========================================================
   AJANG AJANG LINO
   PROFESSIONAL BIOGRAPHY WEBSITE
   MAIN STYLESHEET
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
    color: #222222;
    background: #ffffff;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
}


/* =========================================================
   GLOBAL CONTAINER
   ========================================================= */

.container {
    width: 92%;
    max-width: 1100px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: relative;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #e5e9e7;
}

.header-container {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    color: #222222;
    font-size: 1.05rem;
    font-weight: 700;
}


/* =========================================================
   MENU TOGGLE
   WORKS ON DESKTOP AND MOBILE
   ========================================================= */

.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    padding: 0;
    margin: 0;

    border: none;
    background: transparent;

    color: #222222;

    font-size: 18px;
    line-height: 1;

    cursor: pointer;

    flex-shrink: 0;
}


/* =========================================================
   DROP-DOWN NAVIGATION
   ========================================================= */

.main-nav {
    display: none;

    position: absolute;
    top: 100%;
    right: 0;

    width: 120px;

    flex-direction: column;
    gap: 4px;

    background: #ffffff;

    z-index: 1000;
}

.main-nav.open {
    display: flex;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.main-nav a {
    display: block;
    width: 100%;

    padding: 5px 9px;

    border: 1px solid #18794e;
    border-radius: 3px;

    color: #18794e;
    background: #ffffff;

    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.3;

    text-align: left;

    transition: 0.2s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: #18794e;
    background: #ffffff;
}


/* =========================================================
   HOME HERO
   ========================================================= */

.hero {
    padding: 50px 0;
    background: #ffffff;
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero-eyebrow {
    margin-bottom: 20px;

    color: #18794e;

    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.hero h1 {
    margin-bottom: 20px;

    color: #222222;

    font-size: clamp(2rem, 3vw, 2.3rem);
    line-height: 1;
}

.hero h2 {
    margin-bottom: 10px;

    color: #333333;

    font-size: clamp(0.7rem, 1.5rem, 1rem);
    font-weight: 500;
    line-height: 1;
}

.hero-text {
    max-width: 700px;
    margin-bottom: 24px;

    color: #53625d;
}


/* =========================================================
   HOME HERO PHOTO
   ========================================================= */

.hero-image {
    flex: 0 0 330px;
}

.hero-image img {
    width: 100%;
    border-radius: 4px;
}


/* =========================================================
   GENERAL LINK BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions .btn,
.home-cta .btn,
.text-link,
.page-link {
    display: inline-block;

    padding: 6px 11px;

    border: 1px solid #18794e;
    border-radius: 3px;

    color: #18794e;
    background: #ffffff;

    font-size: 0.9rem;
    font-weight: 600;

    line-height: 1.3;

    transition: 0.2s ease;
}

.hero-actions .btn:hover,
.home-cta .btn:hover,
.text-link:hover,
.page-link:hover {
    color: #18794e;
    background: #ffffff;
}


/* =========================================================
   HOME SECTIONS
   ========================================================= */

.introduction,
.highlights,
.leadership-feature,
.education-preview,
.home-cta {
    padding: 30px 0;
}

.introduction,
.highlights,
.leadership-feature,
.education-preview,
.home-cta {
    background: #ffffff;
}


/* =========================================================
   SECTION LABEL
   ========================================================= */

.section-label {
    margin-bottom: 10px;

    color: #18794e;

    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}


/* =========================================================
   HOME HEADINGS
   ========================================================= */

.introduction h2,
.highlights h2,
.leadership-feature h2,
.education-preview h2,
.home-cta h2 {
    max-width: 500px;

    margin-bottom: 16px;

    color: #222222;

    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.25;
}


/* =========================================================
   HOME TEXT
   ========================================================= */

.introduction p,
.leadership-feature p,
.education-preview p,
.home-cta p {
    max-width: 850px;

    margin-bottom: 14px;

    color: #53625d;
}


/* =========================================================
   HIGHLIGHTS
   ========================================================= */

.highlight-list {
    max-width: 900px;
}

.highlight-item {
    padding: 18px 0;

    border-bottom: 1px solid #dfe5e2;
}

.highlight-item h3 {
    margin-bottom: 6px;

    color: #222222;

    font-size: 1.15rem;
}

.highlight-item p {
    color: #53625d;
}



/* =========================================================
   INNER PAGE INTRODUCTION
   PHOTO + PAGE TITLE
   ========================================================= */

.page-introduction {
    padding: 10px 0 0;
    background: #ffffff;
}

.page-introduction-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* =========================================================
   INNER PAGE PHOTO
   ========================================================= */

.page-photo {
    flex: 0 0 270px;
    width: 270px;
}

.page-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.page-heading {
    flex: 1;
}

.page-heading h1 {
    margin-bottom: 10px;

    color: #222222;

    font-size: clamp(2rem, 4vw, 3.1rem);
    line-height: 1.15;
}

.page-subtitle {
    color: #53625d;
    font-size: 1.1rem;
}


/* =========================================================
   INNER PAGE CONTENT
   ========================================================= */

.page-content {
    padding: 15px 0;
}

.page-content .container {
    max-width: 900px;
}

.page-content h1 {
    color: #222222;
}

.page-content h2 {
    margin-top: 5px;
    margin-bottom: 12px;

    color: #222222;

    font-size: 1.4rem;
    line-height: 1.3;
}

.page-content h3 {
    margin-top: 22px;
    margin-bottom: 8px;

    color: #222222;

    font-size: 1.12rem;
    line-height: 1.35;
}

.page-content p {
    margin-bottom: 14px;
    color: #53625d;
}

/* =========================================================
   PAGE NAVIGATION
   ========================================================= */

.page-navigation {
    margin-top: 35px;
    padding-top: 20px;

    border-top: 1px solid #e0e7e3;
}


/* =========================================================
   TABLES
   ========================================================= */

.page-content table {
    width: 100%;
    margin: 25px 0;

    border-collapse: collapse;
}

.page-content th,
.page-content td {
    padding: 10px 12px;

    border: 1px solid #dfe5e2;

    text-align: left;
    vertical-align: top;
}

.page-content th {
    color: #222222;
    background: #f8faf9;
    font-weight: 700;
}

.page-content td {
    color: #53625d;
}


/* =========================================================
   GALLERY
   ========================================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 25px;
}

.gallery-item {
    margin: 0;
}

.gallery-item img {
    width: 100%;
    border-radius: 4px;
}

.gallery-item figcaption {
    margin-top: 7px;

    color: #53625d;

    font-size: 0.88rem;
}


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

.page-content a[href^="mailto:"],
.page-content a[href^="tel:"] {
    color: #18794e;
    font-weight: 600;
}


/* =========================================================
   NEWS
   ========================================================= */

.news-item {
    padding: 20px 0;
    border-bottom: 1px solid #dfe5e2;
}

.news-item h2,
.news-item h3 {
    color: #222222;
}

.news-date {
    margin-bottom: 8px;

    color: #18794e;

    font-size: 0.85rem;
    font-weight: 600;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 28px 0;

    background: #122d27;

    color: #dfe9e5;

}

.site-footer {
    align-items: center;

}

.site-footer p {
    margin: 0;
    font-size: 0.88rem;
    text-align: center;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 760px) {

    .container {
        width: 90%;
    }


    /* HEADER */

    .header-container {
        min-height: 60px;
    }

    .main-nav {
        left: auto;
        right: 4%;
        width: 110px;
    }


    /* HERO */

    .hero {
        padding: 50px 0;
    }

    .hero-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-image {
        width: 100%;
        max-width: 300px;
        flex: none;
    }


    /* INNER PAGE HEADER */

    .page-introduction {
        padding: 2px  0;
    }

    .page-introduction-content {
        flex-direction: row;
        align-items: flex-start;
        gap: 10px;
    }

    .page-photo {
        width: 35%;
        max-width: 100px;
        flex: none;
    }

    .page-heading {
        width: auto;
        flex: 1;
    }

    .page-heading h1 {
        font-size: 1.20rem;
        margin-top: 0;
    }


    /* INNER CONTENT */

    .page-content {
        padding: 5px 0;
    }

    .page-content h2 {
        margin-top: 5px;
        font-size: 1.3rem;
    }

    .page-content h3 {
        margin-top: 20px;
        font-size: 1.02rem;
    }

    .page-content p {
        margin-bottom: 13px;
    }


    /* LISTS */

    .page-content ul {
        margin-left: 10px;
        padding-left: 15px;
    }


    /* TABLES */

    .page-content table {
        display: block;
        overflow-x: auto;
        white-space: normal;
    }

    .page-content th,
    .page-content td {
        min-width: 150px;
    }


    /* GALLERY */

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }


    /* FOOTER */

    .site-footer .container {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
}
/* =========================================================
   CONTACT INFORMATION
   ========================================================= */
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
}
.contact-item > i {
    font-size: 22px;
    width: 28px;
    min-width: 28px;
    text-align: center;
}
.contact-item h3 {
    margin: 0 0 3px;
}
.contact-item p {
    margin: 0;
}
.contact-item a {
    text-decoration: none;
}
/* =========================================================
   SOCIAL MEDIA ICONS
   ========================================================= */
.contact-social-links {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.contact-social-links a {
    font-size: 28px;
    text-decoration: none;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 700px) {
    .contact-item {
        gap: 10px;
        margin: 18px 0;
    }
    .contact-item > i {
        font-size: 20px;
        width: 25px;
        min-width: 25px;
    }
    .contact-social-links {
        gap: 15px;
    }
    .contact-social-links a {
        font-size: 25px;
    }
}
/* =========================================================
   MOBILE MENU — PREVENT SCREEN FROM EXPANDING
   ========================================================= */

@media (max-width: 700px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .site-header {
        width: 100%;
        max-width: 100%;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .main-nav {
        box-sizing: border-box;
        max-width: 100%;
    }

}
