/* Color Variables */
:root {
    --primary-red: #C62127;
    --dark-blue: #0A1D37;
    --light-bg: #F4F4F4;
    --green-accent: #1B3F2D;
    --text-dark: #000000;
}


/* Add this at the top of your CSS file */
body {
    padding-top: 90px; /* Adjust this based on your navbar height so hero content isn't cut off */
     font-family: "Poppins", serif;
    color: #333;
}

/* Navbar specific styles */
.navbar {
    transition: all 0.3s ease;
    padding: 10px 0;
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    font-weight: 500;
    color: #333 !important;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

.btn-danger {
    background-color: var(--primary-red);
    border: none;
    font-weight: 600;
}
/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.8), rgba(255,255,255,0.8)), 
                url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1200') center/cover;
    padding: 80px 0;
    text-align: center;
}

.sale-badge {
    background-color: var(--primary-red);
    color: white;
    display: inline-block;
    padding: 30px 50px;
    transform: rotate(-3deg);
    font-weight: 900;
    border-radius: 4px;
    box-shadow: 10px 10px 20px rgba(0,0,0,0.15);
}

/* Offer Cards */


.section-title {
    color: var(--primary-red);
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    font-weight: 400;
}

.section-title strong {
    color: var(--text-dark);
    display: block;
}

/* The Icon Styles */
.icon-circle {
    width: 80px;
    height: 80px;
    background-color: var(--primary-red);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 2rem;
    /* Added a slight inner border effect if needed */
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* The Card Box */
.offer-card {
    border: 1.5px solid var(--primary-red);
    border-radius: 15px; /* Rounded corners as per image */
    padding: 30px 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); /* Soft shadow */
    /*height: 100%;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Text inside the card */
.card-label {
    color: var(--primary-red);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-text {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 2.5rem; /* Large and bold */
    margin: 10px 0;
}

.card-subtext {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.price-text {
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.6rem;
    margin: 10px 0;
}

/* Blocks */

.block-white {
    background-color: #ffffff;
    min-height: 400px;
    border-left: 1px solid #eee;
}

/* Statistics Circles */
.stat-circle {
        border: 8px solid var(--primary-red);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-weight: bold;
    color: var(--primary-red);
    transition: transform 0.3s ease;
    font-size: 20px;
    outline: 1px solid #000;
}

.stat-circle:hover {
    background-color: var(--primary-red);
    color: white;
    transform: scale(1.05);
}

/* Utilities */

/* Color Palette Additions */
.block-cream { background-color: #E0DDD5; color: #333; }
.block-green { 
    background: linear-gradient(rgba(27, 63, 45, 0.8), rgba(27, 63, 45, 0.8)), 
                url('../images/central-plot.png') center/cover;
    color: white; 
}
.block-dark { color: white; min-height: 350px; }

/* Typography */
.serif-font { font-family: 'Times New Roman', serif; font-weight: 400; }
.tracking-widest {  font-size: 0.75rem; }
.border-y { border-top: 1px solid #333; border-bottom: 1px solid #333; }

/* Compass/Connectivity UI Overlay */
.compass-ui {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    position: relative;
}
.compass-ui::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 20px; height: 20px;
    background: #C62127;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Amenities Dotted Grid */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px dotted #888;
    border-left: 1px dotted #888;
}

.amenity-box {
    padding: 30px 10px;
    text-align: center;
    border-right: 1px dotted #888;
    border-bottom: 1px dotted #888;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.amenity-box:hover { background: rgba(255,255,255,0.3); }

.amenity-box i {
    font-size: 1.8rem;
    color: #C62127;
    margin-bottom: 10px;
}

.amenity-box span {
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    padding-top:15px;
}

/* Utilities */
.object-fit-cover { object-fit: cover; }
.bg-gradient-top { background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent); }



/* Modal Header Styling */
.custom-modal-header {
    background-color: #B23B3B; /* Specific brownish-red from the image */
    color: white;
    border-radius: 4px 4px 0 0;
    justify-content: center;
    position: relative;
}

.custom-modal-header .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 0.8rem;
}

.custom-modal-header .modal-title {
    font-size: 2.5rem;
    font-weight: 400;
}

/* Form Styling */
.custom-input {
    border: 1px solid #6c757d;
    border-radius: 6px;
    padding: 12px;
    font-family: 'Times New Roman', serif;
    color: #333;
}

.custom-input::placeholder {
    color: #999;
    font-style: italic;
}

/* Submit Button */
.btn-submit {
    background-color: #B23B3B;
    color: white;
    border: none;
    transition: background 0.3s;
}

.btn-submit:hover {
    background-color: #8a2e2e;
    color: white;
}

/* Serif Font Utility (Used for that classic look) */
/* Mobile Footer Styling */
.mobile-footer {
    border-top: 1px solid #eee;
    z-index: 1030; /* Higher than other content, lower than modal */
}

.mobile-footer .btn {
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
}

/* Crucial: Add bottom padding to the body ONLY on mobile 
   so the footer doesn't hide the last bit of your website content.
*/
@media (max-width: 767.98px) {
    body {
        padding-bottom: 70px; 
    }
}