@media (max-width: 400px) {
  .navbar-brand {
    display: none !important;
  }
}
/* Navbar mobile layout fix: stack vertically and keep menu right-aligned */
@media (max-width: 770px) {
  .navbar .container.d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  .navbar-brand {
    justify-content: center !important;
    width: 100%;
    margin-bottom: 0.2rem;
  }
  .responsive-navbar-slogan {
    width: 100%;
    text-align: center !important;
    margin-bottom: 0.2rem;
  }
  .navbar-nav {
    width: 100% !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
  }
  #menuDropdownWrapper {
    width: 100%;
    text-align: right;
  }
  #menuDropdown {
    width: auto !important;
    text-align: right !important;
    display: inline-block;
  }
}
.responsive-navbar-slogan .slogan-part {
  white-space: nowrap;
}
/* Responsive navbar slogan: inline on large, stacked on small screens */
.responsive-navbar-slogan {
  white-space: nowrap !important;
  line-height: 1.1;
}
.responsive-navbar-slogan .slogan-part {
  display: inline;
  margin-right: 0.3em;
}
@media (max-width: 770px) {
  .responsive-navbar-slogan {
    white-space: normal !important;
    font-size: 1.1rem !important;
    padding: 0.2rem 0;
  }
  .responsive-navbar-slogan .slogan-part {
    display: block;
    margin-right: 0;
  }
}
/* Hero Section Full Viewport and Overlay Logo */
.full-viewport {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  object-fit: cover;
}

.hero-logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 60vw;
  max-height: 40vh;
  pointer-events: none;
}
/* ---- Extracted from index.html <style> blocks ---- */
.navbar-slogan, .footer-slogan {
  font-family: 'Sorts Mill Goudy', serif !important;
  font-style: italic !important;
  font-size: 1.5rem;
  font-weight: 400;
  color: #000;
  letter-spacing: 0.5px;
}

html, body {
  font-family: "Playfair Display", serif;
}

/* Use Style Script for all major section headings */
h2.section-heading,
#why-samui .headline,
#property-rent h2,
#contact h2,
.experience-band h3 {
  font-family: 'Style Script', cursive !important;
  letter-spacing: 0.5px;
  font-size: 3rem !important;
}
#why-samui .card-title {
  font-family: 'Style Script', cursive !important;
  letter-spacing: 0.5px;
  font-size: 2rem !important;
}

/* Override gold button with blue #5c92d5 */
.btn-primary-brand {
  background: #5c92d5 !important;
  border-color: #5c92d5 !important;
  color: #fff !important;
  font-weight: 600;
  transition: background 0.2s, border 0.2s, color 0.2s;
}
.btn-primary-brand:hover, .btn-primary-brand:focus {
  background: #4172b8 !important;
  border-color: #4172b8 !important;
  color: #fff !important;
}

/* #why-samui section styles */
#why-samui {
  background: linear-gradient(120deg, #f8fafc 0%, #e0f7fa 100%);
}
#why-samui .card {
  border-radius: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: none;
}
#why-samui .card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  transform: translateY(-6px) scale(1.03);
}
#why-samui .card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #00796b;
}
#why-samui .card-body ul {
  padding-left: 1.2em;
}
#why-samui .card-img-top {
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
}
#why-samui .headline {
  font-size: 2.2rem;
  font-weight: 800;
  color: #004d40;
  letter-spacing: -1px;
}
#why-samui .section-lead {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2.5rem;
}
#why-samui .card-body p {
  margin-bottom: 0.7rem;
}

