@charset "UTF-8";
/***!  /templates/ja_purity_iv/local/css/custom.css?d580a8faa7a6b3ef4ef5cb362d20701d  !***/

#myVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;      
  height: 100vh;    
  object-fit: cover;   
  filter: brightness(0.8);   
}
@font-face {src: url('https://ultimateholidayguide.co.uk/templates/ja_purity_iv/local/css/SebastianBobby.eot'); src: local('SebastianBobby'),
        url('https://ultimateholidayguide.co.uk//templates/ja_purity_iv/fonts/SebastianBobby.eot#iefix') format('embedded-opentype'),
        url('https://ultimateholidayguide.co.uk//templates/ja_purity_iv/fonts/SebastianBobby.woff2') format('woff2'),
        url('https://ultimateholidayguide.co.uk//templates/ja_purity_iv/fonts/SebastianBobby.woff') format('woff'),
        url('https://ultimateholidayguide.co.uk//templates/ja_purity_iv/fonts/SebastianBobby.ttf') format('truetype'),
        url('https://ultimateholidayguide.co.uk//templates/ja_purity_iv/fonts/SebastianBobby.svg#SebastianBobby') format('svg'); font-family: 'Sebastian Bobby'; font-weight: normal; font-style: normal; font-display: swap}

.t4-megamenu .navbar-nav > li.active > a, .t4-megamenu .navbar-nav > li.active > .nav-link {
    color:#000!important;
}
body, p {
  font-family: 'Lato', sans-serif!important;
  font-size: 1rem;
  line-height: 1.7;
}
.slidercontainer {
    min-height: 90vh;
    width: 100%;
    background-size: cover;
}
.text-containers {
  z-index: 1;
    position: absolute;
    left: 0px;
    top: 50px;
    max-width: 900px;
    text-align: center;
    right: 0px;
    margin: 0 auto;
}
h1, h2, h3, h4, h5, h6 {
      font-family: "SaolDisplay-Regular",serif!important;
}

.slide-head {
    color:#fff;
        font-size: 55px;
}
p#slide {
color:#fff;
font-size:20px;
}
.header-wrap .py-3 {
    padding-top:5px!important;
     padding-bottom:5px!important;
}
.t4-megamenu .navbar-nav > li > a, .t4-megamenu .navbar-nav > li > .nav-link {
    padding: 0px 1rem;
    height: 38px;
}
.t4-header .header-wrap {
    min-height: 50px;
}
.navbar-brand.logo-text .site-name {
    margin-bottom: 0px;
    letter-spacing: 1.5px;
}
  .t4-offcanvas-toggle {
    font-size:26px;
}
.navbar-brand {
    padding-top: 7px;
}
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-image {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.5); /* Optional: darkens image for better text contrast */
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color:#fff;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.hero-button {
  background: #fcd34d;
  color: #111;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background: #fbbf24;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}
.arrow-down {
  width: 24px;
  height: 24px;
  margin: 0px auto;
  animation: bounce 2s infinite;
  z-index: 3;
  position: absolute;
bottom:50px;
}

.arrow-down span {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border-left: 3px solid white;
  border-bottom: 3px solid white;
  transform: rotate(-45deg);
  transform-origin: bottom left;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}
#t4-section-1 .custom {
    position: relative;
    top: -0px;
    left: 0px;
    right: 0px;
}
.not-at-top #t4-header.t4-sticky {
    background-color: #fff;
    -webkit-box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.08);
}
#t4-header {
 background-color: rgba(255, 255, 255, 0.5);
 border-bottom: none !important;
}
@media (max-width: 600px) {
  .hero-banner {
    height: 40vh;
    padding: 0 10px;
  }
  .text-containers {
    left: 10px;
    top: 10px;
    max-width:95%;
}
.slide-head {
    font-size: 40px;
    margin-top:0px;
}
}
.bg-purple {
    background-color: #2f342e!important;
}
  .contact-info-box {
    background-color: #eee;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  }
  .item-168 .com-content-category-blog__items.blog-items.masonry-3 {
    display: none;
  }

.bottom-article-info .article-inner .row .col-12.col-md-3 {
    display: none;
}
.bottom-article-info .article-inner .row .col-12.col-md-9 {
    width:100%;
}
.category-item, .blog-item, .item-container {
  position: relative;
  overflow: hidden;
}
.com-content-category-blog__child {
  position: relative;
  overflow: hidden;
}

/* Make the image fill the block responsively */
.com-content-category-blog__description img {
  width: 100%;
  height: auto;
  display: block;
}

/* Overlay the title over the image */
.com-content-category-blog__child .item-title {
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    /* background: rgba(0, 0, 0, 0.6); */
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    z-index: 2;
    transition: background 0.3s ease;
    height: 100%;
    padding: 80px;
}

/* Optional: increase visibility on hover */
.com-content-category-blog__child:hover .item-title {
  background: rgba(0, 0, 0, 0.75);
}
.slide-head {
opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 1.5s ease-out forwards;
  animation-delay: 0.3s;
  }
@keyframes fadeSlideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.category-desc {
    padding: 0px;
    margin-top: 0px;
    margin-bottom: 0px;
    border-radius: 0.25rem;
}
.com-content-category-blog__child {
    padding:0px;
}
.com-content-category-blog__description.category-desc p {
    margin-bottom:0px;
}
.com-content-category-blog__child:hover .item-title a {
    color:#fff;
    z-index: 9;
}
.image-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.image-card .overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.5); /* dark overlay */
  color: #fff;
  font-size: 1.25rem;
  text-align: center;
  transition: background 0.3s;
