:root {
    --theme-color: #eac27b;
    --dark-theme-color: #8a641c;
    --mono-color: white;
    --ohno-color: black;
    --light-highlight-color: rgba(128, 128, 128, 0.24);
    --dark-highlight-color: rgba(43, 43, 43, 0.836);
    --card-bg-color: rgba(182, 185, 16, 0.103);
}

/* Creating a custom scrollbar  */
/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: auto;
    scrollbar-color: var(--theme-color) var(--ohno-color);
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 16px;
  }

  *::-webkit-scrollbar-track {
    background: whitesmoke;
  }

  *::-webkit-scrollbar-thumb {
    background-color: var(--theme-color);
    border-radius: 10px;
    border: 3px solid whitesmoke;
  }

/* ==== Fonts ==== */
h1 {font-family: 'Playfair Display', serif; font-size: 3.4rem}
h2, h3, h4, h5, h6 {font-family: 'Crimson Text', serif;}
p, footer {font-family: 'Space Grotesk', sans-serif; font-size: 1.6rem}

/* ==== Background ==== */
body {
    background-color: whitesmoke;
    margin: 0;
    overflow-x: hidden; 
}

/* ==== Misc. ==== */
hr {
    width: 10%;
    border-color: var(--theme-color);
}



/* Creating the Nav-bar  */
.dropdown {
    float: left;
    overflow: hidden;

}

#nav-bar-section {
    position: sticky;
    top: 0;
    opacity: 0.9;
    z-index: 10;
}

#navBarCont {
    transition: all 0.4s ease;
}

#navBarCont.scrolled {
    background-color: var(--ohno-color);
    border-radius: 0px 0px 150px 150px;
    padding: 12px 0px;
    border-width: 5rem;
    border: 1px solid var(--theme-color);

}


.nav-bar-container {
    top: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
    width: 100%;
}



.left-side-container {
    width: 20%;
}

.left-side-container .logo {
    height: 100px;
    width: 260px;
    display: flex;
    align-items: left;
}

.dropdown svg {
    transition: transform 0.3s ease;
}

