html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-x: hidden;
}

.section {
    height: 100vh;
    /* Full viewport height */
    width: 100vw;
    display: flex;
    flex-direction: column;
    /* Stack content vertically */
    justify-content: center;
    /* Vertically center */
    align-items: center;
    /* Horizontally center */
    scroll-snap-align: start;
    /* For snap scrolling */
    padding: 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
    /* Prevent content from spilling into next section */
}


.section.snap-section {
    height: 100vh;
    scroll-snap-align: start;
    margin: 0;
    padding: 0;
}

.snap-section {
    height: 100vh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    flex-shrink: 0;
}

/* In your style.css */
@font-face {
  font-family: "agenda";
  src: url('fonts/agenda-light.ttf') format('truetype');
  font-style: normal;
}

.section, .section.snap-section, .snap-section {
    scroll-snap-align: unset;
    scroll-snap-stop: unset;
}

/* Menu toggle container */
.menu-toggle {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 1002;
  cursor: pointer;
}

/* Hamburger icon (3 bars) */
.hamburger-icon {
    position: fixed;
  top: 20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 22px;
  width: 30px;
  
}

.hamburger-icon .bar {
  height: 3px;
  width: 100%;
  background-color: #C1824F;
  border-radius: 2px;
}

/* Close icon (X) */
.close-icon {
  display: none;
  font-size: 2rem;
  color: #C1824F;
  line-height: 1;

  position: fixed;   /* allow positioning */
  top: 20px;         /* same as hamburger */
  right: 40px;       /* move this value higher to shift left */
  z-index: 1002;     /* above everything */
}

/* When menu is open */
.menu-toggle.active .hamburger-icon {
  display: none;
}

.menu-toggle.active .close-icon {
  display: block;
}

/* Sidebar menu */
.sidebar-menu {
  position: fixed;
  top: 0;
  right: -100%; /* hidden initially */
  width: 380px;
  height: 100vh;
  background-color: #00163C;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem;
  gap: 1.5rem;
  transition: right 0.4s ease;
  z-index: 1001;
  box-shadow: -2px 0 15px rgba(0, 0, 0, 0.4);
}

.sidebar-menu .menu-logo {
  width: 160px;     /* make it larger */
  height: auto;
  margin-top: 4rem; /* push a bit down from top */
  margin-bottom: 2rem;
}

.sidebar-menu.show {
  right: 0;
}

/* Sidebar header with logo */
.sidebar-header {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.sidebar-logo {
  width: 220px;
  height: auto;
  padding-bottom: 2rem;
  padding-top: 1rem;
}

/* Menu links */
.sidebar-menu a {
  color: #C1824F;
  font-family: 'agenda', sans-serif;
  font-size: clamp(0.8rem, 1.2vw, 1.8rem);
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: right;
  width: 100%;
  padding-right: 9rem;
  letter-spacing: 0.3rem;
}

.sidebar-menu a:hover {
  color: #ffffff;
}

/* Remove hover effect from DOWNLOAD link */
.sidebar-menu a:first-of-type:last-child {
  pointer-events: none; /* optional: prevent hover/focus */
  color: #C1824F;       /* keep original color */
}

.download-header {
  color: #C1824F;       /* original color */
  pointer-events: none; /* optional: prevents clicks */
  text-decoration: none;
}

/* Grouped download links */
.download-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem; /* smaller gap between brochure & booklet */
  width: 100%;
  padding-right: 9rem;
  margin-top: -0.7rem;
}

/* Keep hover effect for brochure & booklet only */
.download-links a:hover {
  color: #ffffff;
}

/* Optional: slightly smaller right padding for grouped links */
.download-links a {
  padding-right: 7rem;
}

/* Page overlay */
.page-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.page-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.image-container {
  width: 100%;
  height: auto;          /* shrink container to image height */
  overflow: hidden;
  position: relative;    /* for caption positioning */
  display: inline-block; /* shrink-wrap the image */
}

.image-container img {
  width: 100%;
  height: auto;          /* keep your current sizing */
  max-height: 83vh;      /* keep your max height */
  object-fit: cover;
  display: block;
}

.image-container .image-caption {
  position: absolute;
  bottom: clamp(4px, 1.5vw, 106px); /* min 4px, ideal 1vw, max 16px */
  left: clamp(4px, 1.5vw, 106px);      /* distance from left */
  color: white;
  font-family: "agenda", sans-serif;
  font-size: clamp(0.2rem, 0.7vw, 2rem);
  padding: 2px 6px;
  border-radius: 2px;
}


