/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~HOME.PHP~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.opening-image img.logo-main {
    width: 100%;
    height: auto;
    display: block;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 350px;
    margin: 30px auto;
    overflow: hidden;
    background: #f4d5a9;
}
.slider-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: transform 0.7s cubic-bezier(.77,0,.18,1), opacity 0.7s;
    z-index: 1;
    pointer-events: none;
}
.slider-img.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
    pointer-events: auto;
}
.slider-img.slide-out-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}
.slider-img.slide-in-right {
    opacity: 1;
    transform: translateX(100%);
    z-index: 2;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~HEADER.PHP~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
header {
    width: 100%;
    background-color: #f4d5a9;
}

.logo-header {
    width: 100%;
    max-width: 400px;
}

.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f4d5a9;
    width: 100%;
    padding: 0 2em;
}

.logo-header {
    max-width: 200px;
    width: 100%;
    height: auto;
    display: block;
}

.nav-links {
    align-items: center;
    text-align: center;
    font-size: 1em;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
    display: table;
    padding: 5px;   
    margin-left: auto;
    margin-right: 100px;
}

.nav-links td {
    border-right: 1px solid #000000; /* or any color you prefer */
    padding: 0 15px;
    font-size: 1.5em;
    font-variant: small-caps;
    font-weight: bold;
}

.nav-links td a {
    color: #000000;
    text-decoration: none;
}

.nav-links td:hover {
    background-color: #af9776;
}

.nav-links td:last-child {
    border-right: none;
}

.desktop-nav { display: table; }
.mobile-nav { display: none; }

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~FOOTER.PHP~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
footer {
    width: 100%;
    background-color: #f4d5a9;
    padding-bottom: 1em;
}

footer a {
    color: #000;
    font-weight: bold;
}
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~PASTPROJECTS.PHP~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}


/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~GENERAL~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

body {
    background-color: #f4d5a9;
}

.opening-image {
    width: 100%;
    max-width: 50vw;
    display: block;
    margin: 5px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.centered {
    text-align: center;
    margin: 0 auto;
}

h1 {
    font-variant: small-caps;
}

@media (min-width: 769px) {
    p {
        font-size: 1.5em;
        max-width: 60vw;   /* Only take up part of the page */
        margin: 30px auto;
        padding: 0 20px;
    }
    h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.5em;
    }
    h3 {
        font-size: 2em;
    }
    h4 {
        font-size: 1.5em;
    }
    a {
        font-size: 1.5em;
    }
    .slider-container {
        max-width: 75vw;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }
    .logo-header {
        max-width: 50vw;
        height: auto;
    }
    .desktop-nav { display: none; }
    .mobile-nav { display: block; position: relative; }
    #menu-toggle {
        font-size: 2em;
        background: none;
        border: none;
        cursor: pointer;
    }
    .dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        background-color: #f4d5a9;
        border:#000 2px solid;
        min-width: 120px;
        box-shadow: 0 8px 16px rgba(0,0,0,0.2);
        z-index: 9999;
    }
    .dropdown-content a {
        color: #000;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        font-weight: bold;
    }
    .dropdown-content a:hover {
        background-color: #ddd;
    }
    .dropdown-content.show {
        display: block;
    }
}