/*  
---------------------------------------------------
|   Project: Viwak Properties Ltd
|   Author: Tonie Kiguta
|	Author Contact: tonkigs@gmail.com
|   Description: Main CSS file for styling Viwak website.
|   Version: 1.0
|   Last Updated: 04/2025
|   Notes: Contains global styles, typography, and layout adjustments.
---------------------------------------------------
*/

/* Reset and Base Styles */

/*Imports*/
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

body {
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	background-color: #f7f6ff;
	overflow-wrap:break-word;
	color: #1d232e;
	line-height: 1.5;
	font-size: 0.9rem;
}
h1,h2,h3,h4,h5,h6{
	font-family: "Plus Jakarta Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}
h2{
	font-size: 1.5rem;
}
.bg-primary{
	background-color: #f1592a !important;
}
.btn-primary {
	color:#000;
	background-color: #d7df21 !important;
	border-radius: 0;
	border: 0;
}
.btn-outline-primary{
	border-radius: 0;
	border-color: #f1592a;
	color: #f1592a;
}
.btn-outline-primary:hover{
	border-radius: 0;
	border-color: #f1592a;
	color: #f1592a !important;
}
.btn-secondary{
	background-color: #dc2118 !important;
	border-radius: 0;
	padding-left: 1rem;
	padding-right: 1rem;
	border: 0;
}
.text-primary{
	color:#f1592a !important;
}
.top-bar, .top-bar a{
	color:#fff;
	text-decoration: none;
	text-align: right;
}
.navbar{
	height: 80px;
	background-color: #fff;
	z-index: 99;
}
.navbar-nav {
	background-color: #fff;
}
.logo {
	display: inline-block;
	margin-right: 50px;
	max-width: 120px;
	height: 80px;
}
.navbar-nav .nav-item {
	padding:0 1.2rem;
	font-size: 0.9rem;
	font-weight: 500;
}
.dropdown-menu{
	border-radius: 0;
}
.dropdown-item {
	font-weight: 500;
	font-size: 0.9rem;
}

.navbar-toggler {
	color: #fff !!important;
	background-color: #f1592a;
	border-radius: 0;
}
#hero-slider {
	position: relative;
	overflow: hidden;
}

.carousel-item {
	height: 500px;
	background-size: cover;
	background-position: center;
	position: relative;
}
.overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
}

.carousel-caption {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	text-align: center;
}

.carousel-caption h1 {
	font-size: 3rem;
	font-weight: bold;
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.carousel-caption .btn {
	font-size: 1.2rem;
	padding: 10px 20px;
}

#about-us h2{
	font-size: 1.7rem;
}

/* Land for Sale Section */
#land-for-sale {
	position: relative;
	background: url('/assets/public/images/pattern-background.jpg');
	background-color: rgba(167,177,18,0.995); 
	background-blend-mode: overlay;
}

#values{
	position: relative;
	background: url('/assets/public/images/pattern-background.jpg');
	background-color: rgba(255,255,255,0.65); 
	background-blend-mode: overlay;
}

/* Titles */
#land-for-sale h2, #why-choose-us h2, #news-blog h2 {
	color: #000;
}

/* Cards */
#land-for-sale .card {
	border-radius: 0.9rem;
	border-color: rgba(0, 0, 0, 0.05);
	font-size: 0.85rem;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect: Glow & Zoom */
#land-for-sale .card:hover {
	transform: scale(1.08); /* Slightly increase size */
	box-shadow: 0px 0px 15px rgba(255, 165, 0, 0.6); /* Orange glow */
}

/* Anchor Links */
#land-for-sale a ,#offers a{
	color: #5c5c5c;
}

/* Pricing Box */
#land-for-sale .pricing, #offers .pricing{
	background-color: rgba(0, 0, 0, 0.05);
	border-radius: 1rem;
	padding: 0.4rem 0rem;
}

/* Secondary Button */
#land-for-sale .btn-secondary {
	color: #fff;
	font-size: 0.9rem;
}

/* Property Title */
.property-title {
	color: #f7941e;
	font-size: 1.05rem;
}

/* Image Container */
.image-container {
	position: relative; 
	display: inline-block;
	width: 100%;
}

/* Card Image */
.card-img-top {
	display: block;
	width: 100%;
	height: auto;
	transition: transform 0.3s ease-in-out;
}

/* Hover Effect: Image Zoom */
.image-container:hover .card-img-top {
	transform: scale(1.08); /* Slight zoom on image */
}

/* Price Overlay */
.price-overlay {
	position: absolute;
	bottom: 1px;
	background: rgba(0, 0, 0, 0.6);
	color: #fff;
	padding: 8px 12px;
	font-weight: 500;
	font-size: 1.25rem;
	z-index: 10;
	width: 100%;
	text-align: center;
}

#achievements{
	position: relative;
	background: url('/assets/public/images/stats-bg.jpg');
	background-color: rgba(0,0,0,0.4); 
	background-blend-mode: overlay;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}
