/* Header/Navigation */
.header {
    background: white;
    padding: 0.5rem 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1000;
    margin-bottom: 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #0066cc;
}

.nav-menu a[href*="inventory"] {
    color: #0066cc;
    font-weight: 600;
}

.logo {
    text-decoration: none;
    color: #0066cc;
    font-size: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
}

.logo:hover {
    color: #0052a3;
    text-decoration: none;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 35px;
}

.page-title {
    position: relative;
    width: 100vw;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.page-title span {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: normal;
    color: #0066cc;
}

/* Inventory Tabs */
.inventory-tabs {
    display: flex;
    gap: 1px;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
    width: 100%;
    border-bottom: none;
}

.inventory-tab {
    padding: 1rem 2rem;
    background: white;
    border: none;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.inventory-tab.active {
    color: #0066cc;
    border-bottom: 2px solid #0066cc;
}

.inventory-tab:hover {
    color: #0066cc;
}

.inventory-count {
    margin-left: 0.5rem;
    color: #666;
}

/* Properties List */
.properties-list {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0;
    padding: 0;
    background-color: white;
}

.properties-list th {
    white-space: nowrap;
    padding: 1rem;
    font-weight: 500;
    color: #0066cc;
    cursor: pointer;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
    position: relative;
}

.properties-list th:hover {
    color: #0066cc;
}

.properties-list th.sortable::after {
    content: "↕";
    margin-left: 0.25rem;
    opacity: 0.5;
    display: inline-block;
}

.properties-list th.photo {
    cursor: default;
}

.properties-list th.photo::after {
    content: none;
}

.properties-list th.sorted.desc::after {
    content: "↓";
    margin-left: 0.25rem;
    opacity: 1;
    display: inline-block;
}

.properties-list th.sorted.asc::after {
    content: "↑";
    margin-left: 0.25rem;
    opacity: 1;
    display: inline-block;
}

.properties-list td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.property-thumbnail {
    width: 100px;
    padding: 0.5rem !important;
}

.property-thumbnail img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.2s;
}

.property-thumbnail img:hover {
    opacity: 0.9;
}

.properties-list tr:hover {
    background-color: #f8f9fa;
}

.properties-list a {
    color: #0066cc;
    text-decoration: none;
}

.properties-list a:hover {
    text-decoration: underline;
}

.change-positive {
    color: #28a745;
}

.change-negative {
    color: #dc3545;
}

/* Breadcrumb Section */
.breadcrumb-section {
    background-color: white;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.property-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    margin-left: 4px;
}

.property-breadcrumb a {
    color: #0066cc;
    text-decoration: none;
    transition: color 0.2s;
}

.property-breadcrumb a:hover {
    color: #0052a3;
}

.property-breadcrumb i {
    color: #666;
    font-size: 10px;
}

.property-breadcrumb span {
    color: #666;
}

/* Footer */
.footer {
    background-color: #1C1C1C;
    color: #fff;
    padding: 40px 0 140px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section h4 {
    color: #0066cc;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section p {
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p i {
    width: 16px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-section ul li a:hover {
    opacity: 0.8;
    color: #fff;
}

.social-links {
    display: flex;
    gap: 30px;
    margin-top: 12px;
}

.social-link {
    color: #fff;
    font-size: 24px;
    transition: opacity 0.2s;
    display: block;
}

.social-link:hover {
    opacity: 0.8;
    color: #fff;
}

.footer-bottom {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1C1C1C;
    padding: 15px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 30px;
    z-index: 1000;
}

.footer-bottom p {
    color: #999;
    margin: 0;
}

.contact-button {
    background: #0066cc;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 18px;
    transition: background-color 0.2s;
    display: block;
    font-weight: 600;
    text-align: center;
    width: 150px;
}

.contact-button:hover {
    background: #0052a3;
    color: white;
    text-decoration: none;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #333;
    position: relative;
    transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: #333;
    transition: transform 0.2s;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    bottom: -6px;
}

.mobile-menu-toggle.active .hamburger {
    background: transparent;
}

.mobile-menu-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-menu-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        flex-direction: column;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -2px 0 5px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        padding: 0;
        margin: 0;
        align-items: center;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
        font-size: 1.2rem;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #eee;
    }

    .header::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .header.menu-open::after {
        opacity: 1;
        visibility: visible;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 0 30px;
    }

    .footer-section {
        margin-bottom: 20px;
        align-items: center;
    }

    .social-links {
        justify-content: center;
        margin-top: 0;
        margin-bottom: 15px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        padding: 15px 20px;
    }

    .contact-button {
        width: 70%;
        max-width: 250px;
        font-size: 20px;
        padding: 12px 25px;
    }

    .page-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        text-align: left;
        min-height: auto;
        padding: 15px;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .mobile-only {
        display: block;
    }
}

/* No Results */
.no-results {
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 20px 0;
}

.no-results p {
    font-size: 1.2rem;
    color: #666;
    margin: 0;
} 