/* Generally Useful And Important Things */
.da-bg-dark-blue { background-color: #223245; color: white; }
.da-bg-blue { background-color: #273950; color: white; } 
.da-bg-white { background-color: white; color: black; }
.da-bg-light-blue { background-color: #41556E; color: white; }
.da-bg-sky-blue { background-color: #819BA0; color: white; }
.da-rounded { border-radius: 1rem; overflow: hidden; }
.da-text-small { font-size: 90%; }
.da-text-light { font-weight: 200; }
.da-body-blue { background-color: #273950; color: white; }
.da-subtitle { margin:0; padding:0; font-size: 14px; }
.da-icon-feature { height: 22px; width: 22px; }
h4 { color: #6DA9AF; font-size: 18px; text-transform: uppercase; letter-spacing: 0.075em; }
.da-supertext { font-size: 14px; }


h2 { color: #6DA9AF; text-transform: uppercase; letter-spacing: 0.05em; font-size: 18px; font-weight: 400; }

h5 { color: #7A9CA1; }
/* End Generally Useful And Important Things */

/* Masthead And Main Logo */
header.masthead { background-color: #273950; text-center; }
header.masthead img 
{ 
	width: 110px; height: auto; 
	max-width: 50vw;
}
header.masthead {
  padding: 4rem 0 1rem 0;
}
/* End Masthead And Main Logo */


/* The Homepage Hero Section */
.whitby, .page-masthead {
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('../assets/img/whitby@2x.webp'); 
}

/* Inner Page Hero Section */
.page-masthead {
    height: 250px;
    position: relative;
}

.page-masthead h1 {
  position: relative;
  font-size: 2.2rem;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.075em;
  font-weight: 400;
}

.page-masthead-dark::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* dark transparent overlay */
  z-index: 1;
}
/* End Inner Page Here Section */

.bookformwrap { background-color: rgba(39, 57, 80, 0.85); display: flex; align-items: center; justify-content: center; flex-direction: column;  color: white; padding: 1rem; text-align: center; }

.bookformwrap-property { background-color: #819BA0; display: block; max-width: 600px; margin: -55px auto 0 auto; z-index:3; position: relative; }

.bookformwrap h4 { color: #6DA9AF; font-size: 16px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.14em }

.bookformwrap.bookformwrap-property h4 { color: #1D3347; font-weight: bold; }
.bookformwrap.bookformwrap-property button { background-color: #273950; }

.availability-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: flex-end;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  font-weight: 500;
  color: #d8e0e5;
}

input,
select, textarea {
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: none;
  min-width: 10px;
  font-size: 1rem;
}

button[type="submit"] {
  background-color: #6cb3b3;
  color: white;
  border: none;
  padding: 0.25rem 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #5a9f9f;
}

/* End Homepage Hero Section */

/* General Hover Zoom Thing */
.hover-zoom {
  transition: transform 0.3s ease;
}
.hover-zoom:hover {
  transform: scale(1.05);
}


/* Navbar Overrides and TopBar */
#mainNav .navbar-toggler { padding: 0.5rem; border: none; font-family: unset; color: white; }


#mainNav.navbar { display: unset; }

.navbar-nav .nav-item {
  position: relative;
}

#mainNav .navbar-nav .nav-item .nav-link, #mainNav .navbar-nav .nav-item {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  color: #fff;
  letter-spacing: normal;
}

#mainNav .navbar-nav .nav-item img {
	height: 14px; width: 14px; margin-top: -4px;
}

#mainNav.navbar, #mainNav.navbar-shrink 
{
	position: fixed;
	background-color: #41556E;
    right: 0;
    left: 0;
    z-index: 1030;
}

/*#da-topbar { background-color: #819BA0; color: #CAD7D9; font-size: 13px; font-weight: 200; padding: 10px; position: fixed; top:0;  right:0; left:0; z-index: 1030; text-align: right; min-height: 38px; transition: all 0.3s ease-in-out; box-sizing: border-box; }*/
#da-topbar { background-color: #819BA0; color: #CAD7D9; font-size: 13px; padding: 7px; z-index: 1030; text-align: right; transition: all 0.3s ease-in-out; box-sizing: border-box; }

#mainNav.navbar-shrink { top: 0px; }

div#da-topbar.navbar-shrink { height: 0; overflow: hidden; padding: 0 7px; }

@media (min-width: 992px) {
    .navbar-nav .nav-item:not(:last-child)::after {
        content: '|';
        position: absolute;
        right: -18.5px;
        top: 7px;
        color: white;
        font-weight: 200;
        padding: 0 8px;
        pointer-events: none;
        font-size: 13px;
    }
}

#secretLogo 
{
  width: auto; height: 26px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.5s ease;
  opacity: 0;
  pointer-events: none; /* makes it non-interactive */
  z-index: 1050; /* above nav contents */
}
#secretLogo.visible {
  opacity: 1;
}
/* End Navbar overrides and TopBar */


/* Our Properties Homepage Section */
section#ourproperties {  }

/* Outer wrapper to position price tag absolutely without clipping */
.property-wrapper {
  position: relative;
}

/* Card base */
.property-card {
  background-color: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Animation on scroll into view */
.property-card.in-view {
  transform: translateY(0);
  opacity: 1;
}

/* Hover effect */
.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.da-location-item a {
    display: block;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.da-location-item a:hover {
    transform: translateY(-5px);
}

/* ALT img hover text display */
/* Show the image's alt text as an overlay tooltip on hover */
img.alt-hover{
  position: relative;
  display: inline-block; /* keeps positioning sane */
}

img.alt-hover::after{
  content: attr(alt);
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .5rem;
  padding: .25rem .5rem;
  background: rgba(0,0,0,.8);
  color: #fff;
  font-size: .875rem;
  line-height: 1.2;
  text-align: center;
  border-radius: .25rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .15s, transform .15s;
  z-index: 99999;
}

img.alt-hover:hover::after{
  opacity: 1;
  transform: translateY(0);
}
/* End ALT hover img text display

/* Property Image Gallery */

/* Uniform gallery thumbs */
.gallery .thumb{
  display:block;
  width:100%;
  /* pick your ratio; 3/2 aligns nicely with most photos. Use 1/1 for squares */
  aspect-ratio: var(--thumb-ratio, 3/2);
  overflow:hidden;
  border-radius:.5rem;                 /* matches .rounded */
  box-shadow: var(--bs-box-shadow-sm); /* matches .shadow-sm */
  background:#f5f5f5;                  /* prevents layout jump pre-load */
}
.gallery .thumb.is1st {
  aspect-ratio: 6/2;
}
.gallery .thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;     /* crops tall/wide images cleanly */
  object-position:center;
}
/* For very tall diagrams like floorplans, show the top portion */
.gallery .thumb.thumb--top img{
  object-position: top;
}

/* End property Image Gallery */

/* Image container enforces 4:3 ratio */
.ratio-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%; /* 4:3 ratio */
  overflow: hidden;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

/* Image styling */
.property-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating price tag */
.price-tag {
  position: absolute;
  top: 1rem;
  right: -0.5rem;
  background-color: #34526f;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 0.3rem;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 10;
}

/* Property info section */
.property-info {
  background-color: #fefefe;
  flex: 1;
  text-align: center;
  padding: 1rem;
}

.property-title {
  font-weight: bold;
  color: #2c3e50;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2em; /* or whatever fits two lines in your design */
}

ul.property-features { 
  list-style-type: none;
  margin-bottom: 0;
}
ul.property-features > li {
  display: inline-block;
  padding: 5px 10px;
}

.property-meta {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.property-icons i {
  font-size: 1.2rem;
  color: #2c3e50;
  margin: 0 0.5rem;
}

.btn-property {
  background-color: #90b8bd;
  color: white;
  font-weight: bold;
  border-radius: 0.3rem;
  padding: 0.5rem;
  display: block;
  width: 100%;
}

.btn-property:hover {
  background-color: #7aa3a7;
}

.da-content-grow-wrapper {
  overflow: hidden;
  transition: height 0.4s ease;
}
/* End Our Properties Homepage Section */

/* Our Locations Homepage Section */
section#ourlocations {  }
#whitbymap, .map-wrapper { width: 100%; height: auto; margin: 0 auto; }
.map-wrapper { position: relative; }
@media (min-width: 768px) {
  #whitbymap, .map-wrapper { width: 70%; }
}
.da-map-marker {
  cursor: pointer;
}
.da-info-popup {
  position: absolute;
  top: 50px; /* Adjust as needed */
  left: 50px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem;
  width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transform: translateY(10px);
  z-index: 9999;
}

.da-info-popup img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.da-info-popup h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: #2c3e50;
}

.da-info-popup p { 
  color: #2c3e50;
  line-height: 1.2em;
}

.da-info-popup a {
  text-decoration: none;
  color: #0077cc;
  font-weight: bold;
}

.da-info-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}


/* End Our Locations Homepage Section

/*--------------------------------------------------------*/
/* Our Property Types Homepage Section */
section#ourpropertytypes {  }

.property-type-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
}

.property-type-card:hover {
  transform: translateY(-6px);
}

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 1rem; /* match your existing style */
}

.image-wrapper img {
  display: block;
  width: 100%;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

.property-type-card:hover img {
  transform: scale(1.03);
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.6);
  color: white;
  padding: 0.3rem 0.75rem; /* tighter top/bottom padding */
  font-size: 0.85rem;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.3s ease;
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
}

.property-type-card:hover .overlay-text {
  opacity: 1;
  transform: translateY(0);
}


/* End Our Property Types Homepage Section */
/*--------------------------------------------------------*/

/*--------------------------------------------------------*/
/* Marquee */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  height: 1em; /* control height */
  display: flex;
  align-items: center;
}

.marquee-text {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  margin: 0 12px;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
/* End Marquee */
/*-------------------------------------------------------*/


/*--------------------------------------------------------*/
/* Property Details Page */
.da-property-details h2 { font-size: 24px; }
/* End Property Details Page */
/*-------------------------------------------------------*/


/*--------------------------------------------------------*/
/* Contact Page */
.da-contact-ways img { width: 50px; height: 50px; }
.da-contact-ways, .da-contact-ways p { line-height: 1em; }
.da-contact-ways .da-type { font-size: 18px; padding: 5px; font-weight:600; }
/* End Contact Page */
/*-------------------------------------------------------*/


/*--------------------------------------------------------*/
/* Contact form look to match the dark section */
.contact-form .form-label { color: #e6eef5; letter-spacing: .08em; }
.contact-form .form-control {
  background: #fff; border: 0; box-shadow: 0 0 0 1px rgba(255,255,255,.15) inset;
}
.contact-form .form-control:focus {
  box-shadow: 0 0 0 .25rem rgba(255,255,255,.15); outline: none;
}
.contact-form ::placeholder { color: #b9c2cb; opacity: 1; }
/*--------------------------------------------------------*/




/*--------------------------------------------------------*/
/* Footer Section */
footer {  }
#footlogo { width: 75px; height: 68px; }
/* End Footer Section */

/*------------------------------------------------------*/
/* Other Bits */
.da-breadcrumbs { font-size: 90%; }
.da_breadcrumbs a { text-decoration: underline; }
/* End Other Bits */
/*------------------------------------------------------*/