#achievements h3.counter{
	font-size: 3rem;
	font-weight: 900;
}
/* News & Blog Section */
#news-blog {
	background-color: #f8f9fa; /* Light background */
	padding: 5rem 0;
}

/* Titles */
#news-blog h2 {
	color: #000;
}

/* Cards */
#news-blog .card {
	border-radius: 0.9rem;
	border: none;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Hover Effect: Zoom & Glow */
#news-blog .card:hover {
	transform: scale(1.08); /* Slightly increase size */
	box-shadow: 0px 0px 15px rgba(0, 123, 255, 0.4); /* Blue glow */
}

/* Blog Images */
#news-blog .card-img-top {
	border-top-left-radius: 0.9rem;
	border-top-right-radius: 0.9rem;
	transition: transform 0.3s ease-in-out;
}

/* Hover Effect: Image Zoom */
#news-blog .card:hover .card-img-top {
	transform: scale(1.08);
}

/* Blog Titles */
#news-blog h5 {
	font-size: 1.1rem;
	font-weight: bold;
}

/* Blog Date */
#news-blog .text-muted.small {
	font-size: 0.85rem;
}

/* Blog Excerpt */
#news-blog .card-text {
	font-size: 0.9rem;
}

/* Read More Button */
#news-blog .btn-outline-primary {
	font-size: 0.9rem;
	transition: background 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Button Hover Effect */
#news-blog .btn-outline-primary:hover {
	background: #f1592a;
	color: #fff !important;
	border: 0;
}

/* View All Button */
#news-blog .btn-secondary {
	font-size: 0.9rem;
	color: #fff;
}

#properties-hero{
	background: url('/assets/public/images/stats-bg.jpg') center/cover no-repeat; 
	background-blend-mode: overlay; 
	background-color: rgba(0,0,0,0.5);
}

/* Property Card Hover Effect */
.property-card a {
	display: block;
	position: relative;
	overflow: hidden;
	transition: transform 0.3s ease-in-out; /* Smooth transition on hover */
}

.property-card .image-container img {
	transition: transform 0.3s ease-in-out;
}

/* On hover, zoom the image */
.property-card:hover .image-container img {
	transform: scale(1.1); /* Zoom the image slightly */
}

/* Grid View Styling */
.grid-view .card {
	margin-bottom: 30px;
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Small shadow */
}

/* On hover, scale the card slightly and add a larger shadow */
.grid-view .card:hover {
	transform: scale(1.05); /* Slightly increase the card size */
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
}

/* Grid View Image Container */
.grid-view .image-container img {
	max-width: 100%;
	height: auto;
	transition: transform 0.3s ease-in-out; /* Smooth image zoom transition */
}

/* List View Styling */
.list-view .card {
	display: flex;
	margin-bottom: 20px;
	flex-direction: row; /* Ensure the image and content are side by side */
	transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out; /* Add transition for shadow */
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Small shadow */
}

/* On hover, zoom the image in the list view */
.list-view .card:hover .image-container img {
	transform: scale(1.05); /* Slight zoom effect for list view */
}

/* On hover, add a larger shadow for list view */
.list-view .card:hover {
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Larger shadow on hover */
	transform: translateY(-5px); /* Slightly lift the card */
}

.list-view .image-container {
	flex: 0 0 250px; /* Set a fixed width for the image */
	margin: 15px 20px 0 10px;
	max-width: 250px;
}

.list-view .image-container img {
	width: 100%;
	height: auto;
	margin-bottom: 2px;
	border-radius: 5px;
	transition: transform 0.3s ease-in-out;
}

.list-view .card-body {
	flex: 1; /* Take the remaining space for the content */
	padding: 15px; /* Add padding around the details */
	display: flex;
	flex-direction: column; /* Stack the text vertically */
}

.list-view .property-title {
	font-size: 1.25rem;
	font-weight: bold;
	margin-bottom: 10px;
}

.list-view .card-body p {
	margin-bottom: 8px;
}

.list-view .price-overlay {
	display: none; /* Hide price overlay in list view */
}

/* Property Card Text Styling */
.property-card a p {
	color: #4b5563;
	transition: color 0.3s ease-in-out; /* Smooth color change */
}

/* On hover, change the color of text in grid view */
.property-card:hover a p {
	color: #2d3748; /* Darker color for text on hover */
}

#contact-hero, #about-us-hero{
	background: url('/assets/public/images/stats-bg.jpg') center/cover no-repeat; 
	background-blend-mode: overlay; 
	background-color: rgba(0,0,0,0.5);
}
.core-values{
	background: url('/assets/public/images/slider1.jpg') center/cover no-repeat; 
	background-blend-mode: overlay; 
	background-color: rgba(0,0,0,0.7);
}
.footer {
	background: #111;
	font-size: 0.9rem;
}

.footer h5 {
	color: #f1592a;
}