.coastal-charm-section {
  width: 100%;
  min-height: 140vh;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  top: -0.8rem; /* move upward */
}


.coastal-charm-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  width: 100%;
  
}

.coastal-charm-logo {
  width: 180px;
  height: auto;
  margin-top: 0px;
}

.coastal-charm-image {
  width: 100vw; 
  height: auto;
  max-height: 83vh;
  object-fit: cover;
}

.coastal-charm-subtitle {
  font-family: "agenda";
  color: #C1824F;
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  text-align: center; /* align text to the right edge */
  width: 35%;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
  padding-top: 2.5rem;
  padding-bottom: 2rem;
}

/* Section styling */
.coastal-charm-home2 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
}

#coastal-charm-home2 {
  position: relative;
  width: 100%;
}

.map-image-wrapper {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport height */
  overflow: hidden; /* keeps image inside bounds visually */
}

.map-image {
  display: block;
  width: 160%;       /* zoom factor, adjust */
  height: auto;      /* keep aspect ratio */
  max-width: none;
  cursor: grab;
  user-select: none;
  touch-action: pan-y; /* allow vertical scroll */
  transform: translateX(0);
  transition: transform 0.05s;
}

.desktop-drag-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #00163C;
  color: #C1824F;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease; /* smooth hover animation */
}

.desktop-drag-btn:hover {
  background: rgba(0,22,60,0.95);
  transform: translate(-50%, -50%) scale(1.15); /* scale bigger on hover */
}


.desktop-exit-btn {
  position: absolute;
  top: 20px;       /* distance from top */
  left: 20px;      /* distance from left */
  background: #A0522D;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.desktop-exit-btn:hover {
  background: rgba(0,22,60,0.95);
  transform: scale(1.05);
}

.home3-section {
  position: relative;
  width: 100%;
  min-height: 120vh;
  height: auto; /* adjusts to image height */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ae7a4f;
}

.home3-image {
  width: auto;    /* full width */
  height: 100%;   /* maintain aspect ratio */
  display: block;
}

/* HOME4 CAROUSEL STYLES */
/* Background color only for home4 section */
#home4 {
  background-color: #00163C; /* replace with your desired color */
  padding: 40px 0;           /* optional: space around the carousel */
}

.carousel-container-home4 {
  position: relative;
  overflow: visible; /* allows peek */
  width: 100%;
}

.carousel-track-home4 {
  display: flex;
  transition: transform 0.4s ease-in-out;
  padding-left: 50%;   /* temporary, will adjust via JS */
  padding-right: 50%;  /* same for last image */
  box-sizing: content-box; /* ensure padding doesn’t shrink slides */
}


.carousel-track-home4 img {
  margin-right: 55px; /* increase visual gap */
}


.carousel-image-home4 {
  flex-shrink: 0;
  width: 1000px;   /* all images same size */
  height: 600px;
  object-fit: cover;
  margin-right: 20px;  /* small visual gap/peek */
}

.carousel-image-home4:last-child {
  margin-right: 0;  /* remove extra gap on last image */
}


.carousel-button-home4 {
  position: absolute;
  top: 50%;                  /* vertically center */
  transform: translateY(-50%); /* vertical centering */
  border: none;
  background: none;          /* remove default button background */
  padding: 0;
  cursor: pointer;
  z-index: 10;
}

/* Left arrow on the left side */
.carousel-button-home4.left {
  left: 130px;    /* distance from left edge of carousel */
}

/* Right arrow on the right side */
.carousel-button-home4.right {
  right: 130px;   /* distance from right edge of carousel */
}

/* Arrow images */
.carousel-button-home4 img {
  width: 40px;    /* adjust arrow size */
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Optional: hover effect */
.carousel-button-home4:hover img {
  transform: scale(1.1);
  transition: transform 0.2s;
}



.home5-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 200vh;
  background-color: #f9f9f9;
  text-align: center;
  padding: 4rem 2rem;
}

.home5-content {
  max-width: 1000px;
  width: 100%;
}

.home5-heading {
  color: #C1824F; /* white text */
  font-size: clamp(1rem, 1.5vw, 2rem);
  margin: 0;
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 4.5vw, 6rem);
  margin-top: clamp(-610px, -2vw, -50px);
}


.home5-subheading-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home5-subheading {
  color: #C1824F; /* white text */
  font-size: clamp(1rem, 1.3vw, 2rem);
  margin: 0;
  font-family: "agenda";
  letter-spacing: clamp(0.1rem, 0.3vw, 2rem);
  line-height: clamp(0.5rem, 4.5vw, 6rem);
}

