:root {
    --midnight-blue: #000821;
    --gold: #D4AF37;
    --white: #FFFFFF;
}

body {
    font-family: 'Work Sans', sans-serif;
    background-color: var(--white);
    color: var(--midnight-blue);
    margin: 0;
}

/* Navbar */
.navbar {
    background-color: var(--midnight-blue);
    padding: 15px 0;
}

.nav-link {
    color: var(--white) !important;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    margin: 0 15px;
}

.btn-gold {
    background-color: var(--gold);
    color: var(--midnight-blue);
    padding: 10px 25px;
    text-decoration: none;
    font-weight: 700;
    border-radius: 5px;
    display: inline-block;
}

/* Hero Section */
.hero-section {
    height: 85vh;
    display: flex;
    align-items: center;
}

.hero-text {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    color: var(--white);
}

.hero-text .accent {
    color: var(--gold);
}

.search-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    width: 100%;
    max-width: 900px;
}

.btn-search {
    background-color: var(--gold);
    color: var(--midnight-blue);
    font-weight: 700;
    padding: 10px;
}

/* Property Listings */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 40px;
    border-left: 6px solid var(--gold);
    padding-left: 20px;
}

.property-card {
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.property-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.property-card:hover img {
    transform: scale(1.08);
}

.price-tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--gold);
    color: var(--midnight-blue);
    padding: 10px 20px;
    font-weight: 700;
    z-index: 2;
}

.card-body {
    padding: 25px;
    background: var(--white);
}

.card-body h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 10px;
}

/* Footer Section */
.voltix-footer {
    background-color: var(--midnight-blue);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.designer-name {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.designer-name:hover {
    color: var(--gold) !important;
}
/* Scoped to Buy Page for specific styling */
.buy-page {
    background-color: #f8f9fa;
}

.page-header {
    background-color: var(--midnight-blue);
    color: var(--white);
    border-bottom: 5px solid var(--gold);
    padding: 80px 0;
}

.buy-page .property-card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border-radius: 0; /* Keeps the sharp luxury look */
}

.buy-page .property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.buy-page .card-img-top {
    height: 250px;
    object-fit: cover;
}

.buy-page .price-tag {
    font-size: 1.1rem;
    padding: 8px 15px;
}

.buy-page .card-body h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--midnight-blue);
}

.buy-page .btn-outline-dark {
    border-radius: 0;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}
/* Specific to Rent Page */
.rent-page {
    background-color: #fdfdfd;
}

.rent-hero {
    padding: 120px 0;
    border-bottom: 5px solid var(--gold);
}

.rent-hero h1 {
    font-family: 'Playfair Display', serif;
}

/* Badge styling for amenities */
.amenities .badge {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    padding: 6px 12px;
    margin-right: 5px;
    margin-bottom: 5px;
}

/* Reuse existing property card styles with adjustments */
.rent-page .property-card {
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.rent-page .price-tag {
    font-size: 1rem; /* Slightly smaller than buy page for longer text strings */
    letter-spacing: 0.5px;
}

.rent-page .card-body h3 {
    margin-top: 10px;
    font-weight: 700;
}
/* Management Page Specifics */
.management-page {
    background-color: #ffffff;
}

.mgmt-hero {
    padding: 140px 0;
    border-bottom: 5px solid var(--gold);
}

.mgmt-hero h1 {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mgmt-card {
    background: #fff;
    padding: 15px;
    transition: transform 0.3s ease;
}

.mgmt-card:hover {
    transform: translateY(-5px);
}

.mgmt-card img {
    width: 100%;
    height: auto;
    display: block;
}

.mgmt-card h3, .mgmt-card h4 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
    font-weight: 700;
}

.mgmt-card p {
    font-family: 'Work Sans', sans-serif;
    line-height: 1.6;
}

/* Ensure images maintain aspect ratio where needed */
.mgmt-card .img-fluid {
    border: 1px solid #f0f0f0;
}
/* About Page Specifics */
.about-page {
    background-color: #ffffff;
    overflow-x: hidden;
}

.about-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
}

.about-img-wrapper {
    position: relative;
    padding: 10px;
}

.about-img-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    height: 80%;
    border: 5px solid var(--gold);
    z-index: -1;
    transform: translate(20px, -20px);
}

.text-gold {
    color: var(--gold);
}

.about-page .bg-light {
    background-color: #f8f9fa !important;
}

.about-page h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 15px;
}
/* Contact Page Specifics */
.contact-page {
    background-color: #fcfcfc;
}

.contact-hero h1 {
    font-family: 'Playfair Display', serif;
    color: var(--dark-blue);
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.contact-hero h1::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 25%;
    width: 50%;
    height: 3px;
    background-color: var(--gold);
}

.contact-form-wrapper {
    border-top: 4px solid var(--dark-blue) !important;
}

.contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.contact-page .form-control, 
.contact-page .form-select {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Work Sans', sans-serif;
}

.contact-page .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(197, 168, 114, 0.25);
}

.contact-info-card h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.text-gold {
    color: var(--gold);
}