
    .wrap {
        grid-auto-columns: 400px;
    }
    .wrap img {
        width: 300px;
        height: 450px;
    }

/* global reset */
*{margin:0;padding:0;box-sizing:border-box;}
body{
    background-color:#141414;
    color:#fff;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* navigation */
header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    background: rgba(0,0,0,0.8);
}
.navbar{
    display:flex;
    align-items:center;
    padding:10px 20px;
}
.logo{
    width:120px;
}
.nav-links{
    list-style:none;
    display:flex;
    margin-left:30px;
}
.nav-links li{
    margin-right:20px;
}
.nav-links a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
}
.nav-links a:hover{
    color:#e5e5e5;
}
.right-menu{
    margin-left:auto;
}
.right-menu .login{
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
}

/* hero */
.hero{
    position:relative;
    margin-top:60px; /* to account for header height */
    /* background image replaces <img> tag */
    background-image:url('../img/foto.png');
    background-size:cover;
    background-position:center;
    /* ensure a minimum height so the background is visible */
    min-height:60vh;
    /* optional: maintain aspect ratio for large screens */
}
/* previously used for img tag, now unnecessary */
/* .hero img{
    width:100%;
    height:auto;
    display:block;
} */
.hero-overlay{
    position:absolute;
    bottom:40px;
    left:50px;
}
.hero-overlay h1{
    font-size:3rem;
    margin-bottom:20px;
}
.buttons{
    display:flex;
    gap:10px;
}
.btn-play, .btn-info{
    display:flex;
    align-items:center;
    padding:10px 20px;
    font-size:16px;
    font-weight:600;
    border:none;
    border-radius:4px;
    cursor:pointer;
    transition:background 0.3s;
    text-transform:uppercase;
}
.btn-play{
    background:#e50914;
    color:#fff;
}
.btn-play:hover{
    background:#f6121d;
}
.btn-info{
    background: rgba(109,109,110,0.7);
    color:#fff;
}
.btn-info:hover{
    background: rgba(109,109,110,0.4);
}
.play-icon{
    margin-right:8px;
    font-size:1.2rem;
}
.info-icon{
    margin-right:8px;
    font-size:1.2rem;
}
/* video modal styles */
#videoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
#videoModal.active {
    display: flex;
}
#videoModal .modal-content {
    position: relative;
    /* smaller player dimensions */
    max-width: 70%;
    max-height: 60%;
}
#videoModal video {
    width: 80%;
    margin-top: -50px; /* adjust as needed to center vertically */
    margin-left: 40px;
    height: auto;
    outline: none;
    background: #000;
}
#videoModal .close-btn {
    position: absolute;
    top: -60px;
    right: 3000px;
    background: #e50914;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}

/* mobile responsivity */
@media(max-width:768px){
    .hero{
        /* use smaller image for phones */
        background-image:url('../img/fotocllr.png');
        background-size:cover;
        background-position:center;
        /* ensure at least some height on narrow devices */
        min-height:50vh;
    }
    .hero-overlay{
        /* lower the overlay so buttons sit closer to bottom */
        bottom: 0px;
    }
    .hero-overlay h1{
        font-size:2rem;
    }
    .btn-play,.btn-info{
        font-size:14px;
        padding:8px 16px;
    }
}

/* carousel */
.section-title{
    font-size:2rem;
    margin:20px 0 10px 20px;
}
.carousel{
    overflow:hidden;
    width:100%;
    margin-top:20px;
}
.wrap{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:550px;
    justify-items:stretch;
    animation:slide 15s linear infinite;
}
.wrap img{
    width:400px;
    height:500px;
    border-radius:10px;
    object-fit:cover;
}
@keyframes slide{
    to{
        translate:calc(-4 * 250px);
    }
}

/* utility */
.normal{
    display:block;
    clear:both;
}

/* video modal styles */
#videoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
#videoModal.active {
    display: flex;
}
#videoModal .modal-content {
    position: relative;
    /* smaller player dimensions */
    max-width: 70%;
    max-height: 60%;
}
#videoModal video {
    width: 80%;
    margin-top: -50px; /* adjust as needed to center vertically */
    margin-left: 40px;
    height: auto;
    outline: none;
    background: #000;
}
#videoModal .close-btn {
    position: absolute;
    top: -60px;
    right: 30px;
    background: #e50914;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
}

@media(max-width:768px){
    .hero-overlay h1{
        font-size:2rem;
    }
    .btn-play,.btn-info{
        font-size:14px;
        padding: 8px 16px;
    }
    .carousel img{
        width:150px;
        height:225px;
    }
    /* adapt modal for smaller screens */
    #videoModal .modal-content {
        max-width: 90%;
        max-height: 50%;
    }
}

/* hide scrollbars on carousel */
.carousel::-webkit-scrollbar{
    height:10px;
}
.carousel::-webkit-scrollbar-thumb{
    background:#333;
    border-radius:5px;
}
    