font-family: "SaolDisplay-Regular", serif !important;
}

.image-card:hover .overlay-text {
  background: rgba(0, 0, 0, 0.7);
}
.no-pad {
    padding:0px!important;
}
#t4-service {
        margin-top: -53px;
}
#t4-section-1 {
    overflow: hidden;
    height: 100vh;
}
.navbar-nav > li > a {
  position: relative;
  display: inline-block;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

.navbar-nav > li > a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background-color: #000; /* Choose your colour */
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.navbar-nav > li > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.navbar-nav > li > a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 10px;
}
.navbar-nav .nav-icon {
    width: auto;
    height: 28px;
    margin: 5px auto;
    display: block;
}
.tab-row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.tab-link {
  padding: 10px 27px; 
  display: inline-block;
  position: relative;
  cursor: pointer;
  text-align: center;
  color:#fff;
      font-family: "SaolDisplay-Regular", serif !important;
}

.slider-bar {
  position: absolute;
  bottom: 0;
  height: 4px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
  width: 0;
  left: 0;
}



.tab-link.active {
  color: #fff;
}
.tab-link:hover {
    color:#fff;
}

.nav-icon {
  height: 30px;
  width: auto;
  margin-bottom: 4px;
}

.tab-link.text-center img {
    height:30px;
    width:auto;
      filter: invert(1) brightness(2);

}
.t4-footer {
    background-color: #F7E7CE!important;
}
.footer1 {
    color:#333;
}
.social-list-sm li i, .social-list-sm li span {
    color:#333;
}
#t4-icon-menu {
position: absolute;
    top: 83vh;
    left: 0px;
    right: 0px;
    width: 900px;
    text-align: center;
    margin: 0 auto;
    border-bottom:2px solid #fff;
}
.t4-megamenu .navbar-nav > li > a:hover, .t4-megamenu .navbar-nav > li > a:focus, .t4-megamenu .navbar-nav > li > a:active, .t4-megamenu .navbar-nav > li > .nav-link:hover, .t4-megamenu .navbar-nav > li > .nav-link:focus, .t4-megamenu .navbar-nav > li > .nav-link:active {
    color: #333;
}
.header-block {
  transition: opacity 0.3s ease;
}
#t4-service {
    overflow-x: hidden;
}
.featured-properties-container {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 2rem 0rem;
  background: #f8f8f8;
}

.featured-properties-carousel {
  display: flex;
  gap: 1rem;
  transition: all 0.4s ease;
}

.property-item {
  flex: 0 0 240px;
  background: white;
  border: 10px solid white;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  text-align: center;
  transform: scale(0.9);
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.property-item.active {
  transform: scale(1.1);
  opacity: 1;
  z-index: 2;
}
.item-136 #t4-main-body {
    display: none;
} 
.sponsored-banner {
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid #ddd;
  font-size: 1rem;
  color: #555;
}

.sponsored-banner img {
  max-height: 100px;
  margin-left: 10px;
  vertical-align: middle;
}
#t4-sponsor {
    background:#000;
}
.header-block {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.4s ease-in-out;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  background: #fff;
}

