body {
    margin: 0;
    background-color: #231f20;
}

/* Header with logo + nav in one bar */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 75px;
    background-color: #231f20;
    /*position: relative;
    padding-bottom: 20px;*/
}


.branding img {
    height: 109px;
    width: auto;
    padding-top: 10px;
}

/* Nav */

.top-nav {
    position: relative;
    padding-bottom: 20px;
}

.top-nav::after {
    /*Dementions*/
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 145%;
    height: 2px;
    background-color: white;
}

.top-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.top-nav a {
    display: inline-block;
    padding: 8px 25px;
    background: rgba(0, 35, 0, .95);
    border: 1px solid #4c4f4e;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-family: "Ambicase Fatface", Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    letter-spacing: 0.5px;
}

/* Hero section with background image */
.portfolio-hero-h1 {
    color: white;
    font-family: "Ambicase Fatface", serif, sans-serif, cursive;
    font-size: 48px;
    margin: 0;
    padding: 20px;
    text-align: center;
    padding-bottom: 20px;
}

.portfolio-hero {

    position: relative;
    padding: 80px 245px;
    text-align: left;

    background-image: url('../images/portfolio-background.jpg');
    background-size: cover;
    background-position: center;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150px;
    /* ← controls how “skinny” it is */
    background: radial-gradient(circle at center,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.25) 40%,
            rgba(0, 0, 0, 0.10) 100%);
    pointer-events: none;
    z-index: 0; 
   
}

.portfolio-title {
    position: absolute;
    top: 45%;
    left: 11%;
    font-family: "Ambicase Fatface", serif;
    font-size: 55px;

    -webkit-text-stroke: 1px #796f6f; /* outline color */
    -webkit-text-fill-color: rgb(0, 0, 0);   /* inside color */
}

.portfolio-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 125%;
    height: 2px;
    background-color: rgb(0, 0, 0);
    border: 1px solid #4c4f4e;
}

/* Quote stays centered */
.quote {
    position: absolute;
    top: 49%;
    left: 70%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "Ambicase Fatface", serif;
    font-size: 20px;
    font-style: italic;
    margin: 0;
}

/* Portfolio grid */
.portfolio-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    padding: 109px 0;
    background-color: #231f20;
    margin-top: -40px;
    ;
}

.portfolio-box {
    display: block;
    width: 280px;
    height: 300px;
    background: #1a0f28;
    border-radius: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-box h3 {
    font-family: "Ambicase Fatface", Georgia, serif;
    font-size: 24px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin: 0;
}


.portfolio-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.box-content {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid #4c4f4e;
    backdrop-filter: blur(4px);
}

.box-content h2 {
    color: white;
    font-family: "Ambicase Fatface", serif;
    font-size: 28px;
    text-align: center;
}

/* Background images for boxes */
.portfolio-box:nth-child(1) {
    background-image: url('../images/art289_p3_webdesign_morrow.jpg');
    background-size: cover;
    background-position: center;
}

.portfolio-box:nth-child(2) {
    background-image: url('../images/bethm-designs.gif');
    background-size: cover;
    background-position: center;
}

.portfolio-box:nth-child(3) {
    background-image: url('../images/portfolio-photography/waterserface.jpg');
    background-size: cover;
    background-position: center;
}

.instagram-image-link {
    text-align: center;
    margin: 40px 0;
}

.instagram-image-link .insta-icon {
    width: 80px; /* adjust size */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
    margin-top: -65px;
}

.instagram-image-link .insta-icon:hover {
    transform: scale(1.1);
}


/*Form link */

.project-button {
    display: inline-block;
    padding: 15px 25px;
    background: rgba(0, 35, 0, 0.95);
    border: 1px solid #4c4f4e;
    border-radius: 20px;
    color: white;
    text-decoration: none;
    font-family: "Ambicase Fatface", Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
    letter-spacing: 0.5px;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-left: 448px;
}

.project-button:hover {
    transform: translate(-3);
    background: rgba (0, 35, 0, 1);
}

/* Footer */
.portfolio-footer {
    text-align: center;
    color: white;
    font-family: "Ambicase Fatface", Georgia, 'Times New Roman', Times, serif;
    padding: 20px 0;
    font-size: 12px;
    padding-top: 83px;
}