/* Variables -------------------------------------------------------------------------------------------------------------------------------- */
:root {
    --primary-color: #70342a;
    /* --primary-color: #60332b; */
    --background-color: #ece5d5;
    --footer-color: #d8d1c1;
    --text-color: #000;
    --architecture-margin-top: 6rem;
    --illustrations-margin-bottom: 6rem;
    --project-title-margin: 3rem;
    --signature-image-width: 100%;
    --project-gallery-margin: 10rem;
}

/* -------------------------------------------------------------------------------------------------------------------------------- */

/* General -------------------------------------------------------------------------------------------------------------------------------- */
@font-face {
    font-family: 'PF Beausans Pro Thin';
    src: url('./fonts/PF\ Beau\ Sans\ Pro-Thin.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'PF Beausans Pro Thin', sans-serif;
    background-color: var(--background-color);
    color: var(--primary-color);
}

.container h1 {
    font-weight: bold;
}


/* -------------------------------------------------------------------------------------------------------------------------------- */

/* Navbar -------------------------------------------------------------------------------------------------------------------------------- */
.navbar {
    background-color: var(--background-color);
}

.nav-link {
    margin-right: 0.5rem;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,

.navbar-light .navbar-toggler-icon {
    color: #000;
}
.navbar-brand img{
    margin-top: 1em;
}

/* #header .container {
    width: 100%;
    padding: 0;
    margin: 0;
} */

/* -------------------------------------------------------------------------------------------------------------------------------- */

.col-md-2.d-flex.align-items-start {
    margin-top: var(--architecture-margin-top);
}

.col-md-2.d-flex.align-items-end {
    margin-bottom: var(--illustrations-margin-bottom);
}

.btn-link,
.site-title {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.btn-link {
    font-size: 2rem;
    padding: 0;
}

.btn-link:hover,
.grid-item:hover .grid-item-title {
    color: var(--text-color);
}

.site-title {
    font-size: 2rem;
}

/* Footer -------------------------------------------------------------------------------------------------------------------------------- */
footer {
    background-color: var(--footer-color);
    padding: 20px 0;
    margin-top: 50px;
}

.social-icons a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--text-color);
}

/* -------------------------------------------------------------------------------------------------------------------------------- */

/* Dot Cursor --------------------------------------------------------------------------------------------------------------------------------*/
body,
a,
button,
.gallery-item,
.gallery-item a,
.button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10"><circle cx="5" cy="5" r="5" fill="black"/></svg>'), auto;
}

/* -------------------------------------------------------------------------------------------------------------------------------- */

/* Architecture Gallery */
.grid-item {
    width: 300px;
    margin: 25px 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.grid-item:hover {
    box-shadow: 0 5px 15px rgba(0, 3, 3, 0.5);
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    display: block;
}

.grid-item-title {
    margin: 0;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    font-size: 1.4rem;
}

.grid-item a {
    text-decoration: none;
}

.grid-container {
    display: flex;
    justify-content: center;
}

.grid {
    max-width: 1400px;
    margin: 0 auto;
}

/* Illustration -------------------------------------------------------------------------------------------------------------------------------- */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px;
}

.gallery-item {
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item a {
    text-decoration: none;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(73, 124, 127, 0.5);
}

.gallery-item-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-title {
    /* margin-top: 10px; */
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 1.4rem;
    /* background-color: black; */
}

.gallery-item:hover .gallery-item-title {
    color: #000;
}

/* Fancybox specific styles */
.fancybox__container .fancybox__content {
    padding: 0;
    background: #ece5d5;
    color: #497c7f;
}

.fancybox__caption {
    background: rgba(236, 229, 213, 0.8);
    color: var(--primary-color);
    padding: 10px;
}

/* -------------------------------------------------------------------------------------------------------------------------------- */
/* Projects -------------------------------------------------------------------------------------------------------------------------------- */
.project-container {
    margin-top: var(--project-title-margin);
}

.project-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    font-weight: bold;
}

.project-gallery {
    margin-top: var(--project-gallery-margin);
}

.signature-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
}

.signature-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: var(--signature-image-width);
    transition: transform 0.3s ease;
}

.project-info-box {
    background-color: var(--footer-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 100%;
    overflow-y: auto;
}

.project-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-info-box ul {
    list-style-type: none;
    padding-left: 0;
    /* list-style-type: disc; */
}

.project-info-box li {
    margin-bottom: 0.5rem;
    color: #000;
}
.project-info-box li strong{
    margin-bottom: 0.5rem;
    font-weight: lighter;
    /* font-weight:900; */
    color: var(--primary-color);
}


.project-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.gallery-image {
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.mb-5 {
    justify-content: center;
}

/* Change project images size */
.col-12 {
    width: 90%;
}

/* -------------------------------------------------------------------------------------------------------------------------------- */
/* About -------------------------------------------------------------------------------------------------------------------------------- */

.project-info-box a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.project-info-box a:hover {
    color: var(--text-color);
    font-weight: 900;
}

/* Projects -------------------------------------------------------------------------------------------------------------------------------- */

/* Media -------------------------------------------------------------------------------------------------------------------------------- */
@media (max-width: 767px) {
    :root {
        --project-title-margin: 4rem;
    }

    .col-md-2 {
        margin-bottom: 15px;
    }

    .col-md-2.d-flex.align-items-start,
    .col-md-2.d-flex.align-items-end {
        margin-top: 0;
        margin-bottom: 15px;
    }
    .navbar-brand img{
        height: 43px;
        width: 112px;
    }

    .project-title {
        font-size: 2rem;
        letter-spacing: 0.3rem;
    }

    .project-info-box {
        margin-top: 2rem;
    }

    .project-description {
        font-size: 1rem;
    }
    .btn-link {
        font-size: 1.5rem;
        padding: 0;
    }
    #illustration-btn {
        margin-top: 1.3em;
    }
    #nav-social-icons {
        margin-left: 0;
        padding-left: 0;
        margin-right: 4rem;
        border-left:none !important;
        margin-top: 1rem;
    }
    #nav-social-icons .social-icons {
        justify-content: center;
    }
}

#nav-social-icons {
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 2px solid var(--primary-color);
}

#nav-social-icons .nav-link {
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

#nav-social-icons .nav-link:hover {
    color: var(--text-color);
}

