/* Custom CSS for Tuvalo City Real Estate */
:root {
    --primary-color: #0b132b;
    --secondary-color: #1c2541;
    --accent-color: #d4af37; /* Gold accent */
    --light-bg: #f8f9fa;
    --text-dark: #212529;
    --text-light: #ffffff;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    scroll-behavior: smooth;
}

/* Typography Enhancements */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

/* Navbar */
.custom-navbar {
    background-color: rgba(11, 19, 43, 0.95);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.custom-navbar .nav-link {
    color: var(--text-light) !important;
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin: 0 10px;
    position: relative;
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.custom-navbar .nav-link:hover::after {
    width: 100%;
}

.brand-logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Overriding Bootstrap Colors for this specific theme */
.text-primary {
    color: var(--primary-color) !important;
}
.bg-primary {
    background-color: var(--primary-color) !important;
}
.text-warning {
    color: var(--accent-color) !important;
}
.bg-warning {
    background-color: var(--accent-color) !important;
}

/* Buttons */
.custom-btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.custom-btn:hover {
    background-color: #b5952d;
    border-color: #b5952d;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.custom-btn-outline {
    color: var(--primary-color);
    border-color: var(--primary-color);
    border-width: 2px;
}

.custom-btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(11, 19, 43, 0.2);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(11, 19, 43, 0.8), rgba(28, 37, 65, 0.8)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative;
}

.hero-content {
    z-index: 2;
}

/* Property Cards */
.property-card {
    transition: all 0.4s ease;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}

.property-img-wrapper {
    height: 250px;
}

.property-img {
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in-delayed {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Footer Section */
.custom-footer {
    background-color: var(--primary-color) !important;
    border-top: 4px solid var(--accent-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366; /* Official WhatsApp Green */
    color: white;
    border-radius: 50px;
    font-size: 35px;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: #1ebe57;
    color: white;
    transform: scale(1.1);
    box-shadow: 2px 2px 20px rgba(37, 211, 102, 0.4);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(11, 19, 43, 0.9), rgba(28, 37, 65, 0.9));
    min-height: 350px;
    padding-top: 120px;
}

/* City Cards */
.city-card {
    transition: all 0.4s ease;
    cursor: pointer;
}

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

.city-img-wrapper {
    height: 300px;
    position: relative;
}

.city-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.city-card:hover .city-img {
    transform: scale(1.08);
}

.city-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent 30%, rgba(11, 19, 43, 0.85) 100%);
    transition: background 0.4s ease;
}

.city-card:hover .city-overlay {
    background: linear-gradient(transparent 10%, rgba(11, 19, 43, 0.9) 100%);
}

/* Project Cards */
.project-card {
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

.project-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.project-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.masterplan-thumb {
    max-height: 150px;
    object-fit: cover;
    width: 100%;
}

/* Project Detail Page */
.project-detail-img {
    object-fit: cover;
    max-height: 500px;
}

.detail-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.payment-plan-text {
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Breadcrumb styling */
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}
