/* FONTS AND COLOURS */
#content .wptl-content {
    white-space: pre-line;
}

.noto-sans-text{
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-variation-settings:
	"wdth" 100;
}


.glightbox-container .gdesc-inner {
  font-size: 14px;
  line-height: 1.4;
}


.bodoni-moda-title {
  font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 500 !important;
  font-style: normal;
}


h3 {margin-bottom: 1rem!important;   font-family: "Bodoni Moda", serif;
  font-optical-sizing: auto;
  font-weight: 500 !important;
  font-style: normal;}


.featured-villas-gridabout {padding-bottom:100px}

:root {

	--beige: #E5E0DA;
	--white: #ffffff;
	--gold: #7E7B45;
	--brown: #583A1E;
	--black: #000000;
	--blue: #EBF3F5;
	--bs-primary: var(--gold);
	  --bs-primary-rgb: 126, 123, 69; /* your gold in rgb */
}

.beige {color: var(--beige );}
.gold {color: var(--gold);}
.brown {color: var(--brown);}
.blue {color: var(--blue);}
.white {color: var(--white);}


.bg_beige {background-color: var(--beige);}
.bg_gold {background-color:var(--gold);}
.bg_brown {background-color: var(--brown);}
.bg_blue {background-color: var(--blue);}
.navbar-light a {color: var(--brown) !important;   transition: color 0.4s ease; /* adjust speed here */}
.navbar-light a:hover {color: var(--gold) !important; }

.navbar-brand {font-size:30px;}
.navbar  {padding:30px; border-bottom: 4px solid var(--gold); background: white !important}
.nav-item a.button {background-color:var(--gold); color:white !important; margin-left:20px; 	  padding: 10px 20px !important; border-radius: 10px;}

p a {color: var(--gold);}
p a:hover {color: var(--brown);}

.homepageimage {
  min-height: 700px;
  background-image: url('6924ff3fa2d9a2398cb537805e4fc20cf1185320-1000x667.avif'); /* change to your path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0;
	padding-top: 0;
}

.homepage-text {
  display: flex;
  align-items: center;      /* vertical centering */

  padding: 60px 20px;       /* breathing space */
}

.homepage-text h1 {
  max-width: 500px;         /* keeps line length elegant */
  text-align: left;         /* ensure left alignment */
  margin: 0;                /* remove extra space */
}
@media (min-width: 992px) {
  .col-12.col-lg-6 {
	margin-bottom: 0;
	padding-right: 40px; /* space between left and right */
  }


.gform_button, .button_cta {   background-color: var(--gold);
	  color: white !important;
	  padding: 10px 20px;
	  border-radius: 10px;
	border: none !important;
	  display: inline-block;
	  width: auto;
	  align-self: flex-start;   /* ← stops flexbox from stretching it */
	  white-space: nowrap;      /* ← optional: prevents wrapping */}

.homepage-text-inner {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;   /* stack elements */
  gap: 20px;                /* space between h1 and button */
  text-align: left;
	padding-top:240px;
}
  .homepageimage {
	padding-left: 40px;
  }
}
.homepage-herowrapper {  background-color: var(--blue);}


.homepage-hero {
  padding-top: 0 !important;

}
.sidepic img {width:100%; height:auto;}

.homepage-hero .col-12,
.homepage-hero .col-lg-6 {
  padding-top: 0;
}



body {
padding-top: 200px; /* adjust to your navbar height */

}

.about-story  {
  margin-top: -82px; /* same as your navbar height */
}

.homepage-hero {
  margin-top: -82px; /* same as your navbar height */
}
h1 {line-height:140%; font-size: 45px;}


 .contact-hero  {
  margin-top: -82px; /* same as your navbar height */
}

.plainhero
 {
  margin-top: 100px; /* same as your navbar height */
}



.featured-villas-grid {
  background: #fafafa;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
}

.villa-card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}

.villa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  background: rgba(255,255,255,0.85);
  padding: 6px 8px;
  border-radius: 50%;
  font-size: 1rem;
}

.villa-meta span {
  margin-right: 10px;
  font-size: 0.9rem;
  color: #666;
}

.villa-location {
  color: #888;
  margin-bottom: 10px;
}

.villa-price {
  font-size: 1.1rem;
  color: #000;
}






.villa-comment-form .acf-field-date-picker {display:none;}