.header-block.menu-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  pointer-events: none;
}
@media (max-width: 900px) {
.tab-link {
    padding: 10px 15px;
}
#t4-icon-menu {
    width:100%;
}
.text-containers {
    top:20px;
}
}
@media (max-width: 768px) {
  .tab-row {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
  }
p#slide {
    color: #fff;
    font-size: 20px;
    line-height: 29px;
}
  .tab-link {
    flex: 1 0 33.33%; /* 3-column grid; adjust as needed */
    max-width: 33.33%;
    padding: 1rem 0.5rem;
  }

  .slider-bar {
    display: none;
  }
  #t4-icon-menu {
    position: absolute;
    top: 68vh;
    left: 0px;
    right: 0px;
    width: auto;
    text-align: center;
    margin: 0 auto;
    border-bottom: none;
}
.sponsored-banner img {
    margin-left: 0px;
}
}
.com-content-category-blog__child {
  position: relative;
}

.com-content-category-blog__child::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 1;
}
.com-content-category-blog__child {
  cursor: pointer;
}
.property-item h5 {
        font-family: 'Sebastian Bobby', serif!important;
         
    font-size: 52px;
    font-weight: 500;
}
.vintage-postcard {
  max-width: 800px;
  margin: 2rem auto;
  background: #fef9f1;
  border: 2px solid #d6c7b0;
  border-radius: 3px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  padding: 2rem;
  position: relative;
  font-family: 'Georgia', serif;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(0, 0, 0, 0.02) 10px,
    rgba(0, 0, 0, 0.02) 20px
  );
}

.postcard-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.left h2, .left h3, .left h4 {
 font-size: 46px;
    font-weight: 900;
    color: #000;
    margin: 0 0 0.5rem;
    font-family: 'Sebastian Bobby', serif !important;
}

.location {
  font-size: 1rem;
  color: #867b6b;
  margin-bottom: 1rem;
}

.review {
  font-family: 'Dancing Script', cursive;
  font-size: 1.1rem;
  color: #4a3b2c;
}

.left {
  padding-right: 1rem;
  border-right: 1px solid #d6c7b0;
}

.right {
  padding-left: 1rem;
  font-size: 0.95rem;
  color: #2f2f2f;
  line-height: 1.6;
  padding-top: 66px;
}

.stamp {
  background: url('https://ultimateholidayguide.co.uk/images/postcard-stamp.webp') no-repeat center/contain;
width: 140px;
    height: 100px;
    position: absolute;
    top: 0px;
    right: 75px;
    opacity: 0.7;
    transform: rotate(-5deg);
}
.stamp-box {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  border: 2px dashed #c4b8a2;
  background: transparent;
  z-index: 1;
}
.lined-text {
  list-style: none;
}
    .carousel {
      background: transparent;
      max-width: 100%;
      margin: 40px auto;
    }

    .carousel-cell {
      width: 33.33%;
      height: 300px;
      margin-right: 0px;
      background-size: cover;
      background-position: center;
      border-radius: 0px;
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      color: white;
      text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    }

    .carousel-cell-content {
      background: rgba(0, 0, 0, 0.5);
      padding: 20px;
      border-radius: 8px;
      max-width: 80%;
      text-align: center;
    }

    .carousel-cell-content h3 {
      font-size: 1.3rem;
      margin: 0 0 10px;
    }

    .carousel-cell-content p {
      font-size: 1rem;
      margin-bottom: 10px;
    }

    .carousel-cell-content a {
      color: #ffdca8;
      text-decoration: underline;
    }

    .flickity-page-dots {
      bottom: -25px;
    }

    .flickity-page-dots .dot {
      width: 10px;
      height: 10px;
      margin: 0 5px;
      background: #d6a77a;
      opacity: 0.6;
      border-radius: 50%;
    }

    .flickity-page-dots .dot.is-selected {
      opacity: 1;
      background: #a45d00;
    }
.bg-light {
    background-color: #F7E7CE!important;
}
.property-item img {
    min-height:190px;
}
.flickity-page-dots .dot.is-selected {
 background: #F7E7CE!important;   
}
/* Ensure the slider container scales */
.carousel {
  width: 100%;
  margin: 0 auto;
}

/* Scale cell images responsively */
.carousel-cell img {
  width: 100%;
  height: auto;
  display: block;
}

/* Optional: tweak cell width per screen size */
@media (max-width: 768px) {
  .carousel-cell {
    width: 50%;
  }
}

@media (max-width: 480px) {
  .carousel-cell {
    width: 100%;
  }
}
@media (max-width: 500px) {
    #t4-icon-menu {
        top: 70vh;
    }
    .text-containers img {
    width: 171px;
}
}
