/*ALL MADE BY BENNY HUI*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Whitney SSm A', 'Whitney SSm B', Arial, sans-serif;
    color: white;
}

/* ===== Navigation Bar ===== */
.nav {
    width: 100%;
    background-color: rgba(40, 40, 40, 0.5); /* 50% transparent */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.nav ul {
    list-style-type: none;
    text-align: center;
    margin: 0;
    padding: 0;
}
.nav li { display: inline-block; }
.nav a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 20px 30px;
    font-size: 18px;
    line-height: 1;
    vertical-align: middle;
    transition: all 0.3s ease;
}
.nav a:hover {
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}
/* ===== Resume Button ===== */
.resume-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 30px;
    padding: 12px 25px;
    margin-left: 15px;
    font-weight: 600;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.resume-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
}
/* ===== Background ===== */
body {
    background-image: url(image/rain-wallpaper-3840x2160-high-resolution-8k-6496.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
}

/* ===== Intro Left-Aligned ===== */
.intro-left {
    text-align: left;
    margin-top: 125px; /* below nav bar */
    margin-left: 100px;
    margin-bottom: 40px;
}
.intro-left h1 {
    font-size: 95px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
}
.intro-left p {
    font-size: 35px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* ===== Main Glass Section ===== */
.glass {
    position: relative;
    margin: 40px auto 24px;
    width: 80%;
    max-width: 1000px;
    padding: 40px 50px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    font-size: 20px;
    line-height: 1.7;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.6);
}

/* ===== NEW: Three-Image Gallery ===== */
.glass-gallery {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 22px 28px;
    border-radius: 20px;

    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.gallery-heading {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.55);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.gallery-grid a {
    display: block;
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
    transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.gallery-grid img {
    width: 100%;
    height: 220px;             /* tweak height if you want taller/shorter tiles */
    object-fit: cover;         /* fills tile; change to 'contain' if you never want cropping */
    display: block;
}

.gallery-grid a:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 12px 26px rgba(0,0,0,0.45);
    filter: brightness(1.05);
}

/* ===== Footer ===== */
.copy {
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
    .intro-left { margin-left: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid img { height: 200px; }
}

@media (max-width: 560px) {
    .intro-left { margin-left: 20px; }
    .intro-left h1 { font-size: 64px; }
    .intro-left p { font-size: 24px; }
    .glass { width: 90%; padding: 28px 24px; }
    .glass-gallery { width: 90%; padding: 18px 18px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-grid img { height: 220px; }
    .nav a { padding: 16px 18px; font-size: 16px; }
}
