@font-face {
    font-family: 'Karla';

    src: url('../fonts/Karla/Karla-VariableFont_wght.ttf') format('truetype');
}
body,html{
    max-width: 100vw;
    font-family: 'Karla', sans-serif;
}
h1,
h2,
h3,
h4,
h5,
h6,
.navbar{
    font-family: 'Karla', sans-serif;
    font-weight: 800;
}
h4{
    font-weight:500;
}
h1 {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 5rem;
}
.logo-img {
    height: 100px;
}
h2{
    font-size: 3rem;
}
main,p{
    line-height: 1.3;
    font-size:1.2rem;
}
#myCarouselOverlay p{
    margin-bottom:0.3rem;
}
.content-wrapper a{
    color:rgb(98, 62, 42);
    font-weight: bold;
}
main a{
    color:rgb(98, 62, 42);
    font-weight: bold;
}


header>nav.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0px;
    background-color: #333;
}

.navbar .nav-item {
    font-size: 1.5rem;
    font-weight: 600;

}
.dropdown-toggle::after {
  margin-left:0;
}
.dropdown-item.active,
.dropdown-item:active {
    color: white;
    background-color: rgb(98, 62, 42);
}
.navbar-brand {
    margin-right:0px;
}
#myCarousel {
    position: relative;
    min-height:500px;

}
 .carousel-indicators button {
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
}
#testimonialCarousel {
    min-height: 200px;
}

.text-brown .border {
    border-color: #623e2a !important;
}
.topicimg{
    position: relative;

}
.circlectarow a >span:hover{
    text-decoration: underline;
}
.circlectarow a >span{
 font-size: 2rem;
font-weight: bold;
}
.topicimg span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color:#FFF;
    font-weight: 600;
    font-size: 2.5rem;
    text-shadow: rgba(0, 0, 0, 0.349) 0px 0px 10px;
}
.img1by1 {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 1:1 aspect ratio (1 / 1 = 1.00) */
    overflow: hidden;
}

.img1by1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img4by3 {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 aspect ratio (3 / 4 = 0.75) */
    overflow: hidden;
}

.img4by3 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#myCarousel #myCarouselOverlay {
    position: absolute;
    text-shadow: rgba(0, 0, 0, 0.349) 0px 0px 10px;
    margin: 1vh 0;
    top: 120px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;

}

#myCarouselOverlay h3 {
    font-weight: 400;
    text-shadow: rgb(0, 0, 0) 0px 0px 10px;
    max-width: 501px;

}

#myCarouselOverlay .container {
    position: relative;
    height: 100%;
    z-index: 2;
}

.btn-abs-ribo {
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.iconheader {
    display: flex;
    align-items: center;
    /* Vertically center the text */
    gap: 1rem;
    /* Optional spacing between image and text */
}

.iconheader img {
    width: 20%;
}

.iconheader h2 {
    width: 80%;
    margin: 0;
    color: #623e2a
}

.text-brown {
    color: #623e2a;
}
.btn-brown-outline {
    background-color: transparent;
    color: #623e2a;
    border: 1px solid #623e2a;
    font-weight: 600;
}

a.btn-brown {

    background-color: #623e2a;
    color: #fff;
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
}

.btn-brown:hover {
    background-color: #7a4f3b;
}

a.btn-white,
.btn-white {
    background-color: #fff;
    color: #623e2a;
    border-radius: 0;
    padding: 0.5rem 1rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    border: 1px solid #623e2a;
}

.btn-white:hover {
    background-color: #f4f1ed;
    color: #623e2a;
}

.brownbg {
    background-color: #d19b72;
}

.beigebg {
    background-color: #f4f1ed;
}

header nav.navbar {
    background-color: #FFFFFFcc;
}

.logo-text {
    margin-top: 4px;
    font-weight: 600;
    font-size: 3.4rem;
    line-height: 1;
    color: #444
}



.carousel-control-next,
.carousel-control-prev {
    width: initial;
}

#myCarousel {
        max-height: 900px;
    height: 80vh;

    overflow: hidden;
    position: relative;
}

#myCarousel .carousel-inner,
#myCarousel .carousel-item,
#myCarousel .carousel-item img {
    height: 100%;
}

#myCarousel .carousel-item img {
    object-fit: cover;
    object-position: center;
}


.circle-img-wrapper,.circle-img-wrapper-big {
    aspect-ratio: 1 / 1;
    /* Keep it a square */
    overflow: hidden;
    border-radius: 50%;
    position: relative;
}
.circle-img-wrapper-big{
    transform: translateX(10%);
    width: 50vw;
}
@media screen and (max-width: 768px) {
    .circle-img-wrapper-big {
        transform: none;
    }
}
@media screen and (min-width: 768px) {
    .fixed-top{
        position:absolute;
        top:0;
        width: 100%;
        
    }
}
.room-details h4{
    height: 3rem;
}
.circle-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures it fills and crops properly */
    display: block;
}

.carousel {
    position: relative;
}


.carousel-controls-outside .carousel-inner{
    padding: 0px 50px;
}


@media screen and (max-width: 1124px) {
    #myCarousel {
        max-height:600px;
    }
    h1 {
        font-size: 3rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    main,p{
        font-size: 1.2rem;
        line-height:1.4;
    }
    .logo-img{
        height:60px;
    }
    div.logo-text {
        font-size: 2.5rem;
    }
    .topicimg span {
        font-size: 1.4rem;
    }
    .navbar .nav-item, .navbar .nav-link {
        font-size: 1.3rem;
    }
}
@media screen and (max-width: 768px) {
    h1{
        font-size:2rem;
    }    
}
@media screen and (max-width: 420px) {
    div.logo-text{
        font-size:1.8rem;
        line-height: 1.2;
        padding-top:0px;
    } 
}

/* Image and Carousel Aspect Ratio Containers */
.image-container-square {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 0.375rem;
    width: 100%;
}

.image-container-fourthree {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0.375rem;
    width: 100%;
}

.carousel-image-container-square {
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 0.375rem;
}

.carousel-image-container-fourthree {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 0.375rem;
}
main.page-content .carousel-inner img{
    border-radius: 10px;
}

/* Carousel image styling for object-fit */
.carousel-image {
    object-fit: cover;
}

.topic-item {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.topic-item:hover {
    transform: translateY(-5px);
}

.topic-image-container {
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Makes it square */
}

.topic-image {
    transition: transform 0.3s ease;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.topic-white-overlay {
    background: rgba(255, 255, 255, 0);
    transition: background 0.3s ease;
    border-radius: 8px;
    pointer-events: none;
}

.topic-title-overlay {
   // background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: background 0.3s ease;
    padding: 20px;
}

.hover-text {
    opacity: 0;
    transition: all 0.3s ease;
    transform: translateY(10px);
    font-size: 0.9rem;
    color: white;
}

.topic-item:hover .topic-white-overlay {
    background: rgba(255, 255, 255, 0.3);
}

.topic-item:hover .topic-title-overlay {
     background: rgba(255, 255, 255, 0.3);
}

.topic-item:hover .hover-text {
    opacity: 1;
    transform: translateY(0);
    color: black;
}

.topic-item:hover .topic-title {
    color: black;
    text-shadow: none;
}

.topic-item:hover .topic-image {
    transform: scale(1.05);
}
.topic-title:hover{
    color:black;
}
.topic-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 2.2rem;
    font-weight: bold;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.topic-item a {
    color: inherit;
    text-decoration: none;
}

.topic-item a:hover {
    color: inherit;
}