@media (max-width: 768px){
    .navbar {
           display:block;
           text-align:center;
    }
}

.navbar-toggler {
	border: none;
	outline: none;
}

.active{
	font-weight: bold;
}

a{
	transition: 0.3s;
	color: black;
}

a:hover{
    color: black;
}

button:focus{
	outline:0;
}

img{
	max-width: 100%;
}

.rounded-corner{
    border-radius: 18px;
}

#about-photo{
    margin-bottom: 9px;
}

.social-links{
  list-style-type: none;
  padding-left: 0;
}

.account-link{
    padding: 3px;
}

.col-marj-and-pao{
	position: relative;
}

.marj-and-pao-home{
  margin-top: 24px;
  margin-bottom: 24px;
}

img .marj-and-pao{
	margin-top: 48px; 
	margin-bottom: 48px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  height: 100px;
  width: 100px;
  background-size: 100%, 100%;
  background-image: none;
}


.carousel-control-next-icon:after
{
  content: '>';
  font-size: 24px;
  font-weight: bold;
  color: grey;
}

.carousel-control-prev-icon:after {
  content: '<';
  font-size: 24px;
  font-weight: bold;
  color: grey;
}

.carousel-indicators li {
    background-color: grey; 
}
.carousel-indicators .active {
    background-color: black;
}

#magic-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 4px;
  background: #fe4902;
}

footer{
  padding: 24px;
}

.profile{
  padding-top: 36px;
  padding-bottom: 36px;
}

.content{
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 18px;
  padding-right: 18px;
}

.content-travel{
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 6px;
  padding-right: 6px;
}

.col-portfolio{
  padding: 3px;
}

.web-portfolio{
    padding: 24px 12px 0px 12px;
}

.portfolio-header{
  padding-bottom: 28px;
}

#skills{
  padding-bottom: 12px
}

.skill{
    padding: 12px;
}

.brand{
    padding: 18px;
}

body {
    overflow-x: hidden !important;
}

.videoWrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.videoWrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#download-button{
    padding: 12px;
}

html, body {
  overflow-x: hidden; /* Prevent horizontal scroll */
}

.navbar-collapse {
  overflow-x: auto; /* Allow horizontal scroll inside navbar if needed */
}

.word-break {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.col-portfolio {
    position: relative;
    overflow: hidden;
    cursor: default; /* Normal arrow cursor */
}

.col-portfolio img:first-child {
    width: 100%;
    display: block;
    transition:
        transform 0.8s cubic-bezier(.2, .65, .2, 1),
        filter 0.8s ease !important;
    transform: scale(1) translate3d(0, 0, 0);
    will-change: transform;
}

.col-portfolio:hover img:first-child {
    transform: scale(1.02) translateY(-3px);
    filter: brightness(1.03);
}

/* Skills */
.skill {
    display: block;
    width: 100%;
    transition: transform 0.4s cubic-bezier(.16, 1, .3, 1);
    transform: translateY(0);
    cursor: default;
}

.skill:hover {
    transform: translateY(-5px);
}

/* Brand */
.brand {
    display: block;
    width: 100%;
    transition: transform 0.4s cubic-bezier(.16, 1, .3, 1);
    transform: translateY(0);
    cursor: default;
}

.brand:hover {
    transform: translateY(-5px);
}

.btn-travel{
    display:inline-block;
    padding:10px 18px;
    border:1px solid #ddd;
    border-radius:999px;
    color:#333;
    background:#fff;
    text-decoration:none;
    transition:all .25s ease;
    font-size:14px;
    letter-spacing:.5px;
}

.btn-travel:hover{
    background:#000;
    color:#fff;
    border-color:#000;
    text-decoration:none;
}

.travel-image{
    /*height:500px;*/
    /*object-fit:cover;*/
    padding-bottom: 24px;
    max-width: 100%;
    /*border-radius:20px;*/
}

.travel-info{
    color:#6e6e73;
    font-weight: normal;
    font-size:.9rem;
    line-height:1.7;
}

.custom-carousel-btn{
    width:auto;
    height:auto;
    top:40%;
    bottom:auto;
    transform:translateY(-50%);
    opacity:1;
    text-decoration:none;
}

.carousel-control-prev{
    left:12px;
}

.carousel-control-next{
    right:12px;
}

.custom-carousel-btn span{
    display:block;
    font-size:24px;
    font-weight:300;
    color:white;
    opacity: 0.7;
    line-height:1;
    transition:all .25s ease;
    user-select:none;
}

.custom-carousel-btn:hover span{
    color:white;
    opacity: 0.9;
    transform:scale(1.1);
}

.btn-area{
    display:inline-block;
    padding:8px 18px;
    margin:0 6px;
    border:1px solid #ddd;
    border-radius:999px;
    background:#fff;
    color:#333;
    text-decoration:none;
    font-size:14px;
    letter-spacing:.5px;
    transition:all .25s ease;
}

.btn-area:hover{
    background:#000;
    color:#fff;
    border-color:#000;
    text-decoration:none;
}

.btn-area.active{
    background:#000;
    color:#fff;
    border-color:#000;
}

.sub-nav{
    padding: 24px;
}

/* Lightbox */

.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.92);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:.3s ease;
    z-index:9999;
}

