
body {
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    padding: 40px;
}
h1 {
    font-size: 48px;
    font-weight: normal;
}
p {
    color: #b3b3b3;
    font-size: 18px;
}

.site-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.site-name {
    color: white;
    text-decoration: none;
    font-size: 30px;
    letter-spacing: 8px;
}

.site-tagline {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
    letter-spacing: 2px;
}

/* Hamburger button */

.menu-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 8px;
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-button span {
    display: block;
    width: 32px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
}

/* Drop-down menu */

.site-menu {
    display: none;
    position: absolute;
    top: 55px;
    right: 0;
    min-width: 190px;
    background-color: #111111;
    border: 1px solid #555555;
    z-index: 100;
}

.site-menu.open {
    display: flex;
    flex-direction: column;
}

.site-menu a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 14px 18px;
    border-bottom: 1px solid #333333;
}

.site-menu a:last-child {
    border-bottom: none;
}

.site-menu a:hover {
    background-color: #333333;
}

.site-menu a.active {
    color: #b3b3b3;
}

img {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin-top: 0;
}
.caption {
    font-size: 14px;
    font-style: italic;
    margin-top: 10px;
}
.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

figure {
    margin: 0;
}

figure {
    margin: 0;
}

.about {
    max-width: 700px;
    min-height: 55vh;
    position: relative;
    left: 60px;
}

.about p {
    line-height: 1.7;
}

.contact {
    max-width: 700px;
}

form {
    margin-top: 40px;
}

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
}

.contact {
    max-width: 700px;
}

form {
    margin-top: 40px;
}

label {
    display: block;
    margin-top: 20px;
    margin-bottom: 8px;
}

.about {
    max-width: 700px;
    min-height: 55vh;
}
input,
textarea {
    width: 100%;
    padding: 12px;
    box-sizing: border-box;
    background-color: #111111;
    color: white;
    border: 1px solid #666666;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: white;
}

form button {
    margin-top: 25px;
    padding: 12px 20px;
    background-color: white;
    color: black;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background-color: #b3b3b3;
}
.hero {
    display: flex;
    justify-content: center;
    margin: 0;
}

.hero img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 180px);
    object-fit: contain;
}

@media (max-width: 700px) {
    body {
        padding: 20px;
    }

    h1 {
        font-size: 36px;
    }

    .gallery {
        grid-template-columns: 1fr;
    }
}
/* Full-screen portfolio lightbox */

.gallery img {
    cursor: pointer;
}

.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.96);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90vw;
    height: 90vh;
}

.lightbox-image {
    max-width: 90vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

.lightbox-caption {
    color: white;
    margin-top: 12px;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    border: none;
    background: transparent;
    color: white;
    cursor: pointer;
    font-size: 42px;
    z-index: 1001;
}

.lightbox-close {
    top: 20px;
    right: 30px;
}

.lightbox-prev {
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
}
/* Portfolio layout */

main {
    max-width: 1500px;
    margin: 0 auto;
    padding: 40px 32px 60px;
}

main h1 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 32px;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.gallery figure {
    margin: 0;
}

.gallery img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s ease;
}

.gallery img:hover {
    transform: scale(1.015);
}

.gallery .caption {
    display: none;
}

/* Tablet */
@media (max-width: 900px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Phone */
@media (max-width: 600px) {
    main {
        padding: 30px 18px 50px;
    }

    .gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
/* Contact form spam trap */

.contact-check {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Mobile header and navigation */

@media (max-width: 600px) {

    .site-name {
        font-size: 26px;
        letter-spacing: 6px;
    }

    .site-tagline {
        font-size: 16px;
        line-height: 1.4;
        letter-spacing: 1px;
    }

    .menu-button {
        width: 52px;
        height: 52px;
        padding: 8px;
    }

    .menu-button span {
        width: 36px;
        height: 4px;
        background-color: #ffffff;
    }

    .site-menu {
        top: 58px;
        min-width: 210px;
    }

    .site-menu a {
        font-size: 21px;
        padding: 16px 20px;
    }
    .about {
    left: 0;
    }
}

/* Modified Footer Styles */

.site-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333333;
    text-align: center;
    width: 100%;             /* Ensures container takes full width */
    box-sizing: border-box;  /* Prevents padding issues on mobile */
    display: block;          /* Forces block layout behavior */
}

/* Base style for all text in footer */
.site-footer p {
    font-size: 13px;
    color: #888888;
    margin: 8px 0;          /* Adds balanced spacing above/below text */
}

/* Direct container for the privacy link */
.privacy-link {
    margin-top: 10px;       /* Reduced from 20px to sit neatly under copyright */
    font-size: 13px;        /* Kept matching the copyright font size */
    text-align: center;     /* Explicit centering for mobile browsers */
}

/* Strict color enforcement for links across all browser engines */
.site-footer a,
.site-footer a:link,
.site-footer a:visited {
    color: #888888 !important; /* Force grey instead of default browser blue/purple */
    text-decoration: underline; 
}

/* Subtle change when hovered over */
.site-footer a:hover,
.site-footer a:active {
    color: #ffffff !important;  /* Turns white when hovered */
}
