/* =========================================================
RESPONSIVE MEDIA QUERIES
Sarah Mitchell Real Estate
========================================================= */

/* =========================================================
LARGE DESKTOP — 1450px
Prevent overly stretched layouts on large monitors
========================================================= */

@media (max-width: 1450px) {

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

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

.nav-links {
    gap: 15px;
}

.nav-links a {
    font-size: 15px;
    padding: 10px 10px;
}


/* ==== Hero ==== */

.hero-text h1 {
    font-size: 3.2rem;
}

.hero-text p {
    font-size: 1.4rem;
}


/* ==== Listings ==== */

#listings-section {
    padding: 25px;
}

.listings-card {
    flex: 0 0 100%; 
}

.listing-card img {
    height: 50%;
}

.listing-card::before {
    transform: translate(-30%, -50%);
}

.styled-title h2 {
    font-size: 2.7rem;
}

.styled-title span {
    font-size: 5rem;
}



/* ==== Meet Sarah ==== */

.sarah-pfp {
    padding: 4rem;
}

.sarah-pfp img {
    width: 420px;
    height: 590px;
}

.sarah-text {
    padding: 5rem;
}


/* ==== Stats ==== */

.stats h3 {
    font-size: 52px;
}

.stats p {
    font-size: 15px;
}


/* ==== Neighborhoods ==== */

.neighborhoods {
    height: 1000px;
}


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

.footer-links-wrapper {
    gap: 7rem;
}
 

}

/* =========================================================
LAPTOP / SMALL DESKTOP — 1200px
========================================================= */

@media (max-width: 1200px) {

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

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

.left-side-container .logo {
    width: 220px;
}

.nav-links {
    gap: 5px;
    padding: 15px;
}

.nav-links a {
    font-size: 14px;
    padding: 8px;
}


/* ==== Hero ==== */

.hero-text {
    padding: 0 3rem;
}

.hero-text h1 {
    font-size: 3rem;
}

.hero-text p {
    font-size: 1.3rem;
}


/* ==== Listings ==== */

.listings-container {
    gap: 0.5rem;
}

#listingsTitle {
    margin-right: 1rem;
}

.styled-title h2 {
    font-size: 2.4rem;
}

.styled-title span {
    font-size: 4.3rem;
}

.listing-card {
    padding: 4rem 1.5rem 1.5rem;
    flex: 0 0 100%; 
}

.listing-card img {
    height: 50%;
}


/* ==== Quotes ==== */

.quotes-container p {
    font-size: 2.5rem;
    max-width: 700px;
}

.quotes-container footer {
    font-size: 2.3rem;
}


/* ==== Meet Sarah ==== */

.sarah-pfp {
    padding: 3rem;
}

.sarah-pfp img {
    width: 370px;
    height: 520px;
}

.sarah-text {
    padding: 4rem;
}

.sarah-text p {
    font-size: 1.35rem;
}


/* ==== Stats ==== */

.stats-container {
    height: auto;
    min-height: 50vh;
    padding: 50px 20px;
}

.stats h3 {
    font-size: 45px;
}

.stats p {
    font-size: 14px;
}

.stats::after {
    height: 150px;
}


/* ==== Neighborhoods ==== */

.neighborhoods {
    height: 900px;
}


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

.footer-links-wrapper {
    gap: 5rem;
}
 

}

/* =========================================================
TABLET LANDSCAPE — 992px
========================================================= */

@media (max-width: 992px) {

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

.nav-bar-container {
    justify-content: space-around;
    display: flex;
    justify-content: center;
}

.left-side-container {
    width: auto;
}

.left-side-container .logo {
    width: 190px;
    height: 80px;
}

.nav-links {
    gap: 0;
    padding: 10px;
}

.nav-links a {
    font-size: 12px;
    padding: 7px;
    letter-spacing: 0.3px;
}


/* ==== Hero ==== */

.hero-text {
    padding: 0 2rem;
}

.hero-text h1 {
    font-size: 2.7rem;
}

.hero-text p {
    font-size: 1.2rem;
}


/* ==== Listings ==== */

.listings-container {
    flex-wrap: wrap;
}

#listingsTitle {
    width: 100%;
    margin: 0 0 2rem;
}

