/* =========================================================
   BRANDING
   ========================================================= */

.brand-text {
    margin-left: 8px !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #222 !important;
    white-space: nowrap;
}

.logo-img {
    height: 42px !important;
}


/* =========================================================
   TOP BAR
   ========================================================= */

.top-header {
    background: #11b7b5 !important;
    font-size: 13px !important;
    padding: 6px 0 !important;
    color: #fff !important;
}

.top-header a {
    color: #fff !important;
    font-weight: 500 !important;
    text-decoration: none;
}

.topbar-inner {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 8px !important;
}

.top-divider {
    opacity: 0.6 !important;
}


/* =========================================================
   MAIN HEADER / NAVBAR
   ========================================================= */

.main-header {
    background: #ffffff !important;
    border-bottom: 1px solid #eee !important;
}

.navbar {
    padding: 12px 0 !important;
}

.navbar-nav .nav-link {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 12px 16px !important;
    color: #111 !important;
}


/* =========================================================
   DESKTOP DROPDOWNS
   ========================================================= */

.dropdown-menu {
    border: none;
    border-radius: 10px;
    padding: 10px 0;
    margin-top: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.dropdown-item {
    font-size: 14px;
    padding: 9px 22px;
    color: #222;
    font-weight: 400;
}

.dropdown-item:hover {
    background: #f2fbfa;
    color: #0a6c6a;
}

/* Highlighted Item (XO Villas etc.) */
.dropdown-item.text-danger {
    color: #b40000 !important;
    font-weight: 500;
}


/* =========================================================
   MOBILE NAVIGATION (≤ 991px)
   ========================================================= */

@media (max-width: 991px) {

    /* Mobile menu container */
    .navbar-collapse {
        background: #e6f6f5; /* soft teal */
        padding: 8px 0;
    }

    /* Main mobile menu items */
    .navbar-nav .nav-link {
        color: #000;
        font-size: 15px;
        font-weight: 500;
        padding: 14px 18px;
    }

    /* Mobile dropdown container */
    .dropdown-menu {
        background: #dff3f1; /* slightly deeper teal */
        box-shadow: none;
        border-radius: 6px;
        margin: 6px 16px 10px;
        padding: 6px 0;
    }

    /* Mobile dropdown items */
    .dropdown-item {
        color: #000;
        font-size: 14px;
        font-weight: 400;
        padding: 10px 16px;
        background: transparent;
    }

    .dropdown-item:hover {
        background: #cfeeed;
        color: #000;
    }
}


/* =========================================================
   LUXURY HAMBURGER ICON
   ========================================================= */

/* CLEAN LUXURY HAMBURGER */
.custom-toggler {
    border: none;
    background: transparent;
    padding: 6px;
}

.custom-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #000;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.custom-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon {
    background-image: none !important;
}


/* =========================================================
   VILLA CARDS – ELEGANT & CLEAN
   ========================================================= */

.villa-card {
    background: #fff;
    border-radius: 10px;            /* rectangular, not pill-like */
    border: 1px solid #eef2f2;      /* subtle edge for definition */
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.villa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
}

.villa-img {
    position: relative;
    display: block;
}

.villa-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.villa-location {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(17,183,181,0.9);
    color: #fff;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 6px;
}

.villa-content {
    padding: 18px;
}

.villa-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.villa-content h5 a {
    color: #111;
    text-decoration: none;
}

.villa-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    margin-bottom: 14px;
}

.villa-actions .btn {
    margin-right: 8px;
    position: relative;
    border-radius: 6px; /* small rectangle, not pill */
    transition: all 0.25s ease;
}

/* Primary CTA – View Villas */
.villa-actions .btn-teal {
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35);
}

/* Secondary CTA – Enquire */
.villa-actions .btn-teal-outline {
    box-shadow: inset 0 0 0 1px rgba(17,183,181,0.4);
}

/* Hover effect – subtle but premium */
.villa-actions .btn:hover {
    transform: translateY(-1px);
}

