/* =====================================
   Radiant Tide Realty - style.css
   Nature Organic Professional CSS Theme
   ===================================== */

/* ---- CSS RESET / NORMALIZATION ---- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article,
aside, canvas, details, embed, figure,
figcaption, footer, header, hgroup, menu, nav,
output, ruby, section, summary, time, mark,
audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  line-height: 1.6;
  background: var(--accent-bg, #FAFAFA);
  color: #2B3E2F;
  font-family: 'Open Sans', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}
a {
  color: var(--primary, #23506C);
  background: none;
  text-decoration: none;
  transition: color 0.2s;
}
a:focus, a:hover {
  color: var(--secondary, #069A8E);
  outline: none;
}
ul, ol {
  margin-left: 24px;
  padding-left: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  background: none;
  border: none;
  outline: none;
}
button {
  cursor: pointer;
}

/* ---- CUSTOM PROPERTIES ---- */
:root {
  /* Brand Palette - Nature Organic Earth Tones */
  --primary: #23506C;               /* Deep lake blue */
  --primary-dark: #173447;          /* Deeper for header/footer */
  --secondary: #069A8E;             /* Botanical teal */
  --accent: #FAFAFA;                /* Whisper white */
  --earth-brown: #776B5D;           /* Rich soil brown */
  --sage: #95a795;                  /* Pale leafy green */
  --forest: #2B3E2F;                /* Dark green text */
  --clay: #998045;                  /* Muted ochre for highlights */
  --cream: #F2EFE6;                 /* Light earth neutral */
  --shadow: 0 2px 8px rgba(35,80,108,0.12);
  --radius: 16px;
  --radius-card: 20px;
  --transition: all 0.18s cubic-bezier(.54,1.2,.24,1);
}

/* ---- TYPOGRAPHY ---- */
body {
  font-size: 16px;
  color: var(--forest);
  background: var(--cream);
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Open Sans', Arial, sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
  letter-spacing: 0.01em;
}
h1 {
  font-size: 2.4rem;
  margin-bottom: 14px;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
h4 {
  font-size: 1.10rem;
  margin-bottom: 8px;
}
p, ul, ol, address {
  font-size: 1rem;
  margin-bottom: 16px;
}
strong {
  font-weight: 700;
  color: var(--secondary);
}
em {
  color: var(--earth-brown);
  font-style: italic;
}

/* ---- LAYOUT ---- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* ---- SECTION SPACING ---- */
section, .section {
  margin-bottom: 60px;
  padding: 40px 20px;
  border-radius: var(--radius);
  background: var(--accent);
  box-shadow: var(--shadow);
  transition: background 0.3s;
}
section:last-child {
  margin-bottom: 0;
}

/* -- FLEX PATTERNS -- */
.card-container, .features-grid, .property-listings, .team-grid, .service-list, .testimonials-grid, .service-icons-grid, .case-study-snippets, .faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}

.card, .feature, .property-listing, .team-member, .service-detail, .case-snippet {
  background: var(--cream);
  margin-bottom: 20px;
  position: relative;
  border-radius: var(--radius-card);
  padding: 28px 20px 22px 20px;
  box-shadow: 0 1px 6px rgba(44,60,42,0.11);
  transition: box-shadow 0.18s, transform 0.18s, background 0.25s;
}
.property-listing {
  min-width: 260px;
  flex: 1 1 220px;
}
.team-member, .case-snippet, .service-detail {
  flex: 1 1 240px;
  min-width: 220px;
  max-width: 340px;
}
.feature {
  flex: 1 1 180px;
  min-width: 160px;
  max-width: 280px;
}
.feature img {
  margin-bottom: 10px;
  width: 48px;
  height: 48px;
}
.card:hover, .feature:hover, .property-listing:hover, .team-member:hover, .service-detail:hover {
  box-shadow: 0 6px 18px rgba(44,90,42,0.11), 0 2px 10px 0 rgba(35,80,108,0.09);
  background: var(--sage);
  transform: translateY(-2px) scale(1.018);
}