.listing-carousel {
    width: 80%;
}

.listing-card img {
    height: 50%;
}

.listing-card {
    flex: 0 0 100%;
}

/* ==== Quotes ==== */

.quotes-container {
    height: 45vh;
    padding: 2rem;
    box-sizing: border-box;
}

.quotes-container p {
    font-size: 2.2rem;
    letter-spacing: 3px;
}

.quotes-container footer {
    font-size: 2rem;
}


/* ==== Meet Sarah ==== */

.meet-sarah-container {
    flex-direction: column;
    align-items: center;
}

.sarah-pfp {
    padding: 3rem 2rem 1rem;
}

.sarah-pfp img {
    width: 350px;
    height: 490px;
}

.sarah-text {
    width: 100%;
    box-sizing: border-box;
    border-radius: 0;
    padding: 3rem 4rem;
    text-align: center;
}

.sarah-text p {
    max-width: 750px;
}


/* ==== Stats ==== */

.stats-container {
    min-height: auto;
    padding: 60px 20px;
}

.stats-wrapper {
    flex-wrap: wrap;
    row-gap: 3rem;
}

.stats {
    flex: 1 0 33.333%;
}

.stats:nth-child(4)::after {
    display: none;
}

.stats h3 {
    font-size: 40px;
}


/* ==== Neighborhoods ==== */

.neighborhoods {
    height: 800px;
}

.neigh-item h3 {
    font-size: 1.7rem;
}


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

.footer-links-wrapper {
    gap: 4rem;
}
 

}

/* =========================================================
TABLET / MOBILE — 768px
========================================================= */

@media (max-width: 768px) {

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

.nav-bar-container {
    position: relative;
    flex-direction: column;
    background-color: var(--ohno-color);
    padding: 1rem 0;
    display:flex;
    justify-content: space-around;
}

.left-side-container {
    width: auto;
}

.left-side-container .logo {
    width: 220px;
    height: 180px;
    justify-content: center;
}

.right-side-container {
    width: 100%;
}

.nav-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px;
    margin: 0;
}

.nav-links a {
    font-size: 12px;
    padding: 8px;
}

#navBarCont.scrolled {
    border-radius: 0px 0px 25px 25px;
    padding: 10px 0;
    width: auto; 
    justify-content: center;
}


/* ==== Hero ==== */

.hero-container {
    height: 85vh;
    min-height: 600px;
}

.hero-text {
    padding: 0 1.5rem;
}

.hero-text h1 {
    font-size: 2.4rem;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    line-height: 1.5;
}

.mono-btn,
.ohno-btn {
    width: 250px;
}


/* ==== Listings ==== */

#listings-section {
    padding: 40px 15px;
}

.listings-container {
    gap: 1rem;
}

.styled-title h2 {
    font-size: 2rem;
    letter-spacing: 4px;
}

.styled-title span {
    font-size: 3.6rem;
}



.listing-card {
    flex: 0 0 100%;
    padding: 3.5rem 1rem 1rem;
}

.listing-card img {
    height: 50%;
}

.carousel-btn {
    font-size: 1.5rem;
    padding: 0.4rem 0.7rem;
}


/* ==== Quotes ==== */

.quotes-container {
    height: auto;
    min-height: 400px;
    padding: 3rem 1.5rem;
}

.quotes-container p {
    font-size: 1.7rem;
    letter-spacing: 2px;
    line-height: 1.5;
}

.quotes-container footer {
    font-size: 1.5rem;
}


/* ==== Meet Sarah ==== */

.sarah-pfp {
    padding: 3rem 1rem 1rem;
}

.sarah-pfp img {
    width: min(85vw, 350px);
    height: auto;
}

