
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=DM+Sans:wght@400;500;600&display=swap');

:root {
  --orange: #B65A0A;
  --black: #171717;
  --cream: #F5F4F1;
  --grey: #C9C8C5;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--black);
  background: var(--cream);
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================================
   HEADER
================================ */

.site-header {
  min-height: 105px;
  padding: 22px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 37px;
  font-weight: 600;
  letter-spacing: 4px;
}

.brand-subtitle {
  font-size: 9px;
  letter-spacing: 3px;
  text-align: center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.main-nav a {
  position: relative;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 600;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: var(--orange);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.35s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 26px;
  cursor: pointer;
}

/* ================================
   HERO
================================ */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  display: flex;
  align-items: center;
  padding: 80px 9%;
  color: var(--white);
  overflow: hidden;
  background: var(--black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.40);
  z-index: -1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.eyebrow {
  color: var(--orange);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 22px;
}

.hero .eyebrow {
  color: #F0B27C;
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 25px;
}

.hero-description {
  max-width: 550px;
  line-height: 1.9;
  font-size: 16px;
  margin-bottom: 34px;
}

.primary-button,
.light-button {
  display: inline-block;
  padding: 17px 28px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.35s ease;
}

.primary-button:hover,
.property-search button:hover {
  background: var(--black);
  color: white;
  transform: translateY(-3px);
}

.hero-caption {
  position: absolute;
  right: 6%;
  bottom: 35px;
  z-index: 1;
  font-size: 9px;
  letter-spacing: 2px;
}

/* ================================
   PROPERTY SEARCH
================================ */

.search-section {
  padding: 75px 8%;
  background: var(--cream);
}

.search-heading {
  text-align: center;
  margin-bottom: 35px;
}

.search-heading h2,
.section-heading h2,
.about-content h2,
.sell-section h2,
.contact-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 400;
}

.property-search {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  max-width: 1150px;
  margin: auto;
  border: 1px solid var(--grey);
}

.property-search input,
.property-search select {
  width: 100%;
  min-width: 0;
  padding: 20px 15px;
  border: 0;
  border-right: 1px solid var(--grey);
  background: transparent;
  font: inherit;
  font-size: 12px;
  outline-color: var(--orange);
}

.property-search button {
  padding: 18px 30px;
  background: var(--black);
  color: var(--white);
  border: 0;
  letter-spacing: 2px;
  font-size: 10px;
  cursor: pointer;
  transition: all 0.35s ease;
}

/* ================================
   PROPERTIES
================================ */

.properties-section {
  padding: 90px 8%;
  background: var(--white);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 40px;
}

.text-link {
  font-size: 10px;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--orange);
  padding-bottom: 8px;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.property-card {
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

.property-card img {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

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

.property-info {
  padding: 23px 0;
}

.property-location {
  color: var(--orange);
  font-size: 9px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.property-info h3,
.property-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 9px;
}

.property-price {
  font-size: 13px;
}

.property-card p {
  font-size: 14px;
}

.demo-note {
  margin-top: 25px;
  color: #777;
  font-size: 11px;
}

.view-property {
  display: inline-block;
  margin-top: 15px;
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--orange);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 5px;
}

/* ================================
   ABOUT
================================ */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  background: var(--cream);
}

.about-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
}

.about-content {
  padding: 90px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.about-content h2 {
  line-height: 1.12;
  margin-bottom: 24px;
  font-size: clamp(38px, 4.5vw, 58px);
}

.about-content > p:not(.eyebrow) {
  color: #555;
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 30px;
}

/* ================================
   SERVICES
================================ */

.services-section {
  padding: 100px 8%;
  background: var(--cream);
}

.services-heading {
  max-width: 650px;
  margin-bottom: 50px;
}

.services-heading h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.5vw, 58px);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 18px;
}

.services-heading > p:last-child {
  color: #666;
  font-size: 15px;
  line-height: 1.9;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.service-card {
  padding: 30px 22px;
  border-top: 1px solid var(--grey);
  transition: opacity 0.8s ease, transform 0.8s ease, box-shadow 0.3s ease;
}

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

.service-card span {
  color: var(--orange);
  font-size: 12px;
}

.service-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  margin: 22px 0 12px;
}

.service-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.8;
}

/* ================================
   SELL
================================ */

.sell-section {
  text-align: center;
  padding: 105px 8%;
  background: var(--black);
  color: var(--white);
}

.sell-section .eyebrow {
  color: #E8A16A;
}

.sell-section h2 {
  margin-bottom: 20px;
}

.sell-section > p:not(.eyebrow) {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 13px;
  line-height: 1.9;
  color: #D1D1D1;
}