.footer a:hover {
	text-decoration: underline;
	color: #f1592a;
}

.social-icons a {
	font-size: 20px;
	transition: 0.3s;
}

.social-icons a:hover {
	color: #f1592a;
}
.footer-logo{
	max-width: 120px;
}

/* Contact Details Section */
#contact-details {
	background-color: #f7f7f7;
}

#contact-details h5 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #333;
}

#contact-details p {
	font-size: 1rem;
	color: #666;
}

.fas {
	color: #0056b3;
	margin-right: 8px;
}

/* Contact Form Section */
.contact-form .form-label {
	font-size: 1.1rem;
	font-weight: 600;
	color: #333;
}

.contact-form .form-control {
	border-radius: 5px;
	border: 1px solid #ddd;
	font-size: 1rem;
}

.contact-form .form-control:focus {
	border-color: #0056b3;
	box-shadow: 0 0 5px rgba(0, 86, 179, 0.5);
}

.contact-form .btn {
	background-color: #0056b3;
	color: #fff;
	font-size: 1.1rem;
	font-weight: 600;
	padding: 10px 20px;
	border-radius: 30px;
	border: none;
	transition: background-color 0.3s;
}

.contact-form .btn:hover {
	background-color: #004084;
}

/* FAQ Accordion */
.accordion-button {
	font-size: 0.9rem;
	font-weight: 400;
	padding: 10px 15px;
}
.accordion-header {
	background-color: #f1592a;
	margin:0 0 0.4rem;
	border-radius: 2rem;
	color:#fff;
}

.accordion-body {
	font-size: 1rem;
	padding: 15px;
}

/* Google Maps Section */
#google-maps {
	background-color: #e0e0e0;
}

.embed-responsive {
	margin-bottom: 0;
}


.nav-pills .nav-link {
    color: #fff !important;
    background-color: #f1592a !important; 
    margin-right: 0.5rem;
    border-radius: 0.375rem;
}
.nav-pills .nav-link i{
	color: #fff !important;
}
.nav-pills .nav-link.active {
    background-color: #de2c26 !important; /* Darker brown */
    color: #fff !important;
}

.nav-pills .nav-link:hover {
    background-color: #d7df21 !important;
    color: #fff !important;
}

.text-brown {
    color: #de2c26 !important;
}
.text-green {
    color: #d7df21 !important;
}
.bg-brown {
    background-color: #de2c26 !important;
}

.values-card{
	border:1px solid #d7df21;
}

#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* WhatsApp green */
    color: white;
    border-radius: 50%;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999; /* Ensure it stays on top */
    transition: all 0.3s ease;
}

#whatsapp-icon:hover {
    background-color: #128C7E; /* Darker WhatsApp green on hover */
    transform: scale(1.1); /* Slight zoom on hover */
}
/* Cookie Popup Styles */
.cookie-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
    color: #000;
    padding: 15px;
    display: none;
    z-index: 9999;
    text-align: center;
    font-family: Arial, sans-serif;
}

.cookie-popup-content {
    padding: 20px;
    border-radius: 5px;
    background-color:rgb(247,148,30);
    max-width: 700px;
    display: inline-block;
    width: 100%;
}

.cookie-popup p {
    margin-bottom: 10px;
}

.cookie-popup a {
    color: #000;
    text-decoration: none;
}

.cookie-popup a:hover {
    text-decoration: underline;
}

.cookie-popup button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-popup button:hover {
    background-color: #218838;
}


/*Media Styling*/
@media (max-width: 768px) {
	.top-bar {
		text-align: center !important;
	}
	.navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
	}
	.contact-form .row {
		margin-top: 20px;
	}

	.contact-form .col-md-6 {
		margin-bottom: 30px;
	}
}
@media (max-width: 576px) {
	.logo {
		margin:0 auto;
	}
	.carousel-item {
		height: 300px;
		background-size: contain;
	}
	.carousel-caption {
		top: 45%;
	}

	.carousel-caption h1 {
		font-size: 2rem;
	}

	.carousel-caption p {
		font-size: 1rem;
		margin-bottom: 0.8rem;
	}

	.carousel-caption .btn {
		font-size: 0.8rem;
	}
}


    .image-container {
        width: 100%; /* Ensures the container takes the full width of its parent */
        height: 200px; /* **Set your desired uniform height here** */
        overflow: hidden; /* Hides any part of the image that overflows */
        position: relative; /* Needed for absolute positioning of the image if you choose that method, or for the price-overlay */
    }

    .image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* **This is the key property for cover display** */
        display: block; /* Removes any extra space below the image */
    }

    /* Style for the price overlay (optional, but good to ensure it looks right) */
    .price-overlay {
        position: absolute;
        bottom: 10px;
        left: 10px;
        background-color: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 5px 10px;
        border-radius: 3px;
        font-size: 0.9em;
    }

   .pagination-sec svg{
   	display: none;
   }