.dropdown-content {
    visibility: hidden; 
    opacity: 0; 
    position: absolute;
    background-color: var(--ohno-color);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 2;
    padding: 1rem;
    border-radius: 2px;
    margin: 1rem 0.1rem 0rem 0rem;
    display: flex;
    flex-direction: column;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-content li {
    float: none; 
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 1.2rem;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    visibility: visible;
}

.dropdown:hover svg {
    transform: rotate(180deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    padding: 20px;
}

.nav-links a {
    color: var(--mono-color);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 15px;
    background-color: transparent;
}

.nav-links a:hover {
    background-color: var(--light-highlight-color);
    border-radius: 2px;
    overflow: hidden;
    color: var(--theme-color);

}

/* Creating the hero section  */

.hero-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.hero-container::before {
    content: '';
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.527)
}

.hero-bg-video {
    position: absolute; 
    object-fit: cover;
    z-index: -1;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.hero-elements {
    z-index: 2;
    color: var(--mono-color);
    position: relative; 
    display: flex;
    line-height: 1.8rem;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}


.hero-text span, blockquote span{
    color: var(--theme-color)
}

/* ==== Custom Buttons ==== */
.mono-btn {
    background-color: transparent;
    border: 1px solid var(--mono-color); 
    position: relative;
    width: 270px; 
    margin: 0 auto;
    height: 53px; 
    font-weight: 300;
    color: var(--mono-color);
    text-align: center;
    text-decoration: none;
    letter-spacing: 2.4px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
    z-index: 2;
}

.mono-btn:hover {
    background-color: var(--dark-highlight-color);
    border-color: var(--dark-highlight-color);
}

.ohno-btn {
    background-color: transparent;
    border: 1px solid var(--ohno-color); 
    position: relative;
    width: 270px; 
    margin: 0 auto;
    height: 53px; 
    font-weight: 300;
    color: var(--ohno-color);
    text-align: center;
    text-decoration: none;
    letter-spacing: 2.4px;
    transition: all 0.4s ease-in-out;
    cursor: pointer;
}

.ohno-btn:hover{
    background-color: var(--ohno-color);
    border-color: var(--ohno-color);
    color: var(--mono-color);
}

/* ==== Listings Section ==== */
#listings-section {
    padding: 30px; 
}


.more-info-btn {
  all: unset;
  width: 100px;
  min-width: 100px;
  height: 30px;
  transform: translate(-30%, -180%);
  right: 0;
  font-size: 16px;
  background: transparent;
  border: none;
  position: absolute;
  color: var(--ohno-color);
  cursor: pointer;
  z-index: 1;
  padding: 10px 20px;
  display: flex;
  transition: all 0.7s ease;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.more-info-btn:hover {
    color: white; 
}

.more-info-btn::after,
.more-info-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: -99999;
  transition: all .4s;
}

.more-info-btn::before {
  transform: translate(0%, 0%);
  width: 100%;
  height: 100%;
  background: var(--theme-color);
  border-radius: 10px;
}

.more-info-btn::after {
  transform: translate(10px, 10px);
  width: 35px;
  height: 35px;
  background: #00000098;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50px;
}

.more-info-btn:hover::before {
  transform: translate(5%, 20%);
  width: 110%;
  height: 110%;
}

.more-info-btn:hover::after {
  border-radius: 10px;
  transform: translate(0, 0);
  width: 100%;
  height: 100%;
}

.more-info-btn:active::after {
  transition: 0s;
  transform: translate(0, 5%);
}

.carousel-btn {
    background: var(--theme-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    z-index: 2;
}

.carousel-btn:hover {
    background: var(--dark-highlight-color);
}

.listings-container {
    display: flex;
    /* width: 100%;
    height: 100vh; */
    justify-content: center;
    align-items: center;
    gap: 1rem;
    position: relative; 
}

#listingsTitle {
    text-align: center;
    margin-right: 2rem;
}


.styled-title h2 {
    text-transform: uppercase;
    letter-spacing: 5.5px;
    font-size: 3rem;

}

.styled-title span {
    font-size: 5.6rem;
    color: var(--dark-theme-color);
    text-transform: none;
    letter-spacing: 0px;
}

#statsTitle span {
    color: var(--theme-color);
}

.listing-carousel {
    gap: 2rem;
    display: flex; 
    overflow-x: hidden;
    transition: transform 0.4s ease;
    
}

.listing-card {
    flex: 0 0 calc(50% - 1rem); /* 2 card visible at once with spacing */
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    border-radius: 10px;
    overflow: hidden;
    padding: 5rem 2rem 2rem;    
    background-color: white;
    transition: 0.3s;
}

.listing-card img {
    height: 60%;
    width: 100%;
    transition: all 0.4s ease-in-out; 
    border-radius: 5px;
    margin-bottom: 1rem;
}

.listing-card:hover :is(.listing-card img) {
    cursor: pointer;
    background-color: #eac27b;
    transform: scale(1.05);
    overflow: hidden;
}

.listing-card::after {
    content: '';
    width: 100%; 
    height: 100%; 
    opacity: 0.5;
    position: absolute; 
    z-index: 0;
    top: 0; 
    left: 0;
    background: var(--card-bg-color)

}



.listing-card::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    width: 100%;
    aspect-ratio: 1;
    background-color: var(--theme-color);
    transition: 0.5s;
    z-index: -1;
}

.listing-card span {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1rem;
    font-size: 3rem;
    color: var(--mono-color);
    transition: all 0.4s ease-in-out;
}

.listing-card span:hover {
    transform: scale(1.2);
}

.listing-card h2, h3 {
    transition: all 0.28s ease-in-out;
    
}

.listing-card h2 {
    color: var(--dark-highlight-color)
}