/* Responsive footer logo: large on desktop, scales down on mobile */
.footer-logo {
  max-width: 360px;
  max-height: 360px;
  width: 100%;
  height: auto;
}
@media (max-width: 767.98px) {
  .footer-logo {
    max-width: 180px;
    max-height: 180px;
    margin-bottom: 1rem;
  }
}
/* ---- End extracted from index.html ---- */
/* Experience band summary paragraph white on grey background */
body > section.experience-band > div > div > div:nth-child(2) > p {
  color: #fff;
}
/* Section summary style for all main section summaries */
.section-summary {
  font-size: 18px;
  font-weight: 600;
  color: #444;
  margin-bottom: 1.5rem;
}
.samui-scroll-arrow {
  transition: background 0.2s;
}
.samui-scroll-arrow:hover {
  background: #caa24a;
  color: #fff;
}
/*
.bg-white {
    
    background-color: transparent !important
}*/
/* --- Koh Samui Benefits Card Section --- */
.samui-benefits-grid {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin-top: 2.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #caa24a #eee;
}
.samui-benefit-card {
  min-width: 280px;
  max-width: 320px;
  flex: 0 0 auto;
}
/* Custom scrollbar for Webkit browsers */
.samui-benefits-grid::-webkit-scrollbar {
  height: 8px;
}
.samui-benefits-grid::-webkit-scrollbar-thumb {
  background: #caa24a;
  border-radius: 4px;
}
.samui-benefits-grid::-webkit-scrollbar-track {
  background: #eee;
  border-radius: 4px;
}

.samui-benefit-card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 2rem 1.5rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(40px);
  animation: samuiCardIn 0.8s forwards;
}
.samui-benefit-card:nth-child(1) { animation-delay: 0.1s; }
.samui-benefit-card:nth-child(2) { animation-delay: 0.3s; }
.samui-benefit-card:nth-child(3) { animation-delay: 0.5s; }
.samui-benefit-card:nth-child(4) { animation-delay: 0.7s; }
.samui-benefit-card:nth-child(5) { animation-delay: 0.9s; }
.samui-benefit-card:nth-child(6) { animation-delay: 1.1s; }
.samui-benefit-card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #caa24a;
}
.samui-benefit-card-title {
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}
@keyframes samuiCardIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}
/* Main site styles extracted from index.html */

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.btn-primary-brand {
  background-color: #caa24a;
  border-color: #caa24a;
}
.btn-primary-brand:hover {
  background-color: #b38f3e;
  border-color: #b38f3e;
}

a { text-decoration: none; }

.navbar-brand img { max-height: 50px; }

.hero-section {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  overflow: hidden;
}

.hero-bg-animated {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  visibility: hidden;
  transition: visibility 0s linear 0.2s;
}

.hero-bg-ready.hero-bg-animated {
  visibility: visible;
  transition-delay: 0s;
}

.hero-bg-segment {
  flex: 1;
  /* Use ../ if your CSS file is inside a 'css' folder */
  background-image: url("../media/LikeAPro.png"); 
  background-size: 500% 100%;
  background-repeat: no-repeat;
  opacity: 0;
  animation: heroSegmentIn 1s forwards;
}

.hero-bg-segment:nth-child(1) {
  background-position: 0% 0%;
  animation-delay: 0.1s;
}
.hero-bg-segment:nth-child(2) {
  background-position: 25% 0%;
  animation-delay: 0.3s;
}
.hero-bg-segment:nth-child(3) {
  background-position: 50% 0%;
  animation-delay: 0.5s;
}
.hero-bg-segment:nth-child(4) {
  background-position: 75% 0%;
  animation-delay: 0.7s;
}
.hero-bg-segment:nth-child(5) {
  background-position: 100% 0%;
  animation-delay: 0.9s;
}

@keyframes heroSegmentIn {
  from { opacity: 0; transform: translateY(40px) scaleY(0.8); }
  to { opacity: 1; transform: none; }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.28)
  );
}

.hero-content { position: relative; z-index: 2; }

.section-padding { padding: 4rem 0; }
.section-heading { font-weight: 700; margin-bottom: 1rem; }

.experience-band {
  background-color: #2d2d2d;
  color: #fff;
  padding: 3rem 0;
}
.experience-band h3 {
  color: #f29b31;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lead-form-card {
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
}
.lead-form-card .card-body { padding: 2rem; }
.lead-form-card .form-control { border-radius: 0.5rem; }
.lead-form-card .btn { width: 100%; border-radius: 999px; }

.service-card {
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  height: 100%;
}
.service-card img { height: 190px; object-fit: cover; }
.service-card .card-body { padding: 1.5rem; }
.service-card-title { font-weight: 700; margin-bottom: 2rem !important; }

footer {
  background-color: #111;
  color: #bbb;
  padding: 2rem 0;
  font-size: 0.9rem;
}
footer a { color: #f4f4f4; }

@media (max-width: 991.98px) {
  .hero-section { text-align: center; }
  .hero-content { padding-inline: 1rem; }
}
