/* Global Styles */
:root {
    --primary-dark: #1a3b5d;
    --primary: #2a4d6e;
    --gold: #f5b041;
    --gold-dark: #c49b3f;
    --gold-light: #ffc107;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-gray: #f0f4f8;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 20px 30px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    overflow-x: hidden;
    padding-top: 80px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--primary-dark);
}

.text-gold {
    color: var(--gold) !important;
}

.text-primary-dark {
    color: var(--primary-dark) !important;
}

.bg-gold {
    background-color: var(--gold) !important;
}

.bg-primary-dark {
    background-color: var(--primary-dark) !important;
}

/* Buttons */
.btn-gold {
    background: var(--gold);
    color: var(--primary-dark);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    text-decoration: none;
    display: inline-block;
}

.btn-gold:hover {
    background: transparent;
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-outline-gold {
    background: transparent;
    color: var(--gold);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--gold);
    text-decoration: none;
    display: inline-block;
}

.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-primary-dark {
    background: var(--primary-dark);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--primary-dark);
    text-decoration: none;
    display: inline-block;
}

.btn-primary-dark:hover {
    background: transparent;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    background: var(--white);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.card-img-top {
    height: 250px;
    object-fit: cover;
}

.card-title {
    color: var(--primary-dark);
    font-weight: 600;
}

.card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Section Titles */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('https://images.unsplash.com/photo-1523805009345-7448845a9e53?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -80px;
}

/* Stats Bar */
.stats-bar {
    background: var(--primary-dark);
    color: white;
    padding: 3rem 0;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

/* Forms */
.form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(245, 176, 65, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--primary-dark);
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.property-image {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.property-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gold);
    color: var(--primary-dark);
    padding: 0.3rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
}

.property-info {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* Job Cards */
.job-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s;
    height: 100%;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.job-card h3 {
    color: white;
    font-size: 1.3rem;
}

.job-company {
    color: var(--gold);
    font-weight: 500;
}

/* Feature Icons */
.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--gold);
    font-size: 2rem;
    transition: all 0.3s;
}

.feature-card:hover .feature-icon {
    background: var(--gold);
    color: var(--primary-dark);
    transform: rotate(360deg);
}

/* Dashboard */
.dashboard-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    height: 100%;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dashboard-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.5rem;
}

.dashboard-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-dark);
}

/* Tables */
.table-custom {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-custom thead {
    background: var(--primary-dark);
    color: white;
}

.table-custom th {
    font-weight: 600;
    padding: 1rem;
}

.table-custom td {
    padding: 1rem;
    vertical-align: middle;
}

/* Status Badges */
.badge-pending {
    background: #ffc107;
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}

.badge-approved {
    background: #28a745;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}

.badge-rejected {
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 500;
}

/* Footer */
.footer {
    background: #0a1a2a;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: 80vh;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
    
    .btn-gold, .btn-outline-gold {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-left {
    animation: slideInLeft 1s ease;
}

/* Loading Spinner */
.spinner-gold {
    color: var(--gold);
}

/* Modal */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background: var(--primary-dark);
    color: white;
    border-radius: 15px 15px 0 0;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}