/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@700&family=Montserrat:wght@300;400;600;700&family=Playfair+Display:wght@700&display=swap');

/* --- Theme Variables --- */
:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --font-lato: 'Lato', sans-serif;
    --color-primary: #E65100; /* Deep, elegant orange */
    --color-secondary: #FF9800; /* Lighter accent orange */
    --color-text: #333;
    --color-light: #fefefe;
    --border-radius: 0.75rem; /* 12px */
}

/* --- General Styling --- */
body {
    font-family: var(--font-primary);
    color: var(--color-text);
    padding-top: 56px;
    background-color: var(--color-light);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #111;
}

/* --- Specific Text Styling --- */
.hero-content h1 {
    color: white !important;
}

.saligao-title {
    font-family: var(--font-lato);
    font-weight: 700;
}

.text-highlight {
    color: var(--color-primary);
}

section {
    scroll-margin-top: 70px;
}

/* --- Navbar --- */
.navbar-brand {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-primary) !important;
}
.nav-link.active, .nav-link:hover {
    color: var(--color-primary) !important;
    font-weight: 600;
}

/* --- Hero Sliding Header --- */
.hero-carousel {
    position: relative;
    height: 80vh;
    width: 100%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-carousel .carousel {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
}
.hero-carousel .carousel-inner, .hero-carousel .carousel-item {
    height: 100%;
}
.hero-carousel .carousel-item {
    background-size: cover;
    background-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}

/* --- Property Carousel (FIX FOR LAYOUT SHIFT) --- */
.property-carousel .carousel-inner {
    height: 450px;
    border-radius: var(--border-radius);
}
.property-carousel .carousel-item {
    height: 100%;
}
.property-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

/* --- Property Details Card --- */
.card {
    border-radius: var(--border-radius);
    background-color: #ffffff;
}
.list-group-item {
    background-color: transparent;
    border: none;
    padding: 0.9rem 0;
    font-weight: 400;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.list-group-item span {
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
}
.price {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 2.25rem;
}

/* --- Custom Buttons --- */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-primary:hover {
    background-color: #c44500;
    border-color: #c44500;
    transform: translateY(-2px);
}
.btn-custom-outline {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-primary);
}
.btn-custom-outline:hover {
    background-color: var(--color-secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}
.btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

/* --- Image Modal --- */
.modal-content {
    border-radius: var(--border-radius);
}
.modal-body .modal-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    pointer-events: none; /* Makes images not clickable */
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .hero-carousel {
        height: 65vh;
    }
    .property-carousel .carousel-inner {
        height: 300px;
    }
    .price {
        font-size: 2rem;
    }
}