/* ========================================
   GENERAL TYPOGRAPHY & COLORS
   ======================================== */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.text-primary {
    color: #4683ac !important;
}

.text-grey {
    color: #808080 !important;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.navbar .logo {
    width: 170px; /* initial large logo */
    transition: all 0.3s ease;
}

.navbar.shrink .logo {
    width: 100px; /* smaller logo on scroll */
}

.navbar-brand span {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.navbar.shrink .navbar-brand span {
    font-size: 0.9rem;
}

/* Navbar link hover */
.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #4683ac !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    background: url('../images/eng-bed1.jpg') center/cover no-repeat;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4);
}

/* Hero headline animation */
.hero h1, .hero p {
    transition: all 0.5s ease;
    transform: translateY(0);
    opacity: 1;
}

.navbar.shrink ~ .hero h1 {
    transform: translateY(-20px);
    opacity: 0.85;
}

.navbar.shrink ~ .hero p {
    transform: translateY(-20px);
    opacity: 0.7;
}

/* Hero text shadow */
.hero h1, .hero p {
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* ========================================
   CARDS
   ======================================== */
.card {
    border: none;
    border-radius: 0.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-title {
    margin-bottom: 0.5rem;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
    font-size: 0.9rem;
    background-color: #f1f1f1;
    color: #555;
    padding: 1.5rem 0;
    text-align: center;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero p {
        font-size: 1rem;
    }
}

/* ========================================
   PAGE SPACING FOR FIXED NAVBAR
   ======================================== */
body {
    padding-top: 110px;
}

/* Scroll animation for values cards */
.value-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
/* Hero Carousel Image */
.hero-img {
    height: 70vh;
    object-fit: cover;
    filter: brightness(75%);
}

/* Carousel caption */
.carousel-caption h1 {
    font-size: 3rem;
    text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}



/* Service cards */
.service-card {
    border-radius: 10px;
    background: #fff;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.icon {
    width: 60px;
}
.transition-hover {
    transition: all 0.3s ease-in-out;
}
.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.15);
}

.hero-img {
    height: 80vh;
    object-fit: cover;
}

.property-card img {
    width: 100%;
    aspect-ratio: 16 / 10; /* Adjust this ratio (e.g., 4/3 or 1/1) to your preference */
    object-fit: cover;     /* This ensures the image fills the area without stretching */
}

.property-thumbnails img {
    width: 100%;
    height: auto;             /* Let the aspect-ratio control the height */
    aspect-ratio: 4 / 3;     /* This forces all small photos to be the same shape */
    object-fit: cover;       /* This ensures they fill the shape without stretching */
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.property-thumbnails .col-3 {
    display: flex;           /* Ensures the column container stays clean */
}

/* Professional Property Slider - Force consistent size */
/* HOME PAGE HERO SLIDER (Large) */
.hero-img {
    height: 80vh !important; /* Keep this large for the home page */
    object-fit: cover !important;
}

#heroCarousel .carousel-item {
    height: 80vh !important; /* Force the container to match */
}

/* PROPERTY DETAILS SLIDER (Medium) */
#propertyCarousel .property-slider-img {
    height: 550px !important; /* Specific height for the details page */
    width: 100% !important;
    object-fit: cover !important;
}

#propertyCarousel .carousel-item {
    height: 550px !important; /* Force the container to match */
}

/* Ensure the carousel item doesn't collapse */
.carousel-item {
    height: 550px;
    background-color: #f0f0f0;
}
/* ... existing code ... */

.property-slider-img {
    height: 500px !important;
    width: 100% !important;
    object-fit: cover !important;
}

.thumb-scroll-wrapper {
    gap: 5px;
    scrollbar-width: none; /* Hide scrollbar for clean look */
}

.thumb-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.thumb-item {
    flex: 0 0 120px; /* Fixed width for thumbnails */
    height: 80px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.thumb-item.active {
    opacity: 1;
    border-bottom: 4px solid #4683ac;
}

.thumb-item:hover {
    opacity: 0.9;
}

/* Sync logic */
#propertyCarousel .carousel-item {
    transition: transform .6s ease-in-out;
}

/* Consistent Header for Sub-pages (Values, Contact, etc.) */
.page-header-hero {
    background-color: #4683ac;
    height: 40vh !important; /* Forces the exact same height on all pages */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header-hero h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* ... existing code ... */