.welcome-section {
  background: #f8f8f8;
}

.welcome-title {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c5a46d;
}

.welcome-subtitle {
  font-size: 2rem;
  font-weight: 700;
}

.welcome-text {
  font-size: 1.1rem;
  line-height: 1.6;
}


.icon-grid .icon-box {
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  transition: transform .3s, box-shadow .3s;
}

.icon-grid .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,.08);
}

.icon-grid .icon {
  font-size: 40px;
  color: #c5a46d; /* Villax gold */
}

.icon-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.icon-text {
  color: #666;
  font-size: 0.95rem;
}






.footer-dark {
  background: #111; /* deep charcoal */
  color: #ccc;
  font-size: 0.95rem;
}

.footer-brand {
  font-size: 1.7rem;
  color: #fff;
  font-weight: 700;
}

.footer-title {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: #aaa;
  line-height: 1.6;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color .3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact i {
  width: 22px;
  margin-right: 6px;
  color: #c5a46d; /* luxury gold */
}

.footer-social a {
  margin-right: 12px;
  color: #bbb;
  font-size: 1.2rem;
  transition: color .3s;
}

.footer-social a:hover {
  color: #c5a46d;
}

.btn-gold {
  background: #c5a46d;
  border: 0;
  color: #111;
}

.btn-gold:hover {
  background: #b89349;
  color: #111;
}

.footer-divider {
  border-color: #333;
  margin: 2rem 0;
}

.footer-copy {
  color: #888;
}

.footer-legal a {
  color: #bbb;
  text-decoration: none;
  margin: 0 6px;
}

.footer-legal a:hover {
  color: #fff;
}

.sep {
  color: #444;
}




.btn-primary {
  color: #fff;
}
body.villa-page {
  padding-top: 0 !important;
}

.villa-hero {
  margin-top: -120px; /* same height as navbar */
}

/* HERO */
.villa-hero img {
  width: 100%;
  height: 75vh;
  object-fit: cover;
  border-bottom: 4px solid #000;
  margin-top: 0;
  padding-top: 0;
}

/* TITLES */
.villa-title {
  font-size: 2.3rem;
  font-weight: 700;
}

.villa-location {
  font-size: 1.1rem;
  color: #666;
}

.villa-meta span {
  margin-right: 15px;
  color: #444;
}

/* HEADINGS */
.section-heading {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* AMENITIES */
.amenities-grid i {
  color: #c5a46d;
  margin-right: 8px;
  font-size: 1.1rem;
}

/* BOOKING SIDEBAR */
.booking-card {
  background: #fff;
  border-radius: 12px;
  position: sticky;
  top: 180px;
}

.btn-dark {
  background: #111;
  border: 0;
  padding: 12px;
  border-radius: 8px;
}

.secure {
  font-size: 0.9rem;
  color: #777;
}

.secure i {
  color: #c5a46d;
}

/* MOBILE */
@media (max-width: 991px) {
  .booking-card {
	margin-top: 30px;
  }
}
.villa-gallery .gallery-item {
  display: block;
  width: 100%;
  height: 220px; /* Adjust to taste */
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.villa-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.villa-gallery img:hover {
  transform: scale(1.05);
}




.swiper-button-next, .swiper-button-prev {color:white !important}



/* Override Bootstrap 5 primary button to use your --gold colour */
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--gold);
  --bs-btn-border-color: var(--gold);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #6e6b40;
  --bs-btn-hover-border-color: #6e6b40;

  --bs-btn-focus-shadow-rgb: 126, 123, 69;

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #5f5c36;
  --bs-btn-active-border-color: #5f5c36;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);

  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--gold);
  --bs-btn-disabled-border-color: var(--gold);
}


/*about */
.about-story {margin-top:120px;}

/* HERO */
.contact-hero {
  background: url('https://citizenkay.co.uk/communityspain/wp-content/uploads/2026/01/Golf-course-image.jpg') center/cover no-repeat;
  height: 50vh;
  color: var(--brown);
  display: flex;
  align-items: center;
	margin-top:110px;
	  position: relative;
}

.contact-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* adjust darkness */
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2; /* ensures text sits above overlay */
}
/* FORM */
.contact-form .form-control,
.contact-form .form-select {
  border-radius: 10px;
  padding: 12px;
  border: 1px solid #ddd;
}

