:root {
            --primary-color: #005a9c;
            --secondary-color: #333;
            --background-color: #f0f2f5;
            --card-background: #ffffff;
            --text-color: #333;
            --header-height: 60px;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
            background-color: var(--background-color);
            color: var(--text-color);
        }

        /* Navbar Styles (Copied from index.html) */
        .top-bar {
            background-color: var(--secondary-color);
            color: white;
            padding: 0.5rem 0;
            text-align: center;
            font-size: 0.9em;
        }
        .top-bar .social-icons a, .top-bar .contact-info span {
            color: white;
            text-decoration: none;
            margin: 0 12px;
            transition: color 0.3s;
        }
        .top-bar .social-icons a:hover { color: var(--primary-color); }
        .top-bar i { margin-right: 5px; }

        .header {
            width: 100%;
            height: var(--header-height);
            background-color: var(--card-background);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 2rem;
            z-index: 1004;
            position: sticky;
            top: 0;
        }
        .header-left {
            display: flex;
            align-items: center;
        }
        .header .logo { height: 120px; padding-right: 10px; }
        .header nav a {
            color: var(--primary-color);
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 1rem;
            border-radius: 5px;
            margin-left: 0.5rem;
            transition: background-color 0.3s, color 0.3s;
        }
        .header nav a:hover { background-color: var(--primary-color); color: var(--card-background); }

        .menu-toggle {
            display: none;
            font-size: 1.5rem;
            color: var(--primary-color);
            cursor: pointer;
            background: transparent;
            border: none;
            position: relative;
            z-index: 1005;
        }

        .sidebar-overlay {
            display: block;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            z-index: 1002;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
            transition: opacity 0.2s ease;
        }

        .sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }

        body.nav-open {
            overflow: hidden;
        }

        /* View Page Specific Styles */
        .view-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 2rem;
            background: var(--card-background);
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            flex: 1;
        }

        .item-image {
            width: 100%;
            height: auto;
            max-height: 350px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 1.5rem;
        }

        .item-details h1 { color: var(--primary-color); margin-bottom: 0.5rem; }
        .item-location { color: #666; font-size: 1.1rem; margin-bottom: 1rem; }
        .item-price { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); margin-bottom: 1.5rem; }
        .item-description { line-height: 1.6; margin-bottom: 2rem; }
        
        .btn-call {
            display: inline-block;
            background-color: #28a745;
            color: white;
            padding: 12px 24px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            font-size: 1.1rem;
            margin-bottom: 1.5rem;
        }
        .btn-call:hover { background-color: #218838; }

        .btn-back {
            display: inline-block;
            background-color: #6c757d;
            color: white;
            padding: 8px 16px;
            border-radius: 4px;
            text-decoration: none;
            font-size: 0.9rem;
        }
        .btn-back:hover { background-color: #5a6268; }

        /* Sidebar Layout */
        .page-container {
            display: flex;
            gap: 20px;
            padding: 20px;
            max-width: 1400px;
            margin: 0 auto;
        }

        .left-sidebar {
            width: 220px;
            flex-shrink: 0;
        }

        .ad-container {
            position: sticky;
            position: -webkit-sticky;
            top: 20px;
        }

        .ad-close-btn {
            position: absolute;
            top: 5px;
            right: 5px;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            border: none;
            border-radius: 50%;
            width: 24px;
            height: 24px;
            cursor: pointer;
            z-index: 10;
        }

        .left-sidebar img {
            width: 100%;
            height: auto;
            border-radius: 8px;
        }

        @media (max-width: 900px) {
            .left-sidebar {
                display: none;
            }
        }

        @media (max-width: 768px) {
            .top-bar { display: none; }
            .header { height: 70px; padding: 0 10px; }
            .header .logo { height: 60px; padding-right: 0; }
            .header p { display: none; }
            .menu-toggle { display: block; }

            .header nav {
                position: fixed;
                top: 0;
                left: 0;
                width: 280px;
                height: 100vh;
                background-color: white;
                flex-direction: column;
                justify-content: flex-start;
                align-items: flex-start;
                padding: 20px;
                box-shadow: 2px 0 5px rgba(0,0,0,0.2);
                transition: transform 0.3s ease;
                transform: translateX(-100%);
                z-index: 1003;
                display: flex;
                gap: 0;
            }

            .header nav.active { transform: translateX(0); }

            .header nav a {
                width: 100%;
                padding: 12px 10px;
                border-bottom: 1px solid #f0f0f0;
                margin: 0;
                font-size: 1rem;
                color: #333;
                border-radius: 0;
            }

            .mobile-close-btn {
                display: block;
                align-self: flex-end;
                font-size: 1.5rem;
                margin-bottom: 10px;
                cursor: pointer;
                color: #666;
                padding: 5px;
            }
        }