.listing-card h4 {
    margin-top: 4rem; 
    margin-bottom: 1rem;
    font-size: 1.5rem; 
    font-weight: 600;
    color: var(--listing-color);
    transition: 0.3s;
}

.listing-card p{
    margin-bottom: 2rem;
    color: var(--ohno-color);
    transition: 0.3s;
}

.listing-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ohno-color);
    transition: 0.3s;
}

.listing-card h6 {
    font-size: 1rem;
    font-weight: 400;
    color: var(--dark-highlight-color);
    transition: 0.3s;
}


.listing-card:hover::before{
    width: 800%;

}

.listing-card:hover :is(p, h2, h3, h4, h5, h6) {
    color: var(--mono-color);
}

.listing-card:hover img{
    border-color: var(--mono-color);
}

/* ==== Quotes Section ==== */
#quotes-section {
    
    width: 100%;
    overflow: hidden;
    display: block;
    border-radius: 0px;
}

.quotes-container {
    background-color: var(--ohno-color);
    position: relative; 
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%; 
    text-align: center;
    color: var(--mono-color)
}

.quotes-container p {
    font-size: 3rem;
    letter-spacing: 5.5px;
    max-width: 800px;
}



.quotes-container footer {
    font-size: 2.8rem;

}

/* ==== Meet Sarah (Home ver.) ==== */
.meet-sarah-container {
    display: flex; 
    position: relative; 
    width: 100%;
    height: auto;
    align-content: center;
    justify-content: center;
    margin: 2.4rem 0rem;
    background-color: var(--ohno-color);
    border-radius: 0px;
}

.sarah-pfp {
    padding: 5rem;
}

.sarah-pfp img {
    border:var(--theme-color) solid 2px;
    border-radius: 7px; 
    width: 480px;
    height: 675px; 
    margin: auto;

}

.sarah-text {
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 70px 0 0 70px;
    padding: 6rem;
    margin: 0;
    line-height: 1.3;
    background-color: whitesmoke;
}

#sarahBtn {
    margin-top: 2rem;
}

/* ==== Section of Stats on Real Estate ==== */
#statsSection {
    border-radius: 0px;
    overflow: hidden;
    display: block;
}

.stats-container {
    display: flex; 
    flex-direction: column;
    position: relative; 
    width: 100%;
    height: 50vh;
    align-content: center;
    overflow: hidden;
    justify-content: center;
    padding: 40px 10px;
}

.stats-container hr {
    border: 0.5px solid var(--mono-color);
    border-radius: 5px;
    z-index: 1;
    
}

.stats-container::before {
    content: '';
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.719)
}

.stats-background img {
    object-fit: cover; 
    position: absolute;
    height: 100%;
    width: 100%; 
    z-index: -1;
    top: 0;
    left:0;
    
}

#statsTitle {
    z-index: 2;
    color: var(--mono-color);
    text-align: center;
}

.stats-wrapper {
    display: flex;
    position: relative; 
    flex-direction: row;
    justify-content: center;
    align-items:first baseline;
    color:var(--mono-color);
    line-height: 22px;
}

.stats {
    text-align: center;
    text-transform: uppercase;
    flex: 1 0 0;
    position: relative;
}

.stats:first-child::after {
    content: none;
}

.stats::after {
    content: '';
    position: absolute;
    top: 1rem;
    left: 0;
    height: 180px;
    width: 1px; 
    background-color: var(--mono-color);
    z-index: 2;
}

.stats h3{
    font-weight: bolder;
    font-size: 62px;
    letter-spacing: 0px;
}

.stats p{
    font-size: 17px;
    letter-spacing: 2.4px;
}

/* ==== List of Neighborhoods served ==== */
.neighborhood-container {
    margin: 2.4rem auto;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#neighborhoodTitle {
    z-index: 2;
    text-align: center;
    margin-bottom: 2rem;
}