.home5-subheading-wrapper .line {
  flex: 1;
  height: 1px;
  background-color: #C1824F;
  max-width: 150px;
}

.home5-description {
  font-size: clamp(1rem, 1.4vw, 2.5rem);
  font-family: "agenda";
  color: #C1824F;
  font-weight: 300;
  margin: 0 auto; /* centers the element horizontally */
  width: 65%;
  line-height: clamp(1.8rem, 2.5vw, 4rem);
  text-align: center; /* optional, ensures text stays centered */
  padding-bottom: 2rem;
}


.home5-images {
  display: flex;
  flex-direction: column; /* vertical stacking */
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.home5-image {
  width: 80%;
  object-fit: cover;
  /* Removed animation + hover effects */
}

.home5-subtitle {
  font-size: 12px;       /* small text */
  color: #555;           /* subtle color */
  text-align: center;    /* center under images */
  margin-top: 4px;       /* small gap from last image */
}

.home5-subtitle a {
  color: #555;
  text-decoration: underline;
}


.home-section-7 {
  background-color: #C1824F;
  min-height: 110vh; 
}

/* Map image under headings */
.home-7-map {
  width: 100%;
  max-width: 400px;
  height: 240px;          /* desired cropped height */
  object-fit: cover;      /* crop without distortion */
  object-position: center 75%; /* keeps the middle of the image visible */
  cursor: pointer;        /* optional: show it’s clickable */
}

.home-7-map {
  transition: transform 0.4s ease;
}

.home-7-map:hover {
  transform: scale(1.1);
  transform-origin: center;
}


.home-7-split {
  display: flex;
  gap: 2rem;
}

/* Left column: headings + map (narrower) */
.home-7-left {
    
  flex: 0 0 35%;          /* 35% width */
  border-right: 2px solid #C1824F; /* vertical divider */
  padding-right: 2rem;    /* space from divider */
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

/* Right column: form (wider) */
.home-7-right {
  flex: 1;                /* takes remaining width (65%) */
  padding-left: 2rem;     /* space from divider */
  display: flex;
  flex-direction: column;
}


/* Developer info at bottom remains unchanged */

.home-7-content {
    margin-top: 80px;
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-family: "agenda";
  color: white;
}

.home-7-title {
  font-family: "agenda";
  color: #ffffff;
  font-size: clamp(1rem, 1.8vw, 2rem);
  font-weight: 300;
  text-align: right;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
}

.home-7-subtitle {
  font-family: "agenda";
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  text-align: right;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
   width: 80%;              /* make box narrower */
  margin-left: auto;       /* push it to the right */
  display: block; 
}

.home-7-divider {
  width: 95%;               /* adjust length */
  border: none;
  border-top: 2px solid white; /* white line (matches your theme) */
  opacity: 0.3;             /* softens the line */
  position: relative;
  left: 5px;
}


.home-7-contact {
  font-family: "agenda";
  color: #ffffff;
  font-size: clamp(1rem, 1.5vw, 2rem);
  font-weight: 300;
  text-align: right;
  letter-spacing: 0.2rem;
  line-height: 2.5rem;
  width: 80%;              /* make box narrower */
  margin-left: auto;       /* push it to the right */
  display: block; 
}

/* style for the phone number link */
.phone-link {
  color: #ffffff !important;   /* force white color */
  font-size: 2.5rem;
  font-weight: 400;
  text-decoration: none !important;  /* remove underline */
  margin-left: 0.5rem;
}

.phone-link:visited,
.phone-link:hover,
.phone-link:active {
  color: #ffffff !important;   /* stay white always */
  text-decoration: none !important;
}



.home-7-contact a {
  color: #00163C;
  text-decoration: underline;
}

.home-7-form {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.home-7-form-title {
  font-family: "agenda";
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1rem;
  margin-bottom: 0.8rem; /* gap between heading and first input */
  color: #d2a580;
}


.home-7-form label {
    font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.25rem;  /* smaller space below label */
  display: block;
  letter-spacing: 0.1rem;
}

/* Line-style inputs (Name, Mobile, Email) */
.home-7-form input[type="text"],
.home-7-form input[type="tel"],
.home-7-form input[type="email"] {
  width: 100%;
  padding: 0.2rem 0;                /* vertical padding only */
  border: none;                     /* remove full border */
  border-bottom: 1px solid #ffffff; /* bottom line only */
  font-size: 1rem;
  font-family: "agenda";
  background-color: transparent;
  outline: none;                    /* remove default focus outline */
  margin-bottom: 1rem;     
}

/* Focus effect */
.home-7-form input[type="text"]:focus,
.home-7-form input[type="tel"]:focus,
.home-7-form input[type="email"]:focus {
  border-bottom-color: #003080;
}

/* Message textarea remains a box */
.home-7-form textarea {
  width: 100%;
  padding: 0.5rem 0.8rem;
  border: 1px solid white;       
  font-size: 1rem;
  font-family: "agenda";
  background-color: transparent;  /* keep background same as section */
  color: white;                   /* text color */
  resize: vertical;
  min-height: 100px;
  outline: none;
  letter-spacing: 0.1rem;
  margin-bottom: 0.8rem;
}

.home-7-form textarea::placeholder {
  color: #ffffff;        /* placeholder text color */
  opacity: 0.6;          /* slightly faded */
  font-family: "agenda";
  font-size: 1rem;
}


.home-7-form textarea:focus {
  border-color: #003080;          /* focus color */
}


.home-7-options {
  display: flex;
  gap: 2rem;
  margin: 0.5rem 0;
}

/* Base style for checkboxes */
.home-7-form input[type="checkbox"] {
  appearance: none;            /* remove default OS checkbox style */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 23px;
  height: 23px;
  border: 1px solid white;     /* white outline */
  background-color: transparent;
  cursor: pointer;
  position: relative;
  vertical-align: middle;
  transition: all 0.2s ease;
}

/* When checked, show a white fill + checkmark */
.home-7-form input[type="checkbox"]:checked {
  background-color: white;     /* fill box */
}

/* Optional: white checkmark icon using ::after */
.home-7-form input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem;
  color: #00163C;              /* contrast color for the checkmark */
  font-weight: bold;
}


/* Make consent text smaller and neater */
/* Force smaller font for consent text */
.home-7-consent label {
  font-size: 0.90rem !important;   /* make text smaller */
  line-height: 1.2rem !important;  /* reduce vertical spacing */
  color: #ffffff;                     /* optional: softer color */
  font-weight: 400;                /* make it less bold */
  display: block;
}


/* Make "I AM KEEN TO FIND OUT MORE ON" same size as label */
.home-7-form p {
  font-size: 1.2rem;         /* match label font size */
  font-weight: 500;          /* same as labels */
  margin: 0.5rem 0;          /* consistent spacing */
  letter-spacing: 0.1rem;
  font-family: "agenda";
}


.home-7-consent input {
  margin-right: 0.5rem;
}



.home-7-buttons {
  display: flex;
  gap: 1rem;             /* space between buttons */
  width: 105%;           /* match textarea width */
}

.submit-btn {
  flex: 1;               /* smaller portion */
  padding: 1rem 0;
  border: 1px solid white;
  font-family: "agenda";
  cursor: pointer;
  font-size: 1rem;
  background-color: transparent;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.1rem;
}

.download-btn {
  flex: 2;               /* longer portion */
  padding: 1rem 0;
  border: 1px solid white;
  font-family: "agenda";
  cursor: pointer;
  font-size: 1rem;
  background-color: transparent;
  color: white;
  text-align: center;
  transition: all 0.3s ease;
  letter-spacing: 0.1rem;
}

/* Hover effects */
.submit-btn:hover {
  background-color: white;
  color: #00163C;
}

.download-btn:hover {
  background-color: #00163C;
  color: white;
}


.developer-info {
  font-size: 0.75rem;
  color: #ffffff;
  padding-top: 1rem;
}

.home-7-consent label {
  display: flex;
  align-items: flex-start;   /* aligns checkbox with top of text */
  gap: 0.6rem;               /* space between checkbox and text */
  letter-spacing: 0 !important; /* override any previous letter-spacing */
}


.home-7-consent input[type="checkbox"] {
  flex-shrink: 0;            /* checkbox stays same size */
  margin-top: 0.25rem;       /* fine-tune vertical alignment */
}

.home-7-consent .consent-text {
  text-align: justify;       /* justify text neatly */
  line-height: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  flex: 1;                   /* make text take remaining space */
  display: block;            /* ensure full-width text block */
  padding-bottom: 1.5rem; 
}


/* ===== MOBILE VIEW ===== */
@media screen and (max-width: 768px) {

  .home-section-7 {
  min-height: 190vh; 
}
  .home-7-content {
    width: 90%;         /* full width on mobile */
    margin-top: 50px;
    gap: 1.5rem;
  }

  .home-7-split {
    flex-direction: column;   /* stack left & right vertically */
    gap: 2rem;                /* space between sections */
  }

  .home-7-left,
  .home-7-right {
    flex: 1 1 100%;           /* full width */
    border-right: none;       /* remove vertical divider */
    padding: 0;               /* reset padding for mobile */
  }

  .home-7-left {
    text-align: center;       /* center headings on mobile */
    border-bottom: 2px solid #C1824F; /* optional divider below map */
    padding-bottom: 1.5rem;
  }

  .home-7-left h1.home-7-title,
  .home-7-left h2.home-7-subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    letter-spacing: clamp(0.1rem, 1.1vw, 1.5rem);
    line-height: 1.5rem;
  }

  /* Center the title and subtitle on mobile */
.home-7-left h1.home-7-title,
.home-7-left h2.home-7-subtitle {
  text-align: center !important;   /* center text */
  margin-left: 0 !important;       /* remove auto margin */
  margin-right: 0 !important;      /* remove right margin */
}

.home-7-left h2.home-7-subtitle {
  width: 100% !important;   /* take full width */
}


  .home-7-left .home-7-contact {
    font-size: clamp(0.9rem, 3.5vw, 1.2rem);
    margin-left: 0;
    text-align: center;
    width: 100%;
  }
/* Make contact text and phone number stack vertically */
.home-7-left .home-7-contact {
  display: flex;
  flex-direction: column;  /* stack items vertically */
  align-items: center;     /* center horizontally */
  width: 90%;              /* optional: smaller width */
  margin: 0 auto;
  text-align: center;         /* small space between text and number */
}

/* Style the phone number separately if needed */
.home-7-left .home-7-contact .phone-link {
  display: block;           /* ensures it goes to next line */
  font-size: clamp(0.9rem, 10vw, 5.2rem);        /* adjust size for mobile */
  margin-top: 0rem;       /* optional spacing */
  padding-bottom: 3rem;
}


/* Fix textarea and buttons on mobile */
.home-7-right .home-7-form textarea {
  width: 100% !important;       /* full width of form container */
  box-sizing: border-box;       /* include padding in width */
}

.home-7-right .home-7-buttons {
  width: 100% !important;       /* full width */
  flex-direction: column;       /* stack buttons vertically */
  gap: 0.5rem;
}

.home-7-right .home-7-buttons button {
  width: 100%;                  /* make each button fill the container */
}

/* Developer info padding for mobile - smaller version */
.home-7-content .developer-info {
  width: 100% !important;       
  font-size: 0.65rem;
  line-height: 1.2rem;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  padding: 0.8rem 0.5rem 0 0.5rem;  /* top 0.8rem, left & right 0.5rem */
  box-sizing: border-box;       
  text-align: center;           
}


  .home-7-left .home-7-map {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
  }


  .home-7-form label,
  .home-7-form p {
    font-size: 1rem;
  }

  .home-7-form input[type="text"],
  .home-7-form input[type="tel"],
  .home-7-form input[type="email"],
  .home-7-form textarea {
    font-size: 0.95rem;
  }

  .home-7-options {
    flex-direction: column;
    gap: 0.5rem;
  }

  .home-7-buttons {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .submit-btn,
  .download-btn {
    width: 100%;
  }

  .home-7-consent .consent-text {
    font-size: 0.85rem;
    line-height: 1.2rem;
  }


}


/* ----------------------------- */
/* MOBILE VIEW - Coastal Charm Home */
/* ----------------------------- */
@media screen and (max-width: 768px) {

  .sidebar-menu {
    right: -130%;
  }

  
  /* Section padding */
  #coastal-charm-home {
    min-height: 70vh !important;
    max-height: 80vh !important;
  }
  /* Logo */
  .coastal-charm-logo {
    width: 40%;
  }
  /* Subtitle */
  .coastal-charm-subtitle {
    font-size: clamp(0.9rem, 4.5vw, 2rem);
    text-align: center;
    width: 80%;
    line-height: clamp(1.2rem, 8.5vw, 10.5rem);
  }
}

/* Mobile view */
@media screen and (max-width: 768px) {

  /* Section wrapper */
  #coastal-charm-home2 {
    height: 100vh !important;           
    position: relative;
    overflow: hidden;         
  }

   .map-image-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
  }

  .map-image {
    height: 100%;
    width: auto; /* maintain aspect ratio */
    cursor: default;
    user-select: none;
    touch-action: none;
  }

  .drag-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    z-index: 10;
    display: inline-block;
  }

  .exit-button {
    display: none;
  }

   .home3-section {
    min-height: 70vh !important;
    max-height: 80vh !important;
   }
   
   
   .home3-image {
    width: 150%; 
    height: auto;
  }
}