/* Hover glow for primary */
.villa-actions .btn-teal:hover {
    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,0.6),
        0 8px 18px rgba(17,183,181,0.28);
}

/* Hover glow for outline */
.villa-actions .btn-teal-outline:hover {
    box-shadow:
        inset 0 0 0 1px rgba(17,183,181,0.8),
        0 6px 14px rgba(17,183,181,0.18);
}
/* =========================================================
   VIGO HERO SLIDER – ISOLATED & CONFLICT-FREE
   ========================================================= */

.vigo-hero {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.vigo-hero-track {
    position: relative;
    height: 100%;
}

/* SLIDES */
.vigo-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 1.2s ease, transform 1.4s ease;
    display: flex;
    align-items: center;
    padding: 0 8%;
}

.vigo-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

/* OVERLAY */
.vigo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

/* CONTENT */
.vigo-content {
    position: relative;
    max-width: 720px;
    color: #fff;
    z-index: 3;
}

.vigo-content h1,
.vigo-content h2 {
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
}

.vigo-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 28px;
}

/* BUTTONS */
.vigo-actions {
    display: flex;
    gap: 14px;
}

.vigo-btn {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.vigo-btn.primary {
    background: #11b7b5;
    color: #fff;
}

.vigo-btn.primary:hover {
    background: #0fa3a1;
}

.vigo-btn.outline {
    border: 1px solid #fff;
    color: #fff;
}

.vigo-btn.outline:hover {
    background: rgba(255,255,255,0.15);
}

/* CONTROLS */
.vigo-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    z-index: 5;
}

.vigo-control.prev { left: 20px; }
.vigo-control.next { right: 20px; }

.vigo-control:hover {
    background: rgba(0,0,0,0.6);
}
/* FORCE HERO TEXT TO WHITE */
.vigo-hero .vigo-content p,
.vigo-hero .vigo-content p strong {
    color: #ffffff !important;
}

/* MOBILE */
@media (max-width: 768px) {
    .vigo-hero { height: 65vh; }
    .vigo-content h1,
    .vigo-content h2 { font-size: 26px; }
    .vigo-content p { font-size: 15px; }
    .vigo-actions { flex-direction: column; }
    .vigo-control { display: none; }
}
/* MOBILE CTA BUTTON REFINEMENT */
@media (max-width: 768px) {

    .vigo-actions {
        display: flex;
        gap: 10px;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }

    .vigo-btn {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 6px;
        white-space: nowrap;
    }
}
/* =========================================================
   REMOVE GAP BETWEEN HEADER AND HERO (FINAL FIX)
   ========================================================= */

/* Remove bottom spacing from header layers */
.main-header,
.navbar {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Ensure hero starts immediately after header */
.vigo-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Safety: remove any accidental spacing */
header + section {
    margin-top: 0 !important;
}

/* =========================================================
   VIGO STATIC HERO (NO SLIDER VERSION)
   ========================================================= */

.vigo-hero-static {
    position: relative;
    min-height: 30vh !important;                /* reduced height */
    height: 30vh !important;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    margin-top: 0 !important;        /* fixes header gap */
    padding-top: 0 !important;
}

/* Overlay */
.vigo-hero-static .vigo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

/* Content */
.vigo-hero-static .vigo-content {
    position: relative;
    max-width: 760px;
    color: #ffffff;
    padding: 40px 0 20px !important;
}

/* Heading */
.vigo-hero-static h1 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #ffffff;
}

/* Description */
.vigo-hero-static p {
    font-size: 17px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 0;
}

/* =========================================================
   MOBILE OPTIMISATION
   ========================================================= */

@media (max-width: 768px) {

    .vigo-hero-static {
        min-height: 26vh !important;
        height: 26vh !important;
    }

    .vigo-hero-static .vigo-content {
        padding: 30px 0 15px !important;
    }

    .vigo-hero-static h1 {
        font-size: 26px;
    }

    .vigo-hero-static p {
        font-size: 15px;
    }
}