.sarah-text {
    padding: 3rem 1.5rem;
}

.sarah-text p {
    font-size: 1.15rem;
    line-height: 1.6;
}


/* ==== Stats ==== */

.stats-container {
    padding: 50px 15px;
}

.stats-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.stats {
    flex: none;
    width: 100%;
    max-width: 400px;
}

.stats::after {
    display: none;
}

.stats h3 {
    font-size: 42px;
    margin-bottom: 0.5rem;
}

.stats p {
    font-size: 13px;
}


/* ==== Neighborhoods ==== */

.neighborhood-container {
    margin: 3rem auto;
}

.neighborhoods {
    flex-direction: column;
    height: auto;
    gap: 8px;
}

.neigh-col {
    gap: 8px;
}

.neigh-item {
    min-height: 400px;
}

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

.neigh-item h3 {
    font-size: 1.8rem;
}




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

#siteFooter {
    border-radius: 0px;
}

.footer-container {
    padding: 5rem 2rem 2rem;
}

.footer-links-wrapper {
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 4rem;
}

.footer-column {
    min-width: 140px;
}

.footer-cta {
    padding: 4rem 1rem;
}

.footer-cta h2 {
    font-size: 2.5rem;
}

.footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}
 

}

/* =========================================================
MOBILE — 576px
========================================================= */

@media (max-width: 576px) {


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

.nav-bar-container {
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 5rem;
}

.left-side-container {
    width: auto; 
}

.left-side-container .logo {
    width: 100px; 
    height: 110px; 

}

.right-side-container {
    width: auto;
    display: flex;
    align-items: center;
}

/* Show hamburger */

.hamburger {
    display: flex;
}

/* Hide navigation by default */

.right-side-container nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--ohno-color);
    border-top: 1px solid var(--theme-color);
    box-sizing: border-box;
}

/* Show navigation when hamburger is clicked */

.right-side-container nav.active {
    display: block;
}

.nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0;
    margin: 0;
    width: 100%;
}

.nav-links li,
.nav-links .dropdown {
    width: 100%;
}

.nav-links a {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem 1.5rem;
    font-size: 12px;
    text-align: center;
}

.nav-links a:hover {
    border-radius: 0;
    background-color: var(--dark-highlight-color);
}

/* Mobile dropdown */

.dropdown {
    float: none;
}

.dropdown-content {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    width: 100%;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background-color: #151515;
    box-shadow: none;
    border-radius: 0;
}

.dropdown:hover .dropdown-content {
    display: none;
}


/* ==== Hero ==== */


.hero-text {
    padding: 0 1rem;
}

.hero-text h1 {
    font-size: 2rem;
}

.hero-text p {
    font-size: 1rem;
}

.mono-btn,
.ohno-btn {
    width: 230px;
    height: 50px;
    letter-spacing: 1.5px;
}


/* ==== Listings ==== */

#listings-section {
    padding: 35px 10px;
}

.styled-title h2 {
    font-size: 1.7rem;
    letter-spacing: 3px;
}

.styled-title span {
    font-size: 3rem;
}



.listing-card {
    padding: 3rem 0.8rem 1rem;
}

.listing-card::before {
    transform: none; 
    width: 80%; 
}

.listing-card img {
    height: 50%;
}

.listing-card h3 {
    font-size: 1.2rem;
}

.listing-card p {
    font-size: 1rem;
}

.listing-card h5 {
    font-size: 1.1rem;
}

.carousel-btn {
    padding: 0.4rem 0.5rem;
}


/* ==== Quotes ==== */

.quotes-container {
    min-height: 350px;
    padding: 2rem 1rem;
}

.quotes-container p {
    font-size: 1.4rem;
    letter-spacing: 1.5px;
}

.quotes-container footer {
    font-size: 1.2rem;
}


/* ==== Meet Sarah ==== */

.sarah-pfp img {
    width: 80vw;
}

.sarah-text {
    padding: 2.5rem 1.2rem;
}

