body {
    font-family: 'Merriweather Sans', 'Merriweather', sans-serif;
}

header.masthead {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding-top: 6rem;
    padding-bottom: 6rem;
    color: white;
}

header.masthead .btn {
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 10rem;
    padding: 1.25rem 2.25rem;
    background-color: #f4623a;
}

header.masthead .btn:hover {
    background-color: #d4502e;
}

#mainNav {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease;
}

#mainNav.navbar-shrink {
    background-color: #212529;
}

#mainNav .navbar-brand {
    color: white;
}

#mainNav .nav-link {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
    color: #f4623a;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

#about {
    background-color: #f4623a;
    color: white;
    padding: 4rem 0;
}

.page-section {
    padding: 4rem 0;
}

.portfolio-box {
    position: relative;
    display: block;
    max-width: 100%;
    margin-bottom: 30px;
}

.portfolio-box img {
    max-width: 100%;
    height: auto;
}

.portfolio-box .portfolio-box-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    color: white;
    opacity: 0;
    background-color: rgba(244, 98, 58, 0.75);
    padding: 20px;
    transition: opacity 0.2s ease-in-out;
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    position: relative;
    max-width: 60%;
    max-height: 80%;
    overflow-y: auto;
}

.modal-content img {
    max-width: 80%;
    height: auto;
    margin: 20px auto;
}

.modal-title {
    font-size: 24px;
    margin: 10px 0;
}

.modal-description {
    font-size: 16px;
    margin: 10px 0;
}

.modal-link {
    color: #f4623a;
    font-weight: bold;
    text-decoration: none;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #000;
    font-size: 24px;
    cursor: pointer;
}

.bg-primary {
    background-color: #212529 !important;
}

.btn-primary {
    background-color: #f4623a;
    border: none;
}

.btn-primary:hover {
    background-color: #d4502e;
}

.contact-container .text-center {
    margin-top: 20px;
}

.popup-message {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    max-width: 80%;
    text-align: center;
}

.popup-message.show {
    display: block;
}

.popup-message .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.popup-message p {
    margin: 0;
    font-size: 16px;
    color: #333;
}