.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  background: var(--cream);
  border-left: 5px solid var(--secondary);
  padding: 24px 22px;
  border-radius: var(--radius-card);
  box-shadow: 0 2px 12px rgba(35,80,108,0.07);
  margin-bottom: 20px;
  min-width: 240px;
  flex: 1 1 260px;
  transition: box-shadow 0.18s, transform 0.18s;
}
.testimonial-card p {
  color: #22341F;
  font-size: 1.07rem;
  margin-bottom: 10px;
}
.testimonial-card span {
  font-size: 0.98rem;
  color: #4F604C;
  font-style: italic;
  font-family: 'Open Sans', Arial, sans-serif;
}
.testimonial-card:hover {
  box-shadow: 0 6px 18px rgba(44,90,42,0.14), 0 2px 10px 0 rgba(35,80,108,0.12);
  background: var(--sage);
  transform: translateY(-2px) scale(1.014);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/**** Adapted Structure for Additional Content ****/
.features-section .features-grid {
  justify-content: flex-start;
}
.testimonials-section .testimonials-grid {
  justify-content: flex-start;
}
.team-grid, .service-icons-grid {
  justify-content: flex-start;
}
.case-study-snippets {
  justify-content: flex-start;
}

/**** HERO SECTION ****/
.hero-section {
  background: linear-gradient(135deg, #d9eddf 0%, var(--cream) 100%);
  border-radius: 0 0 var(--radius) var(--radius);
  margin-bottom: 60px;
  padding: 64px 0 56px 0;
  background-image: url('../assets/textures/leaves-bg.svg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.hero-section h1 {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 2.8rem;
  margin-bottom: 12px;
  letter-spacing: 0.01em;
}
.hero-section p {
  color: var(--earth-brown);
  font-size: 1.19rem;
  margin-bottom: 30px;
  max-width: 540px;
}
.hero-section .cta-button {
  font-size: 1.11rem;
}

/* -- CTA BUTTONS -- */
.cta-button {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.07rem;
  background: var(--secondary);
  color: #fff;
  padding: 14px 34px;
  border-radius: 45px;
  letter-spacing: 0.05em;
  box-shadow: 0 1px 7px rgba(2,50,34,0.06);
  border: 2px solid var(--secondary);
  transition: var(--transition);
  text-align: center;
  margin-top: 10px;
>
.cta-button:focus, .cta-button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 18px rgba(2,50,34,0.18);
  transform: translateY(-1px) scale(1.02);
}

/**** NAVIGATION HEADER STYLES ****/
header {
  background: var(--primary-dark);
  padding-top: 0;
  padding-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 104;
  box-shadow: 0 1px 12px rgba(30,45,42,0.04);
}
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 18px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  color: #FAFAFA;
  font-size: 1.04rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  border-radius: 3px 3px 0 0;
  transition: color 0.16s, border-color 0.19s;
}
.main-nav a:focus, .main-nav a:hover {
  color: var(--secondary);
  border-bottom: 2px solid var(--secondary);
  background: rgba(6,154,142,0.06);
}
.mobile-menu-toggle {
  display: none;
  background: none;
  color: #FAFAFA;
  font-size: 2.2rem;
  border: none;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 12px;
  transition: background 0.12s;
  z-index: 107;
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: rgba(9,154,142,0.13);
}
/* Logo height */
header img {
  height: 44px;
  width: auto;
  margin-right: 14px;
}

/**** MOBILE MENU STYLES ****/
.mobile-menu {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(35,80,108,0.97);
  z-index: 2000;
  transform: translateX(-100vw);
  transition: transform 0.28s cubic-bezier(.44,1.17,.15,.92);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px 0 0 0;
  overflow-y: auto;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  color: #FAFAFA;
  font-size: 2.5rem;
  position: absolute;
  right: 18px; top: 18px;
  z-index: 2100;
  padding: 4px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: rgba(241,241,241,0.12);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  margin: 48px 0 0 24px;
  gap: 16px;
}
.mobile-nav a {
  color: #FAFAFA;
  font-size: 1.34rem;
  padding: 12px 6px 12px 0;
  border-radius: 8px;
  width: 90vw;
  max-width: 300px;
  transition: background 0.18s, color 0.15s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--secondary);
  color: #fff;
}

/**** CARD, FEATURE, TEAM, ETC ****/
.card, .feature, .property-listing, .team-member, .case-snippet {
  border: 1.5px solid var(--sage);
  border-radius: var(--radius-card);
  background: var(--cream);
  margin-bottom: 20px;
  transition: var(--transition);
}
.feature img, .service-icon img {
  border-radius: 9px;
  background: var(--sage);
  padding: 8px;
  box-shadow: 0 1px 4px rgba(35,80,108,0.10);
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

/**** SERVICE ICONS GRID ****/
.service-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  justify-content: flex-start;
}
.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  background: var(--cream);
  border-radius: 19px;
  box-shadow: 0 0.5px 3px rgba(22,70,44,0.07);
  padding: 18px 16px;
  min-width: 110px;
  max-width: 140px;
  flex: 1 1 80px;
  transition: var(--transition);
}
.service-icon span {
  color: var(--primary);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.service-icon:hover {
  background: var(--sage);
  box-shadow: 0 3px 10px rgba(24,74,60,0.11);
}

/**** FAQS + PROCESS ****/
.faq-list, .process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.faq-item {
  background: var(--cream);
  border: 1px solid var(--sage);
  border-radius: 16px;
  padding: 20px;
}
.process-steps ol {
  margin-left: 24px;
}
.process-steps li {
  margin-bottom: 7px;
  color: var(--earth-brown);
  font-size: 1.05rem;
}

/**** CTA SECTION ****/
.cta-section {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius);
  margin-bottom: 0;
  box-shadow: none;
}
.cta-section h2, .cta-section p {
  color: #fff;
}
.cta-section .cta-button {
  background: #fff;
  color: var(--primary);
  border: 2px solid #fff;
}
.cta-section .cta-button:hover, .cta-section .cta-button:focus {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

/**** FOOTER ****/
footer {
  background: var(--primary-dark);
  color: #fff;
  padding: 48px 0 20px 0;
  border-radius: var(--radius) var(--radius) 0 0;
  box-shadow: 0 -3px 20px rgba(72,102,88,0.13);
  font-size: 0.99rem;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.footer-logo img {
  height: 40px;
  margin-bottom: 10px;
}
.footer-info address {
  color: #F6FFFC;
  font-style: normal;
  font-size: 0.98rem;
  margin-bottom: 5px;
}
.footer-hours {
  color: #EAEFD6;
  font-size: 0.93rem;
  margin-bottom: 5px;
}
.footer-info a {
  color: #b3eac4;
  font-size: 0.98rem;
}
.footer-social {
  display: flex;
  flex-direction: row;
  gap: 12px;
  margin-bottom: 7px;
}
.footer-social a img {
  width: 28px;
  height: 28px;
  transition: filter 0.16s, transform 0.17s;
  filter: grayscale(0.5) brightness(1.15);
}
.footer-social a:focus img, .footer-social a:hover img {
  filter: none;
  transform: scale(1.06);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-nav a {
  color: #D7FFE6;
  font-size: 0.98rem;
  transition: color 0.14s;
}
.footer-nav a:focus, .footer-nav a:hover {
  color: var(--secondary);
}
.footer-credit {
  text-align: center;
  font-size: 0.93rem;
  color: #BFD8B8;
  padding-top: 16px;
}

/**** MISC ****/
details, summary {
  font-size: 1.05rem;
}
.mark, mark {
  background: var(--clay);
  color: #fff;
  padding: 0 2px;
  border-radius: 5px;
}

/**** REPORTS AND TIPS ****/
.reports-downloads, .investment-tips {
  margin-bottom: 16px;
}
.latest-articles {
  margin-bottom: 22px;
  padding-left: 18px;
}
.sector-tags {
  list-style: none;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
}

/**** SORTING OPTIONS ****/
.sort-options {
  margin-top: 28px;
  padding: 12px 0 0 0;
}
.sort-options p {
  color: var(--earth-brown);
  font-size: 0.97rem;
}

/**** COOKIE CONSENT BANNER ****/
.cookie-banner {
  position: fixed;
  left: 0; bottom: 0;
  width: 100vw;
  background: var(--forest);
  color: #fff;
  padding: 18px 20px;
  z-index: 3000;
  box-shadow: 0 -5px 36px rgba(67,130,82,0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 1rem;
  transition: transform 0.27s cubic-bezier(.54,1.1,.24,.97);
}
.cookie-banner.hide {
  transform: translateY(100%);
}
.cookie-banner-message {
  flex: 1 1 200px;
}
.cookie-banner-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}
.cookie-btn {
  background: var(--secondary);
  color: #fff;
  font-family: 'Montserrat', Arial, sans-serif;
  border: none;
  padding: 9px 24px;
  border-radius: 22px;
  font-size: 1.01rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.18s, color 0.18s;
}
.cookie-btn:focus, .cookie-btn:hover {
  background: var(--primary);
  color: #fff;
}
.cookie-btn.settings {
  background: var(--cream);
  color: var(--primary);
  border: 2px solid var(--sage);
}
.cookie-btn.settings:focus, .cookie-btn.settings:hover {
  background: var(--secondary);
  color: #fff;
}

/**** COOKIE SETTINGS MODAL ****/
.cookie-modal-overlay {
  position: fixed;
  left: 0; top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(36,64,54,0.66);
  z-index: 4000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s;
}
.cookie-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.cookie-modal {
  background: var(--accent);
  color: var(--forest);
  border-radius: 26px;
  box-shadow: 0 8px 28px rgba(50,91,59,0.15);
  max-width: 410px;
  padding: 32px 28px 24px 28px;
  min-width: 315px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: modalPop 0.35s cubic-bezier(.5, 1.3, .4, .95);
}
@keyframes modalPop {
  0% { transform: scale(0.87); opacity: 0; }
  85% { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
.cookie-modal h3 {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 11px;
}
.cookie-category {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 1.02rem;
  color: var(--earth-brown);
}
.cookie-category input[type=checkbox] {
  accent-color: var(--secondary);
  width: 18px; height: 18px;
}
.cookie-category label {
  font-weight: 700;
  color: var(--primary);
}
.cookie-policy-links {
  margin-top: 12px;
}
.cookie-modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 15px;
}
.cookie-modal .cookie-btn {
  padding: 8px 18px;
  font-size: 0.98rem;
}

/**** RESPONSIVE STYLES ---- MOBILE-FIRST ****/
@media (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
  .main-nav {
    gap: 22px;
  }
}
@media (max-width: 910px) {
  .footer-content {
    flex-wrap: wrap;
    gap: 16px 8vw;
  }
  .footer-logo, .footer-info, .footer-social, .footer-nav {
    min-width: 155px;
    margin-bottom: 12px;
  }
}
@media (max-width: 768px) {
  .container {
    max-width: 97vw;
    padding-left: 10px; padding-right: 10px;
  }
  .hero-section, .cta-section, .section, section {
    padding: 30px 6vw;
  }
  .main-nav { display: none; }
  .mobile-menu-toggle {
    display: block;
  }
  header .cta-button {
    display: none;
  }
  .card-container, .features-grid, .property-listings, .team-grid, .service-list, .testimonials-grid, .service-icons-grid, .case-study-snippets, .faq-list {
    flex-direction: column;
    gap: 20px;
  }
  .content-wrapper {
    gap: 10px;
  }
  .card, .feature, .property-listing, .team-member, .service-detail {
    min-width: 0;
    max-width: none;
    width: 100%;
    padding: 20px 12px;
  }
  .testimonials-grid, .features-grid, .case-study-snippets {
    gap: 18px;
  }
  .testimonial-card {
    min-width: 0;
    width: 100%;
    padding: 18px 10px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .service-icons-grid {
    flex-direction: row;
    gap: 10px;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .footer-credit {
    font-size: 0.92rem;
    padding-top: 10px;
  }
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.99rem;
    padding: 16px 8px;
  }
  .cookie-banner-buttons {
    gap: 8px;
  }
}
@media (max-width: 528px) {
  html { font-size: 14px; }
  .container {
    max-width: 100vw;
    padding-left: 4px; padding-right: 4px;
  }
  .hero-section { padding: 22px 3vw 26px 3vw; }
  .section, section, .cta-section { padding: 18px 2vw; }
  h1 { font-size: 1.73rem; }
  h2 { font-size: 1.33rem; }
  .card, .feature, .property-listing, .team-member, .service-detail {
    padding: 10px 7px;
  }
  .footer-content {
    gap: 13px;
  }
}

/**** MICRO-INTERACTIONS & EFFECTS ****/
.card, .feature, .property-listing, .team-member, .service-detail, .service-icon {
  transition: box-shadow 0.20s, background 0.17s, transform 0.13s;
}
.cta-button, .cookie-btn {
  transition: background 0.21s, color 0.17s, border-color 0.14s, box-shadow 0.2s, transform 0.10s;
}

/* ---- UTILITIES ---- */
.hide {
  display: none !important;
}
.flex-row { display: flex; flex-direction: row; }
.flex-column { display: flex; flex-direction: column; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

/**** ORGANIC SHAPE ELEMENTS (Decorative only, e.g., hero bg) ****/
/* You can supplement this with SVG decorations as <img> or background-image in HTML. */

/* ---- END ---- */