.neighborhoods {
    display: flex; 
    width: 100%; 
    gap: 8px; 
    height: 1200px;
}

.neigh-col {
    display: flex; 
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.neigh-item {
    position: relative;
    display: flex; 
    flex-direction: column;
    flex: 1; 
    width: 100%;
    height: auto; 
    overflow: hidden; 
    z-index: 1;
    color: white;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.neigh-col:nth-child(odd) .neigh-item:nth-child(odd), .neigh-col:nth-child(odd) .neigh-item:nth-child(even) {
    border-radius: 0px 7px 7px 0px;
}


.neigh-col:nth-child(even) .neigh-item:nth-child(even), .neigh-col:nth-child(even) .neigh-item:nth-child(odd)  {
    border-radius: 7px 0px 0px 7px; 
}

.neigh-item::before {
    content: '';
    position: absolute; 
    top: 0; 
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.534);
    z-index: 2;
}

.neigh-item:hover img{
    scale: 1.2;
}

.neigh-item:hover h3 {
    transform: translateY(-70px)
}

.neigh-item:hover button {
    opacity: 1;
}

.neigh-item button {
    opacity: 0; 
    transition: 0.6s all ease;
    position: absolute; 
}

.neigh-item:hover button {
    display: inline-block; 
}

.neigh-item h3{
    position: absolute; 
    color: white; 
    text-transform: uppercase;
    z-index: 5;
    margin: 0;
    letter-spacing: 2.4px;
    font-size: 2rem;
    font-weight: bolder;
}

.neigh-item img {
    position: absolute;
    left: 0;
    top: 0;
    transition: 0.4s all ease-in;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* ==== FOOTER SECTION ====  */

#siteFooter {
    background-color: var(--ohno-color);
    color: var(--mono-color);
    margin-top: 2.4rem;
    border-radius: 7px 7px 0 0;
    overflow: hidden;
}


/* ==== Main Footer Container ==== */

.footer-container {
    width: 100%;
    padding: 6rem 7%;
    box-sizing: border-box;
}


/* ==== Footer Brand ==== */

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand img {
    width: 260px;
    max-width: 80%;
    height: auto;
}

.footer-brand p {
    margin: 1.5rem 0;
    color: var(--theme-color);
    font-size: 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-brand hr {
    width: 80px;
    border: none;
    border-top: 1px solid var(--theme-color);
    margin: 1rem auto 5rem;
}


/* ==== Footer Navigation ==== */

.footer-links-wrapper {
    display: flex;
    justify-content: center;
    gap: 10rem;
    width: 100%;
    margin-bottom: 6rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}

.footer-column h3 {
    color: var(--theme-color);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1.5rem;
}

.footer-column a {
    color: var(--mono-color);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.9rem;
    width: fit-content;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: var(--theme-color);
    transform: translateX(5px);
}


/* ==== Footer CTA ==== */

.footer-cta {
    border-top: 1px solid var(--dark-highlight-color);
    border-bottom: 1px solid var(--dark-highlight-color);
    padding: 5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-cta h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    letter-spacing: 2px;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
}

.footer-cta h2 span {
    color: var(--theme-color);
}


/* ==== Bottom Bar ==== */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-top: 2.5rem;
}

.footer-bottom p {
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    margin: 0;
    color: #aaa;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: #aaa;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--theme-color);
}

/* ==== Hamburger Menu (Could really go for one right now...:P) ==== */

.hamburger {
display: none;
background: transparent;
border: none;
cursor: pointer;
padding: 10px;
width: 45px;
height: 45px;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 5px;
}

.hamburger span {
display: block;
width: 26px;
height: 2px;
background-color: var(--mono-color);
transition: all 0.3s ease;
}

/* Hamburger animation when opened */

.hamburger.active span:nth-child(1) {
transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
opacity: 0;
}

.hamburger.active span:nth-child(3) {
transform: translateY(-7px) rotate(-45deg);
}
