img{
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}
.baths{
    padding: 1%;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(370px, 1fr)) ;
    gap:20px; 
}
.baths img{
    border-radius: 20px;
    margin: auto;
}
.baths div{
    background-color:rgba(90, 103, 95, 0.493);
    margin: auto;
    margin-bottom: 2%;
    padding: auto;
    padding: 3%;
    border-radius: 30px;

}
.baths {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(370px, 1fr));
    gap: 20px;
   
    margin: 0 auto;
    
}

.baths > div {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    aspect-ratio: 1 / 1; 
}

.baths > div:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.baths img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.baths > div:hover img {
    transform: scale(1.1);
}

.baths .margin {
    grid-column: span 1; 
    grid-row: span 1;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.fullscreen:target {
    opacity: 1;
    pointer-events: all;
}

.fullscreen img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    cursor: zoom-out;
}

.fullscreen .close-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    text-decoration: none;
    z-index: 2;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 30px;
    text-decoration: none;
    z-index: 1001;
}

.slideshow-nav {
    position: fixed;
    bottom: 500px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 880px;
    z-index: 1001;
}

.slideshow-nav a {
    color: white;
    background: rgba(44, 32, 32, 0.557);
    padding: 15px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-family: Arial, sans-serif;
}

@media (max-width: 768px) {
    .baths {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}
@media (max-width: 1100px) {
    .slideshow-nav {
        gap:700px;
        bottom: 470px;
    }
}
@media (max-width: 880px) {
    .slideshow-nav {
        gap:560px;
        bottom: 480px;
    }
}


@media (max-width: 700px) {
    .slideshow-nav {
        gap:450px;
        bottom: 450px;
    }
}
@media (max-width: 595px) {
    .slideshow-nav {
        gap:400px;
        bottom: 450px;
    }
}
@media (max-width: 533px) {
    .slideshow-nav {
        gap:350px;
        bottom: 400px;
    }
}

@media (max-width: 480px) {
    .slideshow-nav {
        gap:100px;
        bottom: 150px;
    }
}

.material_buttons{
    display: flex; 
    justify-content: center;
    gap: 5%;
    flex-wrap: wrap;
    margin-inline: 15px;
}

.material_buttons button {
    background-color: rgba(224, 154, 25);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;

    border: 0px;
    border-radius: 13px;

    width: 300px;
    height: 50px;

    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.material_buttons button:hover{
    background-color: rgba(201, 142, 33, 1);
    box-shadow: 8px 8px 8px rgba(0, 0, 0, 0.5);
}
.style{
    font-family: 'Montserrat', sans-serif;
    font-size: 38px; 
    font-weight: 400; 
    color: #333;
    text-align: center; 
    line-height: 1.4; 
    text-transform: uppercase; 
    letter-spacing: 3px;
    margin:20px;
}
.clock{
    font-weight: 700; 
    color: #000;
}

@media(max-width:950px){
    .style{
        font-size: 30px;
    }

    .clock{
        font-size: 20px;
    }
}

@media(max-width:470px){
    .style{
        font-size: 20px;
    }

    .clock{
        font-size: 16px;
    }
}