.light-button {
  background: var(--orange);
}

/* ================================
   CONTACT
================================ */

.contact-section {
  text-align: center;
  padding: 100px 8%;
  background: var(--white);
}

.contact-section h2 {
  margin-bottom: 15px;
  font-size: clamp(38px, 4.5vw, 58px);
}

.contact-section > p:not(.eyebrow) {
  margin-bottom: 30px;
  font-size: 15px;
  line-height: 1.9;
  color: #666;
}

.contact-details {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin: 25px 0;
}

.contact-details a {
  font-size: 18px;
  font-weight: 500;
  color: var(--orange);
}

.office-address {
  color: #666;
  font-size: 12px;
  margin-bottom: 30px;
}

.profile-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 30px;
}

.profile-links a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--black);
  border-bottom: 1px solid var(--orange);
  padding-bottom: 7px;
  transition: all 0.3s ease;
}

.profile-links a:hover {
  color: var(--orange);
  letter-spacing: 2px;
  transform: translateY(-2px);
}

/* GENERAL CONTACT FORM */

.general-contact-form {
  max-width: 650px;
  margin: 65px auto 0;
  padding: 45px;
  background: var(--cream);
  text-align: left;
}

.general-contact-form h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 8px;
}

.general-contact-form > p {
  color: #666;
  font-size: 14px;
  margin-bottom: 25px;
}

#generalContactForm {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#generalContactForm input,
#generalContactForm select,
#generalContactForm textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--grey);
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--black);
  outline: none;
}

#generalContactForm input:focus,
#generalContactForm select:focus,
#generalContactForm textarea:focus {
  border-color: var(--orange);
}

#generalContactForm textarea {
  resize: vertical;
}

#generalContactForm button {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* ================================
   PROPERTY DETAILS MODAL
================================ */

.property-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.75);
  padding: 30px;
  overflow-y: auto;
  align-items: flex-start;
  justify-content: center;
}

.property-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 950px;
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1fr;
  animation: modalAppear 0.4s ease;
  margin: auto;
  align-items: stretch;
}

.modal-content > img {
  width: 100%;
  height: 100%;
  min-height: 450px;
  object-fit: cover;
}

.modal-info {
  padding: 55px 40px;
}

.modal-info h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 400;
  margin: 15px 0;
}

.modal-info h3 {
  color: var(--orange);
  font-size: 24px;
  margin-bottom: 25px;
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid var(--grey);
  border-bottom: 1px solid var(--grey);
  margin-bottom: 20px;
  font-size: 13px;
}

.modal-info > p:last-of-type {
  font-size: 14px;
  line-height: 1.9;
  color: #666;
  margin-bottom: 30px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 18px;
  z-index: 2;
  background: none;
  border: none;
  font-size: 35px;
  cursor: pointer;
  color: var(--black);
}

@keyframes modalAppear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PROPERTY ENQUIRY FORM */

.property-enquiry {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--grey);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.property-enquiry h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: -8px;
}

.property-enquiry > p {
  color: #666;
  font-size: 13px;
}

.property-enquiry input,
.property-enquiry select,
.property-enquiry textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d5d2cc;
  background: transparent;
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
}

.property-enquiry input:focus,
.property-enquiry select:focus,
.property-enquiry textarea:focus {
  border-color: var(--orange);
}

.property-enquiry textarea {
  resize: vertical;
}

.property-enquiry button {
  width: 100%;
  border: none;
  cursor: pointer;
}

.property-enquiry .form-note {
  font-size: 11px;
  color: #888;
  line-height: 1.6;
}

/* ================================
   SCROLL REVEAL
================================ */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.site-footer {
  display: block;
  width: 100%;
  padding: 65px 7% 0;
  background: var(--black);
  color: var(--cream);
  text-align: left;
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer .footer-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(150px, 1fr) minmax(220px, 1fr);
  align-items: start;
  justify-content: space-between;
  gap: 50px;
  width: 100%;
  padding-bottom: 55px;
}

.site-footer .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  text-align: left;
}

/* FOOTER BRAND */

.site-footer .footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 20px;
}

.site-footer .footer-brand .brand-name {
  color: var(--cream);
  font-size: 25px;
  white-space: nowrap;
}

.site-footer .footer-brand .brand-subtitle {
  color: #aaa;
  text-align: left;
}

.site-footer .footer-bio {
  max-width: 370px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 22px;
}

/* FOOTER SOCIAL ICONS */

.site-footer .footer-socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.site-footer .footer-socials a {
  display: flex;
  align-items: center;
  color: #aaa;
  transition: color 0.3s ease;
}

.site-footer .footer-socials svg {
  width: 21px;
  height: 21px;
}