/* RIGHT SIDE CONTACT INFO */
.contact-info i {
  color: var(--gold);
  margin-right: 10px;
}

.contact-info {
  background: #fff;
  border-left: 4px solid var(--gold);
}

/* MAP */
.contact-map iframe {
  width: 100%;
  display: block;
}

/* FAQ STYLE */
.accordion-button {
  font-weight: 600;
  color: var(--brown);
}

.accordion-button:not(.collapsed) {
  background: var(--gold);
  color: #fff;
}

.accordion-body {
  font-size: 0.95rem;
}




/* HERO */
.about-hero {
  background: url('https://picsum.photos/1600/900?blur=1&random=60') center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  color: var(--brown);
}

/* VALUES ICONS */
.icon-gold {
  font-size: 40px;
  color: var(--gold);
}

.team-photo {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--gold);
}

/* STRIP GALLERY */
.about-strip-gallery .strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.about-strip-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* CTA */
.about-cta {
  border-top: 4px solid var(--gold);
}





.pricing-table th,
.pricing-table td {
  vertical-align: middle;
  text-align: center;
  padding: 14px;
  font-family: "Noto Sans", sans-serif;
}

.pricing-table thead {
  background-color: var(--gold);
  color: #fff;
}

.pricing-table tr:nth-child(even) {
  background: #f7f7f7;
}


.pricing-table {margin-top:40px;}









.villa-hero img {
  margin-top: 0 !important;
}

body {
  padding-top: 0 !important;
}

.navbar {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
}


.villa-booking-conditions {
    background: #f8f8f8;
}

.villa-booking-conditions {	padding-left:20px; padding-right:20px;}
.booking-conditions-content {
    max-width: 900px;

}

.booking-conditions-content ul {
    padding-left: 1.1rem;
}

.booking-conditions-content p:last-child {
    margin-bottom: 0;
}


/* Overview Expandable Block */
.overview-wrapper {
  position: relative;
  max-width: 100%;
}

.overview-content {
  max-height: 180px; /* collapsed height */
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.overview-content.expanded {
  max-height: 2000px; /* Enough to show all content */
}

.overview-fade {
  position: absolute;
  bottom: 55px;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #fff 100%);
  transition: opacity 0.3s ease;
}

.overview-fade.hidden {
  opacity: 0;
  pointer-events: none;
}


@media (max-width: 992px) {
 
.navbar-brand {font-size:20px;}
.homepage-herowrapper {padding-top:200px;}	
.homepage-text h1 {font-size:30px; line-height:130%}

  }


.villa-hero {margin-top: 100px}
.villa-ratecard {
  background: #f8f8f8;
  border-radius: 10px;
  padding: 15px 20px;
  border: 1px solid #eee;
}

.villa-ratecard .rate-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 1rem;
  border-bottom: 1px solid #e5e5e5;
}

.villa-ratecard .rate-row:last-child {
  border-bottom: none;
}

.villa-ratecard span {
  color: #555;
}

.villa-ratecard strong {
  color: #000;
  font-weight: 600;
}

.ratecardwrapper {margin-top:40px;}




/* Spacing between nav items if needed manually */
.navbar-nav .nav-item {
    margin-left: 12px;
}

/* Button-style nav item */
.navbar-nav .nav-button > a {
    background-color: var(--gold);
    color: white !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    transition: background .3s;
}

.navbar-nav .nav-button > a:hover {
    background-color: #6f6c3a;
    color: #fff !important;
}


.villa-reviews .comment-body {
  background: #fff;
  border: 1px solid #eee;
}

.villa-comments-wrapper ul.comment-list {
  margin: 0;
  padding: 0;
}

.villa-comments-wrapper li {
  list-style: none;
}



.homepage-herowrapper {
  display: flex;
  align-items: stretch;
}

/* Match image area to text column */
.homepage-hero .row {
  display: flex;
  align-items: stretch;
}

/* Fix the carousel height once and for all */
#homepageHeroCarousel,
#homepageHeroCarousel .carousel-inner,
#homepageHeroCarousel .carousel-item {
  height: 100%;
  min-height: 400px; /* optional: prevents very small heights */
}

/* Force each image to cover the carousel box */
#homepageHeroCarousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

#homepageHeroCarousel .carousel-control-prev,
#homepageHeroCarousel .carousel-control-next {
  display: none;
}