/* BASE RESET & FONTS */
body {
    margin: 0;
    font-family: Arial, Geneva, sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}
/* HEADER */
.site-header {
    background-color: #000;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    flex-wrap: wrap;
}

.logo img {
    height: 90px;
}

/* Top nav styling */
.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
  background-color: #000;
  padding: 0;
  margin: 0;
}

.nav-links li {
  position: relative;
}

.nav-links > li > a {
  display: block;
  padding: 5px 5px;
  color: white;
  text-decoration: none;
   border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-links > li > a:hover {
  background-color: #336699;
  color: #fff;
}

/* Dropdown menu hidden by default */
.nav-links li ul.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #336699;
   border-radius: 6px;
  overflow: hidden;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Dropdown links */
.nav-links li ul.sub li a {
  display: block;
  padding: 12px 15px;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Show dropdown on hover */
.nav-links li:hover > ul.sub {
  display: block;
}

/* Hover effect on submenu items */
.nav-links li ul.sub li a:hover {
  background-color: #000;
  color: white;
}
.menu-toggle {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  padding: 10px 15px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #336699;
    width: 100%;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links li ul.sub {
    position: static;
  }

  .nav-links.show {
    display: flex;
  }
}

/* HERO SLIDER */
.hero-slider {
    position: relative;
    height: 450px;
    overflow: hidden;
    margin-bottom: 20px;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 56px;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    left: 650px;
}

.slide-content h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.3em;
}
@media (max-width: 768px) {
.hero-slider {
    position: relative;
    height: 257px;
    overflow: hidden;
    margin-bottom: 20px;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 56px;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    left: 650px;
}

.slide-content h1 {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.slide-content p {
    font-size: 1.3em;
}
}
/* SLIDER NAV DOTS */
.slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slider-nav .dot {
    width: 12px;
    height: 12px;
    background-color: #fff;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.6;
    border-radius: 50%;
    border: 1px solid transparent;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.slider-nav .dot:hover {
    border-color: #fff;
}

.slider-nav .dot.active {
    background-color: #FF0066;
    opacity: 1;
}

/* WELCOME NOTE */
.welcome-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 30px;
    padding: 20px;
}

.welcome-media {
    flex: 1 1 30%;
    max-width: 350px;
    text-align: right;
}

.welcome-text {
    flex: 1 1 95%;
    max-width: 750px;
}

@media (max-width: 768px) {
    .welcome-flex {
        flex-direction: column-reverse;
        padding: 15px;
    }

    .welcome-media, .welcome-text {
        max-width: 100%;
    }

    .welcome-text h1 {
        text-align: center;
    }

    .welcome-text {
        text-align: left;
    }
}


.welcome-note {
    padding: 5px 5px;
    text-align: left;
}

.welcome-heading {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 5px;
}

.facebook-link {
    color: #fff;
    margin-bottom: 5px;
}

.tagline {
    font-size: 1.2em;
    font-style: italic;
    color: #555;
}

/* CATEGORIES */
.categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    background-color: #F5801F;
}

.category-card {
    background-size: cover;
    background-position: center;
    width: 300px;
    height: 200px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
        border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out;
}

.category-card:hover {
    transform: scale(1.05);
}

.category-card h2 {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    font-size: 20px;
    margin: 0;
}

.category-card .btn {
    background-color: #336799;
    color: #fff;
    padding: 10px 20px;
    margin-top: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.category-card .btn:hover {
    background-color: #284b63;
}

/* RECENT LISTINGS */
.recent-listings {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.recent-listings h2 {
    font-size: 24px;
    color: #333;
    margin-bottom: 10px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem 0;
}

.listing-card {
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.listing-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.listing-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.listing-card h3 {
    font-size: 1.1em;
    color: #333;
    margin-top: 0;
    margin-bottom: 5px;
}

.listing-card p {
    font-size: 0.95em;
    color: #666;
    line-height: 1.4;
}

.listing-card.coming-soon {
    opacity: 0.7;
}

/* CALL TO ACTION */
.call-to-action {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 10px 10px;
}

.call-to-action h2 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 5px;
}

.cta-sub {
    font-size: 1.1em;
    margin-bottom: 5px;
    opacity: 0.8;
}

/* FOOTER */
footer {
    background-color: #000;
    color: #fff;
    padding: 10px 10px;
}

.footer-cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-cols > div {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    height: 90px;
    margin-bottom: 5px;
}

.parent-link {
    font-size: 1em;
    line-height: 1.4;
    margin-bottom: 5px;
}

.parent-link a {
    text-decoration: underline;
}

.footer-cols h4 {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

/* Enquiry form table styles */
.enquiry-form table {
  width: 100%;
  border-collapse: separate;
}

.enquiry-form table td {
  padding: 0.5rem 0;
}

.enquiry-form table td label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.25rem;
}

.enquiry-form .form-group input[type="text"],
.enquiry-form .form-group input[type="email"],
.enquiry-form .form-group input[type="tel"],
.enquiry-form .form-group textarea {
  width: 100%;
  padding: 0.6rem;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.enquiry-form .form-group textarea {
  min-height: 100px;
}

.enquiry-form .form-row.full-row {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.enquiry-form .form-row.full-row button {
  width: 100%;
  padding: 0.75rem;
  background-color: #000;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.enquiry-form .form-row.full-row button:hover {
  background-color: #336699;
}

/* SOCIAL BOX */
.social-box {
    border: 1px solid #fff;
    padding: 12px 16px;
    border-radius: 12px;
    background-color: #F5801F;
    color: #fff;
    font-size: 0.95em;
    line-height: 1.8;
}

.social-box ul {
    list-style: none;
    padding-left: 0;
}

.social-box ul li a {
    color: #fff;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
}

.social-box ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    background-image: url('images/footer-banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 10px;
    text-align: center;
    font-size: 0.9em;
    color: #fff;
}

.footer-bottom a {
    color: #fff;
    margin: 0 5px;
    text-decoration: underline;
}

.footer-copy {
    text-align: center;
    margin-top: 5px;
    font-size: 0.9em;
}