.site-footer .footer-socials a:hover {
  color: var(--orange);
}

/* FOOTER COLUMN HEADINGS */

.site-footer .footer-column h3 {
  color: var(--cream);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 5px 0 24px;
}

/* FOOTER NAVIGATION */

.site-footer .footer-navigation {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.site-footer .footer-navigation a {
  color: #aaa;
  font-size: 13px;
  transition: color 0.3s ease;
}

.site-footer .footer-navigation a:hover {
  color: var(--orange);
}

/* FOOTER CONTACT */

.site-footer .footer-contact-column {
  gap: 18px;
}

.site-footer .footer-contact-column h3 {
  margin-bottom: 7px;
}

.site-footer .footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #aaa;
  font-size: 13px;
  line-height: 1.8;
}

.site-footer .footer-contact-item a {
  color: #aaa;
  white-space: nowrap;
}

.site-footer .footer-contact-item a:hover {
  color: var(--orange);
}

.site-footer .footer-contact-item > span:last-child {
  max-width: 190px;
}

.site-footer .footer-icon {
  color: var(--orange);
  font-size: 17px;
}

/* FOOTER COPYRIGHT BAR */

.site-footer .footer-bottom {
  width: 100%;
  border-top: 1px solid #444;
  padding: 24px 0;
  text-align: center;
}

.site-footer .footer-bottom p {
  color: #999;
  font-size: 11px;
  line-height: 1.8;
  margin: 0;
}

.site-footer .footer-bottom a {
  color: var(--cream);
  transition: color 0.3s ease;
}

.site-footer .footer-bottom a:hover {
  color: var(--orange);
}

/* ================================
   RESPONSIVE DESIGN
================================ */

/* TABLET */

@media (max-width: 850px) {
  .site-header {
    position: relative;
    min-height: 85px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    background: var(--cream);
    padding: 25px 6%;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .main-nav.active {
    display: flex;
  }

  .property-search {
    grid-template-columns: 1fr 1fr;
  }

  .property-search input {
    grid-column: 1 / -1;
  }

  .property-search button {
    grid-column: 1 / -1;
  }

  .property-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-section {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 400px;
    min-height: 0;
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer .footer-main {
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
  }

  .site-footer .footer-contact-column {
    grid-column: 1 / -1;
  }
}

/* MOBILE */

@media (max-width: 700px) {
  .site-header {
    padding: 12px 5%;
    min-height: auto;
  }

  .site-header .brand {
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
  }

  .site-header .brand-name {
    font-size: 17px;
    white-space: nowrap;
    letter-spacing: 1px;
  }

  .site-header .brand-subtitle {
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .menu-toggle {
    flex-shrink: 0;
    margin-left: 12px;
  }

  .hero {
    min-height: 650px;
    padding: 90px 6% 110px;
    align-items: center;
  }

  .hero-content {
    padding-bottom: 35px;
  }

  .hero-caption {
    right: 6%;
    left: 6%;
    bottom: 20px;
    font-size: 8px;
    line-height: 1.6;
    letter-spacing: 1px;
    text-align: center;
  }

  .hero-content .primary-button {
    margin-bottom: 15px;
  }

  .property-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .property-search {
    grid-template-columns: 1fr;
  }

  .property-search input,
  .property-search button {
    grid-column: auto;
  }

  .property-search select {
    border-top: 1px solid var(--grey);
  }

  .about-content {
    padding: 65px 8%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .general-contact-form {
    padding: 30px 20px;
    margin-top: 45px;
  }

  .site-footer {
    padding: 50px 7% 0;
  }

  .site-footer .footer-main {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-bottom: 45px;
  }

  .site-footer .footer-contact-column {
    grid-column: auto;
  }

  .site-footer .footer-bio {
    max-width: 100%;
  }

  .site-footer .footer-bottom p {
    font-size: 10px;
  }

  .property-modal {
    padding: 15px;
  }

  .modal-content {
    grid-template-columns: 1fr;
  }

  .modal-content > img {
    min-height: 230px;
    max-height: 280px;
  }

  .modal-info {
    padding: 30px 25px;
  }

  .modal-info h2 {
    font-size: 34px;
  }
}

/* SMALL MOBILE SCREENS */

@media (max-width: 550px) {
  .hero {
    min-height: 540px;
    padding: 60px 7%;
  }

  .hero-caption {
    bottom: 20px;
  }

  .property-search {
    grid-template-columns: 1fr;
  }
}

/* ================================
   ACCESSIBILITY
================================ */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .property-card,
  .service-card,
  .property-card img,
  .primary-button,
  .main-nav a::after {
    transition: none;
    transform: none;
  }
}