.lightbox.show{
    opacity:1;
    visibility:visible;
}

.lightbox img{
    max-width:92%;
    max-height:92%;
    object-fit:contain;
    transform:scale(.9);
    transition:transform .3s ease;
    border-radius:8px;
}

.lightbox.show img{
    transform:scale(1);
}

.close{
    position:absolute;
    top:12px;
    right:12px;
    color:#fff;
    font-size:42px;
    font-weight:300;
    cursor:pointer;
    user-select:none;
    transition:transform .2s ease;

    background:transparent;
    border:none;
    outline:none;
}

.close:hover{
    transform:rotate(90deg);
    background:transparent;
    color:#fff;
}

.close:focus,
.close:active{
    background:transparent;
    color:#fff;
    outline:none;
    box-shadow:none;
}

#carouselLightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.94);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    visibility:hidden;
    transition:opacity .3s ease, visibility .3s ease;
    z-index:9999;
}

#carouselLightbox.show{
    opacity:1;
    visibility:visible;
}

#carouselLightbox img{
    max-width:92vw;
    max-height:92vh;
    object-fit:contain;
    border-radius:8px;
    transform:scale(.96);
    transition:transform .3s ease;
    user-select:none;
}

#carouselLightbox.show img{
    transform:scale(1);
}

#carouselLightbox .close{
    position:absolute;
    top:12px;
    right:12px;
    color:#fff;
    font-size:42px;
    font-weight:300;
    cursor:pointer;
    user-select:none;
    transition:.2s;
}

#carouselLightbox .close:hover{
    transform:rotate(90deg);
}

#carouselLightbox .prev,
#carouselLightbox .next{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:56px;
    height:56px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    font-size:36px;
    font-weight:300;
    cursor:pointer;

    transition:.25s ease;
    user-select:none;
}

#carouselLightbox .prev{
    left:30px;
}

#carouselLightbox .next{
    right:30px;
}

#carouselLightbox .prev:hover,
#carouselLightbox .next:hover{
    transform:translateY(-50%) scale(1.15);
}

#carouselLightbox .prev,
#carouselLightbox .next,
#carouselLightbox .close{
    z-index:10001;
}

@media (max-width: 768px){

    #carouselLightbox{
        flex-direction:column;
    }

    #carouselLightbox img{
        max-width:95vw;
        max-height:80vh;
    }

    #carouselLightbox .prev,
    #carouselLightbox .next{
        position:static;
        transform:none;
        width:56px;
        height:56px;
        font-size:42px;
    }

    #carouselLightbox .prev:hover,
    #carouselLightbox .next:hover{
        transform:scale(1.1);
    }

}

