/*fonts*/
.fira-sans-regular {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.fira-sans-bold {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.gfs-didot-regular {
  font-family: "GFS Didot", serif;
  font-weight: 400;
  font-style: normal;
}
.lora-bold {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/*scroll*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*base*/
*, *::before, *::after { box-sizing: border-box; }
html {
    background-color: #d7e6f5;
    scroll-behavior: smooth;
}
body {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}
.content {
    max-width: 1140px;
    margin: 0 auto;
    padding: calc(90px + 2rem) 1rem;
}
ul{ list-style: none; margin: 0; padding: 0;}
a {
    text-decoration: none;
    color: #191919;
    transition: color 0.3s ease;
}
a:hover, a:focus { color: #191919;}
h1, h2 {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 34px;
    text-align: center;
}
.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
#hero, #about, #background, #projects, #connect {
    width: 100%;
    margin: 0;
}

/*navigation*/
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 90px;
    background-color: #d7e6f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: height 0.3s ease;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.navbar-logo {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #191919;
    font-size: 1.5rem;
    transition: font-size 0.3s ease;
}
.navbar.is-scrolled {
    height: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.navbar.is-scrolled .navbar-brand {
    font-size: 1.25rem;
}
@media (min-width: 992px) {
    .navbar-toggle { display: none; }
    .navbar-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        width: auto;
        background: none;
        border: none;
        transition: none;
    }
    .navbar-list {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .navbar-item  { border-top: none; }
    .navbar-link {
        padding: 1rem;
        transition: padding 0.3s ease,
                    color 0.3s ease;
    }
    .navbar-link:hover, .navbar-link:focus {
        color: white;
        background-color: rgba(25,25,25,0.75);
    }
    .navbar.is-scrolled .navbar-link {
        padding: 0.5rem 1rem;
    }
}

/*hero*/
#hero {
    background-color: #d7e6f5;
    text-align: center;
    padding: 90px 24px 110px;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
}
#hero h1 {
    font-size: 72px;
    color: #191919;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#hero p.tagline {
    font-size: 18px;
    color: #191919;
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.65;
    font-weight: 300;
}

/*buttons*/
.btn-contact, .btn-projects {
    display: inline-block;
    border: 1.5px solid #191919;
    padding: 12px 36px;
    font-size: 15px;
    color:#191919;
    transition: background-color 0.3s, color 0.3s;
}
.btn-contact:hover, .btn-projects:hover {
    background: #191919;
    color:white;
}

/*about*/
#about {
    background-color: #d7e6f5;
    padding: 70px 24px 80px;
}
.about-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 52px;
    align-items: flex-start;
}
.about-text { flex: 1;}
.about-text h2{
    font-size: 34px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-text p {
    font-size: 17px;
    color:#191919;
    line-height: 1.8;
    font-weight: 300;
}
.about-photo {
    flex-shrink: 0;
    width: 240px;
}
.about-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/*background*/
#background {
    background-color: #191919;
    color:white;
    padding: 64px 24px 72px;
    text-align: center;
}
#background h2 {
    letter-spacing: 0.08em;
    margin-bottom: 48px;
}
.bg-cards {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.bg-card {
    width: 260px;
    text-align: center;
}
.school-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.45);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}
.bg-card h3 {
    font-size: 16px;
    color:white;
    margin-bottom: 0;
    line-height: 1.2;
}
.bg-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 12px 0;
}
.bg-card .role {
    font-size: 16px;
    font-weight: 700;
    color:white;
    margin-bottom: 5px;
}
.bg-card .detail {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    font-weight: 300;
    line-height: 1.55;
}

/*projects*/
#projects {
    background-color: #d7e6f5;
    padding: 72px 24px 120px;
    text-align: center;
}
.project-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
}
.project-card {
    background-color: white;
    width: 320px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.project-img-placeholder {
    width: 100%;
    height: 180px;
    background-color: #b8d0e8;
}
.project-card-body {
    padding: 20px 22px 24px;
}
.project-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #191919;
    opacity: 0.5;
}
.project-title {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 18px;
    color: #191919;
    margin: 8px 0 10px;
}
.project-desc {
    font-size: 15px;
    color: #191919;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 18px;
}
.project-link {
    font-size: 14px;
    font-weight: 600;
    color: #191919;
    border-bottom: 1.5px solid #191919;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}
.project-link:hover { opacity: 0.5; }

@media (max-width: 640px) {
    .project-cards { flex-direction: column; align-items: center; }
    .project-card { width: 100%; max-width: 360px; }
}

/*connect*/
#connect {
    background-color: #d7e6f5;
    color:#191919;
    text-align: center;
    padding: 40px 24px 32px;
}
#connect h2 {
    margin-bottom: 44px;
}
.connect-links {
    display: flex;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}
.connect-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.connect-item > div {
    text-align: left;
}
.connect-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #191919;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.connect-item .label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
    color: #191919;
}
.connect-item .value a {
    font-size: 16px;
    font-weight: 300;
    color: #191919;
}
.connect-item .value a:hover {
    text-decoration: underline;
}

/*footer*/
footer {
    background-color: #191919;
    padding: 48px 24px 24px;
}
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}
.footer-name {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    margin: 0 0 6px;
    letter-spacing: 0.05em;
}
.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-weight: 300;
}
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}
.footer-nav a:hover { color: white; }
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}
.footer-social a:hover { color: white; }
.footer-copy {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin: 0;
    max-width: 1140px;
    margin: 0 auto;
}

/*responsive design*/
@media (max-width: 640px) {
    .about-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    }
    .about-photo { width: 160px; }
    .about-photo img { height: 200px; }
    .bg-cards { flex-direction: column; align-items: center; }
    .connect-links { flex-direction: column; align-items: center; gap: 32px; }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}