/*
Theme Name: Nyumba Pro Child
Description: Child theme for Nyumba Pro Property Theme - Customize your property management site without losing changes during theme updates.
Version: 1.0.0
Author: Nyumba Pro Solutions
Template: property management system
Text Domain: nyumba-pro-child
*/

/* Import parent theme styles */
@import url("../property management system/style.css");

/* ==========================================================================
   Child Theme Customizations
   ========================================================================== */

/* Add your custom styles here */
/* This file is safe to edit - your changes won't be lost during theme updates */

/* Example: Custom color overrides */
:root {
    /* Override primary colors if needed */
    --primary-brown: #4B382F;
    --accent-mustard: #E1AA05;
}

/* Example: Custom button styles */
.btn-custom {
    background: linear-gradient(135deg, var(--accent-mustard), var(--dark-mustard));
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(225, 170, 5, 0.3);
}

/* Example: Custom property card styles */
.property-card-custom {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.property-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Example: Custom header styles */
.site-header-custom {
    background: linear-gradient(135deg, var(--primary-brown), var(--dark-brown));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Example: Custom footer styles */
.site-footer-custom {
    background-color: var(--dark-brown);
    color: white;
    padding: 40px 0;
}

/* Example: Custom form styles */
.form-custom .form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-custom .form-control:focus {
    border-color: var(--accent-mustard);
    box-shadow: 0 0 0 3px rgba(225, 170, 5, 0.1);
}

/* Example: Custom navigation styles */
.nav-custom .nav-link {
    position: relative;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.nav-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-mustard);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-custom .nav-link:hover::after {
    width: 80%;
}

/* Example: Custom responsive adjustments */
@media (max-width: 768px) {
    .btn-custom {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .property-card-custom {
        margin-bottom: 20px;
    }
}

/* Example: Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Example: Custom utility classes */
.text-flag-gradient {
    background: linear-gradient(45deg, #4B382F, #E1AA05, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-theme-gradient {
    background: linear-gradient(135deg, #4B382F, #E1AA05, #28a745);
}

/* Example: Custom property status badges */
.status-available {
    background-color: #28a745;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-occupied {
    background-color: #dc3545;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-maintenance {
    background-color: #ffc107;
    color: #000;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Example: Custom price display */
.price-usd {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--accent-mustard);
    font-size: 1.2em;
}

.price-usd::before {
    content: '$';
    font-size: 0.8em;
    opacity: 0.8;
}

/* Example: Custom location styles */
.location-theme {
    color: var(--primary-brown);
    font-weight: 600;
}

.location-theme::before {
    content: '📍 ';
    margin-right: 5px;
}

/* Example: Custom loading spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--accent-mustard);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Example: Custom success/error messages */
.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
}

.message-warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
    border-radius: 5px;
    padding: 15px;
    margin: 10px 0;
}

/* Example: Custom property grid */
.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

/* Example: Custom search form */
.search-form-custom {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.search-form-custom .form-group {
    margin-bottom: 20px;
}

.search-form-custom .form-control {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 15px 20px;
    font-size: 16px;
}

/* Example: Custom pagination */
.pagination-custom {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination-custom .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background-color: white;
    color: var(--primary-brown);
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.pagination-custom .page-numbers:hover,
.pagination-custom .page-numbers.current {
    background-color: var(--accent-mustard);
    color: white;
    border-color: var(--accent-mustard);
}