
/* Base styles with natural colors */
:root {
    --primary: #4a7520; /* Deep olive green - better contrast */
    --secondary: #6b8c30; /* Medium green */
    --accent: #EDF0E1; /* Natural cream */
    --text: #1a2410; /* Very dark green for max readability */
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #1a2410;
    background-color: #2d3a1a;
    margin: 0;
    padding: 0;
    background-image: url('https://huggingface.co/spaces/smafltd/italianhouscalabria-rustic-charm-realty/resolve/main/images/Torre%20Crawford%201.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-blend-mode: multiply;
    background-color: rgba(60, 80, 40, 0.45);
}
main {
    background-color: #ffffff;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 1rem;
    max-width: 1200px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Strong text color overrides for readability */
p, span, li, div {
    color: inherit;
}
.text-gray-700 {
    color: #374151 !important;
}
.text-gray-600 {
    color: #4b5563 !important;
}
.text-gray-500 {
    color: #6b7280 !important;
}
.text-gray-800 {
    color: #1f2937 !important;
}
.hero {
    border: none;
    background-image: url('https://huggingface.co/spaces/smafltd/italianhouscalabria-rustic-charm-realty/resolve/main/images/Torre%20Crawford%201.jpg');
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
/* Dark overlay over background image — ensures white text is always readable */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 30, 8, 0.82) 0%,
        rgba(30, 55, 15, 0.75) 60%,
        rgba(10, 25, 5, 0.70) 100%
    );
    z-index: 0;
}
/* Keep hero content above the overlay */
.hero > * {
    position: relative;
    z-index: 1;
}
/* CTA banners — same Torre Crawford photo with dark overlay */
.hero-cta {
    background-image: url('https://huggingface.co/spaces/smafltd/italianhouscalabria-rustic-charm-realty/resolve/main/images/Torre%20Crawford%201.jpg');
    background-size: cover;
    background-position: center bottom;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}
.hero-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 30, 8, 0.82) 0%,
        rgba(30, 55, 15, 0.75) 60%,
        rgba(10, 25, 5, 0.70) 100%
    );
    z-index: 0;
}
.hero-cta > * {
    position: relative;
    z-index: 1;
}
.property-card {
    transition: all 0.3s ease;
    background-color: white;
    border: 1px solid rgba(214, 219, 193, 0.5);
}
.property-card:hover {
    transform: translateY(-5px);
}
/* Custom utilities */
.rounded-2xl {
    border-radius: 1rem;
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
/* White cards */
.bg-white {
    background-color: white !important;
    border: 1px solid rgba(214, 219, 193, 0.3);
}
/* Animation */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.6s ease-out forwards;
}

/* New styles for additional pages */
.location-card:hover h3 {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.process-step:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

@media (max-width: 768px) {
    .process-step {
        margin-bottom: 1.5rem;
    }
}
