/* custom.css - Property Point Online */

/* === Root Variables === */
:root {
    --primary-color: #007bff;
    --secondary-color: #2c3e50;
    --light-bg: #f8f9fa;
}

/* === Body & Typography === */
body {
    font-family: 'Raleway', sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
}

/* === Navbar === */
.navbar-brand img {
    max-height: 60px;
    transition: all 0.3s ease;
}
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
}
.navbar-nav .nav-item:hover .nav-link,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

/* Responsive logo */
@media (max-width: 992px) {
    .navbar-brand img { max-height: 50px; }
}
@media (max-width: 576px) {
    .navbar-brand img { max-height: 40px; }
}

/* === Banner & Carousel === */
.banner-max-height {
    height: 70vh;
    min-height: 500px;
    position: relative;
}
.carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.carouse-search-form {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    z-index: 10;
}
.carousel-content {
    background: rgba(0,0,0,0.6);
    padding: 20px;
    border-radius: 8px;
}
.carousel-content h3 {
    color: #fff;
    font-weight: 700;
}

/* === Services Section === */
.service-info {
    text-align: center;
    padding: 30px 15px;
    transition: all 0.3s ease;
}
.service-info:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.service-info .icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* === Counters === */
.counter-box {
    text-align: center;
    padding: 30px 0;
    color: white;
}
.counter-box i {
    font-size: 50px;
    margin-bottom: 15px;
}
.counter-box h2 {
    font-size: 50px;
    font-weight: 700;
    margin: 10px 0;
}

/* === Overview Banner === */
.overview-bgi {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/home_banner/0lnt-seawoods.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* === Partners === */
.partner_div {
    text-align: center;
    margin: 15px 0;
}
.partner_div img {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}
.partner_div:hover img {
    transform: scale(1.05);
}

/* === Cards === */
.card {
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* === Footer === */
footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 50px 0 0;
}
footer h4 { color: white; margin-bottom: 20px; font-weight: 600; }
footer a {
    color: #ddd;
    text-decoration: none;
    transition: all 0.3s ease;
}
footer a:hover { color: white; text-decoration: underline; }

/* === Social Floating Bar === */
.icon-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
}
.icon-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
    width: 50px;
    height: 50px;
}
.icon-bar a:hover { width: 60px; }

.facebook {background: #3B5998;}
.twitter {background: #55ACEE;}
.instagram {background: #dd2a7b;}
.linkedin {background: #007bb5;}
.youtube {background: #bb0000;}
.share {background: #444;}

/* === Sub Footer === */
.sub-footer {
    background-color: rgba(0,0,0,0.8);
    color: white;
    padding: 15px 0;
}
.social-list a {
    color: white;
    font-size: 20px;
    margin: 0 10px;
}

/* === Buttons === */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}
.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* === Text & Background Utilities === */
.text-primary { color: var(--primary-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.border-primary { border-color: var(--primary-color) !important; }

/* === Responsive Adjustments === */
@media (max-width: 768px) {
    .banner-max-height { height: 50vh; min-height: 400px; }
    .carouse-search-form { bottom: 20px; }
    .carousel-content { padding: 15px; }
    .carousel-content h3 { font-size: 1.2rem; }
    .icon-bar { bottom: 0; top: auto; width: 100%; flex-direction: row; }
    .icon-bar a { flex: 1; width: auto; height: 40px; }
}

/* === Back to Top Button === */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: none;
}
.back-to-top:hover {
    background: #0069d9;
    color: white;
}

/* === Forms === */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

/* === Animations === */
.fade-in { animation: fadeIn 1s ease-in; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.slide-up { animation: slideUp 1s ease-out; }
@keyframes slideUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
