/* Global Styles */
:root {
    --primary-color: #0a2647;
    /* Navy Blue */
    --primary-hover: #071d37;
    --accent-color: #c5a059;
    /* Gold/Bronze */
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark-text: #333333;
    --muted-text: #6c757d;
    --transition-speed: 0.3s;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--white);
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: 'Playfair Display', serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-accent {
    color: var(--accent-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all var(--transition-speed);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(10, 38, 71, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.letter-spacing-2 {
    letter-spacing: 2px;
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transition: padding var(--transition-speed);
    padding: 15px 0;
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--dark-text);
}

.nav-link {
    color: var(--dark-text) !important;
    font-weight: 500;
    margin-left: 15px;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1600596542815-2a4be26df2fa?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    position: relative;
}

/* Using a placeholder gradient if image fails or while loading */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(10, 38, 71, 0.8), rgba(10, 38, 71, 0.6));
    z-index: 0;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Cards */
.service-card {
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    cursor: default;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition-hover:hover .icon-box {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    transition: all var(--transition-speed);
}

/* Property Cards */
.property-card {
    transition: transform var(--transition-speed);
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15) !important;
}

.full-img {
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-speed);
}

.property-card:hover .full-img {
    transform: scale(1.05);
}

/* Form Styles */
.form-control,
.form-select {
    border-radius: 0.5rem;
    border: 1px solid #dee2e6;
    padding: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(10, 38, 71, 0.1);
}

.form-floating>label {
    padding: 1rem;
}

/* Footer Icons */
footer a:hover {
    color: var(--accent-color) !important;
}