.sarah-text p {
    font-size: 1rem;
}


/* ==== Stats ==== */

.stats-container {
    padding: 45px 15px;
}

.stats h3 {
    font-size: 35px;
}

.stats p {
    font-size: 11px;
    letter-spacing: 1.5px;
}


/* ==== Neighborhoods ==== */

.neigh-item {
    min-height: 320px;
}

.neigh-item h3 {
    font-size: 1.5rem;
}


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

.footer-brand img {
    width: 220px;
}

.footer-links-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem 1.5rem;
}

.footer-column {
    min-width: 0;
}

.footer-column h3 {
    font-size: 1rem;
}

.footer-column a {
    font-size: 0.9rem;
}

.footer-cta h2 {
    font-size: 2rem;
}

.footer-cta .mono-btn {
    width: 100%;
    max-width: 270px;
}

}



@media (max-width: 480px) {


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

.left-side-container .logo {
    width: 90px;
    height: 100px; 
}


.nav-bar-container {
    display: flex;
}

#navBarCont.scrolled {
    justify-content: center;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    row-gap: 5px;
}

.nav-links a {
    font-size: 10px;
}

.dropdown-content {
    padding: 0.7rem;
}


/* ==== Hero ==== */

.hero-container {
    min-height: 520px;
}

.hero-text h1 {
    font-size: 1.8rem;
}

.hero-text p {
    font-size: 0.95rem;
}


/* ==== Listings ==== */

.styled-title h2 {
    font-size: 1.5rem;
}

.styled-title span {
    font-size: 2.6rem;
}

.listing-card img {
    height: 50%;
}

.carousel-btn {
    font-size: 1rem;
    padding: 0.6rem 0.2rem;
}


/* ==== Meet Sarah ==== */

.sarah-pfp img {
    width: 85vw;
}


/* ==== Neighborhoods ==== */

.neigh-item {
    min-height: 280px;
}
 

}

/* =========================================================
VERY SMALL PHONES — 375px
========================================================= */

@media (max-width: 375px) {

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

.left-side-container .logo {
    width: 90px; 
    height: 100px; 
}

.nav-links a {
    font-size: 9px;
    padding: 5px 3px;
}

.nav-bar-container {
    gap: 5rem; 
    justify-content: center;
}

/* ==== Hero ==== */

.hero-text h1 {
    font-size: 1.6rem;
}

.hero-text p {
    font-size: 0.9rem;
}

.mono-btn,
.ohno-btn {
    width: 210px;
    font-size: 12px;
}


/* ==== Listings ==== */

.styled-title h2 {
    font-size: 1.3rem;
}

.styled-title span {
    font-size: 2.2rem;
}

.listing-card img {
    height: 50%;
}

.listing-card::before {
    transform: none;;
}

.carousel-btn {
    padding: 0.6rem 0.2rem; 
    font-size: 1rem; 
}
/* ==== Quotes ==== */

.quotes-container p {
    font-size: 1.2rem;
}

.quotes-container footer {
    font-size: 1rem;
}


/* ==== Meet Sarah ==== */

.sarah-pfp {
    padding: 2rem 0.5rem 1rem;
}

.sarah-text {
    padding: 2rem 1rem;
}


/* ==== Stats ==== */

.stats h3 {
    font-size: 30px;
}

.stats p {
    font-size: 10px;
}


/* ==== Neighborhoods ==== */

.neigh-item {
    min-height: 240px;
}

.neigh-item h3 {
    font-size: 1.3rem;
}


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

.footer-container {
    padding: 4rem 1.2rem 2rem;
}

.footer-links-wrapper {
    gap: 2rem 1rem;
}

.footer-column h3 {
    font-size: 0.9rem;
}

.footer-column a {
    font-size: 0.8rem;
}

.footer-cta h2 {
    font-size: 1.7rem;
}

.footer-bottom p,
.footer-legal a {
    font-size: 0.7rem;
}


}