.lightbox-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
}

.lightbox-caption{
    margin-top:16px;
    color:#fff;
    font-size:15px;
    text-align:center;
    max-width:90%;
    line-height:1.5;
}

#carouselLightbox img{
    max-width:750px;
    max-height:85vh;
    object-fit:contain;
}

@media (max-width:768px){

    #carouselLightbox img{
        max-width:96vw;
        max-height:80vh;
    }

}

.lightbox-nav{
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    gap:32px;
    margin-top:20px;
}

.lightbox-trigger{
    cursor: pointer;
}

.carousel-lightbox{
    cursor: pointer;
}

.hero-full {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-bottom: 12px;
}

.hero-full > [class*="col"] {
    padding-left: 0;
    padding-right: 0;
}

.hero-full img {
    display: block;
    width: 100%;
    height: auto;
}

.sub-nav .col{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-area{
    margin: 0;
}

@media (max-width: 767.98px) {

    #carouselLightbox .prev,
    #carouselLightbox .next {
        position: fixed;
        top: auto;
        bottom: max(80px, 15vh);
        transform: none;
        z-index: 1001;
    }

    #carouselLightbox .prev {
        left: 1%;
    }

    #carouselLightbox .next {
        right: 1%;
    }

}

#locationCarousel .carousel-item,
#foodCarousel .carousel-item{
    transition: transform 0.24s ease-in-out;
}

.travel-portfolio .col-portfolio {
    position: relative;
    overflow: hidden;
    cursor: default;

    /* Initial loading state */
    opacity: 0;
    transform: translateY(10px) scale(0.985);

    transition:
        opacity 0.7s cubic-bezier(.22, .61, .36, 1),
        transform 0.7s cubic-bezier(.22, .61, .36, 1);
}


/* Card has finished loading */
.travel-portfolio .col-portfolio.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* Main travel image */
.travel-portfolio .col-portfolio img:first-child {
    width: 100%;
    display: block;

    opacity: 0;

    transition:
        opacity 0.6s cubic-bezier(.22, .61, .36, 1),
        transform 0.8s cubic-bezier(.2, .65, .2, 1),
        filter 0.8s ease;

    transform: scale(1) translate3d(0, 0, 0);
    will-change: transform;
}


/* Image appears after loading */
.travel-portfolio .col-portfolio.is-visible img:first-child {
    opacity: 1;
}


/* Existing hover effect */
.travel-portfolio .col-portfolio:hover img:first-child {
    transform: scale(1.02) translateY(-3px);
    filter: brightness(1.03);
}


/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    .travel-portfolio .col-portfolio,
    .travel-portfolio .col-portfolio img:first-child {
        opacity: 1;
        transform: none;
        transition: none;
    }

}

/* Sequential loading */
.sequential-image {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.sequential-image.loaded {
    opacity: 1;
}

.brand {
    display: block;
    width: 100%;
    transition:
        opacity 0.5s ease,
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
    transform: translateY(0);
    cursor: default;
}

.brand:hover {
    transform: translateY(-5px);
}

.skill {
    display: block;
    width: 100%;
    transition:
        opacity 0.5s ease,
        transform 0.4s cubic-bezier(.16, 1, .3, 1);
    transform: translateY(0);
    cursor: default;
}

.skill:hover {
    transform: translateY(-5px);
}

.web-portfolio-page img {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.web-portfolio-page img.loaded {
    opacity: 1;
}

.social-container {
    background-color: #ffffff;
    padding: 24px 0;
}

.social-links {
    gap: 24px;
    margin-bottom: 12px;
}

.social-link {
    color: #000000 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.social-link svg {
    color: #000000 !important;
}

.social-link:hover {
    color: #000000 !important;
    opacity: 0.7;
    transform: translateY(-2px);
}